-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrack.html
87 lines (85 loc) · 2.42 KB
/
rack.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
82
83
84
85
86
87
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Itop viewer</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/rack.css">
<script src="js/jquery.js"></script>
<script src="js/properties.js"></script>
<script src="js/itop.js"></script>
<script src="js/i18n.js"></script>
<script src="js/translate.js"></script>
</head>
<body>
<header id="site-head">
<a href="../index.html"><img src="img/home.png"></a>
</header>
<div class="body">
<div class="loading" id="loading">Loading…</div>
<form method="POST" id="LoginFormRack">
<fieldset id="login">
<legend id="formserver"></legend>
<span id="formlogin"></span>: <input type="text" id="auth_user" name="auth_user" value="" />
<span id="formpassword"></span>: <input type="password" id="auth_pwd" name="auth_pwd" value="" />
<button type="submit"><span id="formconnect"></span></button>
</fieldset>
<span id="errorLogin"></span>
</form>
<div id="rack">
<br>
<div id="infoRack">
<strong><span id="sprackdetail"></span> : </strong>
<br><span id="sprackname"></span> :
<span id="namerack"></span>
<br><span id="spnbu"></span> :
<span id="nbu"></span> - <span id="spnbuocc"></span> :
<span id="uuse"></span> (<span id="upercent">-</span>%)
</div>
<div id="donutChart"><canvas id="myChart" width="100" height="100"></canvas></div>
<br>
<br>
<div class="site">
<table id="tablerack">
<tbody></tbody>
</table>
</div>
<div id="server">
<br>
<strong><span id="spenclodetail"></span> <span id="chassisname"></span> : </strong>
<div class="site">
<table id="tableserver">
<tbody></tbody>
</table>
</div>
<br>
</div>
</div>
<div id="JSONResult">
JSON :
<br/>
<pre><span id="result"></span></pre>
</div>
</div>
<script id="u_line" type="text/template">
<tr class="pointer" onclick="GetEnclosureWithName('{name}','{persoType}')">
<td>{description}</td>
<td>{finalclass}</td>
<td>{name}</td>
<td>{nb_u}</td>
<td>{brand_name}</td>
<td>{model_name}</td>
<td>{serialnumber}</td>
<td>{organization_name}</td>
<td>{status}</td>
</tr>
</script>
<script id="server_line" type="text/template">
<tr>
<td>{name}</td>
<td>{brand_name}</td>
</tr>
</script>
<script src="js/Chart.min.js"></script>
</body>
</html>