Commit 2682024b9d461e3e3b6ef0bb8815d727494cea8f

Authored by Andrew Buss
1 parent c53df82b50

fix no-cards message

Showing 1 changed file with 1 additions and 1 deletions Inline Diff

templates/feed.html View file @ 2682024
1 1
<div class="row"> 2 2 <div class="row">
<div ng-repeat="card in cards"> 3 3 <div ng-repeat="card in cards">
<flashcard flashcard-obj="card" refresh="refreshCards()"/> 4 4 <flashcard flashcard-obj="card" refresh="refreshCards()"/>
</div> 5 5 </div>
</div> 6 6 </div>
7 7
<h2 ng-show="noCards()">No cards. Be the first one to add a card!</h2> 8 8 <h2 ng-show="cards.length == 0">No cards. Be the first one to add a card!</h2>
9 9
<!--Lil plus button in corner--> 10 10 <!--Lil plus button in corner-->
<div class="fixed-action-btn" style="bottom: 96px; right: 24px;"> 11 11 <div class="fixed-action-btn" style="bottom: 96px; right: 24px;">
<a data-target="newCard" class="btn-floating btn-large modal-trigger" href="#newCard"> 12 12 <a data-target="newCard" class="btn-floating btn-large modal-trigger" href="#newCard">
<i class="large mdi-content-add"></i> 13 13 <i class="large mdi-content-add"></i>
</a> 14 14 </a>
</div> 15 15 </div>
16 16
<div id="newCard" class="modal bottom-sheet"> 17 17 <div id="newCard" class="modal bottom-sheet">
<form id="new-card-form"> 18 18 <form id="new-card-form">
<div class="modal-content"> 19 19 <div class="modal-content">
<div class="input-field"> 20 20 <div class="input-field">
<!--<label id="newCardSign" for="newCard">New Flashcard Text</label>--> 21 21 <!--<label id="newCardSign" for="newCard">New Flashcard Text</label>-->
<div id="new-card-input" contenteditable> 22 22 <div id="new-card-input" contenteditable>
23 23
</div> 24 24 </div>
</div> 25 25 </div>
</div> 26 26 </div>
<div class="modal-footer"> 27 27 <div class="modal-footer">
<button class="btn modal-close" type="submit" ng-click="pushCard()">Submit 28 28 <button class="btn modal-close" type="submit" ng-click="pushCard()">Submit
<i class="mdi-content-send right"></i> 29 29 <i class="mdi-content-send right"></i>
</button> 30 30 </button>