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-09-11 21:36:14 +0300
committerOlivier Paroz <github@oparoz.com>2015-09-15 17:55:34 +0300
commit2ea43d43d38b0aff2215d1d46d7473a30ddae50a (patch)
tree4664b66932e26374fe93221f1e64db20d74dd6f3 /templates/part.content.php
parent4acd294da3bb4694b5209d7dbf6e32307949ac3b (diff)
Sorting on the left, the rest on the right
Diffstat (limited to 'templates/part.content.php')
-rw-r--r--templates/part.content.php77
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>