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