rat/templates/user.html.text

38 lines
1.5 KiB
Plaintext

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ hp[0].show_name }}的个人资料 - RAT</title>
</head>
<body>
<pre>
------------------------------------------------------------------------
{{ hp[0].show_name }} ({{ hp[0].user_name }})
关注 {{ hp[0].follow_num|intsep}} 粉丝 {{ hp[0].fan_num|intsep }} 发帖 {{ hp[0].post_num|intsep }} 关注贴吧 {{ hp[0].forum_num|intsep }}
------------------------------------------------------------------------</pre>
{% for t in hp[1] %}
<pre><a href="/p/{{ t.tid }}">{{ t.text|twrap(rws=True) }}</a></pre>
{% endfor %}
<pre>------------------------------------------------------------------------</pre>
<a href="/home/main?id={{ hp[0].user_id }}&pn={{ 1 }}">首页</a> |
{% for i in range(5) %}
{% set np = pn - 5 + i %}
{% if np > 0 %}
<a href="/home/main?id={{ hp[0].user_id }}&pn={{ np }}">{{ np }}</a> |
{% endif %}
{% endfor %}
<strong>{{ pn }}</strong> |
<a href="/home/main?id={{ hp[0].user_id }}&pn={{ pn+1 }}">下一页</a>
<pre>
------------------------------------------------------------------------
<a href="/">RAT Ain't Tieba</a> <a href="https://0xacab.org/johnxina/rat/-/raw/no-masters/LICENSE">自豪地以 AGPLv3 释出</a> <a href="https://0xacab.org/johnxina/rat">源代码</a>
------------------------------------------------------------------------
</pre>
</body>
</html>