-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathbook.html
More file actions
90 lines (78 loc) · 3.4 KB
/
book.html
File metadata and controls
90 lines (78 loc) · 3.4 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
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
83
84
85
86
87
88
---
layout: default
---
<div class="row">
<div class="col-md-12 aside3-title">
<header class="post-header">
<h1 class="post-title">{{ page.title }}</h1>
<p class="post-meta">{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
</header>
</div>
<div class="col-md-12 aside3-content">
<br />
<div id="content">
{{ content }}
</div>
<br />
<div class="row">
{% for book in page.books %}
<div class="col-md-12 target-fix">
<div class="panel panel-primary">
<div class="panel-heading" id="{{ book.title }}" name = "{{ book.title }}">{{ book.title }}</div>
<div class="panel-body">
<div class="row">
<div class="col-md-4 col-xs-12 center">
<img src="{{ book.cover }}" alt="cover" class="img-thumbnail">
</div>
<div class="col-md-8 col-xs-12">
<table class="table table-bordered">
<tbody>
<tr><td style="width:80px;">作者</td><td>{{ book.author }}</td></tr>
<tr><td>出版商</td><td>{{ book.publisher }}</td></tr>
<tr><td>语言</td><td>{{ book.language }}</td></tr>
<tr>
<td>链接</td><td>
<a href="{{ book.link }}" title="{{ book.link }}">图书链接</a>
</td></tr>
<tr>
<td>状态</td>
<td>
{% if book.status == '已读' %}
<span class="label label-success">{{ book.status }}</span>
{% elsif book.status == '在读' %}
<span class="label label-info">{{ book.status }}</span>
{% elsif book.status == '未读' %}
<span class="label label-default">{{ book.status }}</span>
{% endif %}
</td></tr>
<tr><td>评论</td><td>{{ book.description }}</td></tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
<div class="col-md-12 ">
<div class="prevandnext">
{% if page.next %}
<div style="margin:0.5em;">
<span>上一篇 :</span><a class="pjaxlink" href="{{ site.url }}{{ page.next.url }}" title="{{ page.next.title }}">{{ page.next.title }}</a>
</div>
{% endif %}
{% if page.previous %}
<div style="margin:0.5em;">
<span>下一篇 :</span><a class="pjaxlink" href="{{ site.url }}{{ page.previous.url }}" title="{{ page.previous.title }}">{{ page.previous.title }}</a>
</div>
{% endif %}
<div style="margin:0.5em;">
<span> 版权所有,转载时必须以链接形式注明原始出处</span>
</div>
</div>
{% include share.html %}
{% include duoshuo.html %}
</div>
</div>