blob: f7a84de171d020ce8beb8e8f33659f6c1dc35057 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001<div id="innerContainer">
2 <div class="row header-row">
3 <div class="col-xs-1">
4 <a href="#main">
5 <img alt="" src="pic/direct-back.png">
6 </a>
7 </div>
8 <div class="col-xs-11">
9 <div class="form-title">
10 <h1 data-trans='advanced_settings'></h1>
11 </div>
12 </div>
13 </div>
14 <div class="row">
15 <div class="col-xs-2">
16 <div class="nav_right">
17 <ul>
18 <li data-bind="visible: isDataCard"><a href="#demilitarized_zone" data-trans="dmz_setting"></a></li>
19 <li data-bind="visible: isDataCard"><a href="#pin_mode" data-trans="pin_management"></a></li>
20 <li data-bind="visible: !isDataCard"><a href="#wlan_sleep" data-trans="sleep_mode"></a></li>
21 <li data-bind="visible: !isDataCard"><a href="#route_set" data-trans="router_setting"></a></li>
22 <li data-bind="visible: !isDataCard"><a href="#filter_main" data-trans="firewall"></a></li>
23 <li data-bind="visible:hasUpdateCheck" class="active"><a href="#fota" data-trans="update_settings"></a></li>
24 <li data-bind="visible:hasUssd"><a href="#usat" data-trans="USSD"></a></li>
25 <li data-bind="visible:hasDdns"><a href="#dynamic_dns" data-trans="DDNS"></a></li>
26 <li data-bind="visible: !isDataCard"><a href="#more" data-trans="others"></a></li>
27 </ul>
28 </div>
29 </div>
30
31<div class="col-xs-10">
32<form id="frmOTAUpdate" role="form" data-bind="visible: updateType() == 'mifi_fota'">
33 <h3 data-trans="ota_update_manual" class="form-title"></h3>
34 <div class="form-body margin-top-20">
35 <div class="content">
36 <div class="row">
37 <div class="col-xs-6">
38 <!--span data-trans="ota_last_update_check"></span>
39 <span data-bind="text: lastCheckTime"></span-->
40 </div>
41 <div class="col-xs-6 align-right">
42 <input id="btnCheckNewVersion" data-bind="click:checkNewVersion" data-trans="ota_check_new_version" type="button" class="btn btn-primary margin-right-20"/>
43 </div>
44 </div>
45 <div class="form-note">
46 <div class="notes-title">&nbsp;</div>
47 <ul class="notes-content">
48 <li data-trans="ota_check_new_version_desc"></li>
49 </ul>
50 </div>
51 </div>
52
53 <!--div class="form-title" data-trans='ota_update_manual'></div>
54 <div class="content">
55 <span class="paddingleft25" data-trans="ota_check_new_version_desc"></span>
56 </div>
57 <div class="form-buttons">
58 <input id="btnCheckNewVersion" type="button" class="btn btn-primary" data-trans="ota_check_new_version"
59 data-bind="click:checkNewVersion"/>
60 </div>
61 <div class="form-title" data-trans='ota_update_setting'></div-->
62 <div class="content">
63 <h3 data-trans="ota_update_setting" class="form-title"></h3>
64 <div class="row">
65 <label data-trans="ota_auto_update_switch" class="col-xs-4 side-right"></label>
66 <div class="col-xs-8">
67 <div class="row form-group">
68 <div class="col-xs-3">
69 <input id="auto_update_enable" name="updateMode" data-bind="checked: updateMode" type="radio" value="1"/>
70 <label data-trans="enable" for="auto_update_enable"></label>
71 </div>
72 <div class="col-xs-3">
73 <input id="auto_update_disable" name="updateMode" data-bind="checked: updateMode" type="radio" value="0"/>
74 <label data-trans="disable" for="auto_update_disable"></label>
75 </div>
76 </div>
77 </div>
78 </div>
79 <div class="row form-group" data-bind="visible: false">
80 <label data-trans="ota_update_interval_day" for="selInterValDay" class="col-xs-4 side-right"></label>
81
82 <div class="col-xs-3">
83 <select id="selInterValDay" name="selInterValDay" data-bind="value: updateIntervalDay" class="form-control">
84 <option data-trans="ota_update_every_day" value="1"></option>
85 <option data-trans="ota_update_15_day" value="15"></option>
86 <option data-trans="ota_update_30_day" value="30"></option>
87 </select>
88 </div>
89 </div>
90 <div class="row form-group" data-bind="visible: updateMode()=='1'">
91 <div class="col-xs-12 padding-top-10">
92 <p class="checkbox" data-bind="css:{'checkbox_selected': allowRoamingUpdate()=='1'}, click: clickAllowRoamingUpdate"
93 manualControl="true">
94 <input id="chkUpdateRoamPermission" name="chkUpdateRoamPermission" data-bind="checked:allowRoamingUpdate()=='1'" type="checkbox" value="1"/>
95 </p>
96 <label data-trans="ota_update_roaming_remind" class="update_inline floatleft"></label>
97 </div>
98 </div>
99
100 <div class="form-buttons">
101 <input id="btnApply" data-trans="apply" type="submit" formmethod="post" class="btn btn-primary"/>
102 </div>
103 <div class="form-note">
104 <div class="notes-title">&nbsp;</div>
105 <ul class="notes-content">
106 <li data-trans="fota_note1"></li>
107 </ul>
108 </div>
109 </div>
110
111 </div>
112</form>
113<!--form id="frmNativeUpdate" data-bind="visible: updateType() == 'mifi_local'" method="post" name="UploadFile" id="UploadFile" action="../../cgi-bin/upload.cgi" enctype="multipart/form-data" target="ifr">
114 <div class="form-body">
115 <h3 class="form-title" data-trans="software_upload"></h3>
116 <table style="width:100%">
117 <input type="text" id="upfile" size="20" style="height:35px; width:200px; display:inline-block;" readonly />
118 <input type="button" class="btn btn-primary" data-trans='browse_btn' style="height:34px; width:81px;" />
119 <input id="fileName" class="form-control" type="file" name="fileName" style="margin-left: 15px;background-color:#E3E3E3;opacity:0;filter:alpha(opacity=0);position:absolute;left:0px; width:280px; display:inline-block;" />
120 <input class="btn btn-primary" id="fileuploadsubmit" type="submit" formmethod="post" data-trans="ota_title" style="float:right; margin-top:8px; margin-right: 20px;" />
121 </table>
122 <iframe name="ifr" id="ifr" style="display:none;"></iframe>
123 </div>
124</form-->
125 <div id="uploadSection" data-bind="visible: updateType() == 'mifi_local'">
126 <h3 class="form-title" data-trans="software_upload"></h3>
127 <iframe id="fileUploadIframe" name="fileUploadIframe" frameborder="0" height="0" scrolling="no" style="height:0px;width:0px;" width="0"></iframe>
128 <form id="fileUploadForm" name="fileUploadForm" action="../../cgi-bin/upload/upload.cgi" enctype="multipart/form-data" method="post" target="fileUploadIframe">
129 <input id="fileField" name="filename" dir="ltr" maxlength="200" type="file"/>
130 <div class="fileUploadDiv">
131 <input id="fileUploadApplyBtn" name="fileUploadApplyBtn" data-trans="ota_title" type="button" onclick="fileUploadSubmitClickHandler();" class="btn btn-primary margin-left-5 margin-top-2"/>
132 </div>
133 <div class="clear"></div>
134 </form>
135 </div>
136 <form data-bind="visible: updateType() == 'mifi_local'">
137 <div class="form-body">
138 <div class="form-note">
139 <div class="notes-title">&nbsp;</div>
140 <ul class="notes-content">
141 <li data-trans="local_note"></li>
142 </ul>
143 </div>
144 </div>
145 </form>
146</div>
147</div>
148</div>