-
Notifications
You must be signed in to change notification settings - Fork 0
/
userdetails.html
25 lines (24 loc) · 910 Bytes
/
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
<p>{{username}}</p>
<div>
<p>{{user.name}}</p>
<p>{{error}}</p>
<img ng-src="{{user.avatar_url}}" title="{{user.name}}" height="50" alt="No image display" />
<p>Order by:
<select ng-model="repoOrderBy">
<option value="-full_name">Full name</option>
<option value="+language">Language</option>
<option value="-stargazers_count">Stargazers</option>
</select>
</p>
<a href="#/main">Back to search</a>
<ul ng-repeat="repo in repos | orderBy:repoOrderBy">
<li>
<ul>
<li ng-click="repoName(repo.full_name, repo.open_issues)" style="cursor: pointer;">Name: {{repo.full_name}}</li>
<li>Language: {{repo.language}}</li>
<li>Star: {{repo.stargazers_count | number}}</li>
<li>Open: {{repo.open_issues}}</li>
</ul>
</li>
</ul>
</div>