修改细节

This commit is contained in:
wrmswindmill 2018-09-27 23:37:06 +08:00
parent 4cbade356e
commit aef0b615f2
6 changed files with 28 additions and 6 deletions

View File

@ -1285,6 +1285,7 @@ function highlight_jstree_node(project_id,path_after){
tree_nodes[path]=tree_node
$('#jstree').jstree("deselect_all", true);
$('#jstree').jstree("select_node", tree_nodes[path]);
// location.href="#"+tree_node
}
},error:function(jqXHR, textStatus, errorThrown){
if(jqXHR.readyState===0&&jqXHR.status===0){

View File

@ -6,17 +6,18 @@
{% if linenum == 0 %}
{% if isdir == 0 %}
<p class="ques-title">
该代码文件共有{{ annotation_length }}个注释,您可见{{ annos|length }}个注释
{% comment %} 您可见{{ annos|length }}个注释 {% endcomment %}
该代码文件共有{{ annotation_length }}个注释,比赛结束后全部可见
</p>
{% endif %}
{% if isdir == 1 %}
<p class="ques-title">
该代码模块共有{{ annotation_length }}个注释,您可见{{ annos |length}}个注释
该代码模块共有{{ annotation_length }}个注释,比赛结束后全部可见
</p>
{% endif %}
{% else %}
<p class="ques-title">
该行或该代码块共有{{annotation_length}}个注释,您可见{{ annos |length}}个注释
该行或该代码块共有{{annotation_length}}个注释,比赛结束后全部可见
</p>
{% endif %}

View File

@ -1,7 +1,11 @@
<ul class="nav navbar-nav navbar-right" style="margin-right: 0px!important;">
<li style="margin-right:20px" class="pr downList-panel fr">
<img width="38" height="38" style='margin-top: 5px;float:left' src="/static/image/users/default.png" />
{% if request.user.nick_name == "" %}
<span>{{request.user.username}}</span>
{% else %}
<span>{{request.user.nick_name}}</span>
{% endif %}
<i class="fa fa-caret-down color-grey-c fl mt22 ml5"></i>
<ul class="downList">
<li><a href="{% url 'users:userinfo' %}">进入个人中心</a></li>

View File

@ -14,16 +14,21 @@
<div class="fl comments-right" >
<div class="question-comment">
<p>
{% if request.user.nick_name == "" %}
<span class="comments-name">{{answer.user.username}}</span>
{% else %}
<span class="comments-name">{{answer.user.nick_name}}</span>
{% endif %}
<span class="font-12 color-grey-c">10分钟前</span>
</p>
<div class="comments-content">{{answer.content}}</div>
<div class="otherComments">
<!-- <div class="otherComments">
<p>
<span class="comments-name">小小</span>
</p>
<div class="comments-content">向你学习</div>
</div>
</div> -->
</div>
</div>
</div>

View File

@ -24181,3 +24181,15 @@ Not Found: /favicon.ico
[pid: 12533|app: 0|req: 21/115] 180.160.29.98 () {38 vars in 572 bytes} [Thu Sep 27 18:32:54 2018] GET /favicon.ico => generated 3098 bytes in 7 msecs (HTTP/1.1 404) 3 headers in 102 bytes (2 switches on core 1)
Not Found: /favicon.ico
[pid: 12529|app: 0|req: 30/116] 180.160.29.98 () {38 vars in 572 bytes} [Thu Sep 27 18:32:54 2018] GET /favicon.ico => generated 3098 bytes in 10 msecs (HTTP/1.1 404) 3 headers in 102 bytes (1 switches on core 1)
[pid: 12531|app: 0|req: 12/117] 203.208.60.28 () {38 vars in 909 bytes} [Thu Sep 27 18:34:31 2018] GET /projects/tensorflow/tensorflow/tools/api/golden/v1/tensorflow.-summary-metadata.-plugin-data.pbtxt => generated 11869 bytes in 58 msecs (HTTP/1.1 200) 4 headers in 125 bytes (1 switches on core 1)
[pid: 12529|app: 0|req: 31/118] 203.208.60.58 () {38 vars in 869 bytes} [Thu Sep 27 18:35:25 2018] GET /projects/tensorflow/tensorflow/python/ops/linalg/linear_operator_block_diag.py => generated 11869 bytes in 74 msecs (HTTP/1.1 200) 4 headers in 125 bytes (1 switches on core 0)
SIGINT/SIGQUIT received...killing workers...
worker 1 buried after 1 seconds
worker 2 buried after 1 seconds
worker 3 buried after 1 seconds
worker 4 buried after 1 seconds
worker 5 buried after 1 seconds
worker 6 buried after 1 seconds
goodbye to uWSGI.
VACUUM: pidfile removed.
VACUUM WARNING: unix socket /projects/codepedia/codepedia2/my_sock.sock changed inode. Skip removal

View File

@ -1 +0,0 @@
12524