diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2015-06-29 18:24:30 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-09-15 17:52:15 +0300 |
commit | d6c5d9ff76c4c5b364408f4566df64934a66f9da (patch) | |
tree | fee5ff0ca654779a538b54693cc50d0916ea2c25 /templates | |
parent | 8804378bbd651586921c47b328383bda322fedcd (diff) |
move toggle buttons for sorting and view switching to the right
Diffstat (limited to 'templates')
-rw-r--r-- | templates/part.content.php | 16 | ||||
-rw-r--r-- | templates/public.php | 16 |
2 files changed, 16 insertions, 16 deletions
diff --git a/templates/part.content.php b/templates/part.content.php index 7051870c..fd1155b1 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -44,26 +44,26 @@ style( <div id="controls"> <div id='breadcrumbs'></div> <!-- toggle for opening the current album as file list --> - <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 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="sort-name-button" class="button sorting left-switch-button"> + <div id="filelist-button" class="button view-switcher left-switch-button inactive-button"> <img class="svg" src="<?php print_unescaped( - image_path($_['appName'], 'nameasc.svg') - ); ?>" alt="<?php p($l->t('Sort by name')); ?>"/> + 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"> <img class="svg" src="<?php print_unescaped( image_path($_['appName'], 'dateasc.svg') ); ?>" alt="<?php p($l->t('Sort by date')); ?>"/> </div> + <div id="sort-name-button" class="button sorting left-switch-button"> + <img class="svg" src="<?php print_unescaped( + image_path($_['appName'], 'nameasc.svg') + ); ?>" alt="<?php p($l->t('Sort by name')); ?>"/> + </div> <span class="right"> <div id="album-info-button" class="button"> <span class="ribbon black"></span> diff --git a/templates/public.php b/templates/public.php index a6cbb5d1..728be169 100644 --- a/templates/public.php +++ b/templates/public.php @@ -105,27 +105,27 @@ 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 class="button view-switcher right-switch-button disabled-button"> + <div id="sort-date-button" class="button sorting right-switch-button"> <img class="svg" src="<?php print_unescaped( - image_path('core', 'actions/toggle-pictures.svg') - ); ?>" alt="<?php p($l->t('Picture view')); ?>"/> + image_path($_['appName'], 'dateasc.svg') + ); ?>" alt="<?php p($l->t('Sort by date')); ?>"/> </div> <div id="sort-name-button" class="button sorting left-switch-button"> <img class="svg" src="<?php print_unescaped( image_path($_['appName'], 'nameasc.svg') ); ?>" alt="<?php p($l->t('Sort by name')); ?>"/> </div> - <div id="sort-date-button" class="button sorting right-switch-button"> - <img class="svg" src="<?php print_unescaped( - image_path($_['appName'], 'dateasc.svg') - ); ?>" alt="<?php p($l->t('Sort by date')); ?>"/> - </div> <span class="right"> <div id="album-info-button" class="button"> <span class="ribbon black"></span> |