-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
133 lines (112 loc) · 4.51 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html>
<html>
<head>
<title>POM-NG WebUI</title>
<meta charset="utf-8"/>
<link rel="stylesheet" href="jquery/ui/css/smoothness/jquery-ui-1.10.4.custom.min.css"/>
<link rel="stylesheet" href="jquery/jstree/themes/default/style.min.css"/>
<link rel="stylesheet" href="jquery/pomng/pomng.css"/>
<link rel="stylesheet" href="pom-ng.css"/>
<script src="jquery/jquery-1.11.0.min.js"></script>
<script src="jquery/ui/js/jquery-ui-1.10.4.min.js"></script>
<script src="jquery/xmlrpc/jquery.xmlrpc.js"></script>
<script src="jquery/flot/jquery.flot.js"></script>
<script src="jquery/flot/jquery.flot.time.js"></script>
<script src="jquery/jstree/jstree.min.js"></script>
<script src="jquery/pomng/pomng.js"></script>
<script src="pom-ng.js"></script>
<script src="pom-ng-ui.js"></script>
<script src="pom-ng-ui.home.js"></script>
<script src="pom-ng-ui.registry.js"></script>
<script src="pom-ng-ui.weboutput.js"></script>
<script src="pom-ng-ui.logs.js"></script>
<script src="pom-ng-ui.perf.js"></script>
<script src="weboutput.js"></script>
</head>
<body>
<div id="root">
<div id="menu_toolbar" class="ui-widget ui-widget-header toolbar">
<span id="menu_title">POM-NG Web UI</span>
<!--<button id="menu_home">Home</button>-->
<button id="menu_weboutput">Web Output</button>
<button id="menu_perf">Performance</button>
<button id="menu_registry">Registry</button>
<button id="menu_logs">Logs</button>
</div>
<div id="main_content">
<ul>
<li id="li_home"><a href="#home">Home</a></li>
</ul>
<div id="home">
<div id="toolbar" class="ui-widget-header ui-corner-all toolbar">
<button id="add_input">Add input</button>
<button id="add_output">Add output</button>
<button id="save_as">Save config as</button>
<button id="reset">Reset config</button>
</div>
<h2>Inputs :</h2>
<table id="tbl_input" class="ui-widget ui-widget-content ui-table">
<thead><tr class="ui-widget-header"><td>Name</td><td>Type</td><td>Status</td><td>Actions</td></tr></thead>
<tbody></tbody>
</table>
<h2>Outputs :</h2>
<table id="tbl_output" class="ui-widget ui-widget-content ui-table">
<thead><tr class="ui-widget-header"><td>Name</td><td>Type</td><td>Status</td><td>Actions</td></tr></thead>
<tbody></tbody>
</table>
<h2>Configurations :</h2>
<table id="tbl_config" class="ui-widget ui-widget-content ui-table">
<thead><tr class="ui-widget-header"><td>Name</td><td>Last modification</td><td>Actions</td></tr></thead>
<tbody></tbody>
</table>
</div>
</div>
</div>
<div id="dlg_add" style="display:none">
<table>
<tr><td>Type :</td><td id="instance_type"></td></tr>
<tr><td>Description:</td><td id="description"></td></tr>
<tr><td>Name :</td><td><input type="text" id="instance_name"/></td></tr>
</table>
</div>
<div id="dlg_reg_param" style="display:none">
<div id="dlg_reg_param_descr"></div>
<table class="ui-widget ui-widget-content ui-table">
<thead><tr class="ui-widget-header"><td>Name</td><td>Type</td><td>Value</td><td>Description</td></tr></thead>
<tbody></tbody>
</table>
</div>
<div id="dlg_confirm" style="display:none"></div>
<div id="dlg_config_saveas" style="display:none">
<p> Save configuration as :<br/>
<input id="config_name" type="text" title="Configuration name"/>
</p>
</div>
<div id="dlg_weboutput_add" style="display:none">
<p>Add a web output of type <span id="#type"></span></p>
<p>Name : <input type="text" id="name"/></p>
<div id="parameters">
<p>Parameters :</p>
<table class="ui-widget ui-widget-content ui-table">
<thead><tr class="ui-widget-header"><td>Name</td><td>Value</td></tr></thead>
<tbody id="tbl_param"></tbody>
</table>
</div>
</div>
<div id="dlg_loading" style="display:none"><p>Loading registry, please be patient ...<br/><span id="remaining"></span></p></div>
<div id="dlg_conn_error" style="display:none"><p id="msg"></p><p>The Web UI must be reloaded.</p></div>
<div id="dlg_perf_template_add" style="display:none">
<p>Select the template you wish to use.</p>
<p>Graph title : <input type="text" id="title"></input></p>
<p>Template : <select id="template"></select></p>
<p id="params"></p>
</div>
<div id="dlg_perf_add" style="display:none">
<p>Add perf to graph : <select id="graph"></select><span id="graph_name"><br/>Graph name : <input type="text"></input></span></p>
</div>
<div id="dlg_perf_cfg_graph" style="display:none">
<p>Graph title : <input type="text" id="title"></input></p>
<table><thead><tr><td>Perf title</td><td>Delete</td></tr></thead><tbody id="perfs"></tbody></table>
</div>
</body>
</html>