forked from TruthHun/BookStack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
46 lines (46 loc) · 2.01 KB
/
index.html
File metadata and controls
46 lines (46 loc) · 2.01 KB
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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
{{template "widgets/head.html" .}}
</head>
<body>
<div class="manual-reader manual-container manual-search-reader">
{{template "widgets/header.html" .}}
<div class="container manual-body">
<div class="search-head">
<strong class="search-title">显示搜索结果为"{{.LabelName}}"的书籍</strong>
</div>
<div class="row">
<div class="manual-list">
{{range $index,$item := .Lists}}
<div class="col-xs-6 col-sm-3 col-md-2">
<dl class="manual-item-standard">
<dt>
<a href="{{urlfor "DocumentController.Index" ":key" $item.Identify}}" title="{{$item.BookName}}" class="tooltips {{if gt $item.OrderIndex 0}}recommend-book{{end}}" target="_blank">
<img onerror="this.src='/static/images/book.png'" src="{{showImg $item.Cover "cover"}}" class="cover img-responsive border-cover-img" alt="{{$item.BookName}}">
</a>
</dt>
<dd>
<a href="{{urlfor "DocumentController.Index" ":key" $item.Identify}}" class="name tooltips" title="{{$item.BookName}}" target="_blank">{{$item.BookName}}</a>
</dd>
{{/*<dd>*/}}
{{/*<span class="author">*/}}
{{/*<b class="text">作者</b>*/}}
{{/*<b class="text">-</b>*/}}
{{/*<b class="text">{{$item.CreateName}}</b>*/}}
{{/*</span>*/}}
{{/*</dd>*/}}
</dl>
</div>
{{end}}
<div class="clearfix"></div>
</div>
<div class="pagination-container">
{{.PageHtml}}
</div>
</div>
</div>
</div>
{{template "widgets/footer.html" .}}
</body>
</html>