实训任务
This commit is contained in:
parent
7888cc1101
commit
9bc860eb24
|
@ -17,7 +17,7 @@
|
|||
<div class="<%= output.code == 0 ? 'clearfix history-success mb10' : 'clearfix history-fail mb10' %>">
|
||||
<span class="<%= output.code == 0 ? 'icon-success fl mr5' : 'icon-fail fl mr5' %>"><%= index + 1 %></span>
|
||||
<p class="fl"><%= output.code == 0 ? '恭喜,您已经完成了本任务!' : '错误结果!' %></p>
|
||||
<%= link_to "详情", outputs_show_myshixun_game_path(@game, :myshixun_id => @myshixun, :game_output_id => output.id), :class => "fr mr10" %>
|
||||
<%= link_to "详情", outputs_show_myshixun_game_path(@game, :myshixun_id => @myshixun, :game_output_id => output.id), :class => "fr mr10", :remote => true %>
|
||||
</div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
|
|
@ -71,8 +71,8 @@
|
|||
}else if($.browser.chrome){
|
||||
if(window.navigator.userAgent.indexOf("MetaSr") == -1){
|
||||
$(".content").css("height", web_h - 75 + "px");
|
||||
$(".tab-info-inner").css("height", web_h * 0.55 + "px");
|
||||
$(".content-editor").css("height", web_h * 0.55 + 105 + "px");
|
||||
$(".tab-info-inner").css("height", web_h * 0.52 + "px");
|
||||
$(".content-editor").css("height", web_h * 0.535 + 105 + "px");
|
||||
}else{
|
||||
$(".content").css("height", web_h - 75 + "px");
|
||||
$(".tab-info-inner").css("height", web_h * 0.52 + "px");
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
</h3>
|
||||
<div class="fr mt5">
|
||||
<% if params[:action] == "entry" %>
|
||||
<a href="javascript:void(0)" class="undis" id="sava_edit_btn1" onclick="file_edit_submit()" title="保存修改"><i class="fa fa-save font-18 fl color-grey mr10"></i></a>
|
||||
<a href="javascript:void(0)" class="fl task-btn mb10 mr10" style="display: none" id="sava_edit_btn1" onclick="file_edit_submit()">保存修改</a>
|
||||
<a href="javascript:void(0)" class="undis" id="sava_edit_btn1" onclick="file_edit_submit()"><i class="fa fa-save font-18 fl color-grey mr10"></i></a>
|
||||
<a href="<%= file_edit_myshixun_game_path(@game, :myshixun_id => @myshixun, :path => params[:path]) %>" data-remote="true" ><i class="fa fa-edit font-18 fl color-grey mr10"></i></a>
|
||||
<% end %>
|
||||
<a href="javascript:void(0)" onclick="extend_repository();"><i class="fa fa-expand font-18 fl color-grey"></i></a>
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
}else if($.browser.chrome){
|
||||
if(window.navigator.userAgent.indexOf("MetaSr") == -1){
|
||||
$(".content").css("height", web_h - 75 + "px");
|
||||
$(".tab-info-inner").css("height", web_h * 0.55 + "px");
|
||||
$(".content-editor").css("height", web_h * 0.55 + 105 + "px");
|
||||
$(".tab-info-inner").css("height", web_h * 0.535 + "px");
|
||||
$(".content-editor").css("height", web_h * 0.535 + 105 + "px");
|
||||
}else{
|
||||
$(".content").css("height", web_h - 75 + "px");
|
||||
$(".tab-info-inner").css("height", web_h * 0.52 + "px");
|
||||
|
|
Loading…
Reference in New Issue