-
Notifications
You must be signed in to change notification settings - Fork 1
/
setting.html
129 lines (119 loc) · 6.04 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
#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="avatar_url"
value="${options.avatar_url ?! theme_url('/static/images/avatar.jpg')}"
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="author_name"
value="${options.author_name ?! 'Admin'}" 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="sidebartext"
value="${options.sidebartext ?! '胡编一通,乱写一气'}" 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="sidebar_weibo"
value="${options.sidebar_weibo ?! ''}"
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="sidebar_zhihu"
value="${options.sidebar_zhihu ?! ''}"
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="sidebar_github"
value="${options.sidebar_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="sidebar_twitter"
value="${options.sidebar_twitter ?! ''}" placeholder="Twitter账号,不输入则不显示">
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">Google账号</label>
<div class="col-md-9">
<input type="text" class="form-control" name="sidebar_google"
value="${options.sidebar_google ?! ''}" placeholder="Google账号,不输入则不显示">
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">Youtube账号</label>
<div class="col-md-9">
<input type="text" class="form-control" name="sidebar_youtube"
value="${options.sidebar_youtube ?! ''}" placeholder="Youtube账号,不输入则不显示">
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">Skype账号</label>
<div class="col-md-9">
<input type="text" class="form-control" name="sidebar_skype"
value="${options.sidebar_skype ?! ''}" placeholder="Skype账号,不输入则不显示">
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">E-Mail账号</label>
<div class="col-md-9">
<input type="text" class="form-control" name="sidebar_email"
value="${options.sidebar_email ?! ''}" placeholder="E-Mail账号,不输入则不显示">
</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")