diff --git a/src/octoprint/templates/index.jinja2 b/src/octoprint/templates/index.jinja2
index fa62ff7a..c3754f4b 100644
--- a/src/octoprint/templates/index.jinja2
+++ b/src/octoprint/templates/index.jinja2
@@ -73,215 +73,15 @@
-
-
-
-
-
- {{ _('Machine State') }}:
- {{ _('File') }}:
(SD)
- {{ _('Timelapse') }}:
-
-
-
- {{ _('Approx. Total Print Time') }}:
- {{ _('Print Time') }}:
- {{ _('Print Time Left') }}:
- {{ _('Printed') }}:
-
-
-
-
- {{ _('Print') }}
- {{ _('Pause') }} {{ _('Resume') }}
- {{ _('Cancel') }}
-
-
-
-
-
-
-
-
-
-
-
- {{ _('Free') }}:
-
-
-
-
-
+ {% include 'sidebar/connection.jinja2' %}
+ {% include 'sidebar/state.jinja2' %}
+ {% include 'sidebar/files.jinja2' %}
@@ -294,362 +94,11 @@
-
- {% if enableTemperatureGraph %}
-
- {% endif %}
-
-
-
-
-
- {{ _('Actual') }}
- {{ _('Target') }}
- {{ _('Offset') }}
-
-
-
-
-
-
-
-
-
-
-
- {% if webcamStream %}
-
-
-
-
{{ _("Keyboard controls active") }}
-
-
- → / ← : {{ _("X Axis") }} +/-
- ↑ / ↓ : {{ _("Y Axis") }} +/-
- W , {{ _("Page↑") }} / S , {{ _("Page↓") }} : {{ _("Z Axis") }} +/-
-
-
- Home : {{ _("Home X/Y") }}
- End : {{ _("Home Z") }}
- 1 , 2 , 3 , 4 : {{ _("Stepsize") }} 0.1, 1, 10, 100mm
-
-
-
-
-
- {{ _("Hint: If you move your mouse over the picture, you enter keyboard control mode.") }}
-
- {% endif %}
-
-
-
-
-
X/Y
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 0.1
- 1
- 10
- 100
-
-
-
-
-
-
-
Tool (E)
-
-
-
- {{ _('Select Tool...') }}
-
-
-
-
-
-
- mm
-
-
{{ _('Extrude') }}
-
{{ _('Retract') }}
-
-
-
-
-
{{ _('General') }}
-
- {{ _('Motors off') }}
- {{ _('Fans on') }}
- {{ _('Fans off') }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {% if enableGCodeVisualizer %}
-
-
-
-
-
-
-
-
-
-
-
Model info
-
-
-
Layer info
-
-
-
-
-
-
-
Warning
-
-
- You've selected for printing which has a size of
- . Depending on your machine this
- might be too large for rendering and cause your browser to become unresponsive or crash.
-
-
-
- Are you sure you want to visualize this file nevertheless?
-
-
-
- Yes, please visualize regardless of its size
-
-
-
- {% endif %}
-
- {% if enableTimelapse %}
-
-
-
{{ _('Timelapse Configuration') }}
-
-
{{ _('Timelapse Mode') }}
-
- {{ _('Off') }}
- {{ _('On Z Change') }}
- {{ _('Timed') }}
-
-
-
{{ _('Timelapse post roll (in rendered seconds)') }}
-
-
- {{ _('sec') }}
-
-
-
-
{{ _('Interval') }}
-
-
- {{ _('sec') }}
-
-
-
-
-
- {{ _('Save as default') }}
-
-
-
-
- {{ _('Save config') }}
-
-
-
-
{{ _('Finished Timelapses') }}
-
-
-
-
-
- {{ _('Name') }}
- {{ _('Size') }}
- {{ _('Action') }}
-
-
-
-
-
-
- |
-
-
-
-
-
- {% endif %}
+ {% include 'tabs/temperature.jinja2' %}
+ {% include 'tabs/control.jinja2' %}
+ {% include 'tabs/gcodeviewer.jinja2' %}
+ {% include 'tabs/terminal.jinja2' %}
+ {% include 'tabs/timelapse.jinja2' %}
diff --git a/src/octoprint/templates/navbar.jinja2 b/src/octoprint/templates/navbar.jinja2
new file mode 100644
index 00000000..517ae5f5
--- /dev/null
+++ b/src/octoprint/templates/navbar.jinja2
@@ -0,0 +1,45 @@
+
diff --git a/src/octoprint/templates/sidebar/connection.jinja2 b/src/octoprint/templates/sidebar/connection.jinja2
new file mode 100644
index 00000000..59570251
--- /dev/null
+++ b/src/octoprint/templates/sidebar/connection.jinja2
@@ -0,0 +1,22 @@
+
diff --git a/src/octoprint/templates/sidebar/files.jinja2 b/src/octoprint/templates/sidebar/files.jinja2
new file mode 100644
index 00000000..8ca633a5
--- /dev/null
+++ b/src/octoprint/templates/sidebar/files.jinja2
@@ -0,0 +1,108 @@
+
+
+
+
+
+
+
+ {{ _('Free') }}:
+
+
+
+
+
diff --git a/src/octoprint/templates/sidebar/state.jinja2 b/src/octoprint/templates/sidebar/state.jinja2
new file mode 100644
index 00000000..393aa92b
--- /dev/null
+++ b/src/octoprint/templates/sidebar/state.jinja2
@@ -0,0 +1,29 @@
+
+
+
+
+ {{ _('Machine State') }}:
+ {{ _('File') }}:
(SD)
+ {{ _('Timelapse') }}:
+
+
+
+ {{ _('Approx. Total Print Time') }}:
+ {{ _('Print Time') }}:
+ {{ _('Print Time Left') }}:
+ {{ _('Printed') }}:
+
+
+
+
+ {{ _('Print') }}
+ {{ _('Pause') }} {{ _('Resume') }}
+ {{ _('Cancel') }}
+
+
+
+
diff --git a/src/octoprint/templates/tabs/control.jinja2 b/src/octoprint/templates/tabs/control.jinja2
new file mode 100644
index 00000000..a047cd72
--- /dev/null
+++ b/src/octoprint/templates/tabs/control.jinja2
@@ -0,0 +1,133 @@
+
+ {% if webcamStream %}
+
+
+
+
{{ _("Keyboard controls active") }}
+
+
+ → / ← : {{ _("X Axis") }} +/-
+ ↑ / ↓ : {{ _("Y Axis") }} +/-
+ W , {{ _("Page↑") }} / S , {{ _("Page↓") }} : {{ _("Z Axis") }} +/-
+
+
+ Home : {{ _("Home X/Y") }}
+ End : {{ _("Home Z") }}
+ 1 , 2 , 3 , 4 : {{ _("Stepsize") }} 0.1, 1, 10, 100mm
+
+
+
+
+
+ {{ _("Hint: If you move your mouse over the picture, you enter keyboard control mode.") }}
+
+ {% endif %}
+
+
+
+
+
X/Y
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0.1
+ 1
+ 10
+ 100
+
+
+
+
+
+
+
Tool (E)
+
+
+
+ {{ _('Select Tool...') }}
+
+
+
+
+
+
+ mm
+
+
{{ _('Extrude') }}
+
{{ _('Retract') }}
+
+
+
+
+
{{ _('General') }}
+
+ {{ _('Motors off') }}
+ {{ _('Fans on') }}
+ {{ _('Fans off') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/octoprint/templates/tabs/gcodeviewer.jinja2 b/src/octoprint/templates/tabs/gcodeviewer.jinja2
new file mode 100644
index 00000000..8013aa00
--- /dev/null
+++ b/src/octoprint/templates/tabs/gcodeviewer.jinja2
@@ -0,0 +1,79 @@
+{% if enableGCodeVisualizer %}
+
+
+
+
+
+
+
+
+
+
+
Model info
+
+
+
Layer info
+
+
+
+
+
+
+
Warning
+
+
+ You've selected for printing which has a size of
+ . Depending on your machine this
+ might be too large for rendering and cause your browser to become unresponsive or crash.
+
+
+
+ Are you sure you want to visualize this file nevertheless?
+
+
+
+ Yes, please visualize regardless of its size
+
+
+
+{% endif %}
diff --git a/src/octoprint/templates/tabs/temperature.jinja2 b/src/octoprint/templates/tabs/temperature.jinja2
new file mode 100644
index 00000000..4f59b227
--- /dev/null
+++ b/src/octoprint/templates/tabs/temperature.jinja2
@@ -0,0 +1,57 @@
+
+ {% if enableTemperatureGraph %}
+
+ {% endif %}
+
+
+
+
+
+ {{ _('Actual') }}
+ {{ _('Target') }}
+ {{ _('Offset') }}
+
+
+
+
+
+
+
+
+
+
diff --git a/src/octoprint/templates/tabs/terminal.jinja2 b/src/octoprint/templates/tabs/terminal.jinja2
new file mode 100644
index 00000000..8fe96043
--- /dev/null
+++ b/src/octoprint/templates/tabs/terminal.jinja2
@@ -0,0 +1,16 @@
+
diff --git a/src/octoprint/templates/tabs/timelapse.jinja2 b/src/octoprint/templates/tabs/timelapse.jinja2
new file mode 100644
index 00000000..dd6fb4d8
--- /dev/null
+++ b/src/octoprint/templates/tabs/timelapse.jinja2
@@ -0,0 +1,71 @@
+{% if enableTimelapse %}
+
+
+
{{ _('Timelapse Configuration') }}
+
+
{{ _('Timelapse Mode') }}
+
+ {{ _('Off') }}
+ {{ _('On Z Change') }}
+ {{ _('Timed') }}
+
+
+
{{ _('Timelapse post roll (in rendered seconds)') }}
+
+
+ {{ _('sec') }}
+
+
+
+
{{ _('Interval') }}
+
+
+ {{ _('sec') }}
+
+
+
+
+
+ {{ _('Save as default') }}
+
+
+
+
+ {{ _('Save config') }}
+
+
+
+
{{ _('Finished Timelapses') }}
+
+
+
+
+
+ {{ _('Name') }}
+ {{ _('Size') }}
+ {{ _('Action') }}
+
+
+
+
+
+
+ |
+
+
+
+
+
+{% endif %}