-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·182 lines (165 loc) · 6.75 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
<!DOCTYPE html>
<html>
<head>
<title>Badminton Matches Enrolment</title>
<!-- for-mobile-apps -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Tennis Club Responsive web template, Dianzhihun" />
<script>
addEventListener("load", function () { setTimeout(hideURLbar, 0); }, false);
function hideURLbar() {
window.scrollTo(0, 1);
}
</script>
<!-- //for-mobile-apps -->
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all" />
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
<style>
h2 {
text-align:center;
text-shadow: 5px 5px 5px rgb(148, 123, 147);
}
#boxshadow {
position: relative;
-moz-box-shadow: 1px 2px 4px rgba(0, 0, 0,0.5);
-webkit-box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
padding: 10px;
background: white;
}
/* Make the image fit the box */
#boxshadow img {
width: 100%;
border: 1px solid #8a4419;
border-style: inset;
}
#boxshadow::after {
content: '';
position: absolute;
z-index: -1; /* hide shadow behind image */
-webkit-box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
width: 70%;
left: 15%; /* one half of the remaining 30% */
height: 100px;
bottom: 0;
}
</style>
</head>
<body>
<!-- 头部 -->
<div class="header">
<div class="container">
<div class="header-left">
<a href="#"> THE BADMINTON MATCH<span>JOIN IN THE COMPETITION </span></a>
</div>
<div class="header-left1">
<p font-size=40px;>电之魂</p>
</div>
<div class="header-right">
<ul>
<li><span>电之魂</span> </li>
<li><a href="#" class="scroll">Contact Us</a></li>
</ul>
</div>
</div>
</div>
<!-- 主体 -->
<div class="container">
<div class="row clearfix">
<div class="col-xs-12 column">
<div class="carousel slide" id="carousel">
<ol class="carousel-indicators">
<li class="active" data-target="#carousel" data-slide-to="0"></li>
<li data-target="#carousel" data-slide-to="1"></li>
<li data-target="#carousel" data-slide-to="2"></li>
<li data-target="#carousel" data-slide-to="3"></li>
</ol>
<div class="carousel-inner">
<div class="item active">
<img alt="" src="img/1.png" class="img-responsive" alt="Responsive image" />
</div>
<div class="item">
<img alt="" src="img/2.png" class="img-responsive" alt="Responsive image" />
</div>
<div class="item">
<img alt="" src="img/3.png" class="img-responsive" alt="Responsive image" />
</div>
<div class="item">
<img alt="" src="img/4.png" class="img-responsive" alt="Responsive image" />
</div>
</div>
<a class="left carousel-control" href="#carousel" data-slide="prev"><span class="glyphicon glyphicon-chevron-left"></span></a>
<a id="right" class="right carousel-control" href="#carousel" data-slide="next"><span class="glyphicon glyphicon-chevron-right"></span></a>
</div>
</div>
</div>
<h2>报名啦</h2>
<!-- 按钮触发模态框 -->
<div class="row">
<div class="col-xs-offset-2 col-xs-8">
<button class="btn btn-block btn-danger" data-toggle="modal" data-target="#myModal" type="button">
点击报名
</button>
</div>
</div>
</div>
<!-- 模态框 -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
×
</button>
<h4 class="modal-title" id="myModalLabel">
报名信息填写
</h4>
</div>
<div class="modal-body">
<form id="form" class="form" action="apply.php" method="post">
<div class="form-group">
<label for="class-form">班级:</label>
<input id="class-form" class="form-control" name="userclass" type="text" placeholder="Class" />
<p class="ex">班级格式以1x0x的方式填写,中英班气卓班在班号前加中英/气卓</p>
</div>
<div class="form-group">
<label for="name-form">姓名:</label>
<input id="name-form" class="form-control" name="username" type="text" placeholder="Name" />
</div>
<div class="form-group">
<label for="sex-form">性别:</label>
<select id="sex-form" class="form-control" name="usersex" placeholder="Gender">
<option value="male">男</option>
<option value="famale">女</option>
</select>
</div>
<div class="form-group">
<label for="phone-form">手机:</label>
<input id="phone-form" class="form-control" name="userphone" type="text" placeholder="Telephone" />
</div>
<div class="form-group">
<label for="qq-form">QQ:</label>
<input id="qq-form" class="form-control" name="userqq" type="text" placeholder="QQ" />
</div>
</form>
<div id="alertBox" class="alert" hidden>
<strong>提示!</strong><span id="content"></span>
</div>
</div>
<div class="modal-footer" type="button" class="btn btn-default">
<input id="submit-form" class="btn btn-default" type="button" value="Submit" />
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal -->
</div>
<script src="js/main.js"></script>
</body>
</html>