blob: 00657998771f1a2806634b6fae256d819e6c3b37 [file] [log] [blame]
Matteo Scandolo4eb4ccb2016-01-26 11:02:16 -08001<!-- Users page partial html -->
2<div class="container">
3 <div id="user">
4 <div class="main-left" ng-class="{family: isFamily}">
5 <table class="user-info">
6 <tr>
7 <th class="user-pic"></th>
8 <th>Name</th>
9 <th>Last Login</th>
10 </tr>
11 <tr ng-repeat="user in users" class="fadein">
12 <td class="user-pic">
13 <img ng-src="{{'/imgs/' + user.icon_id + '.jpg'}}">
14 </td>
15 <td>{{user.name}}</td>
16 <td>{{shared.userActivity[user.id]}}</td>
17 </tr>
18 </table>
19 </div>
20
21 <div class="main-right" ng-class="{family: isFamily}">
Matteo Scandolo39c65a52016-01-27 12:00:18 -080022 <form ng-if="isFamily" name="changeLevels">
Matteo Scandolo4eb4ccb2016-01-26 11:02:16 -080023 <table class="user-form">
24 <tr>
25 <th>
26 Select Site Rating
Matteo Scandolo39c65a52016-01-27 12:00:18 -080027 <span class="help" ng-click="showRatings()"> (?)</span>
Matteo Scandolo4eb4ccb2016-01-26 11:02:16 -080028 </th>
29 </tr>
30 <tr ng-repeat="user in users" class="options">
31 <td>
Matteo Scandolo39c65a52016-01-27 12:00:18 -080032 <select ng-model="user.level" ng-options="l for l in levels" ng-change="updateLevel(user)">
Matteo Scandolo4eb4ccb2016-01-26 11:02:16 -080033 </select>
Matteo Scandolo90621b32016-01-27 16:40:21 -080034 <user-updated-tick user="user">Saved</user-updated-tick>
Matteo Scandolo4eb4ccb2016-01-26 11:02:16 -080035 </td>
36 </tr>
Matteo Scandolo4eb4ccb2016-01-26 11:02:16 -080037 </table>
38 </form>
39 </div>
40 <div ng-if="isFamily">
41 <ratings-panel></ratings-panel>
42 </div>
43 </div>
44</div>