diff --git a/app/views/exercise/_edit_shixun.html.erb b/app/views/exercise/_edit_shixun.html.erb index 1e8fb088..23396e40 100644 --- a/app/views/exercise/_edit_shixun.html.erb +++ b/app/views/exercise/_edit_shixun.html.erb @@ -39,48 +39,75 @@
-
实训题
- -
- - 初级题 - -
- *分值: 分/题 -
*大于等于0,且不能大于100
-
+
实训题
+ +
+ + 初级题 + +
+ *分值: 分/题 +
*大于等于0,且不能大于100
+
*不能为空
+
*必须大于等于0
+
*不能大于100
+
-
- * - 随机出题量: 题 -
*不能为空
-
*必须为正整数
-
*不能大于可用题数
-
+
+ * + 随机出题量: 题 +
*不能为空
+
*必须为正整数
+
*不能大于可用题数
+
-
- 3 - 题可用 -
+
+ 3 + 题可用 +
-
+
-
+
- 中级题 +
+ 命令加密ZPI压缩文件解压 + + + +
+
+ 命令加密ZPI压缩文件解压 + + +
-
+
+ 命令加密ZPI压缩文件解压 + + + +
- 高级题 +
+
+
+
新增实训题
+
-
+
  • +

    + 保存 + 取消 + + 温馨提示:[实训题]属于客观题将由系统自动评分 + +

    +
  • - 顶级题 - -
    -
    \ No newline at end of file +
    diff --git a/app/views/exercise/_new_shixun.html.erb b/app/views/exercise/_new_shixun.html.erb index 389a4b67..36a7789b 100644 --- a/app/views/exercise/_new_shixun.html.erb +++ b/app/views/exercise/_new_shixun.html.erb @@ -41,12 +41,78 @@
    -

    实训题

    +
    实训题
    -

    -

    +
    + + 初级题 + +
    + *分值: 分/题 +
    *大于等于0,且不能大于100
    +
    *不能为空
    +
    *必须大于等于0
    +
    *不能大于100
    +
    + +
    + * + 随机出题量: 题 +
    *不能为空
    +
    *必须为正整数
    +
    *不能大于可用题数
    +
    + +
    + 3 + 题可用 +
    + +
    + + + +
    +
    +
    新增实训题
    +
    +
    + +
  • +

    + 保存 + 取消 + + 温馨提示:[实训题]属于客观题将由系统自动评分 + +

    +
  • +
    diff --git a/app/views/exercise/_new_shixun_exercise_list.html.erb b/app/views/exercise/_new_shixun_exercise_list.html.erb index 84887695..6ae106b8 100644 --- a/app/views/exercise/_new_shixun_exercise_list.html.erb +++ b/app/views/exercise/_new_shixun_exercise_list.html.erb @@ -1,22 +1,22 @@
    - + - - - + + + - + <% @shixuns.each do |shixun| %> - - - + + <% end %> @@ -85,27 +85,3 @@ } - \ No newline at end of file diff --git a/public/stylesheets/educoder/edu-main.css b/public/stylesheets/educoder/edu-main.css index 583e4a15..363ee3e8 100644 --- a/public/stylesheets/educoder/edu-main.css +++ b/public/stylesheets/educoder/edu-main.css @@ -230,6 +230,8 @@ input::-ms-clear{display:none;} .color-grey-B4{color: #B4B4B4!important;} .color-grey-74{color: #747A7F!important;} .color-f5f5f5{color: #f5f5f5!important;} +.color-afafaf{color: #afafaf!important;} + a.color-grey-name:hover,a.color-dark:hover,a.color-grey-6:hover,a.color-grey-3:hover{color: #4cacff!important;} a.color-grey-9:hover,a.color-grey-8:hover,a.color-grey-c:hover{color: #111C24!important;} /*蓝色*/ @@ -890,7 +892,7 @@ html>body #ajax-indicator { position: fixed; } .practicalTemp{ width:1200px; - height:950px; + min-height:950px; background:rgba(255,255,255,1); border:1px solid rgba(238,238,238,1); } @@ -901,7 +903,7 @@ html>body #ajax-indicator { position: fixed; } font-weight:400; color:rgba(102,102,102,1); width: 1200px; - height: 60px; + min-height: 60px; line-height: 25px; padding-left: 10px; border-bottom: 1px solid rgba(238,238,238,1); @@ -915,7 +917,7 @@ html>body #ajax-indicator { position: fixed; } .Titlefont{ width: 48px; - height: 30px; + min-height: 30px; font-size: 15px; font-family: MicrosoftYaHei; font-weight: 400; @@ -936,6 +938,85 @@ html>body #ajax-indicator { position: fixed; } margin-left: 117px; } +.colorFF8121sum{ + color: #FF8121; + font-size: 12px; + text-align: left; + width: 160px; + margin-left: 62px; +} + + .borderFF8121{ border:1px solid #FF8121 +} + +.shixunsbox{ + width: 1180px; + padding-left: 20px; + padding-bottom: 20px; + border-bottom: 1px solid rgba(238,238,238,1); +} + +.shixunsboxs{ + width: 1180px; + padding-left: 20px; + padding-bottom: 20px; +} + +.shixunsboxfont{ + width:1060px; + min-height:12px; + font-size:4px; + font-family:MicrosoftYaHei; + font-weight:400; + color:rgba(122,122,122,1); + display: inline-block; +} + +.shixundelect{ + font-size: 18px; +} + +.shixundelect:hover .color-afafaf{ + color:#5b5b5b !important; +} +.block{ + display: block; +} + +.over300{ + max-height: 300px; + overflow-y: auto; + display: block; +} +.width100p{ + width:100px; +} +.width425p{ + width:425px; +} + +.width420p{ + width:420px; +} +.newshixunbox{ + width: 303px; + height: 40px; + background: rgba(255,255,255,1); + border: 1px solid rgba(255,104,0,1); + border-radius: 2px; + line-height: 40px; + margin: 0 auto; + margin-top: 20px; +} + +.newshixunboxfont{ + width:71px; + height:12px; + font-size:4px; + font-family:MicrosoftYaHei; + font-weight:400; + color:rgba(255,104,0,1); + margin: 0 auto; } \ No newline at end of file
    实训名称创建者级别实训名称创建者级别
    + <%= link_to shixun.name, shixun_path(shixun), :class => "edu-info-dark task-hide mt3 ml20",:style=> "text-align:left", :target => "_blank" %> <%= link_to shixun.owner.try(:show_name), user_path(shixun.owner), :class => "edu-txt-w140 mt3 task-hide" %><%= shixun.shixun_level %><%= link_to shixun.owner.try(:show_name), user_path(shixun.owner), :class => "mt3 task-hide" %><%= shixun.shixun_level %>