提交 6de1d289 编写于 作者: K Kevin Nadro

sandbox container show

a way to make sure the sandbox container shows up when inside the
sandbox tracers and when you aren’t in it
上级 653cce5a
......@@ -256,7 +256,6 @@ section {
.editor_container {
left: 50%;
display: none;
}
.module_container {
......@@ -264,6 +263,10 @@ section {
border: none;
}
.hide{
display: none;
}
.tab_container {
top: 30px;
background: #242424;
......
......@@ -127,7 +127,7 @@
</div>
</section>
</div>
<div class="sandbox_container">
<div class="sandbox_container hide">
<div>
<div class="inputContainer">
<div>
......
......@@ -25,6 +25,14 @@ module.exports = (category, algorithm, data, requestedFile) => {
algorithm_name = categoryObj.list[algorithm];
}
if(category_name === 'Sandbox'){
$('.editor_container').addClass('hide');
$('.sandbox_container').removeClass('hide');
}else{
$('.editor_container').removeClass('hide');
$('.sandbox_container').addClass('hide');
}
$('.sidemenu button').removeClass('active');
$menu.addClass('active');
......
......@@ -40,7 +40,6 @@ $(() => {
// load modules to the global scope so they can be evaled
extend(true, window, modules);
extend(true, window, Sandbox);
Server.loadCategories().then((data) => {
app.setCategories(data);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册