Skip to content

Commit

Permalink
Removed experimental support for hiding hotends
Browse files Browse the repository at this point in the history
  • Loading branch information
sco01 committed Sep 20, 2019
1 parent d17bd69 commit a3ff4c6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions octoprint_dashboard/static/js/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ $(function() {
self.virtualMemPercent = ko.observable(0);
self.diskUsagePercent = ko.observable(0);
self.cpuTemp = ko.observable(0);
//self.flipH = ko.observable();




//Notify user if displaylayerprogress plugin is not installed
self.DisplayLayerProgressAvailable = function() {
if (self.settingsViewModel.settings.plugins.DisplayLayerProgress)
Expand All @@ -50,7 +50,7 @@ $(function() {
});
return "Warning: Can't get stats from <a href='https://plugins.octoprint.org/plugins/DisplayLayerProgress/' target='_blank'>DisplayLayerProgress</a>. Is it installed, enabled and on the latest version?";
}
}
};

//Events from displaylayerprogress Plugin
self.onDataUpdaterPluginMessage = function(plugin, data) {
Expand Down
4 changes: 2 additions & 2 deletions octoprint_dashboard/templates/dashboard_settings.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
</label>
</div>
</div>

<!--
<legend>{{ _('Advanced Settings') }}</legend>
<div class="control-group">
<div >
Expand All @@ -63,7 +63,7 @@
</label>
</div>
</div>

-->
</form>


3 changes: 1 addition & 2 deletions octoprint_dashboard/templates/dashboard_tab.jinja2
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<!-- HTML grid-based layout. Set to 3 columns wide in css -->
<div class="dasboardGridContainer">

Expand Down Expand Up @@ -36,7 +35,7 @@
<!-- Temps and Fan -->

<!-- ko foreach: temperatureModel.tools -->
<div class="dashboardGridItem" data-bind="visible: $parent.temperatureModel.isOperational() && ($parent.settingsViewModel.settings.plugins.dashboard.hideHotend() && target() > 0)">
<div class="dashboardGridItem" data-bind="visible: $parent.temperatureModel.isOperational()">
<img class="dashboardIcon" title="Hotend temp (target temp)" src="/plugin/dashboard/static/img/hotend-icon.png"></img>
<svg xmlns="http://www.w3.org/2000/svg" height="120" width="120" viewBox="0 0 200 200">
<path class="bg" stroke="#ccc" d="M41 149.5a77 77 0 1 1 117.93 0" fill="none"/>
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
plugin_name = "OctoPrint-Dashboard"

# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
plugin_version = "1.3.0"
plugin_version = "1.3.1"

# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
# module
Expand Down

0 comments on commit a3ff4c6

Please sign in to comment.