Subversion Repositories ALCASAR

Rev

Rev 2976 | Go to most recent revision | Details | Last modification | View Log

Rev Author Line No. Line
2807 rexy 1
<!DOCTYPE html>
2
<html lang="en">
3
<head>
4
    <meta charset="utf-8">
5
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
    <meta name="apple-mobile-web-app-capable" content="yes">
8
    <meta name="mobile-web-app-capable" content="yes">
9
    <meta name="description" content="phpSysInfo is a customizable PHP script that displays information about your system nicely">
10
    <meta name="author" content="phpSysInfo organization at GitHub">
11
    <title>phpSysInfo <?php echo PSI_VERSION_STRING ?></title>
12
    <link href="gfx/favicon.ico" type="image/x-icon" rel="shortcut icon">
13
    <noscript><meta http-equiv="refresh" content="2; URL=index.php?disp=static"/></noscript>
14
    <link rel="stylesheet" type='text/css' href="templates/vendor/bootstrap.min.css">
15
    <link rel="stylesheet" type='text/css' href="templates/vendor/bootstrap-webapp.css">
16
    <!--[if IE 9]>
17
        <link rel="stylesheet" type='text/css' href="templates/vendor/bootstrap-ie9.css">
18
        <script type="text/JavaScript" src="./js.php?name=bootstrap-ie9"></script>
19
    <![endif]-->
20
    <!--[if IE 8]>
21
        <link rel="stylesheet" type='text/css' href="templates/vendor/bootstrap-ie8.css">
22
        <script type="text/JavaScript" src="./js.php?name=html5shiv-printshiv"></script>
23
        <script type="text/JavaScript" src="./js.php?name=bootstrap-ie8"></script>
24
    <![endif]-->
25
    <!--[if lt IE 8]>
26
        <script type="text/javascript">
27
            alert('You are using an unsupported browser. Update Internet Explorer to at least version 8');
28
            die();
29
        </script>
30
    <![endif]-->
31
    <link rel="stylesheet" type='text/css' href="templates/misc/emptyfile.css" id="PSI_CSS_Fix">
32
    <link rel="stylesheet" type='text/css' href="templates/misc/emptyfile.css" id="PSI_Template">
33
</head>
34
 
35
<body>
36
 
37
<input type="hidden" id="plugins" value="<?php $plugins = ''; foreach (CommonFunctions::getPlugins() as $plugin) : $plugins .= $plugin.','; endforeach; echo substr($plugins, 0, -1);?>"/>
38
<input type="hidden" id="showCPUListExpanded" value="<?php echo $showCPUListExpanded;?>"/>
39
<input type="hidden" id="showCPUInfoExpanded" value="<?php echo $showCPUInfoExpanded;?>"/>
40
<input type="hidden" id="showNetworkInfosExpanded" value="<?php echo $showNetworkInfosExpanded;?>"/>
41
<input type="hidden" id="showNetworkActiveSpeed" value="<?php echo $showNetworkActiveSpeed;?>"/>
42
<input type="hidden" id="showCPULoadCompact" value="<?php echo $showCPULoadCompact;?>"/>
43
<input type="hidden" id="hideBootstrapLoader" value="<?php echo $hideBootstrapLoader;?>"/>
44
<input type="hidden" id="blocks" value="<?php echo $blocks;?>"/>
45
 
46
<div class="navbar fixed-top">
47
    <div class="container" style="display:block;">
48
        <div style="display:table-cell">
49
            <div class="navbar-brand">
50
                <img class="logo" alt="" src="gfx/logo_32.gif" title="reload"/>&thinsp;phpSys<a title="phpSysInfo - <?php echo PSI_VERSION_STRING; ?>" class="psihref" href="http://phpsysinfo.sourceforge.net/" target="psihref">Info</a><div class="errorbutton" id="errorbutton" title="errors" data-target="#errors-dialog" style="display:inline-block;background:url('gfx/attention.gif') no-repeat center;width:49px;height:32px;visibility:hidden;">
51
                    <img id="loader" alt="" src="gfx/ajax-loader.gif" style="margin:0 3px 0 3px;visibility:hidden;"/>
52
                </div>
53
            </div>
54
        </div>
55
 
56
        <div id="select" class="select" style="display:none;width:100%;vertical-align:middle;text-align:right;">
57
            <div id="tempblock" style="display:none;">
58
                <span class="lang_044">Template</span>
59
                <select class="template" id="template">
