OLD | NEW |
---|---|
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html i18n-values="dir:textdirection;"> | 2 <html i18n-values="dir:textdirection;"> |
3 <head> | 3 <head> |
4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
5 <title i18n-content="title"></title> | 5 <title i18n-content="title"></title> |
6 <link rel="stylesheet" href="../ntp4/incognito_tab.css"> | 6 <link rel="stylesheet" href="../ntp4/incognito_guest_tab.css"> |
7 <link rel="stylesheet" href="login/enterprise_info.css"> | 7 <link rel="stylesheet" href="login/enterprise_info.css"> |
8 <script> | 8 <script> |
9 // Until themes can clear the cache, force-reload the theme stylesheet. | 9 // Until themes can clear the cache, force-reload the theme stylesheet. |
10 document.write('<link id="incognitothemecss" rel="stylesheet" ' + | 10 document.write('<link id="incognitothemecss" rel="stylesheet" ' + |
11 'href="chrome://theme/css/incognito_new_tab_theme.css?' + | 11 'href="chrome://theme/css/incognito_new_tab_theme.css?' + |
12 Date.now() + '">'); | 12 Date.now() + '">'); |
13 </script> | 13 </script> |
14 </head> | 14 </head> |
15 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> | 15 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> |
16 <div id="enterprise-info" location="guest-tab" | 16 <div id="enterprise-info" location="guest-tab" |
17 i18n-values="visible:enterpriseInfoVisible;"> | 17 i18n-values="visible:enterpriseInfoVisible;"> |
18 <img src="chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY"/> | 18 <img src="chrome://theme/IDR_CONTROLLED_SETTING_MANDATORY"/> |
19 <span id="enterprise-info-message" i18n-content="enterpriseInfoMessage"> | 19 <span id="enterprise-info-message" i18n-content="enterpriseInfoMessage"> |
20 </span> | 20 </span> |
21 <a id="enterprise-info-hint-link" i18n-content="learnMore" | 21 <a id="enterprise-info-hint-link" i18n-content="learnMore" |
22 i18n-values=".href:enterpriseInfoHintLink"></a> | 22 i18n-values=".href:enterpriseInfoHintLink"></a> |
23 </div> | 23 </div> |
24 <div class="content" > | 24 <div class="content"> |
25 <span i18n-values=".innerHTML:content"></span> | 25 <h1 i18n-content="heading"></h1> |
26 <p> | |
27 <span i18n-content="message"></span> | |
Evan Stade
2014/04/22 17:52:52
nit: can you make the name for the content a littl
edwardjung
2014/04/23 10:42:10
Done.
| |
28 <a i18n-content="learnMore" i18n-values=".href:learnMoreLink"></a> | |
29 </p> | |
26 </div> | 30 </div> |
27 </body> | 31 </body> |
28 <script> | 32 <script> |
29 function themeChanged() { | 33 function themeChanged() { |
30 document.getElementById('incognitothemecss').href = | 34 document.getElementById('incognitothemecss').href = |
31 'chrome://theme/css/incognito_new_tab_theme.css?' + Date.now(); | 35 'chrome://theme/css/incognito_new_tab_theme.css?' + Date.now(); |
32 } | 36 } |
33 </script> | 37 </script> |
34 </html> | 38 </html> |
35 | 39 |
OLD | NEW |