-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
81 lines (75 loc) · 4.13 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!doctype html>
<html>
<head>
<title>MPIS</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="elementipostrojenja.css">
<style>
</style>
</head>
<body>
<div id="navbar">
<ul>
<li><a href="#" onclick="toggleVisible('about');">About</a></li>
<li><a href="#" onclick="toggleVisible('help');">Help</a></li>
<li class="dropdown">
<a href="javascript:void(0)" class="dropbtn">Dalekovodno polje</a>
<div class="dropdown-content">
<a href="#" onclick='dvp.izlistaj("svi_signali")'>Svi signali</a>
<a href="#" onclick='dvp.izlistaj("tren")'>Trenutni signali</a>
<a href="#" class="btn" id="btn1" style="background-color: #f00; color: white;" onclick='dvp.pali_gasi_polje("btn1")'>Isključi</a>
</div>
</li>
<li class="dropdown">
<a href="javascript:void(0)" class="dropbtn">Spojno polje</a>
<div class="dropdown-content">
<a href="#" onclick='spp.izlistaj("svi_signali")'>Svi signali</a>
<a href="#" onclick='spp.izlistaj("tren")'>Trenutni signali</a>
<a href="#" class="btn" id="btn2" style="background-color: #0f0; color: black;" onclick='spp.pali_gasi_polje("btn2")'>Uključi</a>
</div>
</li>
</ul>
</div>
<div id="prostorzasliku">
<div id="sabirnica_naslov1">S1</div>
<div id="sabirnnica_naslov2">S2</div>
<img id="pdal1" src="Slike/prekidač_uključen.png" onclick="dvp.promijeni_stanje(dvp.p1)" oncontextmenu="dvp.p1.prikazi_stanje();return false;"/>
<img id="rdal1" src="Slike/rastavljač_uključen.png" onclick="dvp.promijeni_stanje(dvp.r1)" oncontextmenu="dvp.r1.prikazi_stanje();return false;"/>
<img id="rdal2" src="Slike/rastavljač_uključen.png" onclick="dvp.promijeni_stanje(dvp.r2)" oncontextmenu="dvp.r2.prikazi_stanje();return false;"/>
<img id="rdal3" src="Slike/rastavljač_uključen.png" onclick="dvp.promijeni_stanje(dvp.r3)" oncontextmenu="dvp.r3.prikazi_stanje();return false;"/>
<img id="psp1" src="Slike/prekidač_isključen.png" onclick="spp.promijeni_stanje(spp.p2)" oncontextmenu="spp.p2.prikazi_stanje();return false;"/>
<img id="rsp1" src="Slike/rastavljač_uključen.png" onclick="spp.promijeni_stanje(spp.r4)" oncontextmenu="spp.r4.prikazi_stanje();return false;"/>
<img id="rsp2" src="Slike/rastavljač_uključen.png" onclick="spp.promijeni_stanje(spp.r5)" oncontextmenu="spp.r5.prikazi_stanje();return false;"/>
<img id="rdal6" src="Slike/rastavljač_isključen.png" onclick="dvp.promijeni_stanje(dvp.r6)" oncontextmenu="dvp.r6.prikazi_stanje();return false;"/>
<img id="uze" src="Slike/uzemljenje.png"/>
<div>
<div class="stanjeDV">Stanje Dalekovodnog Polja: </div>
<div id="stanjeDV"></div>
<div id="naponDV"></div>
</div>
<div>
<div class="stanjeSV">Stanje Spojnog Polja: </div>
<div id="stanjeSV"></div>
<div id="naponSV"></div>
</div>
<svg width="500" height="400" style="position: absolute; top: 185px; left: 0px; z-index: -10;">
<line x1="40" y1="105" x2="500" y2="105" stroke="black"/>
<line x1="40" y1="75" x2="500" y2="75" stroke="black"/>
<line x1="110" y1="105" x2="110" y2="200" stroke="black"/>
<line x1="180" y1="75" x2="180" y2="200" stroke="black"/>
<line x1="110" y1="200" x2="180" y2="200" stroke="black"/>
<line x1="145" y1="200" x2="145" y2="500" stroke="black"/>
<line x1="145" y1="330" x2="275" y2="330" stroke="black"/>
<line x1="310" y1="105" x2="310" y2="200" stroke="black"/>
<line x1="380" y1="75" x2="380" y2="200" stroke="black"/>
<line x1="310" y1="200" x2="380" y2="200" stroke="black"/>
</svg>
</div>
<div id="elem_stat" class="status" style="visibility: hidden;"></div>
<div id="error_log" class="err" style="visibility: hidden;"></div>
<div id="popup"></div>
<script src="generic.js"></script>
<script src="klase.js"></script>
</body>
</html>