60
<?php if ($picktemplate) {
61
foreach ($bootstraptemplates as $t) :
62
    $selected = "";
63
    if ($bootstraptemplate === $t) {
64
        $selected = " selected=\"selected\"";
65
    }
66
    echo "                    <option value=\"".$t."\"".$selected.">".$t."</option>\n";
67
endforeach;
68
} else {
69
    echo "                    <option value=\"".$bootstraptemplate."\" selected=\"selected\">".$bootstraptemplate."</option>\n";
70
}?>
71
                </select>
72
            </div>
73
            <div id="langblock" style="display:none;">
74
                <span class="lang_045">Language</span>
75
                <select class="language" id="language">
76
<?php if ($picklanguage) {
77
foreach ($languages as $l) :
78
    $selected = "";
79
    if ($language === $l) {
80
        $selected = " selected=\"selected\"";
81
    }
82
    echo "                    <option value=\"".$l."\"".$selected.">".$l."</option>\n";
83
endforeach;
84
} else {
85
    echo "                    <option value=\"".$language."\" selected=\"selected\">".$language."</option>\n";
86
}?>
87
                </select>
88
            </div>
89
        </div>
90
 
91
        <noscript>
92
            <p>Your navigator does not support JavaScript (or JavaScript is not activated).</p>
93
            <p>In approximatively 2 seconds you will be redirected to the static version of phpSysInfo.</p>
94
            <p>&nbsp;</p>
95
            <p><a href="index.php?disp=static">Click here to switch to the static version</a></p>
96
        </noscript>
97
    </div>
98
</div>
99
 
100
<div class="container">
101
<div id="output" class="row" style="display:none;">
102
    <div id="block_vitals" class="col-lg-6" style="display:none;">
103
        <div class="card">
104
            <div class="card-header"><span class="lang_002">System vitals</span></div>
105
            <div class="card-body">
106
                <div class="table-responsive">
107
                    <table id="vitals" class="table table-hover table-sm noborderattop">
108
                        <tbody>
109
                            <tr>
110
                                <th><span class="lang_003">Hostname</span></th>
111
                                <td><span data-bind="Hostname"></span></td>
112
                            </tr>
113
                            <tr>
114
                                <th><span class="lang_004">Listening IP</span></th>
115
                                <td><span data-bind="IPAddr"></span></td>
116
                            </tr>
117
                            <tr>
118
                                <th><span class="lang_005">Kernel Version</span></th>
119
                                <td><span data-bind="Kernel"></span></td>
120
                            </tr>
121
                            <tr>
122
                                <th><span class="lang_006">Distro Name</span></th>
123
                                <td><span data-bind="Distro"></span></td>
124
                            </tr>
125
                            <tr>
126
                                <th><span class="lang_127">OS Type</span></th>
127
                                <td><span data-bind="OS"></span></td>
128
                            </tr>
129
                            <tr>
130
                                <th><span class="lang_007">Uptime</span></th>
131
                                <td><span data-bind="Uptime"></span></td>
132
                            </tr>
133
                            <tr>
134
                                <th><span class="lang_095">Last boot</span></th>
135
                                <td><span data-bind="LastBoot"></span></td>
136
                            </tr>
137
                            <tr>
138
                                <th><span class="lang_008">Current Users</span></th>
139
                                <td><span data-bind="Users"></span></td>
140
                            </tr>
141
                            <tr>
142
                                <th><span class="lang_009">Load Averages</span></th>
143
                                <td><span data-bind="LoadAvg"></span></td>
144
                            </tr>
145
                            <tr id="tr_SysLang">
146
                                <th><span class="lang_097">System Language</span></th>
147
                                <td><span data-bind="SysLang"></span></td>
148
                            </tr>
149
                            <tr id="tr_CodePage">
150
                                <th><span class="lang_098">Code Page</span></th>
151
                                <td><span data-bind="CodePage"></span></td>
152
                            </tr>
153
                            <tr id="tr_Processes">
154
                                <th><span class="lang_110">Processes</span></th>
155
                                <td><span data-bind="Processes"></span></td>
156
                            </tr>
157
                        </tbody>
158
                    </table>
159
                </div>
160
            </div>
161
        </div>
162
    </div>
163
 
164
    <div id="block_hardware" class="col-lg-6" style="display:none;">
165
        <div class="card">
166
            <div class="card-header"><span class="lang_010">Hardware Information</span></div>
167
            <div class="card-body">
168
                <div class="table-responsive">
169
                    <table id="hardware" class="table table-hover table-sm noborderattop">
170
                        <tbody id="hardware-data">
171
                        </tbody>
172
                    </table>
173
                </div>
174
            </div>
175
        </div>
176
    </div>
177
 
