monitoring: Don't render custom variables as list

refs #5543
This commit is contained in:
Eric Lippmann 2015-10-01 17:08:48 +02:00
parent 323b294fe1
commit af338c1dba
4 changed files with 3 additions and 75 deletions

View File

@ -1,6 +1,6 @@
<?php foreach ($object->customvars as $name => $value): ?>
<tr>
<th><?= $this->escape(ucwords(str_replace('_', ' ', strtolower($name)))) ?></th>
<td><?= $this->customvar($value) ?></td>
<td class="custom-variables"><?= $this->customvar($value) ?></td>
</tr>
<?php endforeach ?>

View File

@ -1,6 +1,4 @@
<?php if ($object->perfdata): ?>
<h2><?= $this->translate('Performance data') ?></h2>
<div class="performance-data">
<?= $this->perfdata($object->perfdata) ?>
</div>
<?= $this->perfdata($object->perfdata) ?>
<?php endif ?>

View File

@ -347,64 +347,7 @@ form.object-features .control-label {
line-height: 25px;
}
/* Inline Comments */
.inline-comments {
padding: 0;
margin: 0;
font-size: 0.857em;
.time-ago {
color: #919191;
}
li {
list-style-type: none;
margin-bottom: 8px;
}
h3 {
border: none;
border-bottom: 1px solid @gray-lighter;
font-weight: normal;
color: inherit;
margin: 0;
padding-bottom: 0.1em;
}
h3 .author {
}
h3 form {
display: none;
}
h3 form {
float: right;
}
li:hover h3 {
background: #F9F9F9;
position: relative;
form {
display: inline;
}
}
p {
font-size 0.5em;
margin: 0;
color: #9e9e9e;
font-family: Menlo, monospace;
a {
color: #222;
}
}
}
.performance-data ul {
.custom-variables ul {
list-style-type: none;
margin: 0;
padding: 0;

View File

@ -376,19 +376,6 @@ html {
width: 1px;
}
.clearfix:after {
content: ".";
visibility: hidden;
display: block;
height: 0;
clear: both;
}
.multi-commands {
padding-top: 0em;
font-size: 0.9em;
}
// Hide non-javascript elements if javascript is enabled
html.js *.no-js {
.sr-only;