diff options
author | Andrew Dolgov <[email protected]> | 2018-12-06 12:30:11 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-06 12:30:11 +0300 |
commit | 0ea0b606be508cce11a7e776f4491db9332ae5c6 (patch) | |
tree | 30643331fa4cafa33ec3d4dd370cbc5be0a29719 /index.php | |
parent | f89ecda9b8509ef01787efa5d91fd49e49813d6d (diff) |
rework net-alert to use iconfont, move it to toolbar start
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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"> |