-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
114 lines (92 loc) · 3.42 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
<!DOCTYPE html>
<head>
<link rel="stylesheet" type="text/css" href="login.css" media="screen" />
<title>GROCERY MART</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="css/login.css">
<link rel="stylesheet" href="font-awesome/font-awesome/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<style>
footer{
position:fixed;
left:0px;
bottom:0px;
height:80px;
width:100%;
background:#999;
}
p > a{
font-weight: bold;
font-size: 25px;
float: right;
}
label{
color: black;
}
input{
border-radius: 0px 5px 5px 0px;
border: 1px solid #eee;
height: 30px;
padding: 0px 15px;
width: 100%;
}
p span{
color: #F093B5;
}
</style>
<script type="text/javascript">
function message(){
alert("Valid Username and Password. Backend in review 2");
}
</script>
</head>
<!---*****************************************-->
<!--Body begins here-->
<body style="background-color: #E8F5E9;">
<div class="othernavbar">
<div class="head2" style="display: flex;">
<div class="logoup">
<img src="images/grocerylogo.png" alt="logo" style="height: 60px; width: 100px;">
</div>
<div class="name" id="shopname" style="display: flex; margin-left: 600px;margin-top: -30px;">
<h1 style="color: #388E3C;font-family: 'Ubuntu', sans-serif;">GROCERY </h1>
<h1 style="color: #000000;font-family: 'Ubuntu', sans-serif;"> MART</h1>
</div>
</div>
<div class="row" id="row1">
<div id="welcome" class="header">A one stop shop for all your needs.</div>
<!---User name and Password-->
<div>
<div id="form-main">
<div id="form-div">
<!--************-->
<form method="post" class="minimal">
<label for="username">
Username:
<input type="text" name="username" id="username" placeholder="Enter username" pattern="^[a-zA-Z][a-zA-Z0-9-_\.]{8,20}$" required="required" />
<p><span>* Must be between 8 to 20 characters</span></p>
</label>
<label for="password">
Password:
<input type="password" name="password" id="password" placeholder="Enter password" pattern="(?=^.{8,}$)((?=.*\d)|(?=.*\W+))(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$" required="required" />
<p><span>* Must contain 1 uppercase, lowercase and number</span></p>
</label>
<br>
<button type="submit" onsubmit="message();">Login</button>
</form>
<!--**********-->
</div>
</div>
</div>
</div>
<footer>
The project is for J component purpose only.
<p>Created by Jessica Saini and Hardika Goyal|<a href="file:///Users/jessicasaini/Desktop/Grocery%20Store/contact.html">Contact Us</a></p></footer>
</div>
</body>