views/scripts, css: fix web2.3.x issues, improve...

...responsiveness for dashboard and dashlets
This commit is contained in:
Thomas Gelf 2016-05-02 10:30:01 +02:00
parent f7bd50838d
commit 7279fd7c40
12 changed files with 25 additions and 18 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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()): ?>

View File

@ -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())): ?>

View File

@ -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() ?>

View File

@ -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 ?>

View File

@ -1,7 +1,7 @@
<div class="controls">
<?= $this->tabs ?>
<h1><?= $this->escape($this->title) ?></h1>
<span>
<span class="action-links">
<?= $this->actionLinks ?>
</span>
</div>

View File

@ -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>

View File

@ -1,7 +1,7 @@
<div class="controls">
<?= $this->tabs ?>
<h1><?= $this->escape($this->title) ?></h1>
<span>
<span class="action-links">
<?= $this->actionLinks ?>
</span>
</div>

View File

@ -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): ?>

View File

@ -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 ?>

View File

@ -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;
}