标注之前队伍的改动

Bug509-XieQiuHan-WangZiming
王梓铭 2023-02-21 20:05:48 +08:00
parent 74eccfbebd
commit 93390374ad
1 changed files with 24 additions and 18 deletions

View File

@ -17,18 +17,21 @@
<script src="{{ js }}"></script>
{% endfor %}
{% endif %}
{# // add !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! #}
<script type="text/javascript">
function fresh() {
try {
document.getElementById('rv').click();
}
catch{
} catch {
}
}
</script>
{# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! #}
<title>EnglishPal Study Room for {{ username }}</title>
</head>
{# original code: <body> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! #}
<body onload="fresh()">
<div class="container-fluid">
<p><b>English Pal for <font id="username" color="red">{{ username }}</font></b>
@ -38,6 +41,7 @@
{{ flashed_messages|safe }}
<a class="btn btn-success" href="/{{ username }}/reset" role="button"> 下一篇 Next Article </a>
{# add code !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! #}
{% if session.get('articleID') == session.get('old_articleID') %}
{% if session.get('old_articleID') != None %}
<a class="btn btn-success" href="/{{ username }}/reset" role="button" id="rv"> 出bug了 </a>
@ -48,6 +52,7 @@
<a class="btn btn-success" href="/{{ username }}/back" role="button"> 上一篇 Previous Article </a>
{% endif %}
{% endif %}
{# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! #}
<p><b>阅读文章并回答问题</b></p>
<div id="text-content">{{ today_article|safe }}</div>
@ -89,7 +94,8 @@
<a name="aaa"></a>
{% endif %}
<p id='p_{{ word }}' class="new-word">
<a id="word_{{ word }}" class="btn btn-light" href='http://youdao.com/w/eng/{{ word }}/#keyfrom=dict2.index'
<a id="word_{{ word }}" class="btn btn-light"
href='http://youdao.com/w/eng/{{ word }}/#keyfrom=dict2.index'
role="button">{{ word }}</a>
( <a id="freq_{{ word }}" title="{{ word }}">{{ freq }}</a> )
<a class="btn btn-success" onclick="familiar('{{ word }}')" role="button">熟悉</a>