178
    <div id="block_memory" class="col-lg-12" style="display:none;">
179
        <div class="card">
180
            <div class="card-header"><span class="lang_027">Memory Usage</span></div>
181
            <div class="card-body">
182
                <div class="table-responsive">
183
                    <table id="memory" class="table table-hover table-sm">
184
                        <thead>
185
                            <tr>
186
                                <th><span class="lang_034">Type</span></th>
187
                                <th><span class="lang_033">Usage</span></th>
188
                                <th class="rightCell"><span class="lang_125">Free</span></th>
189
                                <th class="rightCell"><span class="lang_036">Used</span></th>
190
                                <th class="rightCell"><span class="lang_037">Size</span></th>
191
                            </tr>
192
                        </thead>
193
                        <tbody id="memory-data">
194
                            <tr>
195
                                <th><span data-bind="Type"></span></th>
196
                                <td><span data-bind="Usage"></span></td>
197
                                <td class="rightCell"><span data-bind="Free"></span></td>
198
                                <td class="rightCell"><span data-bind="Used"></span></td>
199
                                <td class="rightCell"><span data-bind="Total"></span></td>
200
                            </tr>
201
                        </tbody>
202
                        <tfoot id="swap-data" style="display:none;">
203
                            <tr>
204
                                <th><span data-bind="Name"></span></th>
205
                                <td><span data-bind="Usage"></span></td>
206
                                <td class="rightCell"><span data-bind="Free"></span></td>
207
                                <td class="rightCell"><span data-bind="Used"></span></td>
208
                                <td class="rightCell"><span data-bind="Total"></span></td>
209
                            </tr>
210
                        </tfoot>
211
                    </table>
212
                </div>
213
            </div>
214
        </div>
215
    </div>
216
 
217
    <div id="block_filesystem" class="col-lg-12" style="display:none;">
218
        <div class="card">
219
            <div class="card-header"><span class="lang_030">Mounted Filesystems</span></div>
220
            <div class="card-body">
221
                <div class="table-responsive">
222
                    <table id="filesystem" class="table table-hover table-sm sortable">
223
                        <thead>
224
                            <tr>
225
                                <th id="filesystem_MountPoint"><span class="lang_031">Mountpoint</span></th>
226
                                <th><span class="lang_034">Type</span></th>
227
                                <th><span class="lang_032">Partition</span></th>
228
                                <th><span class="lang_033">Usage</span></th>
229
                                <th class="rightCell sorttable_numeric"><span class="lang_035">Free</span></th>
230
                                <th class="rightCell sorttable_numeric"><span class="lang_036">Used</span></th>
231
                                <th class="rightCell sorttable_numeric"><span class="lang_037">Size</span></th>
232
                            </tr>
233
                        </thead>
234
                        <tbody id="filesystem-data">
235
                            <tr>
236
                                <th><span data-bind="MountPoint"></span></th>
237
                                <td><span data-bind="FSType"></span></td>
238
                                <td><span data-bind="Name"></span></td>
239
                                <td><span data-bind="Percent"></span></td>
240
                                <td class="rightCell"><span data-bind="Free"></span></td>
241
                                <td class="rightCell"><span data-bind="Used"></span></td>
242
                                <td class="rightCell"><span data-bind="Total"></span></td>
243
                            </tr>
244
                        </tbody>
245
                        <tfoot id="filesystem-foot">
246
                            <tr>
247
                                <td></td>
248
                                <td></td>
249
                                <th><span class="lang_038">Totals</span></th>
250
                                <th><span data-bind="Percent"></span></th>
251
                                <th class="rightCell"><span data-bind="Free"></span></th>
252
                                <th class="rightCell"><span data-bind="Used"></span></th>
253
                                <th class="rightCell"><span data-bind="Total"></span></th>
254
                            </tr>
255
                        </tfoot>
256
                    </table>
257
                </div>
258
            </div>
259
        </div>
260
    </div>
261
 
262
    <div id="block_network" class="col-lg-6" style="display:none;">
263
        <div class="card">
264
            <div class="card-header"><span class="lang_021">Network Interface</span></div>
265
            <div class="card-body">
266
                <div class="table-responsive">
267
                    <table id="network" class="table table-hover table-sm">
268
                        <thead>
269
                            <tr>
270
                                <th style="width:60%"><span class="lang_022">Device</span></th>
271
                                <th class="rightCell"><span class="lang_023">Receive</span></th>
272
                                <th class="rightCell"><span class="lang_024">Send</span></th>
273
                                <th class="rightCell"><span class="lang_025">Err/<wbr>Drop</span></th>
