summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-06 12:30:11 +0300
committerAndrew Dolgov <[email protected]>2018-12-06 12:30:11 +0300
commit0ea0b606be508cce11a7e776f4491db9332ae5c6 (patch)
tree30643331fa4cafa33ec3d4dd370cbc5be0a29719 /index.php
parentf89ecda9b8509ef01787efa5d91fd49e49813d6d (diff)
rework net-alert to use iconfont, move it to toolbar start
Diffstat (limited to 'index.php')
-rw-r--r--index.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/index.php b/index.php
index d43384573..4b2303e4c 100644
--- a/index.php
+++ b/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">