Made it far less likely for the UI to lock up

This commit is contained in:
David Carley
2021-03-23 21:19:45 -07:00
parent 47cec0dae3
commit a46230656e
13 changed files with 62 additions and 46 deletions

View File

@@ -36,14 +36,8 @@ script#console-template(type="text/x-template")
table
tr
th Level
th Source
th Location
th Repeat
th Message
tr(v-for="msg in messages", class="log-{{msg.level || 'info'}}")
td {{msg.level || 'info'}}
td {{msg.source || ''}}
td {{msg.where || ''}}
td {{msg.repeat}}
td.message {{msg.msg}}

View File

@@ -413,7 +413,7 @@ script#control-view-template(type="text/x-template")
form.gcode-file-input.file-upload
input(type="file", @change="upload", :disabled="!is_ready",
accept="text/*,.nc,.gcode,.gc,.ngc,.txt,.tap,.cnc")
accept=".nc,.ngc,.gcode,.gc")
a(:disabled="!state.selected", download,
:href="'/api/file/' + state.selected",