Subversion Repositories ALCASAR

Rev

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