mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[enh] Add check MX and 25 port
This commit is contained in:
parent
808994ed2d
commit
58427b83f6
2 changed files with 28 additions and 0 deletions
|
@ -180,6 +180,9 @@
|
||||||
"write" : "Write",
|
"write" : "Write",
|
||||||
"monitoring_disabled" : "Monitoring is not enabled.",
|
"monitoring_disabled" : "Monitoring is not enabled.",
|
||||||
"monitoring_check_glances" : "Check <a href='#/services/glances'>glances</a> service status.",
|
"monitoring_check_glances" : "Check <a href='#/services/glances'>glances</a> service status.",
|
||||||
|
"check" : "Check",
|
||||||
|
"check_stmp" : "Check 25 port access : ",
|
||||||
|
"check_mx" : "Check the MX record : ",
|
||||||
|
|
||||||
"services" : "Services",
|
"services" : "Services",
|
||||||
"services_list" : "Services list",
|
"services_list" : "Services list",
|
||||||
|
|
|
@ -24,6 +24,31 @@
|
||||||
|
|
||||||
<div class="panel-group" id="accordion">
|
<div class="panel-group" id="accordion">
|
||||||
|
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-heading">
|
||||||
|
<h2 class="panel-title">
|
||||||
|
<span class="fa-fw fa-check-square-o"></span>
|
||||||
|
<a data-toggle="collapse" data-parent="#accordion" href="#check">{{t 'check'}}</a>
|
||||||
|
</h2>
|
||||||
|
</div>
|
||||||
|
<div id="check" class="panel-collapse collapse">
|
||||||
|
<div class="panel-body">
|
||||||
|
<b>{{t 'check_stmp'}}</b>{{network.check.smtp_check}}
|
||||||
|
<br>
|
||||||
|
<b>{{t 'check_mx'}}</b>
|
||||||
|
{{#if network.check.mx_check.mx0}}
|
||||||
|
<ul>
|
||||||
|
{{#each network.check.mx_check}}
|
||||||
|
<li>{{this}}</li>
|
||||||
|
{{/each}}
|
||||||
|
</ul>
|
||||||
|
{{else}}
|
||||||
|
{{network.check.mx_check}}
|
||||||
|
{{/if}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
<h2 class="panel-title">
|
<h2 class="panel-title">
|
||||||
|
|
Loading…
Add table
Reference in a new issue