-
Notifications
You must be signed in to change notification settings - Fork 0
/
UserDetails.html
38 lines (38 loc) · 1.12 KB
/
UserDetails.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<div>
<div>
<h1>{{user.login}}</h1>
</div>
<div>
Nome: {{user.name}}<br>
Local: {{user.location}}<br>
<div>
<img style="width:60px;height:60px;" ng-src="{{user.avatar_url}}"
title="{{user.name}}" />
</div>
<select ng-model="repoSortOrder">
<option value="+name">Nome(Asc)</option>
<option value="-stargazers_count">Estrelas(Desc)s</option>
<option value="+language">Linguagem(Asc)</option>
</select>
<table>
<thead>
<th>
Name
</th>
<th>
Stars
</th>
<th>
Language
</th>
</thead>
<tbody>
<tr ng-repeat="repo in respositorios | orderBy:repoSortOrder">
<td>{{repo.name | uppercase}}</td>
<td>{{repo.stargazers_count | number:2}}</td>
<td>{{repo.language}}</td>
</tr>
</tbody>
</table>
</div>
</div>