Bri Prebilic Cole | 3c3361c | 2015-05-19 12:07:29 -0700 | [diff] [blame] | 1 | <!-- Users page partial html --> |
| 2 | <div class="container"> |
| 3 | <nav></nav> |
Bri Prebilic Cole | e2958f2 | 2015-05-26 17:18:23 -0700 | [diff] [blame^] | 4 | <div id="user"> |
| 5 | <table> |
| 6 | <tr> |
| 7 | <th>Name</th> |
| 8 | <th>Mac</th> |
| 9 | <th ng-if="isFamily">URL Filtering</th> |
| 10 | </tr> |
| 11 | <tr ng-repeat="user in users" class="fadein"> |
| 12 | <td>{{user.name}}</td> |
| 13 | <td>{{user.mac}}</td> |
| 14 | <td ng-if="isFamily"> |
| 15 | <select ng-model="newLevels[user.id]" |
| 16 | ng-options="l for l in levels"> |
| 17 | </select> |
| 18 | <!--How to save the id of the user with what level they want |
| 19 | for the submit button, and also have a default value? |
| 20 | Look into forms or study ng-options syntax a bit more--> |
| 21 | </td> |
| 22 | </tr> |
| 23 | </table> |
| 24 | </div> |
Bri Prebilic Cole | 3c3361c | 2015-05-19 12:07:29 -0700 | [diff] [blame] | 25 | </div> |