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

Side by Side Diff: chrome/browser/resources/chromeos/network_ui/network_ui.html

Issue 2627353003: Settings/Oobe: Simplify cr-network-select and use flex (Closed)
Patch Set: Add comment Created 3 years, 11 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
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html i18n-values="dir:textdirection;lang:language"> 2 <html i18n-values="dir:textdirection;lang:language">
3 3
4 <head> 4 <head>
5 <meta charset="utf-8"> 5 <meta charset="utf-8">
6 <title id="network" i18n-content="titleText"></title> 6 <title id="network" i18n-content="titleText"></title>
7 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css"> 7 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
8 <link rel="stylesheet" href="chrome://network/network_ui.css"> 8 <link rel="stylesheet" href="chrome://network/network_ui.css">
9 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_ico n.html"> 9 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_ico n.html">
10 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_sel ect.html"> 10 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_sel ect.html">
11 <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.h tml"> 11 <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.h tml">
12 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/clas ses/iron-flex-layout.html">
12 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-bu tton.html"> 13 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-bu tton.html">
13 14
14 <script src="chrome://resources/js/load_time_data.js"></script> 15 <script src="chrome://resources/js/load_time_data.js"></script>
15 <script src="chrome://resources/js/util.js"></script> 16 <script src="chrome://resources/js/util.js"></script>
16 <script src="chrome://network/strings.js"></script> 17 <script src="chrome://network/strings.js"></script>
17 <script src="chrome://network/network_ui.js"></script> 18 <script src="chrome://network/network_ui.js"></script>
18 </head> 19 </head>
19 20
20 <body> 21 <body>
21 <div id="header"> 22 <div class="layout vertical">
22 <p i18n-content="autoRefreshText"></p> 23 <div i18n-content="autoRefreshText"></div>
23 <span i18n-values=".innerHTML:deviceLogLinkText"></span> 24 <span i18n-values=".innerHTML:deviceLogLinkText"></span>
24 <div id="advanced-options"> 25
25 <span i18n-content="clickToExpandText"></span> 26 <h3 i18n-content="globalPolicyLabel"></h3>
27 <div id="global-policy"></div>
28
29 <h3>CrNetworkSelect</h3>
30 <div id="select-div" class="layout vertical">
31 <cr-network-select class="flex" handle-network-item-selected>
32 </cr-network-select>
33 </div>
34 <div>
35 <paper-button raised class="colored" id="refresh"
36 i18n-content="networkRefreshText">
37 </paper-button>
38 </div>
39
40 <h3 i18n-content="visibleNetworksLabel"></h3>
41 <div i18n-content="clickToExpandText"></div>
42 <div>
26 <span i18n-content="propertyFormatText"></span> 43 <span i18n-content="propertyFormatText"></span>
27 <select id="get-property-format"> 44 <select id="get-property-format">
28 <option value="normal" i18n-content="normalFormatOption"></option> 45 <option value="normal" i18n-content="normalFormatOption"></option>
29 <option value="managed" i18n-content="managedFormatOption"></option> 46 <option value="managed" i18n-content="managedFormatOption"></option>
30 <option value="state" i18n-content="stateFormatOption"></option> 47 <option value="state" i18n-content="stateFormatOption"></option>
31 <option value="shill" i18n-content="shillFormatOption"></option> 48 <option value="shill" i18n-content="shillFormatOption"></option>
32 </select> 49 </select>
33 </div> 50 </div>
34 51
35 <cr-network-select expandable show-active max-height="100" 52 <table id="network-state-table" class="state-table">
36 handle-network-item-selected> 53 <tr class="state-table-header">
37 </cr-network-select> 54 <td></td>
55 <td></td>
56 <td>GUID</td>
57 <td>Path</td>
58 <td>Name</td>
59 <td>Type</td>
60 <td>State</td>
61 <td>Connect?</td>
62 <td>Error</td>
63 <td>Security</td>
64 <td>Tech</td>
65 <td>Activation</td>
66 <td>Roam</td>
67 <td>Frequency</td>
68 <td>Strength</td>
69 </tr>
70 </table>
38 71
39 <div> 72 <h3 i18n-content="favoriteNetworksLabel"></h3>
40 <paper-button raised class="colored" id="refresh" 73 <table id="favorite-state-table" class="state-table">
41 i18n-content="networkRefreshText"> 74 <tr class="state-table-header">
42 </paper-button> 75 <td></td>
43 </div> 76 <td></td>
77 <td>GUID</td>
78 <td>Path</td>
79 <td>Name</td>
80 <td>Type</td>
81 <td>Profile</td>
82 <td>Visible</td>
83 <td>ONC Source</td>
84 </tr>
85 </table>
44 </div> 86 </div>
45 87
46 <h3 i18n-content="globalPolicyLabel"></h3>
47 <div id="global-policy"></div>
48
49 <h3 i18n-content="visibleNetworksLabel"></h3>
50 <table id="network-state-table" class="state-table">
51 <tr class="state-table-header">
52 <td></td>
53 <td></td>
54 <td>GUID</td>
55 <td>Path</td>
56 <td>Name</td>
57 <td>Type</td>
58 <td>State</td>
59 <td>Connect?</td>
60 <td>Error</td>
61 <td>Security</td>
62 <td>Tech</td>
63 <td>Activation</td>
64 <td>Roam</td>
65 <td>Frequency</td>
66 <td>Strength</td>
67 </tr>
68 </table>
69
70 <h3 i18n-content="favoriteNetworksLabel"></h3>
71 <table id="favorite-state-table" class="state-table">
72 <tr class="state-table-header">
73 <td></td>
74 <td></td>
75 <td>GUID</td>
76 <td>Path</td>
77 <td>Name</td>
78 <td>Type</td>
79 <td>Profile</td>
80 <td>Visible</td>
81 <td>ONC Source</td>
82 </tr>
83 </table>
84
85 <script src="chrome://resources/js/i18n_template.js"></script> 88 <script src="chrome://resources/js/i18n_template.js"></script>
86 </body> 89 </body>
87 </html> 90 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698