-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (41 loc) · 1.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="/favicon.ico"/>
<link type="text/css" rel="stylesheet" href="/vendor/simplemde.min.css">
<title>Getting Started with Collaborative.js</title>
<style>
a, div, input, button, textarea {
outline: none;
}
.CodeMirror {
height: 400px;
}
.sharing-link {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
line-height: 30px;
}
</style>
</head>
<body>
<div class="sharing-link">
Use this link to open the document in a separate window or share it with friend:
<a id="sharing-link" href="#" target="_blank"></a>
</div>
<textarea id="text-area"></textarea>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="/vendor/simplemde.min.js"></script>
<script src="/collaborative.min.js"></script>
<script>
// {{site}} token is replaced by the server with the site data during the page rendering
// For details, see '/document/:id?' endpoint at index.js file
var site = '{{site}}';
</script>
<script src="/setup_sharing_link.js"></script>
<script src="/setup_collaborative.js"></script>
<script src="/setup_text_editor.js"></script>
</body>
</html>