OLD | NEW |
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 2447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2458 </div> | 2458 </div> |
2459 <template is="dom-if" if="[[isGroupedMode]]"> | 2459 <template is="dom-if" if="[[isGroupedMode]]"> |
2460 <div id="grouped-buttons-container"> | 2460 <div id="grouped-buttons-container"> |
2461 <paper-tabs attr-for-selected="value" selected="{{groupedRange}}"> | 2461 <paper-tabs attr-for-selected="value" selected="{{groupedRange}}"> |
2462 <paper-tab value="0">$i18n{rangeAllTime}</paper-tab> | 2462 <paper-tab value="0">$i18n{rangeAllTime}</paper-tab> |
2463 <paper-tab value="1">$i18n{rangeWeek}</paper-tab> | 2463 <paper-tab value="1">$i18n{rangeWeek}</paper-tab> |
2464 <paper-tab value="2">$i18n{rangeMonth}</paper-tab> | 2464 <paper-tab value="2">$i18n{rangeMonth}</paper-tab> |
2465 </paper-tabs> | 2465 </paper-tabs> |
2466 <div id="grouped-nav-container"> | 2466 <div id="grouped-nav-container"> |
2467 <span id="grouped-date"> | 2467 <span id="grouped-date"> |
2468 {{getHistoryInterval_(queryStartTime, queryEndTime)}} | 2468 [[getHistoryInterval_(queryInfo)]] |
2469 </span> | 2469 </span> |
2470 <button is="paper-icon-button-light" id="today-button" class="icon-but
ton" title="$i18n{rangeToday}" on-tap="onTodayTap_" disabled="[[isToday_(grouped
Offset)]]"> | 2470 <button is="paper-icon-button-light" id="today-button" class="icon-but
ton" title="$i18n{rangeToday}" on-tap="onTodayTap_" disabled="[[isToday_(grouped
Offset)]]"> |
2471 <iron-icon icon="history:today"></iron-icon> | 2471 <iron-icon icon="history:today"></iron-icon> |
2472 </button> | 2472 </button> |
2473 <button is="paper-icon-button-light" id="prev-button" title="$i18n{ran
gePrevious}" class="icon-button rtl-reversible" on-tap="onPrevTap_" disabled="[[
!hasMoreResults]]"> | 2473 <button is="paper-icon-button-light" id="prev-button" title="$i18n{ran
gePrevious}" class="icon-button rtl-reversible" on-tap="onPrevTap_" disabled="[[
!hasMoreResults]]"> |
2474 <iron-icon icon="history:chevron-left"></iron-icon> | 2474 <iron-icon icon="history:chevron-left"></iron-icon> |
2475 </button> | 2475 </button> |
2476 <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)]]"> | 2476 <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)]]"> |
2477 <iron-icon icon="cr:chevron-right"></iron-icon> | 2477 <iron-icon icon="cr:chevron-right"></iron-icon> |
2478 </button> | 2478 </button> |
(...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3317 | 3317 |
3318 dialog .body { | 3318 dialog .body { |
3319 white-space: pre-wrap; | 3319 white-space: pre-wrap; |
3320 } | 3320 } |
3321 | 3321 |
3322 </style> | 3322 </style> |
3323 <iron-pages id="content" attr-for-selected="id" selected="[[selectedPage_]]"
fallback-selection="infinite-list"> | 3323 <iron-pages id="content" attr-for-selected="id" selected="[[selectedPage_]]"
fallback-selection="infinite-list"> |
3324 <history-list id="infinite-list" querying="[[queryState.querying]]" search
ed-term="[[queryResult.info.term]]"> | 3324 <history-list id="infinite-list" querying="[[queryState.querying]]" search
ed-term="[[queryResult.info.term]]"> |
3325 </history-list> | 3325 </history-list> |
3326 <template is="dom-if" if="[[grouped]]"> | 3326 <template is="dom-if" if="[[grouped]]"> |
3327 <history-grouped-list id="grouped-list" range="[[groupedRange]]" query-s
tart-time="[[queryResult.info.queryStartTime]]" query-end-time="[[queryResult.in
fo.queryEndTime]]" searched-term="[[queryResult.info.term]]"> | 3327 <history-grouped-list id="grouped-list" range="[[groupedRange]]" query-i
nterval="[[queryResult.info.queryInterval]]" searched-term="[[queryResult.info.t
erm]]"> |
3328 </history-grouped-list> | 3328 </history-grouped-list> |
3329 </template> | 3329 </template> |
3330 </iron-pages> | 3330 </iron-pages> |
3331 | 3331 |
3332 <template is="cr-lazy-render" id="dialog"> | 3332 <template is="cr-lazy-render" id="dialog"> |
3333 <dialog is="cr-dialog"> | 3333 <dialog is="cr-dialog"> |
3334 <div class="title">$i18n{removeSelected}</div> | 3334 <div class="title">$i18n{removeSelected}</div> |
3335 <div class="body">$i18n{deleteWarning}</div> | 3335 <div class="body">$i18n{deleteWarning}</div> |
3336 <div class="button-container"> | 3336 <div class="button-container"> |
3337 <paper-button class="cancel-button" on-tap="onDialogCancelTap_"> | 3337 <paper-button class="cancel-button" on-tap="onDialogCancelTap_"> |
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3746 transition: opacity 500ms; | 3746 transition: opacity 500ms; |
3747 } | 3747 } |
3748 | 3748 |
3749 :host([toolbar-shadow_]) #drop-shadow { | 3749 :host([toolbar-shadow_]) #drop-shadow { |
3750 opacity: 1; | 3750 opacity: 1; |
3751 } | 3751 } |
3752 | 3752 |
3753 </style> | 3753 </style> |
3754 <history-router selected-page="{{selectedPage_}}" query-state="{{queryState_
}}"> | 3754 <history-router selected-page="{{selectedPage_}}" query-state="{{queryState_
}}"> |
3755 </history-router> | 3755 </history-router> |
3756 <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, | 3756 <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, |
3757 queryState_.incremental, | 3757 queryState_.incremental, |
3758 queryState_.searchTerm)]]"> | 3758 queryState_.searchTerm)]]"> |
3759 </history-toolbar> | 3759 </history-toolbar> |
3760 | 3760 |
3761 <div id="main-container"> | 3761 <div id="main-container"> |
3762 <history-side-bar id="content-side-bar" selected-page="{{selectedPage_}}"
show-footer="[[showSidebarFooter]]" hidden$="[[hasDrawer_]]"> | 3762 <history-side-bar id="content-side-bar" selected-page="{{selectedPage_}}"
show-footer="[[showSidebarFooter]]" hidden$="[[hasDrawer_]]"> |
3763 </history-side-bar> | 3763 </history-side-bar> |
3764 <iron-pages id="content" attr-for-selected="path" fallback-selection="hist
ory" selected="[[getSelectedPage_(selectedPage_, items)]]" items="{{items}}"> | 3764 <iron-pages id="content" attr-for-selected="path" fallback-selection="hist
ory" selected="[[getSelectedPage_(selectedPage_, items)]]" items="{{items}}"> |
3765 <history-list-container id="history" query-state="{{queryState_}}" query
-result="[[queryResult_]]" grouped="[[grouped_]]" grouped-range="{{queryState_.r
ange}}" path="history"> | 3765 <history-list-container id="history" query-state="{{queryState_}}" query
-result="[[queryResult_]]" grouped="[[grouped_]]" grouped-range="{{queryState_.r
ange}}" path="history"> |
3766 </history-list-container> | 3766 </history-list-container> |
(...skipping 11 matching lines...) Expand all Loading... |
3778 <history-side-bar id="drawer-side-bar" class="drawer-content" selected-p
age="{{selectedPage_}}" show-footer="[[showSidebarFooter]]"> | 3778 <history-side-bar id="drawer-side-bar" class="drawer-content" selected-p
age="{{selectedPage_}}" show-footer="[[showSidebarFooter]]"> |
3779 </history-side-bar> | 3779 </history-side-bar> |
3780 </dialog> | 3780 </dialog> |
3781 </template> | 3781 </template> |
3782 | 3782 |
3783 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}"
> | 3783 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}"
> |
3784 </iron-media-query> | 3784 </iron-media-query> |
3785 </template> | 3785 </template> |
3786 </dom-module> | 3786 </dom-module> |
3787 <script src="app.crisper.js"></script></body></html> | 3787 <script src="app.crisper.js"></script></body></html> |
OLD | NEW |