This commit is contained in:
2019-07-08 18:25:13 +00:00
parent c95b421924
commit 9499b50f26
5 changed files with 102 additions and 51 deletions

View File

@@ -27,10 +27,11 @@ app.ops = (function() {
$.gevent.publish("app-show-error", res.msg);
} else {
if (res.serviceCheckError) {
var errorText = $("#rf-ops-error").text();
var errorElement=$("#"+service+"-error");
var errorText = errorElement.text();
errorText += "\r\n";
errorText += res.serviceCheckError;
$("#rf-ops-error").text(errorText);
errorElement.text(errorText);
}
var serviceElement = $("#" + service);

View File

@@ -2,46 +2,76 @@
<h3>Operations status</h3>
<pre id="rf-ops-error" class="text-danger"></pre>
<div id="rf-ops-status">
<h5>
<i id="MailMirror" class="mdi mdi-36px mdi-help-circle-outline text-warning"></i>
Mail / mirror
</h5>
<h5>
<i id="AyaNovaSite" class="mdi mdi-36px mdi-help-circle-outline text-warning"></i>
AyaNova site
</h5>
<h5>
<i id="Backup" class="mdi mdi-36px mdi-help-circle-outline text-warning"></i>
Backup
</h5>
<h5>
<i id="ContactForm" class="mdi mdi-36px mdi-help-circle-outline text-warning"></i>
Contact form
</h5>
<h5>
<i id="RequestForm" class="mdi mdi-36px mdi-help-circle-outline text-warning"></i>
Request form
</h5>
<h5>
<i id="RequestLiteForm" class="mdi mdi-36px mdi-help-circle-outline text-warning"></i>
Request lite form
</h5>
<h5>
<i id="Forum" class="mdi mdi-36px mdi-help-circle-outline text-warning"></i>
Forum
</h5>
<h5>
<i id="Subversion" class="mdi mdi-36px mdi-help-circle-outline text-warning"></i>
Subversion
</h5>
<h5>
<i id="DevOps" class="mdi mdi-36px mdi-help-circle-outline text-warning"></i>
DevOps server
</h5>
<h5>
<i id="APISite" class="mdi mdi-36px mdi-help-circle-outline text-warning"></i>
API site
</h5>
<div>
<h5>
<i id="MailMirror" class="mdi mdi-36px mdi-help-circle-outline text-warning"></i>
Mail / mirror
</h5>
<pre id="MailMirror-error" class="text-danger"></pre>
</div>
<div>
<h5>
<i id="AyaNovaSite" class="mdi mdi-36px mdi-help-circle-outline text-warning"></i>
AyaNova site
</h5>
<pre id="AyaNovaSite-error" class="text-danger"></pre>
</div>
<div>
<h5>
<i id="Backup" class="mdi mdi-36px mdi-help-circle-outline text-warning"></i>
Backup
</h5>
<pre id="Backup-error" class="text-danger"></pre>
</div>
<div>
<h5>
<i id="ContactForm" class="mdi mdi-36px mdi-help-circle-outline text-warning"></i>
Contact form
</h5>
<pre id="ContactForm-error" class="text-danger"></pre>
</div>
<div>
<h5>
<i id="RequestForm" class="mdi mdi-36px mdi-help-circle-outline text-warning"></i>
Request form
</h5>
<pre id="RequestForm-error" class="text-danger"></pre>
</div>
<div>
<h5>
<i id="RequestLiteForm" class="mdi mdi-36px mdi-help-circle-outline text-warning"></i>
Request lite form
</h5>
<pre id="RequestLiteForm-error" class="text-danger"></pre>
</div>
<div>
<h5>
<i id="Forum" class="mdi mdi-36px mdi-help-circle-outline text-warning"></i>
Forum
</h5>
<pre id="Forum-error" class="text-danger"></pre>
</div>
<div>
<h5>
<i id="Subversion" class="mdi mdi-36px mdi-help-circle-outline text-warning"></i>
Subversion
</h5>
<pre id="Subversion-error" class="text-danger"></pre>
</div>
<div>
<h5>
<i id="DevOps" class="mdi mdi-36px mdi-help-circle-outline text-warning"></i>
DevOps server
</h5>
<pre id="DevOps-error" class="text-danger"></pre>
</div>
<div>
<h5>
<i id="APISite" class="mdi mdi-36px mdi-help-circle-outline text-warning"></i>
API site
</h5>
<pre id="APISite-error" class="text-danger"></pre>
</div>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long