-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
88 lines (77 loc) · 2.7 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<html>
<head>
<title>React App</title>
<link rel="stylesheet" href="assets/styles/main.css"/>
<style type="text/css" media="screen">
#editor {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
</style>
<style type="text/css">
html, body {
height: 100%;
min-height: 100%;
margin: 0;
padding: 0;
}
#left-component {
right: 50%;
margin-right: 5px;
}
#my-divider {
right: 50%;
width: 5px;
}
#right-component {
width: 50%;
}
</style>
</head>
<body>
<div class="pretty-split-pane-frame"><!-- This div is added for styling purposes only. It's not part of the split-pane plugin. -->
<div class="split-pane vertical-percent">
<div class="split-pane-component" id="left-component">
<div class="pretty-split-pane-component-inner"><!-- This div is added for styling purposes only. It's not part of the split-pane plugin. -->
<p>This split pane component width is in percent. <code>min-width</code> (<code>0px</code> in this exampe) will be respected</p>
<p>Re-size the window and move the divider to see the effect!</p>
<pre id="editor"></pre>
</div>
</div>
<div class="split-pane-divider" id="my-divider"></div>
<div class="split-pane-component" id="right-component">
<div class="pretty-split-pane-component-inner"><!-- This div is added for styling purposes only. It's not part of the split-pane plugin. -->
<p>This split pane component width is in percent. <code>min-width</code> (<code>0px</code> in this exampe) will be respected</p>
</div>
</div>
</div>
</div>
<script src="assets/js/lib/ace/ace.js"></script>
<script>
var editor = ace.edit("editor");
editor.setTheme("ace/theme/github")
editor.session.setMode("ace/mode/markdown")
</script>
<script src="assets/js/lib/jquery.js"></script>
<script src="assets/js/lib/split-pane.js"></script>
<script>
$(function() {
$('div.split-pane').splitPane();
});
</script>
<!--<script src="assets/js/lib/foundation/foundation.js"></script>-->
<!--<script src="assets/js/lib/foundation/foundation.reveal.js"></script>-->
<!--<script src="assets/js/lib/jquery.tipsy.js"></script>-->
<!--<script src="assets/js/lib/react-with-addons.js"></script>-->
<!--<script src="assets/js/lib/JSXTransformer.js"></script>-->
<!--<script src="assets/js/lib/html.md.js"></script>-->
<!--<script type="text/jsx" src="src/home.js"></script>-->
<!--<script type="text/jsx" src="src/topbar.js"></script>-->
<!--<script type="text/jsx" src="src/modal.js"></script>-->
<!--<script type="text/jsx" src="src/new.js"></script>-->
<!--<script type="text/jsx" src="src/app.js"></script>-->
</body>
</html>