Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / resources / local_discovery / local_discovery.html
blob903ae39d5c0ec480cbde57f4ab0ca49291388893
1 <!-- TODO(noamsml): i18n before submitting -->
2 <!DOCTYPE HTML>
3 <html>
4 <head>
5 <meta charset="utf-8">
6 <title i18n-content="devicesTitle"></title>
7 <link rel="stylesheet" href="chrome://resources/css/chrome_shared.css">
8 <link rel="stylesheet" href="chrome://resources/css/overlay.css">
9 <link rel="stylesheet" href="chrome://resources/css/spinner.css">
10 <link rel="stylesheet" href="local_discovery.css">
12 <script src="chrome://resources/js/cr.js"></script>
13 <script src="chrome://resources/js/util.js"></script>
14 <script src="chrome://resources/js/load_time_data.js"></script>
15 <script src="chrome://resources/js/cr/ui/overlay.js"></script>
16 <script src="chrome://resources/js/cr/ui/focus_manager.js"></script>
17 <script src="local_discovery.js"></script>
18 <script src="strings.js"></script>
19 </head>
20 <body class="uber-frame"
21 i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
22 <div class="page" id="main-page">
23 <div class="overlay" id="overlay" hidden>
24 <div id="register-overlay" class="page">
25 <div class="close-button"></div>
27 <div id="register-page-confirm" class="register-page">
28 <h1 i18n-content="confirmRegistration"></h1>
29 <div class="dialog-contents">
30 <div id="register-message">
31 </div>
33 <div class="button-list">
34 <button class="register-cancel" i18n-content="cancel"></button>
35 <button id="register-continue-button"
36 i18n-content="serviceRegister">
37 </button>
38 </div>
39 </div>
40 </div>
42 <div id="register-page-adding1" class="register-page">
43 <h1 i18n-content="addingPrinter"></h1>
44 <div class="dialog-contents">
45 <div i18n-content="addingMessage1"></div>
46 <div class="button-list">
47 <button class="register-cancel" i18n-content="cancel"></button>
48 </div>
49 </div>
50 </div>
52 <div id="register-page-adding2" class="register-page">
53 <h1 i18n-content="addingPrinter"></h1>
54 <div class="dialog-contents">
55 <div class="inline-spinner"> </div>
56 <span i18n-content="addingMessage2"></span>
57 <div class="button-list">
58 <button class="register-cancel" i18n-content="cancel"></button>
59 </div>
60 </div>
61 </div>
63 <div id="register-page-error" class="register-page">
64 <h1 i18n-content="addingError"></h1>
65 <div class="dialog-contents">
66 <div i18n-content="addingErrorMessage" id="error-message"></div>
67 <div class="button-list">
68 <button id="register-error-exit" i18n-content="ok"></button>
69 </div>
70 </div>
71 </div>
72 </div>
73 </div>
75 <header>
76 <h1 i18n-content="devicesTitle"></h1>
77 </header>
79 <div class="controls" id="printers">
80 <h2 i18n-content="availableDevicesTitle"></h2>
82 <div id="register-login-promo" class="login-promo cloud-print-message"
83 hidden>
84 <span i18n-content="registerNeedLogin"></span>
85 <button class="link-button" id="register-login-button"
86 i18n-content="cloudDevicesLogin"></button>
87 </div>
88 <div id="no-printers-message"
89 class="cloud-print-message"
90 i18n-content="noPrintersOnNetworkExplanation">
91 </div>
93 <div class="devices" id="register-device-list"></div>
95 <if expr="not pp_ifdef('chromeos') and not is_macosx">
96 <section id="cloud-print-connector-section">
97 <h2 i18n-content="titleConnector"></h2>
98 <div>
99 <p id="cloudPrintConnectorLabel" class="settings-row"></p>
101 <div class="settings-row">
102 <button id="cloudPrintConnectorSetupButton"></button>
103 </div>
104 </div>
105 </section>
106 </if>
107 </div>
109 <h2 i18n-content="myDevicesTitle"></h2>
110 <div id="cloud-devices-loading" class="cloud-print-message" hidden>
111 <div class="inline-spinner"> </div> <span i18n-content="loading"></span>
112 </div>
113 <div id="cloud-devices-login-promo" class="login-promo cloud-print-message"
114 hidden>
115 <span i18n-content="cloudDevicesNeedLogin"></span>
116 <button class="link-button" id="cloud-devices-login-button"
117 i18n-content="cloudDevicesLogin"></button>
118 </div>
119 <div id="cloud-devices-unavailable"
120 class="cloud-print-message" hidden>
121 <span i18n-content="cloudDevicesUnavailable"></span>
122 <button class="link-button" id="cloud-devices-retry-button"
123 i18n-content="retryLoadCloudDevices"></button>
124 </div>
125 <div id="cloud-devices">
127 </div>
128 </div>
130 <script src="chrome://resources/js/i18n_template2.js"></script>
131 <script src="chrome://resources/js/jstemplate_compiled.js"></script>
132 </body>
133 </html>