新建实训时插入图片的弹框有问题了

This commit is contained in:
daiao 2017-08-21 15:41:03 +08:00
parent 32cc7edba6
commit 4cc2a7688e
3 changed files with 14 additions and 10 deletions

View File

@ -53,7 +53,9 @@
<div id="current_repository_path" class="undis"><%= file_update_myshixun_game_path(@game, :myshixun_id => @myshixun, :path => @path) %></div>
<script>
$(function(){
<% if @myshixun.shixun.try(:webssh) %>
LoadingWebssh();
<% end %>
});
var H = 2;
function g_l(o){return document.getElementById(o);}
@ -139,6 +141,7 @@
// 本地版
var html_local ="<iframe src='http://127.0.0.1:9527?Host=106.75.96.108&Port=40054&Username=root&Password=123123&Gameid=" +data.game_id + "&rows=" + rows + "'" + " style='width:100%;border:0;' scrolling='no' class='game_webssh'></iframe><div class='-brother undis'></div>";
// $("#LazyLoading").remove();
console.log(html);
$("#codetab_con_"+H).html(html);
$(".game_webssh").css("min-height", h);
// HoverLi_new(2);

View File

@ -1,4 +1,4 @@
<%= stylesheet_link_tag '/editormd/css/editormd','/editormd/css/editormd.min.css' %>
<%= stylesheet_link_tag '/editormd/css/editormd' %>
<%= javascript_include_tag '/editormd/editormd.min.js' %>
<div class="edu-con-bg01 user_bg_shadow mb20" style="padding:30px 0;">
<div class="ml30 mr30">

View File

@ -55,6 +55,7 @@
-moz-appearance: none;
-ms-appearance: none;
appearance: none;
line-height: normal;
}
.editormd ::-webkit-scrollbar {
height: 10px;