Remove split.js from the agent.
This commit is contained in:
47
app.css
47
app.css
@@ -1,44 +1,9 @@
|
||||
/* * * * * * * * * * *
|
||||
* Split js theming. *
|
||||
* * * * * * * * * * */
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
}
|
||||
body {
|
||||
/* padding: 8px; */
|
||||
margin: 0;
|
||||
/*background-color: #F6F6F6;*/
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.split {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
.content {
|
||||
border: 1px solid #C0C0C0;
|
||||
box-shadow: inset 0 1px 2px #e4e4e4;
|
||||
background-color: #fff;
|
||||
}
|
||||
.gutter {
|
||||
#sidebar-menu {
|
||||
background-color: #eee;
|
||||
background-repeat: no-repeat;
|
||||
background-position: 50%;
|
||||
}
|
||||
.gutter.gutter-horizontal {
|
||||
cursor: col-resize;
|
||||
background-image: url('./images/grips/vertical.png');
|
||||
}
|
||||
.gutter.gutter-vertical {
|
||||
cursor: row-resize;
|
||||
background-image: url('./images/grips/horizontal.png');
|
||||
}
|
||||
.split.split-horizontal, .gutter.gutter-horizontal {
|
||||
position: fixed;
|
||||
overflow-y: scroll;
|
||||
width: 250px;
|
||||
height: 100%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#sidebar-menu ul {
|
||||
@@ -50,6 +15,10 @@ body {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#main-content {
|
||||
margin-left: 250px;
|
||||
}
|
||||
|
||||
.pane-title {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
3
app.html
3
app.html
@@ -12,7 +12,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<div id="sidebar-menu" class="split split-horizontal" style=""></div>
|
||||
<div id="main-content" class="split split-horizontal container" style="">
|
||||
<div id="main-content" class="split split-horizontal container-fluid" style="">
|
||||
<div class="keymap keymap--qwerty">
|
||||
<div class="row">
|
||||
<h1 class="col-xs-12 pane-title">
|
||||
@@ -55,7 +55,6 @@
|
||||
|
||||
<script type="text/javascript" src="./bower_components/jquery/dist/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="bower_components/handlebars/handlebars.js"></script>
|
||||
<script type="text/javascript" src="./bower_components/Split.js/split.js"></script>
|
||||
<script type="text/javascript" src="bower_components/owl.carousel/dist/owl.carousel.js"></script>
|
||||
<script type="text/javascript" src="./app.js"></script>
|
||||
|
||||
|
||||
6
app.js
6
app.js
@@ -1,10 +1,4 @@
|
||||
$(function() {
|
||||
Split(["#sidebar-menu", "#main-content"], {
|
||||
gutterSize: 8,
|
||||
sizes: [5, 95],
|
||||
minSize: 250
|
||||
});
|
||||
|
||||
// Handlebars template for Sidebar menu.
|
||||
var sidebarMenuSource = $('#sidebar-menu--source').html();
|
||||
var sidebarMenuTemplate = Handlebars.compile(sidebarMenuSource);
|
||||
|
||||
Reference in New Issue
Block a user