-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
63 lines (60 loc) · 2.43 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
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>CllbPad</title>
<link rel="stylesheet" type="text/css" href="/assets/styles/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="/assets/styles/styles.css">
</head>
<body>
<div class="main-bg">
<div class="container text-center">
<div class="jumbotron main-panel col-md-6 col-md-offset-3 col-xs-12">
<span class="logo glyphicon glyphicon-console"></span>
<h2>CllbPad</h2>
<label>Create a room link to start collaborating.</label>
<hr>
<form class="form-horizontal" action="/create-room" method="POST">
<div class="input-group"><span class="input-group-addon">{{printf "%s" .BaseUrl}}</span>
<input class="form-control" type="text" name="roomId" id="roomId" autocomplete="off">
</div>
<h5 class="text-warning" id="countWarning" style="height: 1em"></h5>
<div class="input-group center-block">
<button disabled id="roomBtn" class="btn btn-block btn-primary">Create room</button>
</div>
</form>
</div>
</div>
</div>
<div class="container text-center">
<div class="col-xs-12 col-sm-4 sub-panel">
<span class="logo glyphicon glyphicon-pencil bg-2"></span>
<h3>Create a room link</h3>
<p>It can be whatever you want (favorite ice cream, your name, your company)</p>
</div>
<div class="col-xs-12 col-sm-4 sub-panel">
<span class="logo glyphicon glyphicon-send bg-1"></span>
<h3>Share the link</h3>
<p>On email, chat, text, wherever</p>
</div>
<div class="col-xs-12 col-sm-4 sub-panel">
<span class="logo glyphicon glyphicon-console bg-3"></span>
<h3>Collaborate</h3>
<p>Enhance your workflow in seconds</p>
</div>
</div>
<div class="container footer">
<hr>
<a href="http://github.com/dyang108/go-code-together">Github</a>
</div>
<script type="text/javascript">
var socketName = '{{.Socket}}'
</script>
{{if (eq .Env "development")}}
<script src="/assets/js/index-bundle.js"></script>
{{end}}
{{if (eq .Env "production")}}
<script src="/assets/js/index-bundle-prod.js"></script>
{{end}}
</body>
</html>