blob: c5f8c00f8a386a6af251103896b0b14ce5fb3c11 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001
2<div class="row margin-top-20">
3<div class="type_items">
4 <ul>
5 <li><a href="#child_ctl" data-bind="visible: hasParentalControl" data-trans="parental_control" class="c0EC6DC"></a></li>
6 <li><a href="#msg_main" data-bind="visible: hasSms" data-trans="sms" class="cF53A58"></a></li>
7 <li><a href="#pb_main" data-bind="visible: hasPhonebook" data-trans="phonebook" class="c00AEFF"></a></li>
8 <li><a href="#sdcard" data-bind="visible: isSupportSD" data-trans="sd" class="c2175FF"></a></li>
9 <li><a data-bind="attr: {href: notDataCard? '#wlan_sleep' : '#demilitarized_zone'}" data-trans="advanced_settings" class="cFFCE2B"></a></li>
10 <li><a href="#fast_set" data-bind="visible: isSupportQuicksetting()" data-trans="quick_setting" class="cFFCE2B"></a></li>
11 </ul>
12</div>
13</div>
14
15<div class="row margin-top-20" id="home_image">
16
17<div class="row">
18 <div style="position: relative">
19 <div class="internet_status_container">
20 <div data-bind=" css: {'item_icon_connect': cStatus()== 1, 'item_icon_disconnect': cStatus() != 1}"></div>
21 <h3 data-trans="net_surfing" class="home_h3"></h3>
22 <div class="net_surfing_list">
23 <ul>
24 <li><a id="h_connect_btn" href="javascript: void(0)" data-bind="visible: canConnect() && isShowHomeConnect(), click: connectHandler , css: {'h_connect_on': cStatus()== 1, 'h_connect_off': cStatus() != 1}" style="display: none;"></a></li>
25 <li><i class="up"></i><span data-bind="text: up_Speed"></span></li>
26 <li><i class="down"></i><span data-bind="text: down_Speed"></span></li>
27 <li><span data-bind="text: connected_Time"></span></li>
28 </ul>
29 </div>
30 </div>
31
32 <div class="network_control_container">
33 <div class="item_icon"></div>
34 <h3 data-trans="my_router" class="home_h3"></h3>
35 <!--div id="h_network_type" data-bind="text: networkType, css: {'no-btn': !(canConnect() && isShowHomeConnect())}"></div-->
36 <div class="my_router_list">
37 <ul>
38 <li data-bind="visible: hasRj45"><a id="opmode" data-bind="click: showOpModeWindow, css: {'not-allowed': enableFlag}" href="javascript:void(0)"></a></li>
39 <li><a data-bind="click: showNetworkSettingsWindow" data-trans="settings_internet" href="javascript:void(0)"></a></li>
40 <!--li><div id="h_ssid"></div></li-->
41 <li data-bind="visible: notDataCard"><a data-trans="settings_wireless" href="#wlan_main"></a></li>
42 </ul>
43 </div>
44 </div>
45
46 <!--div id="h_connect_status" data-bind="visible:notDataCard, css: {'h_status_connected': cStatus()== 1, 'h_status_disconnected': cStatus()== 2, 'h_status_connecting': cStatus()== 3, 'h_status_disconnecting': cStatus()== 4, }">
47 </div-->
48
49 <div data-bind="visible: notDataCard" onclick="window.location.hash='#conn_device'" class="connected_devices_container">
50 <div class="item_icon"></div>
51 <h3 data-trans="station_info" class="home_h3" ></h3>
52 <div style="text-align:center;display:inline" class="margin-top-20">
53 <div id="h_wire_device" data-bind="visible: hasRj45 && isCPE">
54 <span data-bind="text: wireDeviceNum" style="font-size:70px;"><em></em></span><sub data-trans="device_unit" style="font-size: 16px;"></sub>
55 <span data-trans="cable" style="font-size:15px;text-align:center;display:block"></span>
56 </div>
57 <div id="h_wireless_device" style="display-block">
58 <span data-bind="text: wirelessDeviceNum" style="font-size:70px"></span><sub data-trans="device_unit" style="font-size: 16px;"></sub>
59 <span data-trans="wireless" style="font-size:15px;text-align:center;display:block"></span>
60 </div>
61 </div>
62 <!--a href="#conn_device" id="h_attached_device_link">
63 </a-->
64 </div>
65 </div>
66</div>
67</div>
68
69
70<div class="row margin-top-20 label-font-normal margin-bottom-20">
71 <div class="text-center traffic_control_container" data-bind="visible: showTraffic()">
72 <h4 data-trans="traffic_data_plan" style="font-size:14px;text-align:right;padding-right:15px"></h4>
73 <div style="display:inline-block">
74 <div id="traffic_graphic" style="width: 200px; height: 165px; visibility: visible;"></div>
75 </div>
76 <div style="text-align: left;padding-left:20px;font-size:18px">
77 <span style="background-color: #8CC916;" class="color_block"></span>
78 <span data-trans="traffic_used" class="color_block_desc"></span>
79 <span class="color_block_desc">:</span>
80 <span data-bind="text: trafficUsed" class="color_block_desc"></span>
81 </div>
82 <div class="statistics_list">
83 <ul>
84 <li><a href="#flow_ctl">
85 <div data-bind="visible: trafficAlertEnable">
86 <span data-bind="text: trafficLimited" class="line-height-20"></span>
87 <span data-trans="traffic_limit_data" class="line-height-20"></span>
88 </div>
89 <div data-bind="visible: trafficAlertEnable() == false">
90 <div data-trans="traffic_not_set_limited" class="line-height-20"></div>
91 </div>
92 </a></li>
93 </ul>
94 </div>
95 </div>
96
97
98 <div data-bind="css:{'device_info_container_hastraffic':showTraffic(),'device_info_container_notraffic':!showTraffic()}" class="device_info_container">
99 <h4 data-trans="device_info" style="font-size:14px;text-align:left;padding-left:15px;color:#fff"></h4>
100 <div style="color:#fff;position: relative;height: 210px;font-size: 18px;line-height: 1.5em;padding:20px 0px 0px 15px;">
101 <div class="row">
102 <label data-trans="sim_serial_number" class="col-xs-5"></label>
103 <label data-bind="text: simSerialNumber" class="col-xs-7"></label>
104 </div>
105 <div class="row">
106 <label data-trans="imei" class="col-xs-5"></label>
107 <label data-bind="text: imei" class="col-xs-7"></label>
108 </div>
109 <div class="row">
110 <label data-trans="imsi" class="col-xs-5"></label>
111 <label data-bind="text: imsi" class="col-xs-7"></label>
112 </div>
113 <!--div class="row" data-bind="visible: notDataCard">
114 <label class="col-xs-5" data-trans="wifi_range"></label>
115 <label class="col-xs-7" data-bind="attr: {'data-trans': wifiLongMode}"></label>
116 </div-->
117 <div class="row">
118 <label data-trans="signal_strength_label" class="col-xs-5"></label>
119 <label id="fresh_signal_strength" class="col-xs-7"></label>
120 </div>
121 <div class="row" data-bind="visible: hasWifi && showMultiSsid()">
122 <label data-trans="network_name_ssid1" class="col-xs-5"></label>
123 <label data-bind="text: ssid" style="word-wrap: break-word;" class="col-xs-7"></label>
124 </div>
125 <div class="row" data-bind="visible: hasWifi && !showMultiSsid()">
126 <label data-trans="network_name" class="col-xs-5"></label>
127 <label data-bind="text: ssid" style="word-wrap: break-word;" class="col-xs-7"></label>
128 </div>
129 </div>
130 <div style="text-align:right;">
131 <a href="javascript: void(0)" data-trans="detail_info" id="showDetailInfo" tabindex="0"></a>
132 </div>
133 </div>
134</div>
135
136
137<div id="h_qrcode" data-bind="visible: showQRCode" style="float:right" class="text-center">
138 <img id="qrcode_img" data-bind="attr: {src: qrcodeSrc}" src="./pic/res_blacktrans.png" width="111"/>
139</div>
140
141<script type="text/x-jquery-tmpl" id="detailInfoTmpl">
142<div class="row">
143 <label class="col-xs-6" data-trans="sim_serial_number" class="col-xs-6"></label>
144 <label class="col-xs-6"><%= simSerialNumber %></label>
145</div>
146<div class="row">
147 <label data-trans="imei" class="col-xs-6"></label>
148 <label class="col-xs-6"><%= imei %></label>
149</div>
150<div class="row">
151 <label data-trans="imsi" class="col-xs-6"></label>
152 <label class="col-xs-6"><%= imsi %></label>
153</div>
154<div class="row">
155 <label data-trans="signal_strength_label" class="col-xs-6"></label>
156 <label class="col-xs-6" id="popoverSignalTxt"><%= signal %></label>
157</div>
158<% if(hasWifi){ %>
159<div class="row">
160 <label data-trans="<%= showMultiSsid ? 'network_name_ssid1': 'network_name' %>" class="col-xs-6"></label>
161 <label style="word-wrap: break-word; word-break: break-all;" class="col-xs-6"><%= ssid %></label>
162</div>
163<div class="row">
164 <label data-trans="<%= showMultiSsid ? 'max_access_num_ssid1': 'max_access_num' %>" class="col-xs-6"></label>
165 <label class="col-xs-6"><%= max_access_num %></label>
166</div>
167 <% if(showMultiSsid){ %>
168 <div class="row">
169 <label data-trans="network_name_ssid2" class="col-xs-6"></label>
170 <label style="word-wrap: break-word; word-break: break-all;" class="col-xs-6"><%= m_ssid %></label>
171 </div>
172 <div class="row">
173 <label data-trans="max_access_num_ssid2" class="col-xs-6"></label>
174 <label class="col-xs-6"><%= m_max_access_num %></label>
175 </div>
176 <% } %>
177<div class="row">
178 <label data-trans="wifi_range" class="col-xs-6"></label>
179 <label data-trans="<%= wifi_long_mode %>" class="col-xs-6"></label>
180</div>
181<% } %>
182<div class="row">
183 <label data-trans="lan_domain" class="col-xs-6"></label>
184 <label class="col-xs-6"><%= lanDomain %></label>
185</div>
186<div class="row">
187 <label data-trans="ip_address" class="col-xs-6"></label>
188 <label class="col-xs-6"><%= ipAddress %></label>
189</div>
190<% if(showMacAddress){ %>
191<div class="row">
192 <label data-trans="mac_address" class="col-xs-6"></label>
193 <label class="col-xs-6"><%= macAddress %></label>
194</div>
195<% } %>
196<% if(showIpv4WanIpAddr){ %>
197<div class="row">
198 <label data-trans="wan_ip_address" class="col-xs-6"></label>
199 <label class="col-xs-6"><%= wanIpAddress %></label>
200</div>
201<% } %>
202<% if(showIpv6WanIpAddr){ %>
203<div class="row">
204 <label data-trans="ipv6_wan_ip_address" class="col-xs-6"></label>
205 <label class="col-xs-6"><%= ipv6WanIpAddress %></label>
206</div>
207<% } %>
208<div class="row">
209 <label data-trans="software_version" class="col-xs-6"></label>
210 <label class="col-xs-6"><%= sw_version %></label>
211</div>
212<div class="row">
213 <label data-trans="hardware_version" class="col-xs-6"></label>
214 <label class="col-xs-6"><%= hw_version %></label>
215</div>
216</script>