From 5a118da7ef0116718742f355c718beb4421f1308 Mon Sep 17 00:00:00 2001 From: Alain Chiasson Date: Tue, 13 Feb 2018 03:42:06 +0000 Subject: [PATCH] Added the navbar (Icons were not showing up for me), Modifed to use the remove icon, and added mouseover text 'Emergency Stop' on mouseover --- octoprint_simpleemergencystop/__init__.py | 2 +- .../templates/simpleemergencystop_navbar.jinja2 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/octoprint_simpleemergencystop/__init__.py b/octoprint_simpleemergencystop/__init__.py index 9821bba..a387d79 100644 --- a/octoprint_simpleemergencystop/__init__.py +++ b/octoprint_simpleemergencystop/__init__.py @@ -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) ] diff --git a/octoprint_simpleemergencystop/templates/simpleemergencystop_navbar.jinja2 b/octoprint_simpleemergencystop/templates/simpleemergencystop_navbar.jinja2 index 990f502..97ff57e 100644 --- a/octoprint_simpleemergencystop/templates/simpleemergencystop_navbar.jinja2 +++ b/octoprint_simpleemergencystop/templates/simpleemergencystop_navbar.jinja2 @@ -1,5 +1,5 @@ - - + +