Skip to content

Commit

Permalink
monitoring: Don't render custom variables as list
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Oct 1, 2015
1 parent 323b294 commit af338c1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 75 deletions.
@@ -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 ?>
@@ -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 ?>
59 changes: 1 addition & 58 deletions modules/monitoring/public/css/module.less
Expand Up @@ -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;
Expand Down
13 changes: 0 additions & 13 deletions public/css/icinga/layout-structure.less
Expand Up @@ -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;
Expand Down

0 comments on commit af338c1

Please sign in to comment.