1
0
mirror of https://github.com/Foltik/Shimapan synced 2025-01-07 08:42:49 -05:00

Add key auto population

This commit is contained in:
Jack 2017-10-18 17:14:25 -04:00
parent 66089630b6
commit 82eac27867

View File

@ -1,9 +1,11 @@
<div class="inner"> <div class="inner" ng-controller="ApiController" ng-init="getKeys()">
<p ng-hide="keys">Loading...</p> <p ng-hide="keys">Loading...</p>
<div class="keys" ng-controller="ApiController" ng-init="getKeys()"> <div class="keys">
<div class="key" ng-repeat="key in keys"> <div class="key" ng-repeat="key in keys">
<i class="fa fa-key"></i>
<span>{{key.identifier}}</span>
</div> </div>
<div class="key add-key"> <div class="key add-key" ng-hide="keys.length >= 10">
<i class="fa fa-plus"></i> <i class="fa fa-plus"></i>
<span>Create</span> <span>Create</span>
</div> </div>