]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/photo_album.tpl
[frio] Fix wrongly removed content wrapper and fix CSS instead. (#5496) (#5505)
[friendica.git] / view / theme / frio / templates / photo_album.tpl
index 48471601609643dc166e3312651da776a7553c8d..f043ce3fa8a4348758e5f7d66dc5fc1bf1d0638f 100644 (file)
@@ -1,29 +1,40 @@
-
 <div class="generic-page-wrapper">
-
+       <div class="pull-left">
        <h3 id="photo-album-title">{{$album}}</h3>
-
-       <div class="photo-album-actions">
-       {{if $can_post}}
-               <a class="photos-upload-link" href="{{$upload.1}}">{{$upload.0}}</a>
+       </div>
+       
+       <div class="photo-album-actions pull-right">
+               {{if $can_post}}
+               <a class="photos-upload-link" href="{{$upload.1}}" title="{{$upload.0}}" data-toggle="tooltip">
+               <i class="faded-icon fa fa-plus"></i></a>
                {{/if}}
-               {{if $can_post && $edit}}<span role="presentation" class="separator">&nbsp;•&nbsp;</span>{{/if}}
                {{if $edit}}
-               <a id="album-edit-link" href="{{$edit.1}}" title="{{$edit.0}}">{{$edit.0}}</a>
+               <span class="icon-padding"> </span>
+               <a id="album-edit-link" href="{{$edit.1}}" title="{{$edit.0}}" data-toggle="tooltip">
+               <i class="faded-icon fa fa-pencil"></i></a>
+               {{/if}}
+               {{if ! $noorder}}
+               <span class="icon-padding"> </span>
+               <a class="photos-order-link" href="{{$order.1}}" title="{{$order.0}}" data-toggle="tooltip">
+               {{if $order.2 == "newest"}}
+               <i class="faded-icon fa fa-sort-numeric-desc"></i>
+               {{else}}
+               <i class="faded-icon fa fa-sort-numeric-asc"></i>
+               {{/if}}
+               </a>
                {{/if}}
-               <a class="photos-order-link" href="{{$order.1}}" title="{{$order.0}}">{{$order.0}}</a>
        </div>
        <div class="clear"></div>
-
+       
        <div class="photo-album-wrapper" id="photo-album-contents">
        {{foreach $photos as $photo}}
                {{include file="photo_top.tpl"}}
        {{/foreach}}
        </div>
-
+       
        <div class="photo-album-end"></div>
-
+       
        {{$paginate}}
+       
+       <script type="text/javascript">$(document).ready(function() { loadingPage = false; justifyPhotos(); });</script>
 </div>
-
-<script>$(document).ready(function() { loadingPage = false; justifyPhotos('photo-album-contents-{{$album_id}}'); });</script>