-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetting.html
100 lines (97 loc) · 4.63 KB
/
setting.html
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
89
90
91
92
93
94
95
96
97
98
99
100
#tag layout_block("bodyContent")
<div class="col-sm-12">
<h4 class="page-title">主题设置</h4>
</div>
<form id="option-from" class="form-horizontal" role="form">
<div class="col-md-6">
<div class="panel panel-color panel-primary">
<div class="panel-heading">
<h3 class="panel-title">基本设置</h3>
</div>
<div class="panel-body">
<div class="form-group">
<label class="col-md-3 control-label">作者头像</label>
<div class="col-md-9">
<input type="text" class="form-control" name="logo_url"
value="${options.logo_url ?! theme_url('/static/img/logo.png')}"
placeholder="请输入作者头像"/>
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">文章作者</label>
<div class="col-md-9">
<input type="text" class="form-control" name="blog_author"
value="${options.author ?! ''}" placeholder="请输入文章作者">
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">背景图片大标题</label>
<div class="col-md-9">
<input type="text" class="form-control" name="big_title"
value="${options.bigtitle ?! ''}" placeholder="请输入背景图片大标题">
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">背景图片小标题</label>
<div class="col-md-9">
<input type="text" class="form-control" name="small_title"
value="${options.smalltitle ?! ''}" placeholder="请输入背景图片小标题">
</div>
</div>
<div class="clearfix pull-right">
<button type="button" class="btn btn-primary waves-effect waves-light"
onclick="saveThemeOptions('option-from')">
保存设置
</button>
</div>
</div>
</div>
</div>
<div class="clearfix"></div>
<div class="col-md-6">
<div class="panel panel-color panel-inverse">
<div class="panel-heading">
<h3 class="panel-title">个性化设置</h3>
</div>
<div class="panel-body">
<div class="form-group">
<label class="col-md-3 control-label">微博账号</label>
<div class="col-md-9">
<input type="text" class="form-control" name="am_weibo"
value="${options.am_weibo ?! ''}"
placeholder="微博账号,不输入则不显示">
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">Github账号</label>
<div class="col-md-9">
<input type="text" class="form-control" name="am_github"
value="${options.am_github ?! ''}" placeholder="Github账号,不输入则不显示">
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">Twitter账号</label>
<div class="col-md-9">
<input type="text" class="form-control" name="am_twitter"
value="${options.am_twitter ?! ''}" placeholder="Twitter账号,不输入则不显示">
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">QQ账号</label>
<div class="col-md-9">
<input type="text" class="form-control" name="am_qq"
value="${options.am_qq ?! ''}" placeholder="QQ账号,不输入则不显示">
</div>
</div>
<div class="clearfix pull-right">
<button type="button" class="btn btn-inverse waves-effect waves-light"
onclick="saveThemeOptions('option-from')">
保存设置
</button>
</div>
</div>
</div>
</div>
</form>
#end
#include ("/comm/ts_base_layout.html")