274
                            </tr>
275
                        </thead>
276
                        <tbody id="network-data"></tbody>
277
                    </table>
278
                </div>
279
            </div>
280
        </div>
281
    </div>
282
 
283
    <div id="block_voltage" class="col-lg-6" style="display:none;">
284
        <div class="card">
285
            <div class="card-header"><span class="lang_052">Voltage</span></div>
286
            <div class="card-body">
287
                <div class="table-responsive">
288
                    <table id="voltage" class="table table-hover table-sm">
289
                        <thead>
290
                            <tr>
291
                                <th><span class="lang_059">Label</span></th>
292
                                <th class="rightCell"><span class="lang_054">Value</span></th>
293
                                <th class="rightCell"><span class="lang_055">Min</span></th>
294
                                <th class="rightCell"><span class="lang_056">Max</span></th>
295
                            </tr>
296
                        </thead>
297
                        <tbody id="voltage-data">
298
                            <tr>
299
                                <th><span data-bind="Label"></span></th>
300
                                <td class="rightCell"><span data-bind="Value"></span></td>
301
                                <td class="rightCell"><span data-bind="Min"></span></td>
302
                                <td class="rightCell"><span data-bind="Max"></span></td>
303
                            </tr>
304
                        </tbody>
305
                    </table>
306
                </div>
307
            </div>
308
        </div>
309
    </div>
310
 
311
    <div id="block_current" class="col-lg-6" style="display:none;">
312
        <div class="card">
313
            <div class="card-header"><span class="lang_105">Current</span></div>
314
            <div class="card-body">
315
                <div class="table-responsive">
316
                    <table id="current" class="table table-hover table-sm">
317
                        <thead>
318
                            <tr>
319
                                <th><span class="lang_059">Label</span></th>
320
                                <th class="rightCell"><span class="lang_054">Value</span></th>
321
                                <th class="rightCell"><span class="lang_055">Min</span></th>
322
                                <th class="rightCell"><span class="lang_056">Max</span></th>
323
                            </tr>
324
                        </thead>
325
                        <tbody id="current-data">
326
                            <tr>
327
                                <th><span data-bind="Label"></span></th>
328
                                <td class="rightCell"><span data-bind="Value"></span></td>
329
                                <td class="rightCell"><span data-bind="Min"></span></td>
330
                                <td class="rightCell"><span data-bind="Max"></span></td>
331
                            </tr>
332
                        </tbody>
333
                    </table>
334
                </div>
335
            </div>
336
        </div>
337
    </div>
338
 
339
    <div id="block_temperature" class="col-lg-6" style="display:none;">
340
        <div class="card">
341
            <div class="card-header"><span class="lang_051">Temperatures</span></div>
342
            <div class="card-body">
343
                <div class="table-responsive">
344
                    <table id="temperature" class="table table-hover table-sm">
345
                        <thead>
346
                            <tr>
347
                                <th><span class="lang_059">Label</span></th>
348
                                <th class="rightCell"><span class="lang_054">Value</span></th>
349
                                <th class="rightCell"><span class="lang_058">Limit</span></th>
350
                            </tr>
351
                        </thead>
352
                        <tbody id="temperature-data">
353
                            <tr>
354
                                <th><span data-bind="Label"></span></th>
355
                                <td class="rightCell"><span data-bind="Value"></span></td>
356
                                <td class="rightCell"><span data-bind="Max"></span></td>
357
                            </tr>
358
                        </tbody>
359
                    </table>
360
                </div>
361
            </div>
362
        </div>
363
    </div>
364
 
365
    <div id="block_fans" class="col-lg-6" style="display:none;">
366
        <div class="card">
367
            <div class="card-header"><span class="lang_053">Fans</span></div>
368
            <div class="card-body">
369
                <div class="table-responsive">
370
                    <table id="fans" class="table table-hover table-sm">
371
                        <thead>
372
                            <tr>
373
                                <th><span class="lang_059">Label</span></th>
374
                                <th class="rightCell"><span class="lang_054">Value</span></th>
375
                                <th class="rightCell"><span class="lang_055">Min</span></th>
376
                            </tr>
377
                        </thead>
378
                        <tbody id="fans-data">
379
                            <tr>
380
                                <th><span data-bind="Label"></span></th>
381
                                <td class="rightCell"><span data-bind="Value"></span></td>
382
                                <td class="rightCell"><span data-bind="Min"></span></td>
383
                            </tr>
384
                        </tbody>
385
                    </table>
386
                </div>
387
            </div>
388
        </div>
389
    </div>
390
 
