]> git.mxchange.org Git - friendica.git/commitdiff
[frio] Remove frame around recent photos. (#5496) (#5499)
authorAndreas Neustifter <andreas.neustifter@gmail.com>
Wed, 25 Jul 2018 20:21:43 +0000 (22:21 +0200)
committerHypolite Petovan <mrpetovan@eml.cc>
Wed, 25 Jul 2018 20:21:43 +0000 (16:21 -0400)
Also layout file properly.

view/theme/frio/templates/photo_album.tpl

index 7540afbeaff34cbb40d24130f5a8eaf304aab2e6..d5906818263fe0d139e91d91d540aceec5c43f6a 100644 (file)
@@ -1,41 +1,38 @@
-<div class="generic-page-wrapper">
-
-       <div class="pull-left">
-       <h3 id="photo-album-title">{{$album}}</h3>
-       </div>
+<div class="pull-left">
+<h3 id="photo-album-title">{{$album}}</h3>
+</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 $edit}}
-               <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}}
-       </div>
-       <div class="clear"></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 $edit}}
+       <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}}
+</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-wrapper" id="photo-album-contents">
+{{foreach $photos as $photo}}
+       {{include file="photo_top.tpl"}}
+{{/foreach}}
+</div>
 
-       <div class="photo-album-end"></div>
+<div class="photo-album-end"></div>
 
-       {{$paginate}}
-</div>
+{{$paginate}}
 
 <script type="text/javascript">$(document).ready(function() { loadingPage = false; justifyPhotos(); });</script>