重复文章刷新
							parent
							
								
									c76d4f21ec
								
							
						
					
					
						commit
						74eccfbebd
					
				|  | @ -180,6 +180,4 @@ Demo video link: https://b23.tv/QuB77m | ||||||
| 
 | 
 | ||||||
| Bug report: http://118.25.96.118/bugzilla/show_bug.cgi?id=215 | Bug report: http://118.25.96.118/bugzilla/show_bug.cgi?id=215 | ||||||
| 
 | 
 | ||||||
| 小组:谢秋涵 |  | ||||||
| 
 |  | ||||||
| *Last modified on 2021-10-17* | *Last modified on 2021-10-17* | ||||||
|  |  | ||||||
|  | @ -17,10 +17,19 @@ | ||||||
|             <script src="{{ js }}"></script> |             <script src="{{ js }}"></script> | ||||||
|         {% endfor %} |         {% endfor %} | ||||||
|     {% endif %} |     {% endif %} | ||||||
|  |     <script type="text/javascript"> | ||||||
|  | 	function fresh(){ | ||||||
|  | 	    try{ | ||||||
|  | 	        document.getElementById('rv').click(); | ||||||
|  | 	    } | ||||||
|  | 	    catch{ | ||||||
| 
 | 
 | ||||||
|  | 	    } | ||||||
|  | 	} | ||||||
|  |     </script> | ||||||
|     <title>EnglishPal Study Room for {{ username }}</title> |     <title>EnglishPal Study Room for {{ username }}</title> | ||||||
| </head> | </head> | ||||||
| <body> | <body onload="fresh()"> | ||||||
| <div class="container-fluid"> | <div class="container-fluid"> | ||||||
|     <p><b>English Pal for <font id="username" color="red">{{ username }}</font></b> |     <p><b>English Pal for <font id="username" color="red">{{ username }}</font></b> | ||||||
|         <a class="btn btn-secondary" href="/logout" role="button">退出</a> |         <a class="btn btn-secondary" href="/logout" role="button">退出</a> | ||||||
|  | @ -29,6 +38,11 @@ | ||||||
|     {{ flashed_messages|safe }} |     {{ flashed_messages|safe }} | ||||||
| 
 | 
 | ||||||
|     <a class="btn btn-success" href="/{{ username }}/reset" role="button"> 下一篇 Next Article </a>     |     <a class="btn btn-success" href="/{{ username }}/reset" role="button"> 下一篇 Next Article </a>     | ||||||
|  |     {% 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> | ||||||
|  |         {% endif%} | ||||||
|  |     {% endif %} | ||||||
|     {% if session.get('articleID') != session.get('old_articleID') %} |     {% if session.get('articleID') != session.get('old_articleID') %} | ||||||
|         {% if session.get('old_articleID') != None %} |         {% if session.get('old_articleID') != None %} | ||||||
|             <a class="btn btn-success" href="/{{ username }}/back" role="button"> 上一篇 Previous Article </a> |             <a class="btn btn-success" href="/{{ username }}/back" role="button"> 上一篇 Previous Article </a> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue