diff options
| author | Pitu <[email protected]> | 2017-10-04 02:05:38 -0300 |
|---|---|---|
| committer | Pitu <[email protected]> | 2017-10-04 02:05:38 -0300 |
| commit | 992b632d1a0b6dc6e44daf79bbfceb09f0260770 (patch) | |
| tree | c2c19afd3d22b806c95e71f0c0bb7c33f733e80c /views/album.handlebars | |
| parent | Missing semicolon (diff) | |
| download | host.fuwn.me-992b632d1a0b6dc6e44daf79bbfceb09f0260770.tar.xz host.fuwn.me-992b632d1a0b6dc6e44daf79bbfceb09f0260770.zip | |
Added album downloading through front-end
Diffstat (limited to 'views/album.handlebars')
| -rw-r--r-- | views/album.handlebars | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/views/album.handlebars b/views/album.handlebars index d2a2131..3cbe1c4 100644 --- a/views/album.handlebars +++ b/views/album.handlebars @@ -43,8 +43,17 @@ <section class="hero is-fullheight"> <div class="hero-head"> <div class="container"> - <h1 class="title" id='title' style='margin-top: 1.5rem;'>{{ title }}</h1> - <h1 class="subtitle" id='count'> {{ count }} files</h1> + <div class="columns"> + <div class="column is-9"> + <h1 class="title" id='title' style='margin-top: 1.5rem;'>{{ title }}</h1> + <h1 class="subtitle" id='count'>{{ count }} files</h1> + </div> + <div class="column is-3" style="text-align: center; padding-top: 45px;"> + {{#if enableDownload}} + <a class="button is-primary is-outlined" title="Download album" href="/api/album/zip/{{ identifier }}">Download Album</a> + {{/if}} + </div> + </div> <hr> </div> </div> |