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

Side by Side Diff: chrome/browser/resources/settings/about_page/about_page.html

Issue 1950423003: MD Settings: Adding "About" page basic structure. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@about_page_route
Patch Set: Add GYP target. Created 4 years, 7 months 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
OLDNEW
(Empty)
1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://md-settings/settings_page/settings_section.htm l">
3 <link rel="import" href="chrome://md-settings/settings_shared_css.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
tommycli 2016/05/06 18:01:43 Do you also need to import main_page_behavior?
dpapad 2016/05/06 18:33:29 I looked into this. MainPageBehavior has methods r
tommycli 2016/05/06 18:50:20 I asked because you use main-page-styles below. If
dpapad 2016/05/06 19:01:31 Done.
5
6 <dom-module id="settings-about-page">
7 <link rel="import" type="css" href="chrome://md-settings/settings_page.css">
8 <template>
9 <style include="settings-shared"></style>
10 <style include="main-page-styles">
11 .logo-container {
tommycli 2016/05/06 18:01:43 Which is the element with the logo-container class
dpapad 2016/05/06 18:33:29 Removed. That was a remainder from a previous stat
12 display: flex;
13 }
tommycli 2016/05/06 18:01:43 \n between entries in css
dpapad 2016/05/06 18:33:29 Done.
14 span {
15 font-size: 20px;
16 margin-top: auto;
17 margin-bottom: auto;
tommycli 2016/05/06 18:01:43 I assume these auto margins are to center? Does fl
dpapad 2016/05/06 18:33:29 Removed. You are right, align-items: center, works
18 }
19 img {
20 -webkit-margin-end: 10px;
21 }
22 </style>
23 <settings-section page-title="$i18n{aboutPageTitle}"
24 current-route="[[currentRoute]]" section="">
tommycli 2016/05/06 18:01:43 Since Michael rewrote settings-section animations,
tommycli 2016/05/06 18:01:43 Additionally, I'm not sure if current-route="[[cur
dpapad 2016/05/06 18:33:29 Removed section="" completely. Navigation still se
25 <div class="settings-box">
26 <img id="product-logo"
27 srcset="chrome://theme/current-channel-logo@1x 1x,
28 chrome://theme/current-channel-logo@2x 2x" alt="">
29 <span>$i18n{aboutProductTitle}</span>
30 </div>
31 <div class="settings-box two-line">
32 <!-- TODO(dpapad): Implement this. -->
33 <div class="start">
34 <div>Your device is up to date</div>
tommycli 2016/05/06 18:01:43 If there are mocks and these are the final English
dpapad 2016/05/06 18:33:29 The final string is a combination of dynamic and s
tommycli 2016/05/06 18:50:20 Ah that's fine then. I'm okay with localizing in s
35 <div class="secondary">Version Foo.bar.baz</div>
36 </div>
37 <paper-button class="secondary-action">Check for update</paper-button>
38 </div>
39 <div class="settings-box two-line">
40 <!-- TODO(dpapad): Implement this. -->
41 <div class="start">
42 <div>Get help with Chrome</div>
43 <div class="secondary">Open the Help Center</div>
44 </div>
45 </div>
46 <div class="settings-box">
47 <!-- TODO(dpapad): Implement this. -->
48 Report an issue
49 </div>
50 <div class="settings-box">
51 <!-- TODO(dpapad): Implement this. -->
52 Other info here
53 </div>
54 </settings-section>
55 </template>
56 <script src="about_page.js"></script>
57 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698