-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (49 loc) · 1.3 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Monaco Diff</title>
<script>
//-- Initialize JQuery
window.$ = window.jQuery = require('./lib/jquery.min.js');
//-- Initialize Require (as it'll be overrided by monaco's loader.js)
if (window.require) {
window.nodeRequire = window.require;
}
</script>
<script src="./node_modules/bootstrap/dist/js/bootstrap.min.js" type="text/javascript"></script>
<link type="text/css" rel="stylesheet" href="./node_modules/bootstrap/dist/css/bootstrap.min.css" />
<link type="text/css" rel="stylesheet" href="./node_modules/font-awesome/css/font-awesome.min.css" />
<style>
html {
position: relative;
min-height: 100%;
}
body {
margin: 0;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
/* Set the fixed height of the footer here */
height: 30px;
background-color: #007ACC;
color: White;
padding-left: 10px;
padding-top:4px;
}
</style>
</head>
<body>
<div id="editor"></div>
<footer class="footer">
Lines Changed: <span id="totalDiffs"></span> | <span id="currentLanguage"></span>
</footer>
<script>
</script>
<script src="./node_modules/monaco-editor/min/vs/loader.js"></script>
<!-- The App -->
<script type="text/javascript" src="./node_modules/app.js"></script>
</body>
</html>