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

Last change on this file since 6782 was 2930, checked in by kbut, 3 years ago

fix bug with get mirror info on main page

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