forked from qinhua/halo-theme-joe2.0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
photos.ftl
82 lines (82 loc) · 3.48 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!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.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">
<#-- <@paginationTag method="photos" page="${photos.number}" total="${photos.totalPages}" display="3">
<#if (photos.totalPages == 0)>
<#include "template/macro/empty.ftl">
<@empty type="photos" text="${settings.photos_empty_text!'暂无图片数据'}"/>
<#elseif (photos.totalPages == 1)>
<#else>
<ul class="joe_pagination">
<#if pagination.hasPrev>
<li class="prev">
<a href="${pagination.prevPageFullPath!}">
<i class="joe-font joe-icon-prev"></i>
</a>
</li>
</#if>
<#list pagination.rainbowPages as number>
<#if number.isCurrent>
<li class="active">
<a href="${number.fullPath!}">${number.page!}</a>
</li>
<#else>
<li>
<a href="${number.fullPath!}">${number.page!}</a>
</li>
</#if>
</#list>
<#if pagination.hasNext && (pagination.rainbowPages?size gt 0)>
<li class="next">
<a href="${pagination.nextPageFullPath!}">
<i class="joe-font joe-icon-next"></i>
</a>
</li>
</#if>
</ul>
</#if>
</@paginationTag> -->
</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>