实训tpi
This commit is contained in:
parent
6f4e4bea4c
commit
bc0c995a0c
|
@ -1,5 +1,5 @@
|
|||
<div class="content clearfix">
|
||||
<div class="alert alert-blue mr15 mt15 ml15" id="myshixun_tip">
|
||||
<div class="alert alert-blue mr45 mt15 ml15" id="myshixun_tip" >
|
||||
<button data-dismiss="alert" class="task-close fr" type="button" id="close_myshixun_tip">×</button>
|
||||
完成任务后,请点击“提交评测”按钮,若通过系统评测,将为你解锁下一关,祝你早日通关,加油!
|
||||
</div>
|
||||
|
|
|
@ -1,4 +1,17 @@
|
|||
<div class="content-editor col-width fl ">
|
||||
<div class=" col-width fl ml15 mt15 content-half-fix02 undis">
|
||||
<div class="panel-header clearfix">
|
||||
<h3 class="fl">测试输出</h3>
|
||||
<div class="fr mt5">
|
||||
<a href="#"><i class="fa fa-minus font-14 mr10 fl color-grey"></i></a>
|
||||
<a href="javascript:void(0)" onclick="close_big_repository()"><i class="fa fa-compress font-14 fl color-grey"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-history-inner">
|
||||
Thor position=(32,4).Light position={32,4}<br/>
|
||||
Engryg=74
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-editor col-width fl">
|
||||
<div class="panel-header clearfix">
|
||||
<h3 class="fl">
|
||||
<%= render :partial => 'myshixun_breadcrumbs', :locals => {:path => @path, :kind => 'dir', :revision => @rev} %>
|
||||
|
@ -7,7 +20,7 @@
|
|||
<% if params[:action] == "entry" %>
|
||||
<a href="<%= file_edit_myshixun_game_path(@game, :myshixun_id => @myshixun) %>"><i class="fa fa-edit font-18 fl color-grey mr10"></i></a>
|
||||
<% end %>
|
||||
<a href="#"><i class="fa fa-check-circle font-18 fl color-grey"></i></a>
|
||||
<a href="javascript:void(0)" onclick="extend_repository();"><i class="fa fa-check-circle font-18 fl color-grey"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-editor-inner">
|
||||
|
@ -23,3 +36,40 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="cl"></div>
|
||||
<script>
|
||||
var web_h = window.innerHeight;
|
||||
$(document).ready(function(){
|
||||
if($.browser.msie) {
|
||||
$(".content-half-fix02").css("height", web_h - 85 + "px");
|
||||
$(".content-half-fix02").css("width", "86%");
|
||||
}
|
||||
else if($.browser.safari)
|
||||
{
|
||||
$(".content-half-fix02").css("height", web_h - 85 + "px");
|
||||
$(".content-half-fix02").css("width", "86%");
|
||||
}
|
||||
else if($.browser.mozilla)
|
||||
{
|
||||
$(".content-half-fix02").css("height", web_h - 85 + "px");
|
||||
$(".content-half-fix02").css("width", "86%");
|
||||
}
|
||||
else if($.browser.opera) {
|
||||
$(".content-half-fix02").css("height", web_h - 85 + "px");
|
||||
$(".content-half-fix02").css("width", "86%");
|
||||
}else if($.browser.chrome){
|
||||
if(window.navigator.userAgent.indexOf("MetaSr") == -1){
|
||||
$(".content-half-fix02").css("height", web_h - 85 + "px");
|
||||
$(".content-half-fix02").css("width", "86%");
|
||||
}else{
|
||||
$(".content-half-fix02").css("height", web_h - 80 + "px");
|
||||
$(".content-half-fix02").css("width", "85.7%");
|
||||
}
|
||||
}
|
||||
});
|
||||
function close_big_repository(){
|
||||
$(".content-half-fix02").hide()
|
||||
}
|
||||
function extend_repository(){
|
||||
$(".content-half-fix02").show()
|
||||
}
|
||||
</script>
|
|
@ -32,7 +32,7 @@ a.link-color-green{color:#29bd8b;}
|
|||
.mt3{ margin-top:3px;}.mt5{ margin-top:5px;}.mt10{ margin-top:10px;}.mt15{ margin-top:15px;}.mt20{ margin-top:20px;}.mt25{ margin-top:25px;}.mt30{ margin-top:30px;}
|
||||
.mb5{ margin-bottom: 5px;}.mb10{ margin-bottom: 10px;}.mb15{ margin-bottom: 15px;}.mb20{ margin-bottom: 20px;}.mb25{ margin-bottom: 25px;}.mb30{ margin-bottom: 30px;}
|
||||
.ml5{ margin-left: 5px;}.ml10{ margin-left: 10px;}.ml15{ margin-left: 15px;}.ml20{ margin-left: 20px;}.ml25{ margin-left: 25px;}.ml30{ margin-left: 30px;}.ml230{ margin-left: 230px;}
|
||||
.mr5{ margin-right: 5px;}.mr10{ margin-right: 10px;}.mr15{ margin-right: 15px;}.mr20{ margin-right: 20px;}.mr25{ margin-right: 25px;}.mr30{ margin-right:30px;}
|
||||
.mr5{ margin-right: 5px;}.mr10{ margin-right: 10px;}.mr15{ margin-right: 15px;}.mr20{ margin-right: 20px;}.mr25{ margin-right: 25px;}.mr30{ margin-right:30px;}.mr45{margin-right:45px;}
|
||||
.pt5{ padding-top:5px;}.pt10{ padding-top:10px;}.pt15{ padding-top:15px;}.pt20{ padding-top:20px;}
|
||||
.pb5{ padding-bottom:5px;}.pb10{ padding-bottom:10px;}.pb15{ padding-bottom:15px;}.pb20{ padding-bottom:20px;}
|
||||
.pl5{ padding-left:5px;}.pl10{ padding-left:10px;}.pl15{ padding-left:15px;}.pl20{ padding-left:20px;}
|
||||
|
@ -163,4 +163,4 @@ input.knowledge_frame{height:30px;line-height:30px;border:none;background:#f3f5f
|
|||
.content-all-fix{ margin:0; position: absolute; top:15px; z-index:99; }
|
||||
.content-all-fix .tab-info-inner{ overflow:auto; margin:15px 0 0px 15px; }
|
||||
.content-half-fix{ min-width:450px; margin:0; position: absolute; top:15px; z-index:99;}
|
||||
.content-half-fix02{width:42.5%; min-width:450px; margin:0; min-height:936px; position: absolute; top:15px; z-index:99; right:15px;}
|
||||
.content-half-fix02{margin:0; position: absolute; top:65px; z-index:99; right:45px;}
|
Loading…
Reference in New Issue