Debian Codegraph @

extra/haxelib_src/www/view/user/profile.html

raw
1 <div>
2 <p>&laquo; <a href="/u/">All Haxelib Contributors</a></p>
3 </div>
4
5 <div class="user-profile well">
6 <div class="pull-left">
7 <img src="//www.gravatar.com/avatar/@(emailHash).jpg?s=150" class="img-circle avatar" width="150" height="150" alt="Avatar of @user" />
8 </div>
9 <h1 class="title"><i class="fa fa-user"></i> @user.name <small>haxelib member</small></h1>
10 <div class="clearfix"></div><br/>
11 <table class="table">
12 <tr><th width="190"><strong>Full name</strong></th><td>@user.fullname</td></tr>
13 <tr><th><strong>Statistics</strong></th><td>Contributes to <strong>@projects.length</strong> project@if(projects.length!=1){s}</td></tr>
14 </table>
15 </div>
16
17 <h2>Projects</h2>
18
19 <div class="projects">
20 <div class="table-responsive">
21 <table class="table">
22 <thead>
23 <tr>
24 <th colspan="2">Project</th>
25 <th>Downloads</th>
26 </tr>
27 </thead>
28 @for( p in projects ) {
29 <tr>
30 <th><a href="/p/@p.name" class="text-nowrap">@p.name</a></th>
31 <td>@p.description</td>
32 <td>@p.downloads</td>
33 </tr>
34 }
35 </table>
36 </div>
37 </div>