mirror of http://git.sublab.org/mjpegplexer/
Changes to form
This commit is contained in:
parent
80efed22b3
commit
abb2cc0561
|
@ -12,6 +12,7 @@
|
||||||
<img src="img/testbild.gif" id="camImage">
|
<img src="img/testbild.gif" id="camImage">
|
||||||
</div>
|
</div>
|
||||||
<div id="form">
|
<div id="form">
|
||||||
|
<p class="header">Untersuchungsprotokoll</p>
|
||||||
<p>Personalkennzeichnung: <input id="formName"> Zeitpunkt:<input id="formDate" readonly>
|
<p>Personalkennzeichnung: <input id="formName"> Zeitpunkt:<input id="formDate" readonly>
|
||||||
</p>
|
</p>
|
||||||
<p>Analyse der Aufnahme:<br>
|
<p>Analyse der Aufnahme:<br>
|
||||||
|
@ -21,7 +22,7 @@
|
||||||
Persönliche Bemerkungen:<br>
|
Persönliche Bemerkungen:<br>
|
||||||
<textarea id="formAnalysis3"></textarea></p>
|
<textarea id="formAnalysis3"></textarea></p>
|
||||||
<span id="errorBox"> </span><br>
|
<span id="errorBox"> </span><br>
|
||||||
<a href="#" id='printButton'> </a>
|
<input type="submit" value="Drucken" id="printButton"></input>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -80,17 +80,16 @@ body {
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p.header {
|
||||||
|
text-align: center;
|
||||||
|
font-weight: bolder;
|
||||||
|
font-size: 1.1em;
|
||||||
|
}
|
||||||
#printButton {
|
#printButton {
|
||||||
width: 200px;
|
width: 300px;
|
||||||
height: 100px;
|
height: 50px;
|
||||||
display: block;
|
font-weight: bold;
|
||||||
margin: 10px auto;
|
font-size: 1.1em;
|
||||||
background-image: url('../img/print_button.png');
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#printButton:hover {
|
|
||||||
background-image: url('../img/print_button_highlight.png');
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
|
@ -193,8 +193,8 @@ function completeForm() {
|
||||||
return setError("Analyse der Aufnahme unzureichend!");
|
return setError("Analyse der Aufnahme unzureichend!");
|
||||||
if (formAnalysis2.value.length < 3)
|
if (formAnalysis2.value.length < 3)
|
||||||
return setError("Bemerkungen zum Untersuchungsverlauf unzureichend!");
|
return setError("Bemerkungen zum Untersuchungsverlauf unzureichend!");
|
||||||
/* if (formAnalysis3.value.length < 3)
|
if (formAnalysis3.value.length < 3)
|
||||||
return setError("Analyse der Aufnahme unzureichend!");*/
|
return setError("Persönliche Bemerkungen fehlen!");
|
||||||
|
|
||||||
// unfocus and disable button
|
// unfocus and disable button
|
||||||
//otherwise next enter press will trigger print-function
|
//otherwise next enter press will trigger print-function
|
||||||
|
|
34
server.js
34
server.js
|
@ -15,37 +15,37 @@ var storage_dir = '/home/untersuchung/storage';
|
||||||
|
|
||||||
var cameras = [
|
var cameras = [
|
||||||
{
|
{
|
||||||
baseurl: 'http://admin:123456@192.168.1.10',
|
baseurl: 'http://192.168.1.20:8080/cam/0',
|
||||||
model: 'conceptronic'
|
model: 'mjpegplexer'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
baseurl: 'http://admin:123456@192.168.1.11',
|
baseurl: 'http://192.168.1.20:8080/cam/1',
|
||||||
model: 'conceptronic'
|
model: 'mjpegplexer'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
baseurl: 'http://admin:123456@192.168.1.12',
|
baseurl: 'http://192.168.1.20:8080/cam/2',
|
||||||
model: 'conceptronic'
|
model: 'mjpegplexer'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
baseurl: 'http://admin:123456@192.168.1.14',
|
baseurl: 'http://192.168.1.20:8080/cam/3',
|
||||||
model: 'conceptronic'
|
model: 'mjpegplexer'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
baseurl: 'http://admin:123456@192.168.1.15',
|
baseurl: 'http://192.168.1.20:8080/cam/4',
|
||||||
model: 'conceptronic'
|
model: 'mjpegplexer'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
baseurl: 'http://admin:123456@192.168.1.16',
|
baseurl: 'http://192.168.1.20:8080/cam/5',
|
||||||
model: 'conceptronic'
|
model: 'mjpegplexer'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
baseurl: 'http://admin:123456@192.168.1.17',
|
baseurl: 'http://192.168.1.20:8080/cam/6',
|
||||||
model: 'conceptronic'
|
model: 'mjpegplexer'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
baseurl: 'http://admin:123456@192.168.1.18',
|
baseurl: 'http://192.168.1.20:8080/cam/7',
|
||||||
model: 'conceptronic'
|
model: 'mjpegplexer'
|
||||||
}
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
var still_frames = [
|
var still_frames = [
|
||||||
|
|
Loading…
Reference in New Issue