| <!-- Users page partial html --> |
| <div id="user" class="row"> |
| Name <input ng-model="q.name" type="text" class="form-control"> |
| <span class="help" ng-click="showRatings()"> (?)</span> |
| <th ng-if="isFamily"></th> |
| <tr ng-repeat="user in users | filter:q" class="animate-repeat"> |
| <img ng-src="{{'/imgs/' + user.icon_id + '.jpg'}}"> |
| <td>{{shared.userActivity[user.id]}}</td> |
| <select class="form-control" ng-model="user.level" ng-options="l for l in levels" ng-change="updateLevel(user)"> |
| <td ng-if="isFamily" style="width: 46px"> |
| <user-updated-tick user="user">Saved</user-updated-tick> |
| <!-- TODO refactor in modal--> |
| <ratings-panel></ratings-panel> |