Changeset 563c04b for src/webapp/webclient
- Timestamp:
- Aug 24, 2017, 8:15:21 PM (9 years ago)
- Branches:
- 0.5, debian/bullseye, debian/jessie, master
- Children:
- 193006a, 86442cb, 949f66d
- Parents:
- 654b10c
- Location:
- src/webapp/webclient
- Files:
-
- 2 edited
-
css/GnuBoat.css (modified) (1 diff)
-
js/GnuBoat.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/webapp/webclient/css/GnuBoat.css
r654b10c r563c04b 115 115 } 116 116 117 # shutdownMessage{117 #message .error { 118 118 font-weight: bold; 119 119 color: #8C1C00; 120 } 121 122 #message .info { 123 font-weight: bold; 124 color: #45A545; 120 125 } 121 126 -
src/webapp/webclient/js/GnuBoat.js
r654b10c r563c04b 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.
