diff options
| author | Ruin0x11 | 2020-05-03 19:53:28 -0700 |
|---|---|---|
| committer | Ruin0x11 | 2020-05-03 19:53:28 -0700 |
| commit | d59ecb8e230a55e6875076824723580bd3f4419b (patch) | |
| tree | 34121668a4abb61fdeff0639d0c9567d0c398692 /client/html/pool_summary.tpl | |
| parent | 6a95a66f12a5407cfd8ffa7e373f756236bf0bce (diff) | |
Add pool CRUD operations/pages
Diffstat (limited to 'client/html/pool_summary.tpl')
| -rw-r--r-- | client/html/pool_summary.tpl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/client/html/pool_summary.tpl b/client/html/pool_summary.tpl new file mode 100644 index 0000000..7b7c763 --- /dev/null +++ b/client/html/pool_summary.tpl @@ -0,0 +1,23 @@ +<div class='content-wrapper pool-summary'> + <section class='details'> + <section> + Category: + <span class='<%= ctx.makeCssName(ctx.pool.category, 'pool') %>'><%- ctx.pool.category %></span> + </section> + + <section> + Aliases:<br/> + <ul><!-- + --><% for (let name of ctx.pool.names.slice(1)) { %><!-- + --><li><%= ctx.makePoolLink(ctx.pool, false, false, name) %></li><!-- + --><% } %><!-- + --></ul> + </section> + </section> + + <section class='description'> + <hr/> + <%= ctx.makeMarkdown(ctx.pool.description || 'This pool has no description yet.') %> + <p>This pool has <a href='<%- ctx.formatClientLink('posts', {query: ctx.escapeColons(ctx.pool.names[0])}) %>'><%- ctx.pool.postCount %> post(s)</a>.</p> + </section> +</div> |