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