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

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

Issue 2007733002: MD Settings: About page, display product info. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove top margin. 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/settings/about_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="chrome://resources/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://md-settings/about_page/about_page_browser_prox y.html"> 2 <link rel="import" href="chrome://md-settings/about_page/about_page_browser_prox y.html">
3 <link rel="import" href="chrome://md-settings/i18n_setup.html"> 3 <link rel="import" href="chrome://md-settings/i18n_setup.html">
4 <link rel="import" href="chrome://md-settings/icons.html"> 4 <link rel="import" href="chrome://md-settings/icons.html">
5 <link rel="import" href="chrome://md-settings/settings_page/main_page_behavior.h tml"> 5 <link rel="import" href="chrome://md-settings/settings_page/main_page_behavior.h tml">
6 <link rel="import" href="chrome://md-settings/settings_page/settings_animated_pa ges.html"> 6 <link rel="import" href="chrome://md-settings/settings_page/settings_animated_pa ges.html">
7 <link rel="import" href="chrome://md-settings/settings_page/settings_section.htm l"> 7 <link rel="import" href="chrome://md-settings/settings_page/settings_section.htm l">
8 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> 8 <link rel="import" href="chrome://md-settings/settings_shared_css.html">
9 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 9 <link rel="import" href="chrome://resources/cr_elements/icons.html">
10 <link rel="import" href="chrome://resources/html/assert.html"> 10 <link rel="import" href="chrome://resources/html/assert.html">
(...skipping 26 matching lines...) Expand all
37 -webkit-margin-end: var(--iron-icon-spacing); 37 -webkit-margin-end: var(--iron-icon-spacing);
38 } 38 }
39 39
40 iron-icon[icon="settings:check-circle"] { 40 iron-icon[icon="settings:check-circle"] {
41 fill: var(--paper-blue-600); 41 fill: var(--paper-blue-600);
42 } 42 }
43 43
44 iron-icon[icon="settings:error"] { 44 iron-icon[icon="settings:error"] {
45 fill: var(--paper-red-600); 45 fill: var(--paper-red-600);
46 } 46 }
47
48 .product-info {
49 display: block;
50 padding-bottom: 10px;
51 padding-top: 10px;
52 }
53
54 .info-section {
55 margin-bottom: 12px;
56 }
47 </style> 57 </style>
48 <settings-section page-title="$i18n{aboutPageTitle}" 58 <settings-section page-title="$i18n{aboutPageTitle}"
49 current-route="[[currentRoute]]" section="about"> 59 current-route="[[currentRoute]]" section="about">
50 <settings-animated-pages id="pages" current-route="{{currentRoute}}" 60 <settings-animated-pages id="pages" current-route="{{currentRoute}}"
51 section="about"> 61 section="about">
52 <neon-animatable id="main"> 62 <neon-animatable id="main">
53 <div class="settings-box"> 63 <div class="settings-box">
54 <img id="product-logo" 64 <img id="product-logo"
55 srcset="chrome://theme/current-channel-logo@1x 1x, 65 srcset="chrome://theme/current-channel-logo@1x 1x,
56 chrome://theme/current-channel-logo@2x 2x" alt=""> 66 chrome://theme/current-channel-logo@2x 2x" alt="">
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 <div id="reportIssue" class="settings-box" on-tap="onReportIssueTap_"> 104 <div id="reportIssue" class="settings-box" on-tap="onReportIssueTap_">
95 $i18n{aboutReportAnIssue} 105 $i18n{aboutReportAnIssue}
96 </div> 106 </div>
97 </if> 107 </if>
98 <if expr="chromeos"> 108 <if expr="chromeos">
99 <div class="settings-box" on-tap="onDetailedBuildInfoTap_"> 109 <div class="settings-box" on-tap="onDetailedBuildInfoTap_">
100 <!-- TODO(dpapad): Localize string. --> 110 <!-- TODO(dpapad): Localize string. -->
101 Detailed build info 111 Detailed build info
102 </div> 112 </div>
103 </if> 113 </if>
114 <div class="settings-box product-info">
115 <div class="info-section">
116 <div class="secondary">$i18n{aboutProductTitle}</div>
117 <div class="secondary">$i18n{aboutProductCopyright}</div>
118 </div>
119
120 <div class="info-section">
121 <div class="secondary">$i18nRaw{aboutProductLicense}</div>
122 <if expr="chromeos">
123 <div class="secondary">$i18nRaw{aboutProductOsLicense}</div>
124 </if>
125 </div>
126 <if expr="_google_chrome">
127 <div class="secondary">$i18nRaw{aboutProductTos}</div>
128 </if>
129 </div>
104 </neon-animatable> 130 </neon-animatable>
105 <if expr="chromeos"> 131 <if expr="chromeos">
106 <template is="dom-if" name="detailed-build-info"> 132 <template is="dom-if" name="detailed-build-info">
107 <settings-subpage page-title="Detailed build information"> 133 <settings-subpage page-title="Detailed build information">
108 <settings-detailed-build-info></settings-detailed-build-info> 134 <settings-detailed-build-info></settings-detailed-build-info>
109 </settings-subpage> 135 </settings-subpage>
110 </template> 136 </template>
111 </if> 137 </if>
112 </settings-animated-pages> 138 </settings-animated-pages>
113 </settings-section> 139 </settings-section>
114 </template> 140 </template>
115 <script src="about_page.js"></script> 141 <script src="about_page.js"></script>
116 </dom-module> 142 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/settings/about_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698