Fixed state information for gcode file upload. Now offers some status text that gives feedback whether file is still uploading to the server or being saved to disk on the server.

master
Gina Häußge 2013-03-08 21:05:53 +01:00
parent 95d6c18183
commit f1dc0a629a
2 changed files with 1 additions and 8 deletions

View File

@ -245,13 +245,6 @@ ul.dropdown-menu li a {
}
}
#gcode_upload_progress .bar {
-webkit-transition: width 0s linear !important;
-moz-transition: width 0s linear !important;
-o-transition: width 0s linear !important;
transition: width 0s linear !important;
}
/** Controls */
#controls {

View File

@ -136,7 +136,7 @@
<input id="gcode_upload" type="file" name="gcode_file" class="fileinput-button" data-url="/ajax/gcodefiles/upload">
</span>
<div id="gcode_upload_progress" class="progress" style="width: 100%;">
<div class="bar" style="width: 0%">Loading ...</div>
<div class="bar" style="width: 0%"></div>
</div>
<div>
<small>Hint: You can also drag and drop files on this page to upload them.</small>