diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/cam.html | 3 | ||||
-rw-r--r-- | public/css/cam.css | 19 | ||||
-rw-r--r-- | public/js/cctv-control.js | 4 |
3 files changed, 13 insertions, 13 deletions
diff --git a/public/cam.html b/public/cam.html index 4149c77..d899172 100644 --- a/public/cam.html +++ b/public/cam.html @@ -12,6 +12,7 @@ <img src="img/testbild.gif" id="camImage"> </div> <div id="form"> + <p class="header">Untersuchungsprotokoll</p> <p>Personalkennzeichnung: <input id="formName"> Zeitpunkt:<input id="formDate" readonly> </p> <p>Analyse der Aufnahme:<br> @@ -21,7 +22,7 @@ Persönliche Bemerkungen:<br> <textarea id="formAnalysis3"></textarea></p> <span id="errorBox"> </span><br> - <a href="#" id='printButton'> </a> + <input type="submit" value="Drucken" id="printButton"></input> </div> </body> diff --git a/public/css/cam.css b/public/css/cam.css index dd4959c..4ea21f3 100644 --- a/public/css/cam.css +++ b/public/css/cam.css @@ -80,17 +80,16 @@ body { font-size: 1.1em; } +p.header { + text-align: center; + font-weight: bolder; + font-size: 1.1em; +} #printButton { - width: 200px; - height: 100px; - display: block; - margin: 10px auto; - background-image: url('../img/print_button.png'); - text-decoration: none; + width: 300px; + height: 50px; + font-weight: bold; + font-size: 1.1em; } -#printButton:hover { - background-image: url('../img/print_button_highlight.png'); - -} diff --git a/public/js/cctv-control.js b/public/js/cctv-control.js index 8ac8b0c..ccd77c9 100644 --- a/public/js/cctv-control.js +++ b/public/js/cctv-control.js @@ -193,8 +193,8 @@ function completeForm() { return setError("Analyse der Aufnahme unzureichend!"); if (formAnalysis2.value.length < 3) return setError("Bemerkungen zum Untersuchungsverlauf unzureichend!"); -/* if (formAnalysis3.value.length < 3) - return setError("Analyse der Aufnahme unzureichend!");*/ + if (formAnalysis3.value.length < 3) + return setError("Persönliche Bemerkungen fehlen!"); // unfocus and disable button //otherwise next enter press will trigger print-function |