Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: chrome/browser/resources/new_new_tab.html

Issue 394005: Add message and image to NTP to promote extensions and bookmark sync.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html i18n-values=" 2 <html i18n-values="
3 dir:textdirection; 3 dir:textdirection;
4 firstview:firstview; 4 firstview:firstview;
5 bookmarkbarattached:bookmarkbarattached; 5 bookmarkbarattached:bookmarkbarattached;
6 hasattribution:hasattribution; 6 hasattribution:hasattribution;
7 anim:anim; 7 anim:anim;
8 syncispresent:syncispresent; 8 syncispresent:syncispresent;
9 showsetashomepage:showsetashomepage"> 9 showsetashomepage:showsetashomepage">
10 10
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 165
166 function updateSimpleSection(id, section) { 166 function updateSimpleSection(id, section) {
167 $(id).style.display = shownSections & section ? '' : 'none'; 167 $(id).style.display = shownSections & section ? '' : 'none';
168 } 168 }
169 169
170 </script> 170 </script>
171 </head> 171 </head>
172 <body class="loading" 172 <body class="loading"
173 i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> 173 i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
174 174
175 <div id="bottom-right-promo">
arv (Not doing code reviews) 2009/11/16 17:47:48 can you put this after main like before?
Miranda Callahan 2009/11/16 22:10:54 I put it up here so it will be at the bottom of th
176 <a i18n-values="href:extensionslink">
177 <img src="chrome://theme/newtab_extensions_promo">
178 </a>
179 </div>
180
175 <div id="main"> 181 <div id="main">
176 182
177 <div id="view-toolbar" 183 <div id="view-toolbar"
178 ><input type=checkbox id="thumb-checkbox" checked 184 ><input type=checkbox id="thumb-checkbox" checked
179 i18n-values="title:showhidethumbnailtooltip" 185 i18n-values="title:showhidethumbnailtooltip"
180 ><input type=checkbox id="list-checkbox" 186 ><input type=checkbox id="list-checkbox"
181 i18n-values="title:showhidelisttooltip" 187 i18n-values="title:showhidelisttooltip"
182 ><input type="button" id="option-button" 188 ><input type="button" id="option-button"
183 i18n-values="title:pagedisplaytooltip"></div> 189 i18n-values="title:pagedisplaytooltip"></div>
184 190
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 </div> 268 </div>
263 269
264 <div id="tip-line"></div> 270 <div id="tip-line"></div>
265 <script>updateSimpleSection('tip-line', Section.TIPS);</script> 271 <script>updateSimpleSection('tip-line', Section.TIPS);</script>
266 272
267 <div id="attribution" class="attribution"> 273 <div id="attribution" class="attribution">
268 <div i18n-content="attributionintro"></div> 274 <div i18n-content="attributionintro"></div>
269 <img id="attribution-img"> 275 <img id="attribution-img">
270 </div> 276 </div>
271 277
278 <div id="footer">
279 <div id="promo-line">
280 <span id="promo-new" i18n-content="promonew"></span>
281 <span i18n-values=".innerHTML:promomessage"></span>
282 <button id="promo-close">
283 </div>
284 </div>
285
272 </div> <!-- main --> 286 </div> <!-- main -->
273 287
274 <div id="themes-promo">
275 <a i18n-values="href:themelink">
276 <img src="ntp_themes_promo.png">
277 </a>
278 </div>
279
280 <div class="window-menu" id="window-tooltip"></div> 288 <div class="window-menu" id="window-tooltip"></div>
281 289
282 </body> 290 </body>
283 <script src="i18n_template.js"></script> 291 <script src="i18n_template.js"></script>
284 <script src="local_strings.js"></script> 292 <script src="local_strings.js"></script>
285 <script src="new_new_tab.js"></script> 293 <script src="new_new_tab.js"></script>
286 </html> 294 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698