Added the navbar (Icons were not showing up for me), Modifed to use the remove icon, and added mouseover text 'Emergency Stop' on mouseover

This commit is contained in:
Alain Chiasson 2018-02-13 03:42:06 +00:00
parent 0d783237ea
commit 5a118da7ef
2 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ class SimpleemergencystopPlugin(octoprint.plugin.StartupPlugin,
def get_template_configs(self):
return [
#dict(type="navbar", custom_bindings=False),
dict(type="navbar", custom_bindings=False),
dict(type="settings", custom_bindings=False)
]

View File

@ -1,5 +1,5 @@
<a data-bind="click: click, visible: visibleTest()" href="#">
<i class="icon-warning-sign" style="color: red"></i>
<a data-bind="click: click, visible: visibleTest()" title="{{ _('!!! Emergency Stop !!!') }}" href="#">
<i class="icon-remove-sign" style="color: red"></i>
</a>