From 878bee784a23cfd450bbab7c8a968a644ba36802 Mon Sep 17 00:00:00 2001 From: Richard Mitchell Date: Sat, 9 Feb 2013 11:22:09 +0000 Subject: [PATCH] Modified the appearance of the jogging controls with a view to adding finer control --- octoprint/static/css/ui.css | 26 +++++++++++++++++++- octoprint/templates/index.html | 44 +++++++++++++++++++++------------- 2 files changed, 52 insertions(+), 18 deletions(-) diff --git a/octoprint/static/css/ui.css b/octoprint/static/css/ui.css index 5188b91..90dd04c 100644 --- a/octoprint/static/css/ui.css +++ b/octoprint/static/css/ui.css @@ -144,4 +144,28 @@ table th.timelapse_files_action, table td.timelapse_files_action { .overflow_visible { overflow: visible !important; -} \ No newline at end of file +} + +#controls { + overflow: hidden; +} + +#controls .jog-panel { + float: left; + margin-right: 20px; +} + +#controls .jog-panel > h4 { + border-bottom: 1px solid #ddd; +} + +#controls .jog-panel > div { + text-align: center; +} + +#controls .box { + width: 40px; + height: 40px; + margin-right: 20px; + margin-bottom: 20px; +} diff --git a/octoprint/templates/index.html b/octoprint/templates/index.html index 8bedf3e..eebdf17 100644 --- a/octoprint/templates/index.html +++ b/octoprint/templates/index.html @@ -169,23 +169,33 @@
-
-
 
-
-
 
-
+ +
+

XY

+
+ +
+
+ + + +
+
+ +
-
-
-
-
-
-
-
-
 
-
-
 
-
+ +
+

Z

+
+ +
+
+ +
+
+ +
@@ -433,4 +443,4 @@ - \ No newline at end of file +