Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Paroz <github@oparoz.com>2015-05-21 00:59:49 +0300
committerOlivier Paroz <github@oparoz.com>2015-09-15 17:29:25 +0300
commit377ba7c149377864787d075f051e6179bd31244a (patch)
tree7aa2a5faf793e78cae6aeae2b84b32d448010c28 /templates/part.content.php
parente545218678e14ecaef55a8db307fa8a89f07241a (diff)
Turn the Gallery button into a switch
Implementation of #145
Diffstat (limited to 'templates/part.content.php')
-rw-r--r--templates/part.content.php14
1 files changed, 9 insertions, 5 deletions
diff --git a/templates/part.content.php b/templates/part.content.php
index 33db81ad..f7187f48 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -35,7 +35,6 @@ style(
[
'styles',
'mobile',
- 'gallerybutton',
'github-markdown',
'slideshow'
]
@@ -43,18 +42,23 @@ style(
?>
<div id="controls">
<div id='breadcrumbs'></div>
- <!-- toggle for opening shared picture view as file list -->
- <div id="openAsFileListButton" class="button">
+ <!-- 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 id="sort-name-button" class="button left-sort-button">
+ <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">
<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 right-sort-button">
+ <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')); ?>"/>