diff options
author | Olivier Paroz <github@oparoz.com> | 2015-03-22 19:44:47 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-03-22 19:44:47 +0300 |
commit | 5272c42058547c5a9411a0200f71a0394a6417ee (patch) | |
tree | 02ac697834c50ced8ab149d7f236edad0e4524bc /templates | |
parent | c7af20b4be55f86edce153a8e6ca6a4239a239d8 (diff) |
Introducing album preferences via yaml file
Filling request #93 and #85
Partial solution for #91
Diffstat (limited to 'templates')
-rw-r--r-- | templates/part.content.php | 10 | ||||
-rw-r--r-- | templates/public.php | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/templates/part.content.php b/templates/part.content.php index 1e2e7cc5..a0801c44 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -13,6 +13,7 @@ script( 'thumbnail', 'vendor/eventsource-polyfill/dist/eventsource.min', 'eventsource', + 'vendor/marked/marked.min', 'vendor/bigshot/bigshot', 'slideshow' ] @@ -23,6 +24,7 @@ style( 'styles', 'mobile', 'gallerybutton', + 'github-markdown', 'slideshow' ] ); @@ -36,6 +38,14 @@ style( ); ?>" alt="<?php p($l->t('File list')); ?>"/> </div> <span class="right"> + <div id="album-info-button" class="button"> + <img class="svg" src="<?php print_unescaped( + image_path('core', 'actions/info.svg') + ); ?>" alt="<?php p($l->t('Album information')); ?>"/> + </div> + <div class="album-info-content markdown-body"></div> + </span> + <span class="right"> <button class="share"><?php p($l->t("Share")); ?></button> <a class="share" data-item-type="folder" data-item="" title="<?php p($l->t("Share")); ?>" diff --git a/templates/public.php b/templates/public.php index e12a60b7..0d4a0871 100644 --- a/templates/public.php +++ b/templates/public.php @@ -13,6 +13,7 @@ script( 'thumbnail', 'vendor/eventsource-polyfill/dist/eventsource.min', 'eventsource', + 'vendor/marked/marked.min', 'vendor/bigshot/bigshot', 'slideshow' ] @@ -24,6 +25,7 @@ style( 'mobile', 'public', 'gallerybutton', + 'github-markdown', 'slideshow' ] ); @@ -67,6 +69,14 @@ style( image_path('core', 'actions/toggle-filelist.svg') ); ?>" alt="<?php p($l->t('File list')); ?>"/> </div> + <span class="right"> + <div id="album-info-button" class="button"> + <img class="svg" src="<?php print_unescaped( + image_path('core', 'actions/info.svg') + ); ?>" alt="<?php p($l->t('Album information')); ?>"/> + </div> + <div class="album-info-content markdown-body"></div> + </span> </div> <div id='gallery' class="hascontrols" data-requesttoken="<?php p($_['requesttoken']) ?>" |