OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html i18n-values=" | 2 <html i18n-values=" |
3 dir:textdirection; | 3 dir:textdirection; |
4 bookmarkbarattached:bookmarkbarattached; | 4 bookmarkbarattached:bookmarkbarattached; |
5 hasattribution:hasattribution; | 5 hasattribution:hasattribution; |
6 anim:anim; | 6 anim:anim; |
7 syncispresent:syncispresent; | 7 syncispresent:syncispresent; |
8 has_3d:has_3d"> | 8 has_3d:has_3d"> |
9 <head> | 9 <head> |
10 <meta charset="utf-8"> | 10 <meta charset="utf-8"> |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 <menu id="option-menu"> | 122 <menu id="option-menu"> |
123 <div command="clear-all-blacklisted" | 123 <div command="clear-all-blacklisted" |
124 i18n-content="restorethumbnails"></div> | 124 i18n-content="restorethumbnails"></div> |
125 </menu> | 125 </menu> |
126 | 126 |
127 <div id="notification"> | 127 <div id="notification"> |
128 <span> </span> | 128 <span> </span> |
129 <span class="link"><span class="link-color"></span></span> | 129 <span class="link"><span class="link-color"></span></span> |
130 </div> | 130 </div> |
131 | 131 |
132 <div id="top-spacer"></div> | 132 <div class="maxiview" id="apps-maxiview"></div> |
| 133 <div class="maxiview" id="most-visited-maxiview"></div> |
133 | 134 |
134 <div class="sections"> | 135 <div class="sections"> |
135 <!-- Start disabled. We only enable if we have at least one app. --> | 136 <!-- Start disabled. We only enable if we have at least one app. --> |
136 <div class="section disabled" section="APPS" id="apps-section"> | 137 <div id="apps" class="section disabled" section="APPS"> |
137 <h2> | 138 <h2> |
138 <img class="disclosure" img src="ntp/ntp_disclosure_triangle.png"> | 139 <img class="disclosure" img src="ntp/ntp_disclosure_triangle.png"> |
139 <div class="mask"> | 140 <div class="back"></div> |
140 <div class="back"></div> | 141 <span i18n-content="apps"></span> |
141 <span i18n-content="apps"></span> | |
142 </div> | |
143 </h2> | 142 </h2> |
144 <div class="maxiview" id="apps-section-content"></div> | |
145 <div class="miniview"></div> | 143 <div class="miniview"></div> |
146 </div> | 144 </div> |
147 | 145 |
148 <div id="most-visited-section" class="section" section="THUMB"> | 146 <div id="most-visited" class="section" section="THUMB"> |
149 <h2> | 147 <h2> |
150 <img class="disclosure" src="ntp/ntp_disclosure_triangle.png"> | 148 <img class="disclosure" src="ntp/ntp_disclosure_triangle.png"> |
151 <div class="mask"> | 149 <div class="back"></div> |
152 <div class="back"></div> | 150 <span i18n-content="mostvisited"></span> |
153 <span i18n-content="mostvisited"></span> | 151 <div class="settings-wrapper"><div class="settings"></div></div> |
154 <div class="settings-wrapper"><div class="settings"></div></div> | |
155 </div> | |
156 </h2> | 152 </h2> |
157 <div class="maxiview" id="most-visited"></div> | |
158 <div class="miniview"></div> | 153 <div class="miniview"></div> |
159 </div> | 154 </div> |
160 | 155 |
161 <!-- Start this section disabled because it might not have data, and looks | 156 <!-- Start this section disabled because it might not have data, and looks |
162 silly without any. --> | 157 silly without any. --> |
163 <div id="recently-closed" class="section hidden disabled" section="RECENT" | 158 <div id="recently-closed" class="section hidden disabled" section="RECENT" |
164 noexpand="true"> | 159 noexpand="true"> |
165 <h2> | 160 <h2> |
166 <div class="mask"> | 161 <div class="back"></div> |
167 <div class="back"></div> | 162 <span i18n-content="recentlyclosed"></span> |
168 <span i18n-content="recentlyclosed"></span> | |
169 </div> | |
170 </h2> | 163 </h2> |
171 <div class="miniview"></div> | 164 <div class="miniview"></div> |
172 </div> | 165 </div> |
173 | 166 |
174 <!-- TODO(aa): Remove this -- we don't use it anymore. --> | 167 <!-- TODO(aa): Remove this -- we don't use it anymore. --> |
175 <div id="debug" class="section disabled" section="DEBUG"> | 168 <div id="debug" class="section disabled" section="DEBUG"> |
176 <h2><span>Debug</span></h2> | 169 <h2><span>Debug</span></h2> |
177 <div id="apps-launch-control"> | 170 <div id="apps-launch-control"> |
178 Open apps in:<label | 171 Open apps in:<label |
179 ><input type="radio" name="launch-container-type" value="" | 172 ><input type="radio" name="launch-container-type" value="" |
180 checked="true">Default</label | 173 checked="true">Default</label |
181 ><input type="radio" name="launch-container-type" value="tab" | 174 ><input type="radio" name="launch-container-type" value="tab" |
182 >Tab</label | 175 >Tab</label |
183 ><label><input type="radio" name="launch-container-type" value="window" | 176 ><label><input type="radio" name="launch-container-type" value="window" |
184 >Window</label | 177 >Window</label |
185 ><label><input type="radio" name="launch-container-type" value="panel" | 178 ><label><input type="radio" name="launch-container-type" value="panel" |
186 >Panel</label> | 179 >Panel</label> |
187 </div> | 180 </div> |
188 </div> | 181 </div> |
189 </div> | |
190 | 182 |
191 <div id="sync-status"> | 183 <div id="sync-status" class="section disabled"> |
192 <h2></h2> | 184 <div> |
193 <span></span> | 185 <h3></h3> |
| 186 <span></span> |
| 187 </div> |
| 188 </div> |
194 </div> | 189 </div> |
195 | 190 |
196 <div id="attribution" class="attribution"> | 191 <div id="attribution" class="attribution"> |
197 <div i18n-content="attributionintro"></div> | 192 <div i18n-content="attributionintro"></div> |
198 <img id="attribution-img"> | 193 <img id="attribution-img"> |
199 </div> | 194 </div> |
200 | |
201 </div> <!-- main --> | 195 </div> <!-- main --> |
202 | 196 |
203 <div class="window-menu" id="window-tooltip"></div> | 197 <div class="window-menu" id="window-tooltip"></div> |
204 | 198 |
205 </body> | 199 </body> |
206 | 200 |
207 <script src="shared/js/i18n_template.js"></script> | 201 <script src="shared/js/i18n_template.js"></script> |
208 <script> | 202 <script> |
209 i18nTemplate.process(document, templateData); | 203 i18nTemplate.process(document, templateData); |
210 </script> | 204 </script> |
211 <script src="shared/js/local_strings.js"></script> | 205 <script src="shared/js/local_strings.js"></script> |
212 <script src="shared/js/class_list.js"></script> | 206 <script src="shared/js/class_list.js"></script> |
213 <script src="shared/js/parse_html_subset.js"></script> | 207 <script src="shared/js/parse_html_subset.js"></script> |
214 <script src="ntp/util.js"></script> | 208 <script src="ntp/util.js"></script> |
215 <script src="ntp/most_visited.js"></script> | 209 <script src="ntp/most_visited.js"></script> |
216 <script src="new_new_tab.js"></script> | 210 <script src="new_new_tab.js"></script> |
217 <script src="ntp/apps.js"></script> | 211 <script src="ntp/apps.js"></script> |
218 | 212 |
219 <script> | 213 <script> |
220 updateSimpleSection('apps-section', Section.APPS); | 214 updateSimpleSection('apps', Section.APPS); |
221 updateSimpleSection('most-visited-section', Section.THUMB); | 215 updateSimpleSection('most-visited', Section.THUMB); |
222 updateSimpleSection('recently-closed', Section.RECENT); | 216 updateSimpleSection('recently-closed', Section.RECENT); |
223 updateSimpleSection('debug', Section.DEBUG); | 217 updateSimpleSection('debug', Section.DEBUG); |
224 | 218 |
225 layoutSections(); | 219 layoutSections(); |
226 </script> | 220 </script> |
227 </html> | 221 </html> |
OLD | NEW |