-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.html
98 lines (98 loc) · 2.31 KB
/
home.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
90
91
92
93
94
95
96
97
98
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Home chat</title>
<link href="/css/bootstrap.min.css" rel="stylesheet">
<style>
body{
background-color: #003366;
}
.h1, h1 {
margin-top: 10%;
text-align: center;
font-style: bold;
font-size: 120px;
font-family: "Comic Sans MS";
color : white;
}
h2 {
font-family: "Comic Sans MS";
margin-left: 150px;
color : #85C1E9 ;
font-style: italic;
}
h3 {
font-family: "Comic Sans MS";
font-size: 30px;
color: #CECCC9;
text-align: center;
}
form {
text-align: center;
}
#input-box{
padding: 20px 20px;
border-radius: 20px;
background-color: #401F0B;
}
.btn {
font-family: "Comic Sans MS";
margin: auto;
}
#show {
display: block;
font-family: "Comic Sans MS";
font-size: 25px;
}
input {
margin-right: 10px;
}
#bottom{
display: block;
padding-top: 70px;
background-color: black;
position: fixed;
bottom: 0;
right: 0;
left: 0;
margin-right: -15px;
margin-left: -15px;
}
</style>
</head>
<body>
<div class="row">
<h1><strong>ADHOC CHAT</strong></h1>
<h2>the new way to say...</h2>
<div class="col-xs-6 col-xs-offset-3">
<br>
<br>
<br>
<button class="btn btn-warning" id="show">join us</button>>
<div id="input-box">
<h3>input your name</h3>
<form id="m" action="/getUserlist" method="POST">
<input id="username" name="username">
<button class="btn btn-warning" type="submit">OK</button>
<!-- <a href="#" onclick="document.getElementById('m').submit();">inginging</a> -->
</form>
<br>
</div>
</div>
</div>
<div class="row" id="bottom">
</div>
<script src="/jquery.min.js" type="text/javascript"></script>
<script>
$(document).ready(function(){
$("#input-box").hide();
$("#show").click(function(){
$("#input-box").show();
$("#show").hide();
});
});
</script>
</body>
</html>