1 <!-- TODO(noamsml): i18n before submitting -->
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>
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">
33 <div class=
"button-list">
34 <button class=
"register-cancel" i18n-content=
"cancel"></button>
35 <button id=
"register-continue-button"
36 i18n-content=
"serviceRegister">
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>
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>
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>
76 <h1 i18n-content=
"devicesTitle"></h1>
79 <div class=
"controls" id=
"printers">
80 <h2 i18n-content=
"availableDevicesTitle"></h2>
82 <div id=
"register-login-promo" class=
"login-promo cloud-print-message"
84 <span i18n-content=
"registerNeedLogin"></span>
85 <button class=
"link-button" id=
"register-login-button"
86 i18n-content=
"cloudDevicesLogin"></button>
88 <div id=
"no-printers-message"
89 class=
"cloud-print-message"
90 i18n-content=
"noPrintersOnNetworkExplanation">
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>
99 <p id=
"cloudPrintConnectorLabel" class=
"settings-row"></p>
101 <div class=
"settings-row">
102 <button id=
"cloudPrintConnectorSetupButton"></button>
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>
113 <div id=
"cloud-devices-login-promo" class=
"login-promo cloud-print-message"
115 <span i18n-content=
"cloudDevicesNeedLogin"></span>
116 <button class=
"link-button" id=
"cloud-devices-login-button"
117 i18n-content=
"cloudDevicesLogin"></button>
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>
125 <div id=
"cloud-devices">
130 <script src=
"chrome://resources/js/i18n_template2.js"></script>
131 <script src=
"chrome://resources/js/jstemplate_compiled.js"></script>