-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex2.php
More file actions
145 lines (125 loc) · 5.47 KB
/
index2.php
File metadata and controls
145 lines (125 loc) · 5.47 KB
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
<!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.0">
<link rel="icon" href="/Assets/icon/DD-ico.png" type="image/png">
<!-- Bootstrap CSS -->
<link href="Assets/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Mail Style Css -->
<link rel="stylesheet" href="Assets/css/style.css">
<title>Pallavi Doremon</title>
</head>
<body>
<!-- Navbar Code Start -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="index.html">
<img src="/Assets/icon/Digital-Diary.png" class="brand-logo" alt="Digital-Diary">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarText"
aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<span class="float-end d-flex">
<a class="nav-link btn-signin" aria-current="page" data-bs-toggle="modal" data-bs-target="#exampleModalToggle"
href="#">Sign In</a>
<a class="nav-link btn-signin white " aria-current="page" data-bs-toggle="modal"
data-bs-target="#exampleModalToggle2" href="#">Sign Up</a>
</span>
</div>
</div>
</nav>
<div class="modal fade" id="exampleModalToggle" aria-hidden="true" aria-labelledby="exampleModalToggleLabel"
tabindex="-1">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalToggleLabel">Modal 1</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="mb-0">
<label for="exampleFormControlInput1" class="form-label">Email address</label>
<input type="email" class="form-control" id="email" onkeyup="ValidateEmail(this.value)"
placeholder="doremon@mitstudent.co.in" required>
<span id="errorEmail"></span>
</div>
<div class="mb-3">
<label for="exampleFormControlInput2" class="form-label">Password</label>
<input type="password" class="form-control" id="password" placeholder="Dv@xxx*******" minlength="5"
maxlength="10" disabled required>
<span class="bulb-icon" id="bulb-icon" onclick="showPassword()">
<img src="/Assets/Img/bulb-offpng.png" class="offBulb" id="off" alt="">
<img src="/Assets/Img/bulb-on.png" class="onBulb" id="on" alt="">
</span>
</div>
<div class="mb-3">
<div id="captchaBackground">
<canvas id="captcha">captcha text</canvas>
<input id="textBox" onkeyup="CaptchaCheck()" type="text" name="text">
<div id="buttons">
<button id="refreshButton" type="submit">
<img src="/Assets/icon/reload.png" alt="">
</button>
</div>
<span id="output"></span>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-primary" data-bs-target="#exampleModalToggle2" data-bs-toggle="modal"
data-bs-dismiss="modal">Open second modal</button>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="exampleModalToggle2" aria-hidden="true" aria-labelledby="exampleModalToggleLabel2"
tabindex="-1">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalToggleLabel2">Modal 2</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="preview">
<img id="file-ip-1-preview" width="250px" height="auto">
</div>
<input type="file" id="file-ip-1" accept="image/*" onchange="showPreview(event);">
</div>
<div class="modal-footer">
<button class="btn btn-primary" data-bs-target="#exampleModalToggle" data-bs-toggle="modal"
data-bs-dismiss="modal">Back to first</button>
</div>
</div>
</div>
</div>
<a class="btn btn-primary" data-bs-toggle="modal" href="#exampleModalToggle" role="button">Open first modal</a>
<!-- Navbar Code End -->
<!-- Body Start -->
<!-- <div class="Main-body container-fluid">
<div class="text-center">
<h1 class="text-primary">Welcome to Digital Dairy</h1>
<h6 class="text-success">Here you can Save your personal Records and Access it from any where ...</h6>
</div>
</div> -->
<!-- Body End -->
<script src="Assets/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="/Assets/js/EmailValidator.js"></script>
<script src="/Assets/js/ShowPassword.js"></script>
<script src="/Assets/js/OTPfocus.js"></script>
<script src="/Assets/js/Captcha.js"></script>
<script>
function showPreview(event) {
if (event.target.files.length > 0) {
var src = URL.createObjectURL(event.target.files[0]);
var preview = document.getElementById("file-ip-1-preview");
preview.src = src;
preview.style.display = "block";
}
}
</script>
</body>
</html>