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 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximu
m-scale=1.0, user-scalable=0"> | 5 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximu
m-scale=1.0, user-scalable=0"> |
6 <title i18n-content="title"></title> | 6 <title i18n-content="title"></title> |
7 <link rel="stylesheet" href="ntp_android.css"> | 7 <link rel="stylesheet" href="ntp_android.css"> |
8 <link rel="stylesheet" href="bookmarks.css"> | 8 <link rel="stylesheet" href="bookmarks.css"> |
9 <link rel="stylesheet" href="bookmarks_tablet.css"> | 9 <link rel="stylesheet" href="bookmarks_tablet.css"> |
10 <link rel="stylesheet" href="mostvisited.css"> | 10 <link rel="stylesheet" href="mostvisited.css"> |
11 <link rel="stylesheet" href="mostvisited_tablet.css"> | 11 <link rel="stylesheet" href="mostvisited_tablet.css"> |
12 <link rel="stylesheet" href="opentabs.css"> | 12 <link rel="stylesheet" href="opentabs.css"> |
13 <link rel="stylesheet" href="opentabs_tablet.css"> | 13 <link rel="stylesheet" href="opentabs_tablet.css"> |
14 <link rel="stylesheet" href="incognito_tab.css"> | 14 <link rel="stylesheet" href="incognito_tab.css"> |
15 <!-- template data placeholder --> | 15 <!-- template data placeholder --> |
16 <script src="../shared/js/cr.js"></script> | 16 <script src="../shared/js/cr.js"></script> |
| 17 <script src="../shared/js/parse_html_subset.js"></script> |
17 <script src="ntp_android.js"></script> | 18 <script src="ntp_android.js"></script> |
18 <script> | 19 <script> |
19 var MOCK = document.location.host != "newtab"; | 20 var MOCK = document.location.host != "newtab"; |
20 if (MOCK) { | 21 if (MOCK) { |
21 document.write('<script src="mockdata.js"><\/script>'); | 22 document.write('<script src="mockdata.js"><\/script>'); |
22 var templateData = { | 23 var templateData = { |
23 "title":"New Tab", | 24 "title":"New Tab", |
24 "mostvisited":"Most Visited", | 25 "mostvisited":"Most Visited", |
25 "remotetabs":"Open Tabs" | 26 "remotetabs":"Open Tabs" |
26 }; | 27 }; |
27 } | 28 } |
28 </script> | 29 </script> |
29 </head> | 30 </head> |
30 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize;devic
e:device"> | 31 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize;devic
e:device"> |
31 <div id="content-area" style="display:none"> | 32 <div id="content-area" style="display:none"> |
32 <div class="main-section" id="open_tabs_container"> | 33 <div class="main-section" id="open_tabs_container"> |
33 <div class="center-empty-container" id="sync_enable_sync" style="display
: none;"> | 34 <div class="center-empty-container" id="sync_enable_sync" style="display
: none;"> |
34 <div class="center-empty-content" i18n-values=".innerHTML:syncEnableSy
nc"></div> | 35 <div class="center-empty-content" i18n-values=".innerHTML:syncEnableSy
nc"></div> |
35 </div> | 36 </div> |
36 <div class="center-empty-container" id="sync_promo" style="display: none
;"> | 37 <div class="center-empty-container" id="sync_promo" style="display: none
;"> |
37 <div id="promo_message_on_sync_promo_legacy" class="center-empty-conte
nt" i18n-values=".innerHTML:syncPromo"></div> | 38 <div id="promo_message_on_sync_promo_legacy" class="center-empty-conte
nt" i18n-values=".innerHTML:syncPromo"></div> |
| 39 <div id="promo_message_on_sync_promo_received" class="center-empty-con
tent" style="display: none;"></div> |
38 </div> | 40 </div> |
39 <div class="center-empty-container" id="sync_loading" style="display: no
ne;"> | 41 <div class="center-empty-container" id="sync_loading" style="display: no
ne;"> |
40 <div class="center-empty-content" i18n-values=".innerHTML:syncLoading"
></div> | 42 <div class="center-empty-content" i18n-values=".innerHTML:syncLoading"
></div> |
41 </div> | 43 </div> |
42 <div class="page-list" id="open_tabs_list" style="display: none;"></div> | 44 <div class="page-list" id="open_tabs_list" style="display: none;"></div> |
| 45 <div class="page-list" id="promo_vc_list" style="display: none;"></div> |
43 <div class="page-list" id="snapshots_list" style="display: none;"></div> | 46 <div class="page-list" id="snapshots_list" style="display: none;"></div> |
44 <div id="promo_message_on_open_tabs" class="promo-message" style="displa
y: none;"></div> | |
45 </div> | 47 </div> |
46 <div class="main-section" id="bookmarks_container"> | 48 <div class="main-section" id="bookmarks_container"> |
47 <div id="bookmarks_contents"> | 49 <div id="bookmarks_contents"> |
48 <div class="section-title-wrapper" id="bookmarks_title_wrapper"> | 50 <div class="section-title-wrapper" id="bookmarks_title_wrapper"> |
49 <div class="section-title-mask"> | 51 <div class="section-title-mask"> |
50 <div class="section-title"></div> | 52 <div class="section-title"></div> |
51 <div class="overflow-left-mask"></div> | 53 <div class="overflow-left-mask"></div> |
52 <div class="overflow-right-mask"></div> | 54 <div class="overflow-right-mask"></div> |
53 </div> | 55 </div> |
54 </div> | 56 </div> |
(...skipping 17 matching lines...) Expand all Loading... |
72 <span i18n-values=".innerHTML:content"></span> | 74 <span i18n-values=".innerHTML:content"></span> |
73 </div> | 75 </div> |
74 </div> | 76 </div> |
75 </div> | 77 </div> |
76 </body> | 78 </body> |
77 <script src="../shared/js/i18n_template.js"></script> | 79 <script src="../shared/js/i18n_template.js"></script> |
78 <script> | 80 <script> |
79 i18nTemplate.process(document, templateData); | 81 i18nTemplate.process(document, templateData); |
80 </script> | 82 </script> |
81 </html> | 83 </html> |
OLD | NEW |