views/scripts, css: fix web2.3.x issues, improve...
...responsiveness for dashboard and dashlets
This commit is contained in:
parent
f7bd50838d
commit
7279fd7c40
|
@ -1,7 +1,7 @@
|
|||
<div class="controls">
|
||||
<?= $this->tabs ?>
|
||||
<h1><?= $this->escape($this->title) ?></h1>
|
||||
<span data-base-target="_next">
|
||||
<span class="action-links" data-base-target="_next">
|
||||
<?= $this->addLink ?>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class="controls">
|
||||
<?= $this->tabs ?>
|
||||
<h1><?= $title ?></h1>
|
||||
<span data-base-target="_self">
|
||||
<span class="action-links" data-base-target="_self">
|
||||
<?= $this->addLink ?>
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class="controls">
|
||||
<?= $this->tabs ?>
|
||||
<h1><?= $this->escape($this->title) ?></h1>
|
||||
<span data-base-target="_next">
|
||||
<span class="action-links" data-base-target="_next">
|
||||
<?= $this->addLink ?>
|
||||
</span>
|
||||
<?php if (count($table) || ! $this->filterEditor->getFilter()->isEmpty()): ?>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class="controls">
|
||||
<?= $this->tabs ?>
|
||||
<h1><?= $this->escape($this->title) ?></h1>
|
||||
<span>
|
||||
<span class="action-links">
|
||||
<?= $this->addLink ?>
|
||||
</span>
|
||||
<?php if (count($table) || ($this->filterEditor && ! $this->filterEditor->getFilter()->isEmpty())): ?>
|
||||
|
|
|
@ -27,7 +27,7 @@ $pt = $loc['thousands_sep'];
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<span data-base-target="_next">
|
||||
<span class="action-links" data-base-target="_next">
|
||||
<?= $this->addLink ?>
|
||||
</span><br />
|
||||
<?= $this->table->getPaginator() ?>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class="controls">
|
||||
<?= $this->tabs ?>
|
||||
<h1><?= $this->escape($this->title) ?></h1>
|
||||
<span<?php if (! $this->stayHere): ?> data-base-target="_next"<?php endif ?>>
|
||||
<span class="action-links"<?php if (! $this->stayHere): ?> data-base-target="_next"<?php endif ?>>
|
||||
<?= $this->addLink ?>
|
||||
</span>
|
||||
<?= $this->filterEditor ?>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class="controls">
|
||||
<?= $this->tabs ?>
|
||||
<h1><?= $this->escape($this->title) ?></h1>
|
||||
<span>
|
||||
<span class="action-links">
|
||||
<?= $this->actionLinks ?>
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class="controls">
|
||||
<?= $this->tabs ?>
|
||||
<h1><?= $this->escape($this->title) ?></h1>
|
||||
<span>
|
||||
<span class="action-links">
|
||||
<?= $this->actionLinks ?>
|
||||
<?= $this->render('object/deploymentLink.phtml') ?>
|
||||
</span>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class="controls">
|
||||
<?= $this->tabs ?>
|
||||
<h1><?= $this->escape($this->title) ?></h1>
|
||||
<span>
|
||||
<span class="action-links">
|
||||
<?= $this->actionLinks ?>
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<?= $this->tabs ?>
|
||||
|
||||
<h1><?= $this->escape($this->title) ?><?= $this->quickSearch ?></h1>
|
||||
<span<?php if (! $this->stayHere): ?> data-base-target="_next"<?php endif ?>>
|
||||
<span class="action-links"<?php if (! $this->stayHere): ?> data-base-target="_next"<?php endif ?>>
|
||||
<?= $this->addLink ?>
|
||||
</span>
|
||||
<?php if ($this->filterEditor): ?>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class="controls">
|
||||
<?= $this->tabs ?>
|
||||
<h1><?= $this->escape($this->title) ?></h1>
|
||||
<span<?php if (! $this->stayHere): ?> data-base-target="_next"<?php endif ?>>
|
||||
<span class="action-links"<?php if (! $this->stayHere): ?> data-base-target="_next"<?php endif ?>>
|
||||
<?= $this->addLink ?>
|
||||
</span>
|
||||
<?= $this->filterEditor ?>
|
||||
|
|
|
@ -34,9 +34,11 @@ span.disabled {
|
|||
color: @gray-light;
|
||||
}
|
||||
|
||||
.controls span a {
|
||||
color: @icinga-blue;
|
||||
margin-right: 1em;
|
||||
.controls span.action-links {
|
||||
a {
|
||||
color: @icinga-blue;
|
||||
margin-right: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
pre.disabled {
|
||||
|
@ -404,9 +406,15 @@ a:hover::before {
|
|||
text-decoration: none;
|
||||
}
|
||||
|
||||
h1 {
|
||||
min-width: 27em;
|
||||
}
|
||||
|
||||
ul.main-actions {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
min-width: 36em;
|
||||
|
||||
li {
|
||||
list-style-type: none;
|
||||
|
||||
|
@ -415,7 +423,6 @@ ul.main-actions {
|
|||
padding: 0;
|
||||
clear: both;
|
||||
width: 19em;
|
||||
min-width: 16em;
|
||||
vertical-align: top;
|
||||
|
||||
a {
|
||||
|
@ -450,7 +457,6 @@ ul.main-actions {
|
|||
}
|
||||
|
||||
padding: 1em;
|
||||
font-size: 1.1em;
|
||||
color: #666;
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
|
@ -477,8 +483,9 @@ ul.main-actions {
|
|||
#layout.poor-layout ul.main-actions {
|
||||
li {
|
||||
a { height: 12em; }
|
||||
width: 18em;
|
||||
> a > i {
|
||||
font-size: 2.4em;
|
||||
font-size: 2em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -487,7 +494,7 @@ ul.main-actions {
|
|||
#layout.twocols ul.main-actions {
|
||||
li {
|
||||
a { height: 12em; }
|
||||
width: 16em;
|
||||
width: 17em;
|
||||
> a > i {
|
||||
font-size: 1.8em;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue