blob: d24b362f8b388d14e3ca28ba5bbb3fcf0680631b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<div class="generic-content-wrapper">
<div class="section-title-wrapper">
<div class="pull-right">
{{if $can_post}}
<button class="btn btn-sm btn-success acl-form-trigger" title="{{$usage}}" onclick="openClose('photo-upload-form');" data-form_id="photos-upload-form"><i class="fa fa-plus-circle"></i> {{$upload.0}}</button>
{{/if}}
</div>
<h2>{{$title}}</h2>
<div class="clear"></div>
</div>
{{$upload_form}}
<div class="section-content-wrapper-np">
<div id="photo-album-contents-{{$album_id}}" style="display: none">
{{foreach $photos as $photo}}
{{include file="photo_top.tpl"}}
{{/foreach}}
<div id="page-end"></div>
</div>
</div>
</div>
<div class="photos-end"></div>
<div id="page-spinner" class="spinner-wrapper">
<div class="spinner m"></div>
</div>
<script>
$(document).ready(function() {
loadingPage = false;
justifyPhotos('photo-album-contents-{{$album_id}}');
});
</script>
|