diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2017-12-21 15:54:36 -0500 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2017-12-21 15:54:36 -0500 |
| commit | 3a731c5d48218e403e025f3b91c69ffbb66a0203 (patch) | |
| tree | a1ebd0383fc1d1503e76398381025d871fd4b373 /www/templates | |
| parent | 1139ef589c666e80534177b4d6f0ab50c14b6c3d (diff) | |
#570 initial code for expand all and collapse all
Diffstat (limited to 'www/templates')
| -rw-r--r-- | www/templates/moment.html | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/www/templates/moment.html b/www/templates/moment.html index 081885b5..da321f16 100644 --- a/www/templates/moment.html +++ b/www/templates/moment.html @@ -44,6 +44,11 @@ </a> </li> <li> + <a href="" ng-click="toggleExpandOrCollapse()"> + <i ng-class="expand ? 'ion-arrow-expand':'ion-arrow-shrink'"></i> + </a> + </li> + <li> <a href="" ng-click="toggleIcons()"> <i ng-class="showIcons? 'ion-eye':'ion-eye-disabled'"></i> </a> @@ -95,8 +100,9 @@ <figcaption ng-if="showIcons" class="normal-subfigcaption"> <span style="float:right"> - <button class="button button-small button-icon icon {{moment.Event.pinnedIcon}}" ng-click="togglePin(moment.Event.Id)"></button> - </span> + + + <button ng-class="moment.Event.pinned? 'button button-small button-icon icon ion-pin assertive': 'button button-small button-icon icon ion-pin'" ng-click="togglePin(moment.Event.Id)"></button> </figcaption> <!--on-tap="showThumbnail(moment.Event.baseURL,moment.Event.MaxScoreFrameId)"--> <figcaption ng-if="showIcons" class="normal-figcaption"> {{moment.Event.humanizeTime}} |
