Subversion Repositories ALCASAR

Rev

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