-
Notifications
You must be signed in to change notification settings - Fork 0
/
index2.html
51 lines (48 loc) · 1.75 KB
/
index2.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.2/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body class="bg-info">
<div class="col-md-4 col-md-offset-4" style="margin-top:160px">
<div class="panel panel-default">
<div class="panel-heading bg-primary">
<h3 class="panel-title">Login</h3>
</div>
<div class="panel-body bg-success">
<form class="form" action="loginverify" method="post">
<div class="form-group">
<label for="fname">Name</label>
<input type="name" class=form-control" id="fname" name="fname" required placeholder="username">
<p class="help-block">Help text here.</p>
</div>
<div class="form-group">
<label for="fname">Password</label>
<input type="name" class=form-control" id="passwd" name="passwd" required placeholder="password">
<p class="help-block">Help text here.</p>
</div>
<button type="submit" name="button" onclick="check">Login</button>
</div>
</div>
<script type="text/javascript">
function check(form){
var l=9;
var h=5;
var m;
m=l+h;
alert("sum is"+m);
}
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</body>
</html>