-
Notifications
You must be signed in to change notification settings - Fork 106
/
Copy pathview.html
109 lines (85 loc) · 2.85 KB
/
view.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Codetainer</title>
<script src="/public/javascript/jquery.js"></script>
<script src="/public/javascript/handlebars.js"></script>
<script src="/public/javascript/xterm.js"></script>
<script src="/public/javascript/xterm-plugins.js"></script>
<script src="/public/javascript/connect.js"></script>
<link rel="stylesheet" href="/public/stylesheet/font-awesome.css">
<link rel="stylesheet" href="/public/stylesheet/fonts.css">
<link rel="stylesheet" href="/public/stylesheet/codetainer.css">
<link rel="stylesheet" href="/public/stylesheet/xterm.css">
</head>
<body>
<div id="codetainer">
<!-- HEADER --!>
<div class="codetainer-header" <% if .terminalOnly %>style="display:none"<% end %>>
<div class="logo">
<span>code</span><span>tainer</span>
</div>
</div>
<!-- END HEADER --!>
<!-- CONTENT --!>
<div class="codetainer-content <% if .terminalOnly %>full-width<% end %>"></div>
<!-- END CONTENT --!>
<!-- FOOTER --!>
<div class="codetainer-footer" <% if .terminalOnly %>style="display:none"<% end %>>
<div class="footer-sidebar-options">
<a class="footer-sidebar-button">
<i class="fa fa-file"></i>
</a>
<a class="create-new-folder footer-sidebar-button">
<i class="fa fa-folder"></i>
</a>
<a class="footer-sidebar-button">
<i class="fa fa-refresh"></i>
</a>
</div>
<div class="footer-main"></div>
</div>
<!-- END FOOTER --!>
</div>
<div class="Templates" style="display:none;">
<script id="codetainer-tab-control" type="text/x-handlebars-template">
<!-- Tab Control --!>
<div class="codetainer-tabs">
<ul class="nav nav-tabs" style="max-width: 100%;">
</ul>
</div>
<!-- END Tab Control --!>
</script>
<script id="codetainer-tab-new" type="text/x-handlebars-template">
<li id="{{tabId}}" class='{{#if options.active}}active{{/if}}'>
<a href="#">
{{#unless options.terminal}}
<i id="{{tabId}}-close" class="fa fa-remove"></i>
{{/unless}}
{{options.name}}
</a>
</li>
</script>
<script id="codetainer-content" type="text/x-handlebars-template">
<div id="{{contentId}}" class="codetainer-tab-content" style="display:none;">
{{#if options.terminal}}
<div id="codetainer-terminal"></div>
{{else}}
{{options.content}}
{{/if}}
</div>
</script>
<script id="codetainer-sidebar" type="text/x-handlebars-template">
<!-- SIDEBAR --!>
<div class="codetainer-sidebar"></div>
<!-- END SIDEBAR --!>
</script>
</div>
<script>
$(function() {
Codetainer.Build("<% .ContainerId %>");
});
</script>
</body>
</html>