-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.html
229 lines (209 loc) · 9.22 KB
/
settings.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="author" content="Daniele Baschieri,Nicola Corti" />
<meta name="description" content="Un semplice programma per la gestione della progressione personale in Reparto agesci.." />
<meta name ="copyright" content="2015" />
<meta name="keywords" content="Progressione Personale Unitaria" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>HomeFlix</title>
<link rel="apple-touch-icon" sizes="120x120" href="css/icons/apple-touch-icon.png">
<link rel="icon" type="image/png" href="css/icons/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="css/icons/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="css/icons/manifest.json">
<link rel="mask-icon" href="css/icons/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="css/icons/favicon.ico">
<meta name="msapplication-config" content="css/icons/browserconfig.xml">
<meta name="theme-color" content="#000000">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">
<link rel="stylesheet" type="text/css" href="css/default.css" />
<link rel="stylesheet" type="text/css" href="css/settings.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script src="js/d3.v4.min.js"></script>
<script src="js/c3.min.js"></script>
<script type="text/javascript" src="js/default.js"></script>
<script type="text/javascript" src="js/settings.js"></script>
<script type="text/javascript" src="js/graph.js"></script>
<style>
img.media-object{
min-width: 100px;
max-width: 100px;
}
label{
font-weight: bold !important;
}
</style>
<script type="text/javascript" >
$(document).ready(function(){
//init();
initSettings();
});
</script>
<style>
</style>
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">HomeFilx</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="index.html">Home</a></li>
<li><button id="enableUpdate" class="btn btn-warning">Aggiorna <span id="updateVersion"></span></button></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" >Utility <span class="caret"></span></a>
<ul class="dropdown-menu">
</ul>
</li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
<div class="container">
<div class="starter-template">
<div class="row">
<h1>Settings
</h1>
</div>
<div id="bodysettings" class="row">
<div class="panel panel-default">
<div class="panel-heading">User Info</div>
<div class="panel-body">
<div class="row">
<div class="col-lg-4">
<form id="eventi-form" enctype="multipart/form-data" method="post" name="fileinfo">
<span class="btn btn-default btn-file">
Browse <input type="file" name="file">
</span>
<input class="btn btn-xs btn-info space" type="submit">
</form>
<img class="photo" src="" />
<button type="button" class="btn btn-xs btn-info editPhoto right" aria-label="Right Align" onclick="" >
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> <span class="">Edit Photo</span>
</button>
</div>
<div class="col-lg-8">
<div class="error-message alert alert-danger" role="alert"></div>
<label>Username</label>
<input id="user" type="text" value="" class="form-control"/>
<label>E-mail</label>
<input id="mail" type="mail" value="" class="form-control"/>
<label>Ruolo</label>
<select id="ruolo" class="form-control">
</select>
<button class="btn btn-info right space updateInfo" type="button">
<span class="glyphicon glyphicon-wrench" aria-hidden="true"></span>
Change
</button>
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">Password Manager</div>
<div class="panel-body">
<div class="error-message alert alert-danger" role="alert"></div>
<label>Old password</label>
<input id="oldpswd" type="password" value="" class="form-control"/>
<label>New password</label>
<input id="newpswd" type="password" value="" class="form-control"/>
<label>Confirm password</label>
<input id="confirmpswd" type="password" value="" class="form-control"/>
<button class="btn btn-info right space updatePswd" type="button">
<span class="glyphicon glyphicon-wrench" aria-hidden="true"></span>
Change
</button>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">User Manager</div>
<div class="panel-body">
<div class="row">
<div class="col-md-6">
<ul id="userList" class="media-list">
</ul>
</div>
<div class="col-md-6">
<div class="error-message alert alert-danger" role="alert"></div>
<button class="btn btn-success right space addUser" type="button" data-toggle="modal" data-target="#myModal" data-whatever="@addUser">
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
Add
</button>
</div>
</div>
</div>
</div>
<div class="panel panel-default federationpanel">
<div class="panel-heading">Federation</div>
<div class="panel-body">
<div class="row">
<div class="col-md-6">
<ul id="fedList" class="list-group">
</ul>
</div>
<div class="col-md-6">
<p>Federation Secret: <span id="fedsecret"></span></p>
<div class="error-message alert alert-danger" role="alert"></div>
<button class="btn btn-success right space addFed" type="button" data-toggle="modal" data-target="#myModal" data-whatever="@addFed">
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
Add
</button>
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">Data Graph</div>
<div class="panel-body">
<div class="row">
<div class="col-md-6"><div id="chart"></div></div>
<div class="col-md-6">
<h3>Disk space</h3>
<p><label>Free Space:</label> <span id="free_space"></span></p>
<p><label>Used Space:</label> <span id="used_space"></span></p>
<p><label>Total Space:</label> <span id="total_space"></span></p>
<h3>System Info</h3>
<p><label>Cpu Temp:</label> <span id="cpu_temp"></span></p>
<p><label>Uptime:</label> <span id="uptime"></span></p>
<p><label>Load 15 minute:</label> <span id="load_15_minute"></span></p>
<p><label>Version:</label> <span id="version"></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">Modal title</h4>
</div>
<div class="modal-body">
...
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button id="send" type="button" class="btn btn-primary">Send</button>
</div>
</div>
</div>
</div>
</body>
</html>