Changeset d7ee6ae for src/webapp
- Timestamp:
- Jul 20, 2016, 5:56:56 PM (10 years ago)
- Branches:
- 0.5, app-cordova, debian/bullseye, debian/jessie, master
- Children:
- 73c34f3
- Parents:
- 5519ced
- Location:
- src/webapp/webclient
- Files:
-
- 2 edited
-
css/main.css (modified) (2 diffs)
-
javascript/main.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/webapp/webclient/css/main.css
r5519ced rd7ee6ae 112 112 form p input { 113 113 border: 1px solid #ACDFAC; 114 height: 2em;115 width: 58.3mm;114 height: 3em; 115 width: 100%; 116 116 } 117 117 118 118 .formButtons { 119 text-align: right; 120 margin-right: 5em; 121 margin-top: 1em; 119 text-align: center; 120 margin-top: 2em; 122 121 } 123 122 124 123 .button { 125 124 border: 0; 126 height: 2em;127 width: 10 em;125 height: 3em; 126 width: 100%; 128 127 background-repeat: no-repeat; 129 128 background-position: 0.5em 0.25em; … … 146 145 font-size: 24pt; 147 146 width: 100%; 147 height: 3em; 148 148 } -
src/webapp/webclient/javascript/main.js
r5519ced rd7ee6ae 105 105 $.getJSON("../webservice/?request=shutdown", function(data){ 106 106 var shutdownTime = data["shutdownstart"]; 107 var shutdownDate = new Date(shutdownTime);107 var shutdownDate = Date.parse(shutdownTime); 108 108 var currentDate = new Date(); 109 109 var shutdownHint = "Shutting down in "+ Math.floor((shutdownDate - currentDate)/1000) +"s at "+ shutdownTime.toLocaleString();
Note:
See TracChangeset
for help on using the changeset viewer.
