Skip to content

Commit

Permalink
www/user- package list in container
Browse files Browse the repository at this point in the history
  • Loading branch information
nektro committed Aug 4, 2021
1 parent 404995f commit 87d3f8b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions www/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<p>A federated package repository and CI system for the Zig programming language.</p>
<p><a href="./dashboard" class="btn btn-primary">Login</a></p>
<hr>
<div class="flex-row">
<div class="home-cols">
<div>
<h3>Latest Packages</h3>
<h3>Just Added</h3>
{{#each latest_packages}}
<div class="terminal-card">
<div>
Expand Down
16 changes: 9 additions & 7 deletions www/user.hbs
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<h2>@{{owner.name}}'s Packages</h2>
{{#each pkgs}}
<div class="terminal-card">
<div>
<h3 style="margin-bottom: .5em;"><a href="./{{owner.Provider}}/{{owner.Name}}/{{this.name}}">{{this.name}}</a></h3>
<div><i class="balance scale icon"></i> {{#if this.license}}{{this.license}}{{else}}No{{/if}} License</div>
<div>{{this.description}}</div>
<div class="pkg-grid">
{{#each pkgs}}
<div class="terminal-card">
<div>
<h3 style="margin-bottom: .5em;"><a href="./{{owner.Provider}}/{{owner.Name}}/{{this.name}}">{{this.name}}</a></h3>
<div><i class="balance scale icon"></i> {{#if this.license}}{{this.license}}{{else}}No{{/if}} License</div>
<div>{{this.description}}</div>
</div>
</div>
{{/each}}
</div>
{{/each}}
</div>
</body>
</html>

0 comments on commit 87d3f8b

Please sign in to comment.