forked from mrlan/EnglishPal
				
			标注之前队伍的改动
							parent
							
								
									74eccfbebd
								
							
						
					
					
						commit
						93390374ad
					
				|  | @ -17,18 +17,21 @@ | ||||||
|             <script src="{{ js }}"></script> |             <script src="{{ js }}"></script> | ||||||
|         {% endfor %} |         {% endfor %} | ||||||
|     {% endif %} |     {% endif %} | ||||||
|  | 
 | ||||||
|  | {#     // add !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!  #} | ||||||
|     <script type="text/javascript"> |     <script type="text/javascript"> | ||||||
| 	function fresh(){ |         function fresh() { | ||||||
| 	    try{ |             try { | ||||||
|                 document.getElementById('rv').click(); |                 document.getElementById('rv').click(); | ||||||
| 	    } |             } catch { | ||||||
| 	    catch{ |  | ||||||
| 
 | 
 | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|     </script> |     </script> | ||||||
|  | {#     !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! #} | ||||||
|     <title>EnglishPal Study Room for {{ username }}</title> |     <title>EnglishPal Study Room for {{ username }}</title> | ||||||
| </head> | </head> | ||||||
|  | {#   original code: <body>  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! #} | ||||||
| <body onload="fresh()"> | <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> | ||||||
|  | @ -38,16 +41,18 @@ | ||||||
|     {{ 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> | ||||||
|  | {#  add code !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!  #} | ||||||
|     {% 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 }}/reset" role="button" id="rv"> 出bug了 </a> |             <a class="btn btn-success" href="/{{ username }}/reset" role="button" id="rv"> 出bug了 </a> | ||||||
|         {% endif%} |         {% endif %} | ||||||
|     {% 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> | ||||||
|         {% endif%} |  | ||||||
|         {% endif %} |         {% endif %} | ||||||
|  |     {% endif %} | ||||||
|  | {# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!  #} | ||||||
| 
 | 
 | ||||||
|     <p><b>阅读文章并回答问题</b></p> |     <p><b>阅读文章并回答问题</b></p> | ||||||
|     <div id="text-content">{{ today_article|safe }}</div> |     <div id="text-content">{{ today_article|safe }}</div> | ||||||
|  | @ -88,8 +93,9 @@ | ||||||
|             {% if session.get('thisWord') == x[0] and session.get('time') == 1 %} |             {% if session.get('thisWord') == x[0] and session.get('time') == 1 %} | ||||||
|                 <a name="aaa"></a> |                 <a name="aaa"></a> | ||||||
|             {% endif %} |             {% endif %} | ||||||
|             <p id='p_{{ word }}' class="new-word" > |             <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> |                    role="button">{{ word }}</a> | ||||||
|                 ( <a id="freq_{{ word }}" title="{{ word }}">{{ freq }}</a> ) |                 ( <a id="freq_{{ word }}" title="{{ word }}">{{ freq }}</a> ) | ||||||
|                 <a class="btn btn-success" onclick="familiar('{{ word }}')" role="button">熟悉</a> |                 <a class="btn btn-success" onclick="familiar('{{ word }}')" role="button">熟悉</a> | ||||||
|  | @ -110,8 +116,8 @@ | ||||||
| <style> | <style> | ||||||
|     mark { |     mark { | ||||||
|         color: #{{ yml['highlight']['color'] }}; |         color: #{{ yml['highlight']['color'] }}; | ||||||
|     background-color: rgba(0,0,0,0); |         background-color: rgba(0, 0, 0, 0); | ||||||
| } |     } | ||||||
| </style> | </style> | ||||||
| 
 | 
 | ||||||
| </html> | </html> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue