OLD | NEW |
---|---|
1 <link href="chrome://resources/polymer/v1_0/polymer/polymer.html" rel="import"> | 1 <link href="chrome://resources/polymer/v1_0/polymer/polymer.html" rel="import"> |
2 <link href="chrome://resources/polymer/v1_0/paper-material/paper-material.html" rel="import"> | 2 <link href="chrome://resources/polymer/v1_0/paper-material/paper-material.html" rel="import"> |
3 <link href="chrome://resources/polymer/v1_0/paper-button/paper-button.html" rel= "import"> | 3 <link href="chrome://resources/polymer/v1_0/paper-button/paper-button.html" rel= "import"> |
4 <link href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button. html" rel="import"> | 4 <link href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button. html" rel="import"> |
5 <link href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html" rel="impor t"> | 5 <link href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html" rel="impor t"> |
6 <link href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.html" rel="imp ort"> | 6 <link href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.html" rel="imp ort"> |
7 <link href="chrome://resources/polymer/v1_0/iron-icons/notification-icons.html" rel="import"> | 7 <link href="chrome://resources/polymer/v1_0/iron-icons/notification-icons.html" rel="import"> |
8 <link href="device-list.html" rel="import"> | 8 <link href="device-list.html" rel="import"> |
9 | 9 |
10 <dom-module id="local-state"> | 10 <dom-module id="local-state"> |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
62 | 62 |
63 <template> | 63 <template> |
64 <div id="card-row" class="layout horizontal"> | 64 <div id="card-row" class="layout horizontal"> |
65 | 65 |
66 <!-- CryptAuth Enrollment Info Card --> | 66 <!-- CryptAuth Enrollment Info Card --> |
67 <paper-material id="enrollment-card" class="layout vertical flex"> | 67 <paper-material id="enrollment-card" class="layout vertical flex"> |
68 <div class="layout horizontal"> | 68 <div class="layout horizontal"> |
69 <div class="card-content layout vertical flex"> | 69 <div class="card-content layout vertical flex"> |
70 <div class="card-title">Enrollment</div> | 70 <div class="card-title">Enrollment</div> |
71 <div class="card-subtitle"> | 71 <div class="card-subtitle"> |
72 <span>[[ | 72 <span>[[getLastSyncTimeString_(enrollmentState_, "Never enrolled") ]]</span> |
Dan Beam
2015/11/23 22:19:46
michaelpg@: i did grep, but as Polymer itself can
| |
73 getLastSyncTimeString_(enrollmentState_, "Never enrolled") | |
74 ]]</span> | |
75 </div> | 73 </div> |
76 <div class="next-refresh layout horizontal center flex"> | 74 <div class="next-refresh layout horizontal center flex"> |
77 <iron-icon class="next-sync-icon" | 75 <iron-icon class="next-sync-icon" |
78 icon="[[getNextSyncIcon_(enrollmentState_)]]"> | 76 icon="[[getNextSyncIcon_(enrollmentState_)]]"> |
79 </iron-icon> | 77 </iron-icon> |
80 <span>[[getNextEnrollmentString_(enrollmentState_)]]</span> | 78 <span>[[getNextEnrollmentString_(enrollmentState_)]]</span> |
81 </div> | 79 </div> |
82 </div> | 80 </div> |
83 <iron-icon class="card-icon" | 81 <iron-icon class="card-icon" |
84 icon="[[getIconForSuccess_(enrollmentState_)]]" | 82 icon="[[getIconForSuccess_(enrollmentState_)]]" |
(...skipping 30 matching lines...) Expand all Loading... | |
115 <paper-button class="self-start" on-click="forceDeviceSync_"> | 113 <paper-button class="self-start" on-click="forceDeviceSync_"> |
116 Force Sync | 114 Force Sync |
117 </paper-button> | 115 </paper-button> |
118 </paper-material> | 116 </paper-material> |
119 </div> | 117 </div> |
120 | 118 |
121 <device-list label="Unlock Keys" devices="[[unlockKeys_]]"></device-list> | 119 <device-list label="Unlock Keys" devices="[[unlockKeys_]]"></device-list> |
122 </template> | 120 </template> |
123 <script src="local-state.js"></script> | 121 <script src="local-state.js"></script> |
124 </local-state> | 122 </local-state> |
OLD | NEW |