From ff44bb6800587218295d7c19c8f4a9fef243caba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E775174143?= <775174143@qq.com> Date: Thu, 16 Aug 2018 14:50:58 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/source.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/source.js b/static/js/source.js index 51ce34d..a00f425 100644 --- a/static/js/source.js +++ b/static/js/source.js @@ -325,7 +325,7 @@ function submit_annotation(file_id, line_num, content) { $(".source-addno-panel").remove(); // show_annotation(file_id,line_num); //将注释添加到当前行的上一行 - var contenthtml ='
'+''+"//"+content+''+'
'+"//"+content+''+'
'+ - '注释'+ - '问题'+ + '注释'+ + '问题'+ '
'+ ''+ '提交'+ diff --git a/templates/projects/filesub/dir_info.html b/templates/projects/filesub/dir_info.html index 73d02c5..dd56711 100644 --- a/templates/projects/filesub/dir_info.html +++ b/templates/projects/filesub/dir_info.html @@ -20,8 +20,8 @@- 注释 - 问题 + 注释 + 问题
提交 diff --git a/templates/projects/filesub/file-right.html b/templates/projects/filesub/file-right.html index 668a51e..483c77f 100644 --- a/templates/projects/filesub/file-right.html +++ b/templates/projects/filesub/file-right.html @@ -21,8 +21,8 @@- 注释 - 问题 + 注释 + 问题
提交 From a8c11177a2e5ea5a9b38003b1db34d2e280ef9ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E775174143?= <775174143@qq.com> Date: Fri, 17 Aug 2018 12:12:14 +0800 Subject: [PATCH 3/4] . --- static/css/code_show.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/css/code_show.css b/static/css/code_show.css index b5243de..376ed08 100644 --- a/static/css/code_show.css +++ b/static/css/code_show.css @@ -1429,8 +1429,8 @@ color: #FFF !important; font-size:18px !important; } .codelinebox{ - line-height: 0px; - min-height: 0px; + line-height: 19px; + min-height: 19px; margin-bottom: -5px; } .newmypre{ From 512b77b1c28e9490004a69c13e10080bcf7409bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E775174143?= <775174143@qq.com> Date: Fri, 17 Aug 2018 12:53:37 +0800 Subject: [PATCH 4/4] =?UTF-8?q?1.=E8=AF=A6=E6=83=85=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20=E4=B8=80=E8=A1=8C=202.=E5=8F=B3=E8=BE=B9?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E5=A2=9E=E5=8A=A0=E4=B8=A4=E8=A1=8C=E5=86=85?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/css/code_show.css | 25 ++++++++++-- templates/projects/filesub/dir_info.html | 18 +++++++++ templates/projects/filesub/file-right.html | 45 ++++++++++++++++++++++ 3 files changed, 84 insertions(+), 4 deletions(-) diff --git a/static/css/code_show.css b/static/css/code_show.css index 376ed08..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; @@ -1506,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/templates/projects/filesub/dir_info.html b/templates/projects/filesub/dir_info.html index dd56711..6602d2e 100644 --- a/templates/projects/filesub/dir_info.html +++ b/templates/projects/filesub/dir_info.html @@ -73,6 +73,7 @@@@ -95,4 +96,21 @@
+ 1 + 测试测试测试测试测试测试 +
+ ++ 2 + 测试测试测试测试测试测试 +
+Web Docomentations
++ 1 + 测试测试测试测试测试测试 +
++ 2 + 测试测试测试测试测试 +
++ 3 + 测试测试测试测试测试测试 +
++ 4 + 测试测试测试测试测试测试 +
+ +add a link
+ +Code Track
++ 1 + 测试测试测试测试 +
++ 2 + 测试测试测试测试测试 +
++ 3 + 测试测试测试测试测试测试 +
++ 4 + 测试测试测试测试测试测试 +
+add a link
+ +