Changes to form

master
Christian Franke 2014-03-19 19:01:12 +01:00
parent 80efed22b3
commit abb2cc0561
4 changed files with 30 additions and 30 deletions

View File

@ -12,6 +12,7 @@
<img src="img/testbild.gif" id="camImage">
</div>
<div id="form">
<p class="header">Untersuchungsprotokoll</p>
<p>Personalkennzeichnung:&nbsp;<input id="formName"> &nbsp;&nbsp;Zeitpunkt:<input id="formDate" readonly>
</p>
<p>Analyse der Aufnahme:<br>
@ -21,7 +22,7 @@
Pers&ouml;nliche Bemerkungen:<br>
<textarea id="formAnalysis3"></textarea></p>
<span id="errorBox">&nbsp;</span><br>
<a href="#" id='printButton'>&nbsp;</a>
<input type="submit" value="Drucken" id="printButton"></input>
</div>
</body>

View File

@ -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');
}

View File

@ -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

View File

@ -15,37 +15,37 @@ var storage_dir = '/home/untersuchung/storage';
var cameras = [
{
baseurl: 'http://admin:123456@192.168.1.10',
model: 'conceptronic'
baseurl: 'http://192.168.1.20:8080/cam/0',
model: 'mjpegplexer'
},
{
baseurl: 'http://admin:123456@192.168.1.11',
model: 'conceptronic'
baseurl: 'http://192.168.1.20:8080/cam/1',
model: 'mjpegplexer'
},
{
baseurl: 'http://admin:123456@192.168.1.12',
model: 'conceptronic'
baseurl: 'http://192.168.1.20:8080/cam/2',
model: 'mjpegplexer'
},
{
baseurl: 'http://admin:123456@192.168.1.14',
model: 'conceptronic'
baseurl: 'http://192.168.1.20:8080/cam/3',
model: 'mjpegplexer'
},
{
baseurl: 'http://admin:123456@192.168.1.15',
model: 'conceptronic'
baseurl: 'http://192.168.1.20:8080/cam/4',
model: 'mjpegplexer'
},
{
baseurl: 'http://admin:123456@192.168.1.16',
model: 'conceptronic'
baseurl: 'http://192.168.1.20:8080/cam/5',
model: 'mjpegplexer'
},
{
baseurl: 'http://admin:123456@192.168.1.17',
model: 'conceptronic'
baseurl: 'http://192.168.1.20:8080/cam/6',
model: 'mjpegplexer'
},
{
baseurl: 'http://admin:123456@192.168.1.18',
model: 'conceptronic'
}
baseurl: 'http://192.168.1.20:8080/cam/7',
model: 'mjpegplexer'
},
];
var still_frames = [