First commit
This commit is contained in:
28
hGameTest/node_modules/haxe/downloads/haxelib/www/view/user/list.html
generated
vendored
Normal file
28
hGameTest/node_modules/haxe/downloads/haxelib/www/view/user/list.html
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
<h1><i class="fa fa-user"></i> @title</h1>
|
||||
|
||||
<table class="table table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="3">User</th>
|
||||
<th>Projects</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@for (u in list) {
|
||||
<tr>
|
||||
<td><img src="//www.gravatar.com/avatar/@(u.emailHash).jpg?s=150" class="img-circle" width="48" height="48" alt="Avatar of @u.user.name" /></td>
|
||||
<th><a href="/u/@u.user.name/">@u.user.name</a></th>
|
||||
<td>@u.user.fullname</td>
|
||||
<td>
|
||||
<p>
|
||||
@{i = 0;}
|
||||
@for (p in u.projects) {
|
||||
@{i++;}
|
||||
<strong><a href="/p/@p.name">@p.name</a></strong>@if(i<u.projects.length){,}
|
||||
}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
33
hGameTest/node_modules/haxe/downloads/haxelib/www/view/user/profile.html
generated
vendored
Normal file
33
hGameTest/node_modules/haxe/downloads/haxelib/www/view/user/profile.html
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
<div class="user-profile well">
|
||||
<div class="pull-left">
|
||||
<img src="//www.gravatar.com/avatar/@(emailHash).jpg?s=150" class="img-circle avatar" width="150" height="150" alt="Avatar of @user" />
|
||||
</div>
|
||||
<h1 class="title"><i class="fa fa-user"></i> @user.name <small>haxelib member</small></h1>
|
||||
<div class="clearfix"></div><br/>
|
||||
<table class="table">
|
||||
<tr><th width="190"><strong>Full name</strong></th><td>@user.fullname</td></tr>
|
||||
<tr><th><strong>Statistics</strong></th><td>Contributes to <strong>@projects.length</strong> project@if(projects.length!=1){s}</td></tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h2>Projects</h2>
|
||||
|
||||
<div class="projects">
|
||||
<div class="table-responsive">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="2">Project</th>
|
||||
<th>Downloads</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@for( p in projects ) {
|
||||
<tr>
|
||||
<th><a href="/p/@p.name" class="text-nowrap">@p.name</a></th>
|
||||
<td>@p.description</td>
|
||||
<td>@p.downloads</td>
|
||||
</tr>
|
||||
}
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user