1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 03:35:55 +00:00

move all status icons like net-alert together on the toolbar

This commit is contained in:
Andrew Dolgov
2018-12-10 11:54:19 +03:00
parent 7e5c999146
commit 7915706946
6 changed files with 15 additions and 20 deletions

View File

@@ -161,15 +161,14 @@
<div id="toolbar-frame" dojoType="dijit.layout.ContentPane" region="top">
<div id="toolbar" dojoType="dijit.Toolbar">
<div class="net-alert" style="display : none"
title="<?php echo __("Communication problem with server.") ?>">
<i class="material-icons">error_outline</i>
</div>
<i class="material-icons net-alert" style="display : none"
title="<?php echo __("Communication problem with server.") ?>">error_outline</i>
<div class="log-alert" style="display : none"
title="<?php echo __("Recent entries found in event log.") ?>">
<i class="material-icons">warning</i>
</div>
<i class="material-icons log-alert" style="display : none"
title="<?php echo __("Recent entries found in event log.") ?>">warning</i>
<i id="updates-available" class="material-icons icon-new-version" style="display : none"
title="<?php echo __('Updates are available from Git.') ?>">new_releases</i>
<?php
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_MAIN_TOOLBAR_BUTTON) as $p) {
@@ -257,10 +256,6 @@
<?php } ?>
</div>
</div>
<i id="updates-available" class="material-icons icon-new-version"
style="display : none" title="<?php echo __('Updates are available from Git.') ?>">new_releases</i>
</div>
</div> <!-- toolbar -->
</div> <!-- toolbar pane -->