-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuser.html
More file actions
33 lines (31 loc) · 1.09 KB
/
user.html
File metadata and controls
33 lines (31 loc) · 1.09 KB
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
<div>Name: {{ user.name }}</div>
{{error}}
<div>Location: {{user.location }}</div>
<div><img ng-src="{{user.avatar_url}}" title="{{user.name}}"/></div>
<br />
<div>
Order:
<select ng-model="repoSortOrder">
<option value="+name">Name</option>
<option value="-stargazers_count">Stars</option>
<option value="+language">Language</option>
</select>
<table class="table">
<thead>
<tr>
<th>Name</th>
<th>Stars</th>
<th>Language</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="repo in repos | orderBy:repoSortOrder">
<td align="left">
<a href="#/repo/{{user.login}}/{{repo.name}}">{{repo.name}}</a></td>
<td>{{repo.stargazers_count | number:1}}</td>
<td>{{repo.language}}</td>
</tr>
</tbody>
</table>
<a href="#/main">Back to search</a>
</div>