Blame view
templates/cardlist.html
4.26 KB
362cfb056
|
1 2 3 |
<body> <div class="row"> <a class="btn" id="showHidden" ng-click="show = !show" style="margin-top: 15px">Show Hidden</a> |
ce21d0667
|
4 |
|
e52721a27
|
5 |
<div class="input-field col s6 right"> |
362cfb056
|
6 7 8 9 |
<i class="mdi-action-search prefix"></i> <input id="search" type="text" class="validate" ng-model="searchText"/> <label for="search">Search</label> </div> |
ce21d0667
|
10 |
</div> |
de7bd6a9b
|
11 |
|
362cfb056
|
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
<div class="row"> <form> <div class="col s12"> <div class="col s2"> <input type="checkbox" class="filled-in" id="weekOneCheck" ng-model="filter['week1']"/> <label for="weekOneCheck">Week One</label> </div> <div class="col s2"> <input type="checkbox" class="filled-in" id="weekTwoCheck" ng-model="filter['week2']"/> <label for="weekTwoCheck">Week Two</label> </div> <div class="col s2"> <input type="checkbox" class="filled-in" id="weekThreeCheck" ng-model="filter['week3']"/> <label for="weekThreeCheck">Week Three</label> </div> <div class="col s2"> <input type="checkbox" class="filled-in" id="weekFourCheck" ng-model="filter['week4']"/> <label for="weekFourCheck">Week Four</label> </div> <div class="col s2"> <input type="checkbox" class="filled-in" id="weekFiveCheck" ng-model="filter['week5']"/> <label for="weekFiveCheck">Week Five</label> </div> |
de7bd6a9b
|
35 |
</div> |
362cfb056
|
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
<div class="col s12"> <div class="col s2"> <input type="checkbox" class="filled-in" id="weekSixCheck" ng-model="filter['week6']"/> <label for="weekSixCheck">Week Six</label> </div> <div class="col s2"> <input type="checkbox" class="filled-in" id="weekSevenCheck" ng-model="filter['week7']"/> <label for="weekSevenCheck">Week Seven</label> </div> <div class="col s2"> <input type="checkbox" class="filled-in" id="weekEightCheck" ng-model="filter['week8']"/> <label for="weekEightCheck">Week Eight</label> </div> <div class="col s2"> <input type="checkbox" class="filled-in" id="weekNineCheck" ng-model="filter['week9']"/> <label for="weekNineCheck">Week Nine</label> </div> <div class="col s2"> <input type="checkbox" class="filled-in" id="weekTenCheck" ng-model="filter['week10']"/> <label for="weekTenCheck">Week Ten</label> </div> |
de7bd6a9b
|
57 |
</div> |
362cfb056
|
58 59 |
</form> </div> |
54c942ddf
|
60 |
|
362cfb056
|
61 62 |
<div class="list" style="padding: 0px 15px"> <ul class="collection" |
ff334700c
|
63 |
ng-repeat="(weeknum, week_cards) in cards | filter:searchText | filter:filterByDate | groupBy: 'material_week_num' | orderBy:-material_week_num"> |
362cfb056
|
64 65 66 67 68 |
<li class="collection-header"><h3>Week {{weeknum}}</h3></li> <li class="collection-item" ng-click="expand = !expand" ng-repeat="card in week_cards" ng-show="show || !card.is_hidden"> <div>{{card.text}} <span class="badge">{{dayofweek(card)}}</span> <p class="right-align" ng-show="expand"> |
b81f6487c
|
69 70 71 72 73 74 75 76 |
<a href="" class="tooltipped" ng-click="pull(card)" ng-show="!card.is_in_deck" data-position="bottom" data-delay="50" data-tooltip="Add to Deck"> <i class="mdi-content-add-circle-outline small"></i></a> <a href="" class="tooltipped" ng-click="unpull(card)" ng-show="card.is_in_deck" data-position="bottom" data-delay="50" data-tooltip="Add to Deck"> <i class="mdi-content-remove-circle-outline small"></i></a> <a href="" class="tooltipped" ng-click="hide(card)" ng-show="!card.is_hidden" data-position="bottom" data-delay="50" data-tooltip="Hide"> <i class="mdi-action-visibility-off small"></i></a> <a href="" class="tooltipped" ng-click="unhide(card)" ng-show="card.is_hidden" data-position="bottom" data-delay="50" data-tooltip="Unhide"> <i class="mdi-action-visibility small"></i></a> |
e52721a27
|
77 |
<a href="" ng-click="flag(card)" data-position="bottom" data-delay="50" data-tooltip="Flag"> |
b81f6487c
|
78 |
<i class="mdi-content-flag small"></i></a> |
362cfb056
|
79 80 81 82 83 84 85 86 87 88 89 90 91 |
</p> </div> </li> </ul> </div> <div class="fixed-action-btn back-to-top" style="bottom: 45px; right: 24px; display: none;"> <a class="btn-floating btn-large"> <i class="mdi-editor-publish medium"></i> </a> </div> </body> |