This repository has been archived by the owner on Feb 5, 2024. It is now read-only.
/
settings.html
55 lines (50 loc) · 2.14 KB
/
settings.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
{% extends "layout.html" %}
{% import "blocks.html" as blocks %}
{% block content_block %}
<div id="sidebar"></div>
<div id="rightbar">
{{blocks.rightbar_intros_block(intros)}}
<div class="sep10"></div>
{{blocks.rightbar_feedback_block()}}
</div>
<div id="middlebar">
<!--提醒-->
{{ blocks.notification_block() }}
<!--设置email-->
<div class="box">
<div class="cell"><a href="/i">首页</a> > 设置</div>
<form method="post">
<div class="inner"><table>
<tr height="30px"><td width="100px" align="right"><span class="fade">user_id:</span></td>
<td width="180px" align="left">{{g.user.id}}</td>
</tr>
<tr height="30px"><td align="right"><span class="fade">注册时间:</span></td>
<td align="left">{{g.user.create_time}}</td>
</tr>
{% if wordpress_alias %}
<tr height="30px">
<td width="200px" align="right"><span class="fade">你的wordpress feed地址:</span></td>
<td width="280px" align="left"> {{wordpress_alias.alias}} </td>
</tr>
{% endif%}
<tr height="40px"><td align="right"><span class="fade">电子邮件:</span></td>
<td>
{%if g.user.get_email()%}
{{g.user.get_email()}}
{%else%}
<input type="text" class="sl" name="email" value=""></input>
<div class="sep3"></div>
<span class="fade smaller">定期发送更新好的PDF版本</span>
{%endif%}
</td>
</tr>
{%if not g.user.get_email()%}
<tr height="30px"><td align="right"><span class="fade"></span></td>
<td> <input type="submit" value="保存设置"></input> </td>
</tr>
{%endif%}
</table></div>
</form>
</div>
</div>
{% endblock %}