Bri Prebilic Cole | 3c3361c | 2015-05-19 12:07:29 -0700 | [diff] [blame^] | 1 | <!-- Home page partial html --> |
| 2 | <div class="container"> |
| 3 | <nav></nav> |
| 4 | <h2>Dashboard</h2> |
| 5 | <div id="db-bundle"> |
| 6 | <table class="title"> |
| 7 | <tr> |
| 8 | <th>{{bundle.name}}</th> |
| 9 | </tr> |
| 10 | </table> |
| 11 | <table class="content"> |
| 12 | <thead> |
| 13 | <tr> |
| 14 | <th>ID</th> |
| 15 | <th>Name</th> |
| 16 | <th>Active</th> |
| 17 | </tr> |
| 18 | </thead> |
| 19 | <tbody> |
| 20 | <tr ng-repeat="func in bundle.functions"> |
| 21 | <td>{{func.id}}</td> |
| 22 | <td>{{func.name}}</td> |
| 23 | <td ng-if="func.active"> |
| 24 | <icon size="20" id="checkMark"></icon> |
| 25 | </td> |
| 26 | <td ng-if="!func.active"> |
| 27 | <icon size="20" id="xMark"></icon> |
| 28 | </td> |
| 29 | </tr> |
| 30 | </tbody> |
| 31 | </table> |
| 32 | </div> |
Bri Prebilic Cole | e031189 | 2015-05-15 11:27:15 -0700 | [diff] [blame] | 33 | |
Bri Prebilic Cole | 3c3361c | 2015-05-19 12:07:29 -0700 | [diff] [blame^] | 34 | <div id="db-users"> |
| 35 | <table class="title"> |
| 36 | <tr> |
| 37 | <th>Users</th> |
| 38 | </tr> |
| 39 | </table> |
| 40 | <table class="content"> |
| 41 | <thead> |
| 42 | <tr> |
| 43 | <th>ID</th> |
| 44 | <th>Name</th> |
| 45 | <th>Role</th> |
| 46 | </tr> |
| 47 | </thead> |
| 48 | <tbody> |
| 49 | <tr ng-repeat="user in users"> |
| 50 | <td>{{user.id}}</td> |
| 51 | <td>{{user.name}}</td> |
| 52 | <td>{{user.role}}</td> |
| 53 | </tr> |
| 54 | </tbody> |
| 55 | </table> |
| 56 | </div> |
| 57 | </div> |