Substantially improved item libraries UI, locked behind Patreon tier 5
This commit is contained in:
35
app/client/views/library/libraries.html
Normal file
35
app/client/views/library/libraries.html
Normal file
@@ -0,0 +1,35 @@
|
||||
<template name="libraries">
|
||||
<div class="fit layout vertical library">
|
||||
<app-header fixed effects="waterfall">
|
||||
<app-toolbar class="medium-tall app-grey white-text">
|
||||
<div top-item class="layout horizontal center" style="min-height: 56px;">
|
||||
<paper-icon-button icon="menu" drawer-toggle></paper-icon-button>
|
||||
<div class="flex layout horizontal center" style="height: 40px; margin-left: 8px;">
|
||||
Libraries
|
||||
</div>
|
||||
</div>
|
||||
</app-toolbar>
|
||||
</app-header>
|
||||
{{#if isTier5}}
|
||||
<div class="flex layout vertical center" style="position: relative; padding: 0 16px;">
|
||||
<paper-material class="card" style="padding: 32px; max-width: 800px; width: 100%;">
|
||||
{{#each library in libraries}}
|
||||
<a href="/library/{{library._id}}" tabindex="-1">
|
||||
<paper-item class="library" data-id="{{library._id}}">
|
||||
<paper-item-body>
|
||||
<div>{{library.name}}</div>
|
||||
</paper-item-body>
|
||||
</paper-item>
|
||||
</a>
|
||||
{{/each}}
|
||||
</paper-material>
|
||||
</div>
|
||||
<div class="floatyButton">
|
||||
<paper-fab id="addLibrary" icon="add"></paper-fab>
|
||||
{{#simpleTooltip}}Add Library{{/simpleTooltip}}
|
||||
</div>
|
||||
{{else}}
|
||||
{{> patronsOnly }}
|
||||
{{/if}}
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user