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

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

Issue 9668010: Move proxy handling into network details. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing jsdoc. Created 8 years, 9 months 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 <div id="internet-details-content-area" class="content-area"> 2 <div id="internet-details-content-area" class="content-area">
3 <!-- Network header --> 3 <!-- Network header -->
4 <div> 4 <div>
5 <div id="network-details-header"> 5 <div id="network-details-header">
6 <div id="network-details-title"></div> 6 <div id="network-details-title"></div>
7 <div id="network-details-subtitle"> 7 <div id="network-details-subtitle">
8 <span id="network-details-subtitle-status"></span> 8 <span id="network-details-subtitle-status"></span>
9 <span id="network-details-subtitle-separator"> - </span> 9 <span id="network-details-subtitle-separator"> - </span>
10 <span id="network-details-subtitle-type"></span> 10 <span id="network-details-subtitle-type"></span>
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 </span> 49 </span>
50 <span id="internetNavTab" class="tab" tab-contents="internetTab"> 50 <span id="internetNavTab" class="tab" tab-contents="internetTab">
51 <span class="tab-label" i18n-content="networkTabLabel"></span> 51 <span class="tab-label" i18n-content="networkTabLabel"></span>
52 <span class="active-tab-label" i18n-content="networkTabLabel"></span> 52 <span class="active-tab-label" i18n-content="networkTabLabel"></span>
53 </span> 53 </span>
54 <span id="security-nav-tab" class="tab cellular-details gsm-only" 54 <span id="security-nav-tab" class="tab cellular-details gsm-only"
55 tab-contents="security-tab"> 55 tab-contents="security-tab">
56 <span class="tab-label" i18n-content="securityTabLabel"></span> 56 <span class="tab-label" i18n-content="securityTabLabel"></span>
57 <span class="active-tab-label" i18n-content="securityTabLabel"></span> 57 <span class="active-tab-label" i18n-content="securityTabLabel"></span>
58 </span> 58 </span>
59 <span id="internet-proxy-nav-tab" class="tab proxy-details"
60 tab-contents="network-proxy-tab">
61 <span class="tab-label" i18n-content="proxyTabLabel"></span>
62 <span class="active-tab-label" i18n-content="proxyTabLabel">
63 </span>
csilv 2012/03/09 22:30:14 nit: it looks like line 63 could fit at the end of
kevers 2012/03/12 13:57:13 Done.
64 </span>
59 </div> 65 </div>
60 <div id="wifiNetworkTab" class="subpages-tab-contents wifi-details"> 66 <div id="wifiNetworkTab" class="subpages-tab-contents wifi-details">
61 <section> 67 <section>
62 <table class="ssid-table"> 68 <table class="ssid-table">
63 <tr> 69 <tr>
64 <td class="option-name" i18n-content="inetSsid"></td> 70 <td class="option-name" i18n-content="inetSsid"></td>
65 <td id="inetSsid" class="option-value"></td> 71 <td id="inetSsid" class="option-value"></td>
66 </tr> 72 </tr>
67 </table> 73 </table>
68 </section> 74 </section>
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 <span i18n-content="useStaticIP"></span> 343 <span i18n-content="useStaticIP"></span>
338 </label> 344 </label>
339 <span class="controlled-setting-indicator" data="ipconfigStatic" 345 <span class="controlled-setting-indicator" data="ipconfigStatic"
340 for="ipTypeStatic"></span> 346 for="ipTypeStatic"></span>
341 </div> 347 </div>
342 <div id="ipConfigManagement" class="settings-list"> 348 <div id="ipConfigManagement" class="settings-list">
343 <list id="ipConfigList"></list> 349 <list id="ipConfigList"></list>
344 </div> 350 </div>
345 </div> 351 </div>
346 </section> 352 </section>
347 <section id="change-proxy-section">
348 <div>
349 <button id="change-proxy-button" i18n-content="changeProxyButton">
350 </button>
351 </div>
352 </section>
353 </div> 353 </div>
354 <div id="security-tab" 354 <div id="security-tab"
355 class="subpages-tab-contents cellular-details gsm-only"> 355 class="subpages-tab-contents cellular-details gsm-only">
356 <div id="cellular-security-options"> 356 <div id="cellular-security-options">
357 <section> 357 <section>
358 <div id="sim-pin-lock" class="checkbox"> 358 <div id="sim-pin-lock" class="checkbox">
359 <label> 359 <label>
360 <input id="sim-card-lock-enabled" type="checkbox"> 360 <input id="sim-card-lock-enabled" type="checkbox">
361 <span i18n-content="lockSimCard"></span> 361 <span i18n-content="lockSimCard"></span>
362 </label> 362 </label>
363 <span class="controlled-setting-indicator" data="simCardLockEnabled" 363 <span class="controlled-setting-indicator" data="simCardLockEnabled"
364 for="sim-card-lock-enabled"></span> 364 for="sim-card-lock-enabled"></span>
365 </div> 365 </div>
366 </section> 366 </section>
367 <section> 367 <section>
368 <div id="change-pin-area"> 368 <div id="change-pin-area">
369 <button id="change-pin" i18n-content="changePinButton"></button> 369 <button id="change-pin" i18n-content="changePinButton"></button>
370 <span class="controlled-setting-indicator" data="simCardLockEnabled" 370 <span class="controlled-setting-indicator" data="simCardLockEnabled"
371 for="change-pin"></span> 371 for="change-pin"></span>
372 </div> 372 </div>
373 </section> 373 </section>
374 </div> 374 </div>
375 </div> 375 </div>
376 <div id="network-proxy-tab" class="subpages-tab-contents">
377 <section>
378 <div id="info-banner" hidden>
379 <span id="banner-icon" class="managed-prefs-icon"></span>
380 <span id="banner-text" class="managed-prefs-text"></span>
381 </div>
382 <div class="radio">
383 <label>
384 <input id="directProxy" type="radio" name="proxytype" value="1"
385 pref="cros.session.proxy.type">
386 <span i18n-content="proxyDirectInternetConnection"></span>
387 </label>
388 </div>
389 <div class="radio">
390 <label>
391 <input id="manualProxy" type="radio" name="proxytype" value="2"
392 pref="cros.session.proxy.type">
393 <span i18n-content="proxyManual"></span>
394 </label>
395 </div>
396 <div class="checkbox">
397 <label>
398 <input id="proxyAllProtocols" type="checkbox"
399 pref="cros.session.proxy.single">
400 <span i18n-content="sameProxyProtocols"></span>
401 </label>
402 </div>
403 <div id="singleProxy">
404 <table>
405 <tr>
406 <td>
407 <span i18n-content="httpProxy"></span>
408 <input id="proxyHostSingleName" type="text" size="25"
409 pref="cros.session.proxy.singlehttp" disabled>
410 </td>
411 <td>
412 <span i18n-content="proxyPort"></span>
413 <input id="proxyHostSinglePort" type="text" data-type="number"
414 size="4" pref="cros.session.proxy.singlehttpport" disabled>
415 </td>
416 </tr>
417 </table>
418 </div>
419 <div id="multiProxy">
420 <table>
421 <tr>
422 <td>
423 <span i18n-content="httpProxy"></span>
424 </td>
425 <td>
426 <input id="proxyHostName" type="text" size="25"
427 pref="cros.session.proxy.httpurl" disabled>
428 </td>
429 <td>
430 <span i18n-content="proxyPort"></span>
431 </td>
432 <td>
433 <input id="proxyHostPort" type="text" data-type="number" size="4 "
csilv 2012/03/09 22:30:14 nit, wrap to 80 cols, here and line 449
kevers 2012/03/12 13:57:13 Done.
434 pref="cros.session.proxy.httpport" disabled>
435 </td>
436 </tr>
437 <tr>
438 <td>
439 <span i18n-content="secureHttpProxy"></span>
440 </td>
441 <td>
442 <input id="secureProxyHostName" type="text" size="25"
443 pref="cros.session.proxy.httpsurl" disabled>
444 </td>
445 <td>
446 <span i18n-content="proxyPort"></span>
447 </td>
448 <td>
449 <input id="secureProxyPort" type="text" data-type="number" size= "4"
450 pref="cros.session.proxy.httpsport" disabled>
451 </td>
452 </tr>
453 <tr>
454 <td>
455 <span i18n-content="ftpProxy"></span>
456 </td>
457 <td>
458 <input id="ftpProxy" type="text" size="25"
459 pref="cros.session.proxy.ftpurl" disabled>
460 </td>
461 <td>
462 <span i18n-content="proxyPort"></span>
463 </td>
464 <td>
465 <input id="ftpProxyPort" type="text" data-type="number" size="4"
466 pref="cros.session.proxy.ftpport" disabled>
467 </td>
468 </tr>
469 <tr>
470 <td>
471 <span i18n-content="socksHost"></span>
472 </td>
473 <td>
474 <input id="socksHost" type="text" size="25"
475 pref="cros.session.proxy.socks" disabled>
476 </td>
477 <td>
478 <span i18n-content="proxyPort"></span>
479 </td>
480 <td>
481 <input id="socksPort" type="text" data-type="number" size="4"
482 pref="cros.session.proxy.socksport" disabled>
483 </td>
484 </tr>
485 </table>
486 </div>
487 <div class="radio">
488 <label>
489 <input id="autoProxy" type="radio" name="proxytype" value="3"
490 pref="cros.session.proxy.type">
491 <span i18n-content="proxyAutomatic"></span>
492 </label>
493 </div>
494 <div>
495 <label>
496 <div i18n-content="proxyConfigUrl"></div>
497 <input id="proxyConfig" type="url" size="50"
498 pref="cros.session.proxy.pacurl">
499 </label>
500 </div>
501 <div id="advancedConfig">
502 <h3 i18n-content="advanced_proxy_config"></h3>
503 <div class="option vbox flex">
504 <div i18n-content="proxyBypass"></div>
505 <list id="ignoredHostList"></list>
506 <input id="newHost" type="url" size="30">
507 <button id="addHost" i18n-content="addHost"></button>
508 <button id="removeHost" i18n-content="removeHost"></button>
509 </div>
510 </div>
511 </section>
512 </div>
376 </div> 513 </div>
377 <div class="action-area"> 514 <div class="action-area">
378 <div class="button-strip"> 515 <div class="button-strip">
379 <!-- TODO(dbeam): Clarify style guide regarding tag wrap. --> 516 <!-- TODO(dbeam): Clarify style guide regarding tag wrap. -->
380 <button id="detailsInternetDismiss" i18n-content="detailsInternetDismiss"> 517 <button id="detailsInternetDismiss" i18n-content="detailsInternetDismiss">
381 </button> 518 </button>
382 <button id="detailsInternetLogin" i18n-content="connect_button"></button> 519 <button id="detailsInternetLogin" i18n-content="connect_button"></button>
383 <button id="detailsInternetDisconnect" i18n-content="disconnect_button"> 520 <button id="detailsInternetDisconnect" i18n-content="disconnect_button">
384 </button> 521 </button>
385 <button id="activateDetails" i18n-content="activate_button"></button> 522 <button id="activateDetails" i18n-content="activate_button"></button>
386 <button id="buyplanDetails" i18n-content="buyplan_button"></button> 523 <button id="buyplanDetails" i18n-content="buyplan_button"></button>
387 <button id="viewAccountDetails" i18n-content="view_account_button"> 524 <button id="viewAccountDetails" i18n-content="view_account_button">
388 </button> 525 </button>
389 </div> 526 </div>
390 </div> 527 </div>
391 </div> 528 </div>
csilv 2012/03/09 22:30:14 Consider adding a TODO for a style cleanup.. like
kevers 2012/03/12 13:57:13 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698