-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
95 lines (80 loc) · 3.02 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
<!DOCTYPE html>
<html>
<head>
<title>Nandoso - FLAME GRILLED CHICKEN Restaurants</title>
<meta charset="utf-8" />
<script src="Scripts/jquery-1.9.1.min.js"></script>
<script src="Scripts/bootstrap.min.js"></script>
<script src="Scripts/sweetalert.min.js"></script>
<link href="Content/bootstrap.min.css" rel="stylesheet" />
<link href="StyleSheet.css" rel="stylesheet" />
<link href="sweetalert.css" rel="stylesheet" />
<link rel="icon" type="image/png" href="favicon.png" sizes="16x16">
</head>
<body>
<div align="left">
<button id="sweetalert" class="transparent-button">Site Admin Log In</button>
<!-- Using sweetalert -->
<script>
$("#sweetalert").click(function () {
alert("working");
swal({
title: "Please Enter Password",
html: true,
type: "input",
// intputType: "<form action=\"\">Username: <input type=\"text\" name=\"user\"><br>Password: <input type=\"password\" name=\"password\"></form>",
showCancelButton: true,
confirmButtonColor: "#5c2d91",
confirmButtonText: "Log In",
confirmFont: "5px",
closeOnConfirm: false,
inputPlaceholder: "Password"
},
function (inputvalue) {
if (inputValue === false) {
return false;
}
if (inputValue === "") {
swal.showInputError("Password can not be empty.");
return false;
}
if (inputValue == "Nandoso2015") {
swal.close();
return false;
} else
swal({
title: "Whoops",
text: "Incorrect password. Please try again.",
type: "error"
})
return false;
}
});
});
</script>
</div>
<div class="content">
<div class="top_block header">
<br />
<br />
<a href="/">
<img alt="Nandoso Logo" src="NandosoLogo2.png" /></a>
<div class="content">
</div>
</div>
<div class="top_block navigation">
<div class="content">
<a href="/specials.html">
<img src="SpecialsLogo2100.png" /></a>
<a href="/feedback.html">
<img src="FeedbackLogo100.png" /></a>
</div>
</div>
<footer class="modal-footer" style="position: absolute; bottom: 0; width: 100%; height: 20px">
<div class="content">
<h2>© 2015 Nandoso Restuarants inc. All rights reserved.</h2>
</div>
</footer>
</div>
</body>
</html>