diff options
Diffstat (limited to 'templates/part.content.php')
-rw-r--r-- | templates/part.content.php | 77 |
1 files changed, 40 insertions, 37 deletions
diff --git a/templates/part.content.php b/templates/part.content.php index 9a9fec36..5df15dec 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -43,47 +43,32 @@ style( ?> <div id="controls"> <div id='breadcrumbs'></div> - <!-- toggle for opening the current album as file list --> - <div class="button view-switcher right-switch-button disabled-button"> - <img class="svg" src="<?php print_unescaped( - image_path('core', 'actions/toggle-pictures.svg') - ); ?>" alt="<?php p($l->t('Picture view')); ?>"/> - </div> - <div id="filelist-button" class="button view-switcher left-switch-button inactive-button"> - <img class="svg" src="<?php print_unescaped( - image_path('core', 'actions/toggle-filelist.svg') - ); ?>" alt="<?php p($l->t('File list')); ?>"/> - </div> - <div id="sort-date-button" class="button sorting right-switch-button"> - <div class="flipper"> - <img class="svg asc front" src="<?php print_unescaped( - image_path($_['appName'], 'dateasc.svg') - ); ?>" alt="<?php p($l->t('Sort by date')); ?>"/> - <img class="svg des back" src="<?php print_unescaped( - image_path($_['appName'], 'datedes.svg') - ); ?>" alt="<?php p($l->t('Sort by date')); ?>"/> + <!-- sorting buttons --> + <div class="left"> + <div id="sort-date-button" class="button sorting right-switch-button"> + <div class="flipper"> + <img class="svg asc front" src="<?php print_unescaped( + image_path($_['appName'], 'dateasc.svg') + ); ?>" alt="<?php p($l->t('Sort by date')); ?>"/> + <img class="svg des back" src="<?php print_unescaped( + image_path($_['appName'], 'datedes.svg') + ); ?>" alt="<?php p($l->t('Sort by date')); ?>"/> + </div> </div> - </div> - <div id="sort-name-button" class="button sorting left-switch-button"> - <div class="flipper"> - <img class="svg asc front" src="<?php print_unescaped( - image_path($_['appName'], 'nameasc.svg') - ); ?>" alt="<?php p($l->t('Sort by name')); ?>"/> - <img class="svg des back" src="<?php print_unescaped( - image_path($_['appName'], 'namedes.svg') - ); ?>" alt="<?php p($l->t('Sort by name')); ?>"/> + <div id="sort-name-button" class="button sorting left-switch-button"> + <div class="flipper"> + <img class="svg asc front" src="<?php print_unescaped( + image_path($_['appName'], 'nameasc.svg') + ); ?>" alt="<?php p($l->t('Sort by name')); ?>"/> + <img class="svg des back" src="<?php print_unescaped( + image_path($_['appName'], 'namedes.svg') + ); ?>" alt="<?php p($l->t('Sort by name')); ?>"/> + </div> </div> </div> + <!-- toggle for opening the current album as file list --> <span class="right"> - <div id="album-info-button" class="button"> - <span class="ribbon black"></span> - <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"> + <!-- sharing button --> <div id="share-button" class="button"> <img class="svg" src="<?php print_unescaped( image_path('core', 'actions/share.svg') @@ -92,6 +77,24 @@ style( <a class="share" data-item-type="folder" data-item="" title="<?php p($l->t("Share")); ?>" data-possible-permissions="31"></a> + <!-- info button --> + <div id="album-info-button" class="button"> + <span class="ribbon black"></span> + <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> + <div class="button view-switcher right-switch-button disabled-button"> + <img class="svg" src="<?php print_unescaped( + image_path('core', 'actions/toggle-pictures.svg') + ); ?>" alt="<?php p($l->t('Picture view')); ?>"/> + </div> + <div id="filelist-button" class="button view-switcher left-switch-button inactive-button"> + <img class="svg" src="<?php print_unescaped( + image_path('core', 'actions/toggle-filelist.svg') + ); ?>" alt="<?php p($l->t('File list')); ?>"/> + </div> </span> </div> <div id="gallery" class="hascontrols"></div> |