-
- <%= f.text_area :content %>
+
+
+
描述
+
+
+ <%= f.text_area :content %>
+
+
请输入描述内容
-
请输入描述内容
+
+
+
标签
+
+ <% LibraryTag.where(nil).each do |tag| %>
+ - <%= tag.name %>
+ <% end %>
+
+
+
+ <%= render partial: 'attachments/from_libraries', locals: { container: @library } %>
+
请上传附件
-
-
- <% unless @library.published? %>
- <%= link_to '申请发布', 'javascript:void(0)', class: 'white-btn edu-blueback-btn changebtn mr20 fl apply-publish-btn' %>
- <% end %>
- <%= link_to '保存', 'javascript:void(0)', class: 'white-btn edu-blueline-btn changebtn mr20 fl submit-btn' %>
-
+
+ <% unless @library.published? %>
+ <%= link_to '申请发布', 'javascript:void(0)', class: 'white-btn edu-blueback-btn changebtn mr20 fl apply-publish-btn' %>
+ <% end %>
+ <%= link_to '保存', 'javascript:void(0)', class: 'white-btn edu-blueline-btn changebtn mr20 fl submit-btn' %>
+
<% end %>
\ No newline at end of file
diff --git a/public/500.html b/public/500.html
index b0dc43d7..674febcf 100644
--- a/public/500.html
+++ b/public/500.html
@@ -2,7 +2,7 @@
"http://www.w3.org/TR/html4/loose.dtd">
-
Trustie 500 error
+
EduCoder 500 error
diff --git a/public/stylesheets/educoder/edu-all.css b/public/stylesheets/educoder/edu-all.css
index ade4b028..285a66df 100644
--- a/public/stylesheets/educoder/edu-all.css
+++ b/public/stylesheets/educoder/edu-all.css
@@ -650,7 +650,7 @@ a.enterLink{cursor: pointer;color: #418CCD!important;background: none!important;
.second_4{min-height: 610px;padding-top: 190px;box-sizing: border-box;position: relative}
.second_5{min-height: 617px;padding-top: 190px;box-sizing: border-box;position: relative}
.second_6{min-height: 1053px;}
-.second_7{min-height: 1096px;}
+.second_7{min-height: 1078px;}
.second_8{min-height: 727px;}
/*代码标注*/
@@ -723,11 +723,11 @@ li.challenge_box:last-child{
.second_course_2{min-height: 823px;}
.second_course_3{min-height: 690px;}
.second_course_4{min-height: 514px;}
-.second_course_5{min-height: 627px;padding-top: 190px;box-sizing: border-box;position: relative}
-.second_course_6{min-height: 1225px;}
+.second_course_5{min-height: 657px;padding-top: 190px;box-sizing: border-box;position: relative}
+.second_course_6{min-height: 1199px;}
.course_competition_panel{
margin:30px 40px 40px;border:1px solid #ABDCF1;background: #F1F8FD;justify-content: center;align-items: center;display: -webkit-flex;
- height: 282px;text-align: center;
+ height: 220px;text-align: center;
}
.course_competition_panel a{
width: 320px;height: 60px;line-height: 60px;float: left;margin:0px 100px;background: #ccc;color: #fff!important;
@@ -737,8 +737,8 @@ li.challenge_box:last-child{
background: #47B6FC;
}
.ex_submit{
- width: 360px;height: 70px;background: #2CDAD4;color: #fff!important;font-size: 30px;line-height: 70px;text-align: center;
- margin:0px auto;display: block;
+ width: 250px;height: 60px;background: #2CDAD4;color: #fff!important;font-size: 22px;line-height: 60px;text-align: center;
+ margin:0px auto;display: block;float: left;margin:0px 35px;
}
table.tBodyScroll tbody tr td{
padding:6px 5px;box-sizing: border-box;font-size: 16px;color: #05101A;font-weight: normal;