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

Side by Side Diff: chrome/browser/resources/md_history/app.vulcanized.html

Issue 2570253002: [MD History] Fix toolbar dates in grouped mode. (Closed)
Patch Set: Created 4 years 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
1 <html><head><!-- 1 <html><head><!--
2 @license 2 @license
3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. 3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also 7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 --><!-- 9 --><!--
10 @license 10 @license
(...skipping 2459 matching lines...) Expand 10 before | Expand all | Expand 10 after
2470 </div> 2470 </div>
2471 <template is="dom-if" if="[[isGroupedMode]]"> 2471 <template is="dom-if" if="[[isGroupedMode]]">
2472 <div id="grouped-buttons-container"> 2472 <div id="grouped-buttons-container">
2473 <paper-tabs attr-for-selected="value" selected="{{groupedRange}}"> 2473 <paper-tabs attr-for-selected="value" selected="{{groupedRange}}">
2474 <paper-tab value="0">$i18n{rangeAllTime}</paper-tab> 2474 <paper-tab value="0">$i18n{rangeAllTime}</paper-tab>
2475 <paper-tab value="1">$i18n{rangeWeek}</paper-tab> 2475 <paper-tab value="1">$i18n{rangeWeek}</paper-tab>
2476 <paper-tab value="2">$i18n{rangeMonth}</paper-tab> 2476 <paper-tab value="2">$i18n{rangeMonth}</paper-tab>
2477 </paper-tabs> 2477 </paper-tabs>
2478 <div id="grouped-nav-container"> 2478 <div id="grouped-nav-container">
2479 <span id="grouped-date"> 2479 <span id="grouped-date">
2480 {{getHistoryInterval_(queryStartTime, queryEndTime)}} 2480 {{getHistoryInterval_(queryInfo)}}
2481 </span> 2481 </span>
2482 <button is="paper-icon-button-light" id="today-button" class="icon-but ton" title="$i18n{rangeToday}" on-tap="onTodayTap_" disabled="[[isToday_(grouped Offset)]]"> 2482 <button is="paper-icon-button-light" id="today-button" class="icon-but ton" title="$i18n{rangeToday}" on-tap="onTodayTap_" disabled="[[isToday_(grouped Offset)]]">
2483 <iron-icon icon="history:today"></iron-icon> 2483 <iron-icon icon="history:today"></iron-icon>
2484 </button> 2484 </button>
2485 <button is="paper-icon-button-light" id="prev-button" title="$i18n{ran gePrevious}" class="icon-button rtl-reversible" on-tap="onPrevTap_" disabled="[[ !hasMoreResults]]"> 2485 <button is="paper-icon-button-light" id="prev-button" title="$i18n{ran gePrevious}" class="icon-button rtl-reversible" on-tap="onPrevTap_" disabled="[[ !hasMoreResults]]">
2486 <iron-icon icon="history:chevron-left"></iron-icon> 2486 <iron-icon icon="history:chevron-left"></iron-icon>
2487 </button> 2487 </button>
2488 <button is="paper-icon-button-light" id="next-button" title="$i18n{ran geNext}" class="icon-button rtl-reversible" on-tap="onNextTap_" disabled="[[isTo day_(groupedOffset)]]"> 2488 <button is="paper-icon-button-light" id="next-button" title="$i18n{ran geNext}" class="icon-button rtl-reversible" on-tap="onNextTap_" disabled="[[isTo day_(groupedOffset)]]">
2489 <iron-icon icon="cr:chevron-right"></iron-icon> 2489 <iron-icon icon="cr:chevron-right"></iron-icon>
2490 </button> 2490 </button>
(...skipping 1246 matching lines...) Expand 10 before | Expand all | Expand 10 after
3737 transition: opacity 500ms; 3737 transition: opacity 500ms;
3738 } 3738 }
3739 3739
3740 :host([toolbar-shadow_]) #drop-shadow { 3740 :host([toolbar-shadow_]) #drop-shadow {
3741 opacity: 1; 3741 opacity: 1;
3742 } 3742 }
3743 3743
3744 </style> 3744 </style>
3745 <history-router selected-page="{{selectedPage_}}" query-state="{{queryState_ }}"> 3745 <history-router selected-page="{{selectedPage_}}" query-state="{{queryState_ }}">
3746 </history-router> 3746 </history-router>
3747 <history-toolbar id="toolbar" grouped-offset="{{queryState_.groupedOffset}}" grouped-range="{{queryState_.range}}" has-drawer="[[hasDrawer_]]" is-grouped-mo de="{{grouped_}}" query-end-time="[[queryResult_.info.queryEndTime]]" has-more-r esults="[[!queryResult_.info.finished]]" query-start-time="[[queryResult_.info.q ueryStartTime]]" querying="[[queryState_.querying]]" search-term="{{queryState_. searchTerm}}" show-menu-promo="[[showMenuPromo_]]" show-sync-notice="[[showSyncN otice_(hasSyncedResults, selectedPage_)]]" spinner-active="[[shouldShowSpinner_( queryState_.querying, 3747 <history-toolbar id="toolbar" grouped-offset="{{queryState_.groupedOffset}}" grouped-range="{{queryState_.range}}" has-drawer="[[hasDrawer_]]" has-more-resu lts="[[!queryResult_.info.finished]]" is-grouped-mode="{{grouped_}}" query-info= "[[queryResult_.info]]" querying="[[queryState_.querying]]" search-term="{{query State_.searchTerm}}" show-menu-promo="[[showMenuPromo_]]" show-sync-notice="[[sh owSyncNotice_(hasSyncedResults, selectedPage_)]]" spinner-active="[[shouldShowSp inner_(queryState_.querying,
3748 queryState_.incremental, 3748 queryState_.incremental,
3749 queryState_.searchTerm)]]"> 3749 queryState_.searchTerm)]]">
3750 </history-toolbar> 3750 </history-toolbar>
3751 3751
3752 <div id="main-container"> 3752 <div id="main-container">
3753 <history-side-bar id="content-side-bar" selected-page="{{selectedPage_}}" show-footer="[[showSidebarFooter]]" hidden$="[[hasDrawer_]]"> 3753 <history-side-bar id="content-side-bar" selected-page="{{selectedPage_}}" show-footer="[[showSidebarFooter]]" hidden$="[[hasDrawer_]]">
3754 </history-side-bar> 3754 </history-side-bar>
3755 <iron-pages id="content" attr-for-selected="path" fallback-selection="hist ory" selected="[[getSelectedPage_(selectedPage_, items)]]" items="{{items}}"> 3755 <iron-pages id="content" attr-for-selected="path" fallback-selection="hist ory" selected="[[getSelectedPage_(selectedPage_, items)]]" items="{{items}}">
3756 <history-list-container id="history" query-state="{{queryState_}}" query -result="[[queryResult_]]" grouped="[[grouped_]]" grouped-range="{{queryState_.r ange}}" path="history"> 3756 <history-list-container id="history" query-state="{{queryState_}}" query -result="[[queryResult_]]" grouped="[[grouped_]]" grouped-range="{{queryState_.r ange}}" path="history">
3757 </history-list-container> 3757 </history-list-container>
(...skipping 13 matching lines...) Expand all
3771 <history-side-bar id="drawer-side-bar" selected-page="{{selectedPage_}}" show-footer="[[showSidebarFooter]]" drawer=""> 3771 <history-side-bar id="drawer-side-bar" selected-page="{{selectedPage_}}" show-footer="[[showSidebarFooter]]" drawer="">
3772 </history-side-bar> 3772 </history-side-bar>
3773 </app-drawer> 3773 </app-drawer>
3774 </template> 3774 </template>
3775 3775
3776 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" > 3776 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" >
3777 </iron-media-query> 3777 </iron-media-query>
3778 </template> 3778 </template>
3779 </dom-module> 3779 </dom-module>
3780 <script src="app.crisper.js"></script></body></html> 3780 <script src="app.crisper.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698