-
Notifications
You must be signed in to change notification settings - Fork 153
/
photos.ftl
51 lines (51 loc) · 2.35 KB
/
photos.ftl
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html lang="zh-CN">
<#assign title=settings.photos_title!'我的图库'>
<#import "template/common/header.ftl" as headInfo>
<@headInfo.head title="${title}" type="photos"/>
<#import "template/macro/tail.ftl" as tailInfo>
<body>
<div id="Joe">
<#include "template/common/navbar.ftl">
<div class="joe_container joe_main_container page-photos${settings.enable_show_in_up?then(' animated showInUp','')}${(settings.aside_position=='left')?then(' revert','')}">
<div class="joe_main">
<div class="joe_photos__type">
<div class="joe_photos__type-title">
<i class="joe-font joe-icon-tupian"></i> ${title}
<#-- <@linkTag method="count">(${count!0} 张)</@linkTag> -->
</div>
<nav class="joe_photos__filter">
<ul>
<li class="active" data-filter="">
<a href="javascript:;">全部</a>
</li>
<@photoTag method="listTeams">
<#list teams as item>
<li data-filter="${item.team?trim}">
<a href="javascript:;">${((item.team)?length>0)?then(item.team?trim,'默认')}</a>
</li>
</#list>
</@photoTag>
</ul>
</nav>
<#-- <div class="joe_photos__layout-switch">
<i class="joe-font joe-icon-grid${(settings.photos_layout=='grid')?string(' active','')}" title="网格布局" data-type="grid"></i>
<i class="joe-font joe-icon-waterfall${(settings.photos_layout=='waterfall')?string(' active','')}" title="瀑布流布局" data-type="waterfall"></i>
</div> -->
</div>
<#include "template/module/gallery.ftl">
<#-- <#include "template/common/pager.ftl">
<@pager method="photos" postsData=photos display="${settings.max_pager_number!5}" />
<#include "template/macro/empty.ftl">
<@empty type="photos" text="${settings.photos_empty_text!'暂无图片数据'}"/> -->
</div>
<#if settings.enable_photos_aside!true>
<#include "template/common/aside.ftl">
</#if>
</div>
<#include "template/common/actions.ftl">
<#include "template/common/footer.ftl">
</div>
<@tailInfo.tail type="photos"/>
</body>
</html>