ntoff
21e4627da2
missing span on touchui button + less global
...
hopefully nothing global "use strict" seems to not complain :D
2017-11-12 04:46:00 +10:00
ntoff
a47ead4db3
tweak settings loader
...
parseint to make sure we're loading numbers and tweak the slider to adapt to the min/max value on UI load if the default value is outside the allowed range
2017-11-12 03:38:25 +10:00
ntoff
f7faf42a87
remove unnecessary added classes
...
get rid of the extra classes added to make finding the buttons easier, turns out they aren't needed
2017-11-12 02:20:17 +10:00
ntoff
deb15025d8
min/max requirement notification text fix
...
speed decrease notification used "meet minimum requirement" which might be misleading, changed to "meet maximum requirement"
2017-11-12 01:11:36 +10:00
ntoff
175722a015
fix javascript console logging of fan speed notification
...
log was being output after the slider was set causing it to display the wrong value
2017-11-12 01:08:27 +10:00
ntoff
f4bb25718a
add some notifications about fan speed being altered
...
Added a popup notification (can be disabled) and some console log text if the fan speed is altered. Also made the slider snap to the min/max value if it is out of range to give visual feedback that the plugin is doing something to the fan speed.
2017-11-12 01:02:29 +10:00
ntoff
7bdd260617
use other view model push method
...
http://docs.octoprint.org/en/master/plugins/viewmodels.html#registering-custom-viewmodels says the other way is depreciated
2017-11-11 21:41:07 +10:00
ntoff
99364df94e
wrap it in a try catch
...
Hopefully when something in my plugin breaks (that's when, not if) it won't take down all of octoprint's UI.
2017-11-06 17:23:25 +10:00
ntoff
9fe9e04016
fix button while printing (touchUI)
...
missed that one :(
2017-10-11 23:18:34 +10:00
ntoff
0462a7552e
fix buttons disabled during printing
...
closes #3
2017-09-25 06:42:02 +10:00
ntoff
988512f522
rename default fan speed variable to be more clear
2017-09-06 17:52:23 +10:00
ntoff
b03a045b24
self fanpwn
2017-09-05 22:57:53 +10:00
ntoff
2cc132213f
added some comments
2017-09-05 09:37:05 +10:00
ntoff
30ee76bf7e
add a limiter
2017-09-05 03:52:55 +10:00
ntoff
18f009fa85
add a setting to change the default value of the slider
2017-08-31 18:09:07 +10:00
ntoff
05e2e10497
touch ui compatibility
2017-08-30 18:28:26 +10:00
ntoff
594455ef61
upload
2017-08-29 07:10:51 +10:00