-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
113 lines (98 loc) · 5.2 KB
/
index.html
File metadata and controls
113 lines (98 loc) · 5.2 KB
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
105
106
107
108
109
110
111
112
113
<!doctype html>
<!-- See http://www.firepad.io/docs/ for detailed embedding docs. -->
<html>
<head>
<title>cocode</title>
<!-- favicon (realfavicongenerator.net) -->
<link rel="apple-touch-icon" sizes="144x144" href="img/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="img/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="img/favicon/favicon-16x16.png">
<link rel="manifest" href="img/favicon/site.webmanifest">
<link rel="mask-icon" href="img/favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="img/favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="img/favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<!-- so meta (metags.io) -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="img/logo.png" />
<!-- Primary Meta Tags -->
<meta name="title" content="Collaborative Code">
<meta name="description" content="Realtime HTML collaboration & webpage preview.">
<meta property="author" content="Shaun Mitchell <shaun@shitchell.com>"/>
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://shitchell.github.io/cocode/">
<meta property="og:title" content="Collaborative Code">
<meta property="og:site_name" content="cocode">
<meta property="og:description" content="Realtime HTML collaboration & webpage preview.">
<meta property="og:image" content="https://shitchell.github.io/cocode/img/meta-scrot.png?v=2">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://shitchell.github.io/cocode/">
<meta property="twitter:title" content="Collaborative Code">
<meta property="twitter:description" content="Realtime HTML collaboration & realtime code preview.">
<meta property="twitter:image" content="https://shitchell.github.io/cocode/img/meta-scrot.png?v=2">
<!-- jQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- Firebase -->
<script src="https://www.gstatic.com/firebasejs/3.3.0/firebase.js"></script>
<!-- CodeMirror -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.3.3/ace.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.3.3/ext-language_tools.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.3.3/ext-spellcheck.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.3.3/ext-themelist.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.3.3/ext-settings_menu.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.2.6/ext-beautify.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.3.3/mode-html.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.3.3/theme-vibrant_ink.js"></script>
<!-- Firepad -->
<link rel="stylesheet" href="https://cdn.firebase.com/libs/firepad/1.4.0/firepad.css" />
<script src="https://cdn.firebase.com/libs/firepad/1.4.0/firepad.min.js"></script>
<!-- Toastr -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js"></script>
<!-- Font Awesome Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- Custom stuffs -->
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link rel="stylesheet" href="css/editor.css?v=18" />
<link rel="stylesheet" href="css/firepad-userlist.css" />
<script src="js/editor.js?v=19"></script>
<script src="js/firepad-userlist.js"></script>
</head>
<body class="shadow-i">
<header class="transition">
<div id="names">
<div id="site-title">cocode</div>
<div id="document-name-wrapper">
<span id="hash">:</span>
<form id="name-form">
<input id="document-name" class="transition" type="text" value="..." placeholder="switch to..." />
</form>
</div>
</div>
<ul id="buttons">
<li>
<a class="transition" title="View on GitHub" target="_blank" href="https://github.com/shitchell/cocode"><i class="fab fa-github"></i></a>
</li>
<li id="fs-expand" class="fullscreen-toggle">
<a class="transition"><i title="Fullscreen Preview" class="fas fa-expand"></i></a>
</li>
<li id="fs-collapse" class="fullscreen-toggle">
<a class="transition"><i title="Collapse Preview" class="fas fa-compress"></i></a>
</li>
<li id="users">
<a class="transition"><i title="Connected Users" class="fas fa-users"></i></a> <span id="user-count"></span>
</li>
<div id="user-list" class="transition"></div>
</ul>
</header>
<content>
<div id="loading-modal"><h3>connecting to firepad<span class="document-name"></span>...</h3></div>
<div id="firepad-container"></div>
<iframe id="result-container" class="transition"></iframe>
</content>
</body>
</html>