First commit

This commit is contained in:
2021-03-07 05:58:59 +01:00
committed by Andreas Schaafsma
commit 6e1a5f9fe5
18475 changed files with 3309357 additions and 0 deletions

View 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>

View 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>