mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 08:05:56 +00:00
rework net-alert to use iconfont, move it to toolbar start
This commit is contained in:
10
index.php
10
index.php
@@ -161,6 +161,11 @@
|
||||
<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>
|
||||
|
||||
<?php
|
||||
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_MAIN_TOOLBAR_BUTTON) as $p) {
|
||||
echo $p->hook_main_toolbar_button();
|
||||
@@ -219,11 +224,6 @@
|
||||
}
|
||||
?>
|
||||
|
||||
<button id="net-alert" dojoType="dijit.form.Button" style="display : none" disabled="true"
|
||||
title="<?php echo __("Communication problem with server.") ?>">
|
||||
<img src="images/error.png" />
|
||||
</button>
|
||||
|
||||
<div dojoType="dijit.form.DropDownButton">
|
||||
<span><?php echo __('Actions...') ?></span>
|
||||
<div dojoType="dijit.Menu" style="display: none">
|
||||
|
||||
Reference in New Issue
Block a user