OLD | NEW |
---|---|
1 <link rel="import" href="chrome://resources/html/cr.html"> | 1 <link rel="import" href="chrome://resources/html/cr.html"> |
2 <link rel="import" href="chrome://resources/html/polymer.html"> | 2 <link rel="import" href="chrome://resources/html/polymer.html"> |
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html"> |
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h tml"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h tml"> |
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch eckbox.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch eckbox.html"> |
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> |
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html "> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html "> |
8 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable-behavior.html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani matable-behavior.html"> |
9 <link rel="import" href="chrome://extensions/animation_helper.html"> | 9 <link rel="import" href="chrome://extensions/animation_helper.html"> |
10 <link rel="import" href="chrome://extensions/item_source.html"> | 10 <link rel="import" href="chrome://extensions/item_source.html"> |
11 | 11 |
12 <dom-module id="extensions-detail-view"> | 12 <dom-module id="extensions-detail-view"> |
13 <style include="iron-flex"></style> | 13 <style include="iron-flex"></style> |
14 <template> | 14 <template> |
15 <style> | 15 <style> |
16 [hidden] { | |
17 display: none !important; | |
18 } | |
16 #main { | 19 #main { |
17 background-color: white; | 20 background-color: white; |
18 height: 800px; | 21 height: 800px; |
19 width: 90%; | 22 width: 90%; |
20 } | 23 } |
21 #top-bar { | 24 #top-bar { |
22 align-items: center; | 25 align-items: center; |
23 color: var(--paper-grey-600); | 26 color: var(--paper-grey-600); |
24 display: flex; | 27 display: flex; |
25 height: 40px; | 28 height: 40px; |
(...skipping 26 matching lines...) Expand all Loading... | |
52 --primary-text-color: var(--paper-grey-800); | 55 --primary-text-color: var(--paper-grey-800); |
53 } | 56 } |
54 ul { | 57 ul { |
55 -webkit-padding-start: 20px; | 58 -webkit-padding-start: 20px; |
56 margin: 0; | 59 margin: 0; |
57 } | 60 } |
58 </style> | 61 </style> |
59 <div id="main"> | 62 <div id="main"> |
60 <div id="top-bar"> | 63 <div id="top-bar"> |
61 <paper-icon-button id="close-button" icon="arrow-back" | 64 <paper-icon-button id="close-button" icon="arrow-back" |
62 on-click="onCloseButtonClick_"></paper-icon-button> | 65 on-click="onCloseButtonClick_"></paper-icon-button> |
michaelpg
2016/09/15 02:13:46
on-tap
Devlin
2016/09/15 16:42:17
Done.
| |
63 <span id="name">[[data.name]]</span> | 66 <span id="name">[[data.name]]</span> |
64 <paper-icon-button id="open-in-webstore" icon="open-in-new"> | 67 <paper-icon-button id="open-in-webstore" icon="open-in-new"> |
65 </paper-icon-button> | 68 </paper-icon-button> |
66 <paper-icon-button id="options" icon="settings"> | 69 <paper-icon-button id="options" icon="settings" |
70 on-click="onOptionsButtonClick_" | |
michaelpg
2016/09/15 02:13:46
on-tap
Devlin
2016/09/15 16:42:17
Done.
| |
71 hidden$="[[!shouldShowOptionsButton_(data.*)]]"> | |
67 </paper-icon-button> | 72 </paper-icon-button> |
68 </div> | 73 </div> |
69 <div class="section"> | 74 <div class="section"> |
70 <div class="section-title">$i18n{itemDescriptionLabel}</div> | 75 <div class="section-title">$i18n{itemDescriptionLabel}</div> |
71 <div class="section-content">[[data.description]]</div> | 76 <div class="section-content">[[data.description]]</div> |
72 </div> | 77 </div> |
73 <div class="section"> | 78 <div class="section"> |
74 <div class="section-title">$i18n{itemVersion}</div> | 79 <div class="section-title">$i18n{itemVersion}</div> |
75 <div class="section-content">[[data.version]]</div> | 80 <div class="section-content">[[data.version]]</div> |
76 </div> | 81 </div> |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
137 <div class="section"> | 142 <div class="section"> |
138 <div class="section-title">$i18n{itemSource}</div> | 143 <div class="section-title">$i18n{itemSource}</div> |
139 <div class="section-content"> | 144 <div class="section-content"> |
140 [[computeSourceString_(data.*)]] | 145 [[computeSourceString_(data.*)]] |
141 </div> | 146 </div> |
142 </div> | 147 </div> |
143 </div> | 148 </div> |
144 </template> | 149 </template> |
145 <script src="chrome://extensions/detail_view.js"></script> | 150 <script src="chrome://extensions/detail_view.js"></script> |
146 </dom-module> | 151 </dom-module> |
OLD | NEW |