Made it far less likely for the UI to lock up
This commit is contained in:
@@ -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}}
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user