diff --git a/static/css/code_show.css b/static/css/code_show.css index 3c85708..eb5ada9 100644 --- a/static/css/code_show.css +++ b/static/css/code_show.css @@ -411,7 +411,7 @@ a:hover { margin: 0; float: left; background-color: #26292b!important; - height: 100%; + height: 880px; } .codeopration { @@ -494,12 +494,22 @@ a:hover { .panel-left { display: block; float: left; - width: 60px; + width: 250px; text-align: left; - color: #C3BDBD; + color: #FEFEFE; + font-size: 13px; + overflow:hidden; + text-overflow:ellipsis; + white-space:nowrap +} +.panel-left00 { + display: block; + float: left; + width: 35px; + text-align: left; + color: #FEFEFE; font-size: 13px; } - .panel-right { color: #EBEBEB; @@ -823,8 +833,18 @@ pre.prettyprint { .put-select span.active { color: #05101a; + border: 1px solid #05101a; + text-align: center; + margin: 10px 10px 10px 0px; } +.put-selectspanactive{ + font-weight: bold; + font-size: 16px; + margin: 10px 0px 10px 10px; + border: 1px solid transparent; + text-align: center; +} .addno-panel { position: absolute; width: 410px; @@ -1496,4 +1516,11 @@ color: #FFF !important; background-size: 100% 100%; height: 16px; width: 16px; +} +.both{ + clear: both; +} +.panel-leffont{ + fonr-size:24px; + color:#C3BDBD; } \ No newline at end of file diff --git a/static/js/source.js b/static/js/source.js index 67e0185..1eb5d0a 100644 --- a/static/js/source.js +++ b/static/js/source.js @@ -322,8 +322,12 @@ function submit_annotation(file_id, line_num, content) { $(".source-addno-panel").remove(); // show_annotation(file_id,line_num); //将注释添加到当前行的上一行 +<<<<<<< HEAD console.log(data.anno_content) var contenthtml ='
'+'
'+'
'+data.anno_content+'
'+'
'+'
'; +======= + var contenthtml ='
'+'
'+'
'+"//"+content+'
'+'
'+'
'; +>>>>>>> 512b77b1c28e9490004a69c13e10080bcf7409bc var html = '
'+contenthtml+'
'; var id=file_id+'_'+"L"+line_num; $("#"+id).before(html) @@ -878,8 +882,8 @@ function inject_addnoPanel_html(item,file_id,linenum) { '
'+ '
'+ '

'+ - '注释'+ - '问题'+ + '注释'+ + '问题'+ '

'+ ''+ '提交'+ diff --git a/templates/projects/filesub/dir_info.html b/templates/projects/filesub/dir_info.html index 73d02c5..6602d2e 100644 --- a/templates/projects/filesub/dir_info.html +++ b/templates/projects/filesub/dir_info.html @@ -20,8 +20,8 @@

- 注释 - 问题 + 注释 + 问题

提交 @@ -73,6 +73,7 @@
+
文件信息

@@ -95,4 +96,21 @@

{% endfor %} + + + +
+ Hot Questions +
+
+

+ 1 + 测试测试测试测试测试测试 +

+ +

+ 2 + 测试测试测试测试测试测试 +

+
\ No newline at end of file diff --git a/templates/projects/filesub/file-right.html b/templates/projects/filesub/file-right.html index 668a51e..c7bc9d5 100644 --- a/templates/projects/filesub/file-right.html +++ b/templates/projects/filesub/file-right.html @@ -21,8 +21,8 @@

- 注释 - 问题 + 注释 + 问题

提交 @@ -51,6 +51,51 @@

+ +
+

Web Docomentations

+

+ 1 + 测试测试测试测试测试测试 +

+

+ 2 + 测试测试测试测试测试 +

+

+ 3 + 测试测试测试测试测试测试 +

+

+ 4 + 测试测试测试测试测试测试 +

+ +

add a link

+
+
+ +
+

Code Track

+

+ 1 + 测试测试测试测试 +

+

+ 2 + 测试测试测试测试测试 +

+

+ 3 + 测试测试测试测试测试测试 +

+

+ 4 + 测试测试测试测试测试测试 +

+

add a link

+
+