source: admin-center/trunk/fuentes/admin-center.install/usr/share/admin-center/info.php @ 1345

Last change on this file since 1345 was 1055, checked in by joamuran, 4 years ago

Initial import

File size: 3.6 KB
Line 
1<h1 i18n>Server Info</h1>
2
3
4<div class="col-lg-4 col-lg-offset-4">
5<div class="panel panel-primary ">
6  <div class="panel-heading">
7    <h3 class="panel-title" i18n>Server Info</h3>
8  </div>
9  <div class="panel-body">
10    <table>
11      <tr><td class="ServerInfo_Param" i18n>Server IP</td> <td id="serverInfo_SRV_IP"></td></tr>
12      <tr><td class="ServerInfo_Param" i18n>Hostname</td> <td id="serverInfo_HOSTNAME"></td></tr>
13      <tr><td class="ServerInfo_Param" i18n>Internal Domain</td> <td id="serverInfo_INTERNAL_DOMAIN"></td></tr>
14      <tr><td class="ServerInfo_Param" i18n>Internal Interface</td> <td id="serverInfo_INTERNAL_INTERFACE"></td></tr>
15      <tr><td class="ServerInfo_Param" i18n>External Interface</td> <td id="serverInfo_EXTERNAL_INTERFACE"></td></tr>
16      <tr><td class="ServerInfo_Param" i18n>Internal Mask</td> <td id="serverInfo_INTERNAL_MASK"></td></tr>
17      <tr><td class="ServerInfo_Param" i18n>Internal Network</td> <td id="serverInfo_INTERNAL_NETWORK"></td></tr>
18      <tr><td class="ServerInfo_Param" i18n>Primary DNS Server</td> <td id="serverInfo_DNS1"></td></tr>
19      <tr><td class="ServerInfo_Param" i18n>Secondary DNS Server</td> <td id="serverInfo_DNS2"></td></tr>
20    </table>
21  </div>
22</div>
23
24
25<div class="panel panel-primary ">
26  <div class="panel-heading">
27    <h3 class="panel-title">DHCP</h3>
28  </div>
29  <div class="panel-body">
30    <table>
31      <tr><td class="ServerInfo_Param" i18n>Service Status</td> <td id="serverInfo_DHCP_ENABLE"></td></tr>
32      <tr><td class="ServerInfo_Param" i18n>Address range</td> <td id="serverInfo_IP_RANGE"></td></tr>
33      <tr><td class="ServerInfo_Param" i18n>Max. Hosts</td><td id="serverInfo_DHCP_HOST_MAX"></td></tr>
34    </table>
35  </div>
36</div>
37
38
39<div class="panel panel-primary ">
40  <div class="panel-heading">
41    <h3 class="panel-title" i18n>LliureX Mirror</h3>
42  </div>
43  <div class="panel-body">
44    <table>
45      <tr><td class="ServerInfo_Param" i18n>Last update</td> <td id="serverInfo_LAST_MIRROR_DATE"></td></tr>
46      <tr><td class="ServerInfo_Param" i18n>Mirror size</td> <td id="serverInfo_MIRROR_SIZE"></td></tr>
47    </table>
48  </div>
49</div>
50
51<div class="panel panel-primary ">
52  <div class="panel-heading">
53    <h3 class="panel-title" i18n>Proxy</h3>
54  </div>
55  <div class="panel-body">
56    <table>
57      <tr><td class="ServerInfo_Param" i18n>Proxy status</td> <td id="serverInfo_PROXY_ENABLED"></td></tr>
58      <tr><td class="ServerInfo_Param" i18n>Proxy name</td> <td id="serverInfo_PROXY_HOST"></td></tr>
59      <tr><td class="ServerInfo_Param" i18n>Proxy port</td><td id="serverInfo_PROXY_HTTPORT"></td></tr>
60    </table>
61  </div>
62</div>
63
64
65
66</div>
67
68<!--console.log(ServerConfig["SRV_IP"]["value"]);
69
70console.log(ServerConfig["HOSTNAME"]["value"]);
71console.log(ServerConfig["SRV_IP"]["value"]);
72console.log(ServerConfig["INTERNAL_DOMAIN"]["value"]);
73console.log(ServerConfig["INTERNAL_INTERFACE"]["value"]);
74console.log(ServerConfig["EXTERNAL_INTERFACE"]["value"]);
75console.log(ServerConfig["INTERNAL_MASK"]["value"]);
76console.log(ServerConfig["INTERNAL_NETWORK"]["value"]);
77
78console.log(ServerConfig["DNS_EXTERNAL"]["value"][0]);
79console.log(ServerConfig["DNS_EXTERNAL"]["value"][1]);
80
81console.log(ServerConfig["DHCP_ENABLE"]["value"]);
82console.log(ServerConfig["DHCP_FIRST_IP"]["value"]);
83console.log(ServerConfig["DHCP_LAST_IP"]["value"]);
84console.log(ServerConfig["DHCP_HOST_MAX"]["value"]);
85
86console.log(ServerConfig["LLIUREXMIRROR"]["value"]["internal"]["last_mirror_date"]);
87console.log(ServerConfig["LLIUREXMIRROR"]["value"]["internal"]["mirror_size"]);
88
89console.log(ServerConfig["PROXY_ENABLED"]["value"]);
90console.log(ServerConfig["PROXY_HOST"]["value"]);
91console.log(ServerConfig["PROXY_HTTPORT"]["value"]);-->
Note: See TracBrowser for help on using the repository browser.