-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.jsp
41 lines (31 loc) · 1.32 KB
/
login.jsp
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
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib prefix = "c" uri = "http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="./styling/form.css">
</head>
<body>
<div class="center_container">
<div id = "login_form_header">
Login
</div>
<!-- Strultural element: input type -->
<form id="login_form" autocomplete="off" action="./game_hall.html" method="POST">
<!-- learned from 5.html -->
<label for="username">Username</label>
<input name="username" type="text" value="" required>
<label for="password">Password</label>
<input name="password" type="text" value="">
<div class="button_container">
<!-- inspired by 9a-10.Pass and take parameters of a function.html -->
<input class="button" id="button_clear" type="reset" value="Clear">
<input class="button" id="button_submit" type="submit" value="Submit">
</div>
</form>
</div>
</body>
</html>