391
    <div id="block_power" class="col-lg-6" style="display:none;">
392
        <div class="card">
393
            <div class="card-header"><span class="lang_102">Power</span></div>
394
            <div class="card-body">
395
                <div class="table-responsive">
396
                    <table id="power" class="table table-hover table-sm">
397
                        <thead>
398
                            <tr>
399
                                <th><span class="lang_059">Label</span></th>
400
                                <th class="rightCell"><span class="lang_054">Value</span></th>
401
                                <th class="rightCell"><span class="lang_058">Limit</span></th>
402
                            </tr>
403
                        </thead>
404
                        <tbody id="power-data">
405
                            <tr>
406
                                <th><span data-bind="Label"></span></th>
407
                                <td class="rightCell"><span data-bind="Value"></span></td>
408
                                <td class="rightCell"><span data-bind="Max"></span></td>
409
                            </tr>
410
                        </tbody>
411
                    </table>
412
                </div>
413
            </div>
414
        </div>
415
    </div>
416
 
417
    <div id="block_other" class="col-lg-6" style="display:none;">
418
        <div class="card">
419
            <div class="card-header"><span class="lang_121">Other</span></div>
420
            <div class="card-body">
421
                <div class="table-responsive">
422
                    <table id="other" class="table table-hover table-sm">
423
                        <thead>
424
                            <tr>
425
                                <th><span class="lang_059">Label</span></th>
426
                                <th class="rightCell"><span class="lang_054">Value</span></th>
427
                            </tr>
428
                        </thead>
429
                        <tbody id="other-data">
430
                            <tr>
431
                                <th><span data-bind="Label"></span></th>
432
                                <td class="rightCell"><span data-bind="Value"></span></td>
433
                            </tr>
434
                        </tbody>
435
                    </table>
436
                </div>
437
            </div>
438
        </div>
439
    </div>
440
 
441
    <div id="block_ups" class="col-lg-6" style="display:none;">
442
        <div class="card">
443
            <div class="card-header"><span class="lang_068">UPS Information</span></div>
444
            <div class="card-body">
445
                <div class="table-responsive">
446
                    <table id="ups" class="table table-hover table-sm noborderattop">
447
                        <tbody id="ups-data">
448
                        </tbody>
449
                    </table>
450
                </div>
451
            </div>
452
        </div>
453
    </div>
454
 
455
<?php foreach (CommonFunctions::getPlugins() as $plugin) :
456
if (file_exists(PSI_APP_ROOT . '/plugins/' . $plugin . '/' . $plugin . '_bootstrap.html')) : ?>
457
<?php include PSI_APP_ROOT. '/plugins/' . $plugin . '/' . $plugin . '_bootstrap.html'; ?>
458
 
459
<?php endif; endforeach; ?>
460
 
461
</div>
462
 
463
<!-- Errors details modal dialogs -->
464
<div class="modal fade" id="errors-dialog" tabindex="-1" role="dialog" aria-hidden="true">
465
    <div class="modal-dialog modal-lg">
466
        <div class="modal-content">
467
            <div class="modal-header">
468
                <h4 class="modal-title">Errors</h4>
469
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
470
                    <span aria-hidden="true">&times;</span>
471
                </button>
472
            </div>
473
            <div class="modal-body">
474
                <ul id="errors" class="list-group">
475
                </ul>
476
            </div>
477
        </div>
478
        <!-- /.modal-content -->
479
    </div>
480
    <!-- /.modal-dialog -->
481
</div>
482
<!-- /.modal -->
483
 
484
</div>
485
 
486
<script type="text/JavaScript" src="./js.php?name=jquery"></script>
487
<script type="text/JavaScript" src="./js.php?name=console-shim"></script>
488
<script type="text/JavaScript" src="./js.php?name=transparency"></script>
489
<script type="text/JavaScript" src="./js.php?name=sorttable"></script>
490
<script type="text/JavaScript" src="./js.php?name=jquery.treegrid"></script>
491
<script type="text/JavaScript" src="./js.php?name=bootstrap-util"></script>
492
<script type="text/JavaScript" src="./js.php?name=bootstrap-modal"></script>
493
 
494
<?php foreach (CommonFunctions::getPlugins() as $plugin) : ?>
495
<script type="text/JavaScript" src="./js.php?plugin=<?php echo $plugin ?>&amp;name=<?php echo $plugin ?>_bootstrap"></script>
496
<?php endforeach; ?>
497
 
498
<script type="text/JavaScript" src="./js.php?name=phpsysinfo_bootstrap"></script>
499
 
500
</body>
501
</html>