Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: chrome/browser/resources/options/chromeos/internet_detail.html

Issue 8726007: Disable UI in chrome://settings/internet and details popup for policy-managed networks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make clang happy. Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <div id="detailsInternetPage" class="page" hidden> 1 <div id="detailsInternetPage" class="page" hidden>
2 <h1 id="inetTitle"></h1> 2 <h1 id="inetTitle"></h1>
3 <!-- Navigation tabs --> 3 <!-- Navigation tabs -->
4 <div id="details-tab-strip" class="subpages-nav-tabs"> 4 <div id="details-tab-strip" class="subpages-nav-tabs">
5 <span id="wifiNetworkNavTab" class="tab wifi-details" 5 <span id="wifiNetworkNavTab" class="tab wifi-details"
6 tab-contents="wifiNetworkTab"> 6 tab-contents="wifiNetworkTab">
7 <span class="tab-label" 7 <span class="tab-label"
8 i18n-content="wifiNetworkTabLabel"></span> 8 i18n-content="wifiNetworkTabLabel"></span>
9 <span class="active-tab-label" i18n-content="wifiNetworkTabLabel"></span> 9 <span class="active-tab-label" i18n-content="wifiNetworkTabLabel"></span>
10 </span> 10 </span>
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 </section> 54 </section>
55 <section> 55 <section>
56 <table class="option-control-table"> 56 <table class="option-control-table">
57 <tr class="prefer-network"> 57 <tr class="prefer-network">
58 <td> 58 <td>
59 <div class="checkbox"> 59 <div class="checkbox">
60 <label> 60 <label>
61 <input id="preferNetworkWifi" type="checkbox"> 61 <input id="preferNetworkWifi" type="checkbox">
62 <span i18n-content="inetPreferredNetwork"></span> 62 <span i18n-content="inetPreferredNetwork"></span>
63 </label> 63 </label>
64 <span class="controlled-setting-indicator" data="preferred"
65 for="preferNetworkWifi"></span>
64 </div> 66 </div>
65 </td> 67 </td>
66 </tr> 68 </tr>
67 <tr class="auto-connect-network"> 69 <tr class="auto-connect-network">
68 <td> 70 <td>
69 <div class="checkbox"> 71 <div class="checkbox">
70 <label> 72 <label>
71 <input id="autoConnectNetworkWifi" type="checkbox"> 73 <input id="autoConnectNetworkWifi" type="checkbox">
72 <span i18n-content="inetAutoConnectNetwork"></span> 74 <span i18n-content="inetAutoConnectNetwork"></span>
73 </label> 75 </label>
76 <span class="controlled-setting-indicator" data="autoConnect"
77 for="autoConnectNetworkWifi"></span>
74 </div> 78 </div>
75 </td> 79 </td>
76 </tr> 80 </tr>
77 </table> 81 </table>
78 </section> 82 </section>
79 <section id="passwordNetwork" class="password-details"> 83 <section id="passwordNetwork" class="password-details">
80 <table class="option-control-table"> 84 <table class="option-control-table">
81 <tr> 85 <tr>
82 <td class="option-name" i18n-content="inetPassProtected"></td> 86 <td class="option-name" i18n-content="inetPassProtected"></td>
83 </tr> 87 </tr>
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 <td class="option-name" i18n-content="errorState"></td> 177 <td class="option-name" i18n-content="errorState"></td>
174 <td id="errorState" class="option-value"></td> 178 <td id="errorState" class="option-value"></td>
175 </tr> 179 </tr>
176 <tr class="gsm-only apn-list-view"> 180 <tr class="gsm-only apn-list-view">
177 <td class="option-name" i18n-content="cellularApnLabel"></td> 181 <td class="option-name" i18n-content="cellularApnLabel"></td>
178 <td id="cellularApnLabel" class="option-value"> 182 <td id="cellularApnLabel" class="option-value">
179 <select id="selectApn"> 183 <select id="selectApn">
180 <option value="-1" i18n-content="cellularApnOther"> 184 <option value="-1" i18n-content="cellularApnOther">
181 </option> 185 </option>
182 </select> 186 </select>
187 <span class="controlled-setting-indicator" data="providerApnList"
188 for="selectApn"></span>
183 </td> 189 </td>
184 </tr> 190 </tr>
185 <tr class="gsm-only apn-details-view"> 191 <tr class="gsm-only apn-details-view">
186 <td class="option-name" i18n-content="cellularApnLabel"></td> 192 <td class="option-name" i18n-content="cellularApnLabel"></td>
187 <td id="cellularApnLabel" class="option-value"> 193 <td id="cellularApnLabel" class="option-value">
188 <input id="cellularApn" type="text"> 194 <input id="cellularApn" type="text">
189 </td> 195 </td>
190 </tr> 196 </tr>
191 <tr class="gsm-only apn-details-view"> 197 <tr class="gsm-only apn-details-view">
192 <td class="option-name" i18n-content="cellularApnUsername"></td> 198 <td class="option-name" i18n-content="cellularApnUsername"></td>
(...skipping 18 matching lines...) Expand all
211 i18n-content="cellularApnCancel"></button> 217 i18n-content="cellularApnCancel"></button>
212 </td> 218 </td>
213 </tr> 219 </tr>
214 <tr> 220 <tr>
215 <td colspan="2"> 221 <td colspan="2">
216 <div class="checkbox"> 222 <div class="checkbox">
217 <label> 223 <label>
218 <input id="autoConnectNetworkCellular" type="checkbox"> 224 <input id="autoConnectNetworkCellular" type="checkbox">
219 <span i18n-content="inetAutoConnectNetwork"></span> 225 <span i18n-content="inetAutoConnectNetwork"></span>
220 </label> 226 </label>
227 <span class="controlled-setting-indicator" data="autoConnect"
228 for="autoConnectNetworkCellular"></span>
221 </div> 229 </div>
222 </td> 230 </td>
223 </tr> 231 </tr>
224 </table> 232 </table>
225 </section> 233 </section>
226 </div> 234 </div>
227 <div id="cellularDeviceTab" class="subpages-tab-contents cellular-details"> 235 <div id="cellularDeviceTab" class="subpages-tab-contents cellular-details">
228 <section id="cellularDeviceOptions"> 236 <section id="cellularDeviceOptions">
229 <table class="option-control-table"> 237 <table class="option-control-table">
230 <tr> 238 <tr>
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 </tr> 295 </tr>
288 </table> 296 </table>
289 </section> 297 </section>
290 <section id="ipconfigSection"> 298 <section id="ipconfigSection">
291 <div> 299 <div>
292 <div id="ipTypeDHCPDiv" class="radio"> 300 <div id="ipTypeDHCPDiv" class="radio">
293 <label> 301 <label>
294 <input type="radio" name="iptype" id="ipTypeDHCP" value="1"> 302 <input type="radio" name="iptype" id="ipTypeDHCP" value="1">
295 <span i18n-content="useDHCP"></span> 303 <span i18n-content="useDHCP"></span>
296 </label> 304 </label>
305 <span class="controlled-setting-indicator" data="ipconfigDHCP"
306 for="ipTypeDHCP"></span>
297 </div> 307 </div>
298 <div id="ipTypeStaticDiv" class="radio"> 308 <div id="ipTypeStaticDiv" class="radio">
299 <label> 309 <label>
300 <input type="radio" name="iptype" id="ipTypeStatic" value="0"> 310 <input type="radio" name="iptype" id="ipTypeStatic" value="0">
301 <span i18n-content="useStaticIP"></span> 311 <span i18n-content="useStaticIP"></span>
302 </label> 312 </label>
313 <span class="controlled-setting-indicator" data="ipconfigStatic"
314 for="ipTypeStatic"></span>
303 </div> 315 </div>
304 <div class="suboption"> 316 <div class="suboption">
305 <div id="ipConfigManagement" class="settings-list"> 317 <div id="ipConfigManagement" class="settings-list">
306 <list id="ipConfigList"></list> 318 <list id="ipConfigList"></list>
307 </div> 319 </div>
308 </div> 320 </div>
309 </div> 321 </div>
310 </section> 322 </section>
311 <section id="change-proxy-section"> 323 <section id="change-proxy-section">
312 <div> 324 <div>
313 <button id="change-proxy-button" i18n-content="changeProxyButton"> 325 <button id="change-proxy-button" i18n-content="changeProxyButton">
314 </button> 326 </button>
315 </div> 327 </div>
316 </section> 328 </section>
317 </div> 329 </div>
318 <div id="security-tab" 330 <div id="security-tab"
319 class="subpages-tab-contents cellular-details gsm-only"> 331 class="subpages-tab-contents cellular-details gsm-only">
320 <div id="cellular-security-options"> 332 <div id="cellular-security-options">
321 <section> 333 <section>
322 <div id="sim-pin-lock" class="checkbox"> 334 <div id="sim-pin-lock" class="checkbox">
323 <label> 335 <label>
324 <input id="sim-card-lock-enabled" type="checkbox"> 336 <input id="sim-card-lock-enabled" type="checkbox">
325 <span i18n-content="lockSimCard"></span> 337 <span i18n-content="lockSimCard"></span>
326 </label> 338 </label>
339 <span class="controlled-setting-indicator" data="simCardLockEnabled"
340 for="sim-card-lock-enabled"></span>
327 </div> 341 </div>
328 </section> 342 </section>
329 <section> 343 <section>
330 <div id="change-pin-area"> 344 <div id="change-pin-area">
331 <button id="change-pin" i18n-content="changePinButton"></button> 345 <button id="change-pin" i18n-content="changePinButton"></button>
346 <span class="controlled-setting-indicator" data="simCardLockEnabled"
347 for="change-pin"></span>
332 </div> 348 </div>
333 </section> 349 </section>
334 </div> 350 </div>
335 </div> 351 </div>
336 <div class="action-area bottom-strip button-strip"> 352 <div class="action-area bottom-strip button-strip">
337 <button id="detailsInternetDismiss" 353 <button id="detailsInternetDismiss"
338 i18n-content="detailsInternetDismiss"></button> 354 i18n-content="detailsInternetDismiss"></button>
339 <button id="detailsInternetLogin" 355 <button id="detailsInternetLogin"
340 i18n-content="connect_button"></button> 356 i18n-content="connect_button"></button>
341 <button id="detailsInternetDisconnect" 357 <button id="detailsInternetDisconnect"
342 i18n-content="disconnect_button"></button> 358 i18n-content="disconnect_button"></button>
343 <button id="activateDetails" 359 <button id="activateDetails"
344 i18n-content="activate_button"></button> 360 i18n-content="activate_button"></button>
345 <button id="buyplanDetails" 361 <button id="buyplanDetails"
346 i18n-content="buyplan_button"></button> 362 i18n-content="buyplan_button"></button>
347 </div> 363 </div>
348 </div> 364 </div>
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/resources/options/chromeos/internet_network_element.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698