-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
89 lines (80 loc) · 4.17 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
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
<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.9-1/crypto-js.min.js" integrity="sha256-u6BamZiW5tCemje2nrteKC2KoLIKX9lKPSpvCkOhamw=" crossorigin="anonymous"></script>
<script src="/socket.io/socket.io.js"></script>
<script src="indexController.js"></script>
<script src="ScribbleGame/Canvas/canvasController.js"></script>
<script src="ScribbleGame/Chat/guessChatController.js"></script>
<script src="ScribbleGame/Lobby/lobyController.js"></script>
<script src="ScribbleGame/Picture/pictureController.js"></script>
<title>Scribble.slo V-1.0.0</title>
</head>
<body Style="background:url(/Resources/background.jpg) no-repeat center center fixed; background-size:cover; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; width:99%; margin:0px; padding:0px;">
<div class="row" style="margin-top:50px">
<div id=chatContainer class="col-md-4"></div>
<div id=timerAndWordContainer style="display:none" class="col-md-2">
<div id="yourNameContainer" style="height: 100px; text-shadow: 1px 1px black; color:white; background-color:rgba(245,245,225,0.35); font-size:140%; text-align: center; padding-top:35px;" class="panel panel-default row"></div>
<div id="roundInformationContainer" style="height: 100px; text-shadow: 1px 1px black; color:white; background-color:rgba(245,245,225,0.35); font-size:200%; text-align: center; padding-top:30px;" class="panel panel-default row"></div>
<div id="timerContainer" style="height: 100px; text-shadow: 1px 1px black; color:white; background-color:rgba(245,245,225,0.35); font-size:150%; text-align: center; padding-top:35px;" class="panel panel-default row"></div>
<div id="wordContainer" style="height: 100px; text-shadow: 1px 1px black; color:white; background-color:rgba(245,245,225,0.35); font-size:140%; text-align: center; padding-top:30px; font-weight: bold;" class="panel panel-default row"></div>
<div id="infoBox" style="display:none; height: 100px; text-shadow: 1px 1px black; color:white; background-color:rgba(245,245,225,0.35); font-size:150%; text-align: center; padding-top:35px;" class="panel panel-default row"></div>
</div>
<div id=canvasOrPictureContainer class="col-md-6 container"></div>
</div>
<div class="panel panel-default"
style="width:500px; background-color:rgba(0,0,0, 0.9);
text-shadow: 1px 1px black; color:white;
text-align:center;
scroll-behavior: smooth;
overflow: auto;
position: absolute;
top: 50%;
left: 50%;
margin: -250px 0 0 -250px;
padding-top: 25px;
padding-bottom: 25px;
display:none;
"
id="WordPicker">
</div>
<div id="lobbyContainer"></div>
<div id="logInDiv"
class="panel panel-default"
style= "width:500px; height500px; background-color:rgba(245,245,225,0.35);
position: absolute;
top: 50%;
left: 50%;
margin: -250px 0 0 -250px;">
<h2 style="margin-left:15px; text-shadow: 2px 2px black; color:white">
Za pričetek igre izberi ime:
</h2>
<form class="form-horizontal" action="javascript:logIn();">
<div class="form-group">
<label class="control-label col-sm-2" for="nameInput" style="text-shadow: 2px 2px black; color:white">
Ime:
</label>
<div class="col-sm-9">
<input type="text"
pattern="^[a-žA-Ž0-9_-]*$"
class="form-control"
id="nameInput"
placeholder="Izberi ime"
name="nameInput"
title="Črke, Številke ter '_' in '-'"
required>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary">Prijava</button>
</div>
</div>
</form>
</div>
</body>
</html>