Changeset 949f66d for src/webapp/webclient/js
- Timestamp:
- Aug 24, 2017, 8:19:01 PM (9 years ago)
- Branches:
- debian/bullseye, debian/jessie
- Children:
- 944372e
- Parents:
- 50a7bfa (diff), 563c04b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/webapp/webclient/js/GnuBoat.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/webapp/webclient/js/GnuBoat.js
r50a7bfa r949f66d 44 44 { 45 45 $("#message").empty(); 46 $( shutdownHint).appendTo("#message");46 $(text).appendTo("#message"); 47 47 location.hash = "#messages"; 48 48 } … … 115 115 var shutdownDate = Date.parse(shutdownTime); 116 116 var currentDate = new Date(); 117 var shutdownHint = "Shutting down in "+ Math.floor((shutdownDate - currentDate)/1000) +"s at "+ shutdownTime.toLocaleString();117 var shutdownHint = '<span class="info">Shutting down in '+ Math.floor((shutdownDate - currentDate)/1000) +"s at "+ shutdownTime.toLocaleString() +"</span>"; 118 118 if(shutdownTime == -1){ 119 shutdownHint = "Failed to initiate shutdown: "+ data["errormessage"];119 shutdownHint = '<span class="error">Failed to initiate shutdown: '+ data["errormessage"] +"</span>"; 120 120 } 121 121 GnuBoat.displayMessage(shutdownHint);
Note:
See TracChangeset
for help on using the changeset viewer.
