-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
104 lines (96 loc) · 6.24 KB
/
index.php
File metadata and controls
104 lines (96 loc) · 6.24 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Pharmacy Management - SETUP</title>
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
<script src="bootstrap/js/jquery.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link rel="shortcut icon" href="images/icon.svg" type="image/x-icon">
<link rel="stylesheet" href="css/index.css">
<script src="js/validateForm.js"></script>
<script src="js/index.js"></script>
<!--<script> isSetupDone(); </script>-->
</head>
<body style="background-image: url('images/cap.jpg');">
<div class="container">
<div class="card m-auto p-2">
<div class="card-body">
<form name="login-form" class="login-form" action="login.php" method="post" onsubmit="return validateAndSetup();">
<div class="logo">
<h1 class="logo-caption font-weight-bolder"><span class="tweak">P</span>harmacy <span class="tweak">M</span>anagement</h1>
<h2 class="logo-caption font-weight-bolder"><span class="tweak">O</span>ne <span class="tweak">T</span>ime <span class="tweak">S</span>etup</h2>
<p class="h5 text-center text-light">Enter necessary pharmacy details<p>
</div> <!-- logo class -->
<div class="input-group form-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-plus-square text-white"></i></span>
</div>
<input id="pharmacy_name" type="text" class="form-control" placeholder="pharmacy name" onkeyup="validateName(this.value, 'pharmacy_name_error');" >
</div> <!--input-group class -->
<code class="text-light small font-weight-bold float-right mb-2" id="pharmacy_name_error" style="display: none;"></code>
<div class="input-group form-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-address-card text-white"></i></span>
</div>
<textarea id="address" class="form-control" placeholder="address" onkeyup="validateAddress(this.value, 'address_error');" style="max-height: 100px;" ></textarea>
</div> <!-- input-group class -->
<code class="text-light small font-weight-bold float-right mb-2" id="address_error" style="display: none;"></code>
<div class="input-group form-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-envelope text-white"></i></span>
</div>
<input id="email" type="email" class="form-control" placeholder="email" >
</div> <!--input-group class -->
<code class="text-light small font-weight-bold float-right mb-2" id="email_error" style="display: none;"></code>
<div class="input-group form-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-mobile-alt text-white"></i></span>
</div>
<input id="contact_number" type="number" class="form-control" placeholder="contact number" onkeyup="validateContactNumber(this.value, 'contact_number_error');" >
</div> <!-- input-group class -->
<code class="text-light small font-weight-bold float-right mb-2" id="contact_number_error" style="display: none;"></code>
<!--
<div class="input-group form-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fa fa-user-circle text-white"></i></span>
</div>
<input type="text" class="form-control" placeholder="select profile image" onclick="document.getElementById('profile_image').click();" id="profile_name">
 <p class="m-auto text-light">Optional</p>
<input id="profile_image" type="file" accept="image/*" class="form-control" style="display: none;" onchange="document.getElementById('profile_name').value = this.value.split('\\').pop()">
</div> <!-- input-group class
-->
<div class="input-group form-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-user text-white"></i></span>
</div>
<input id="username" type="text" class="form-control" placeholder="enter username" onblur="notNull(this.value, 'username_error');" >
</div> <!--input-group class -->
<code class="text-light small font-weight-bold float-right mb-2" id="username_error" style="display: none;"></code>
<div class="input-group form-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-lock text-white"></i></span>
</div>
<input id="password" type="text" class="form-control" placeholder="enter password">
</div> <!-- input-group class -->
<code class="text-light small font-weight-bold float-right mb-2" id="password_error" style="display: none;"></code>
<div class="input-group form-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-key text-white"></i></span>
</div>
<input id="confirm_password" type="password" class="form-control" placeholder="confirm password">
</div> <!-- input-group class -->
<code class="text-light small font-weight-bold float-right mb-2" id="confirm_password_error" style="display: none;"></code>
<div class="form-group">
<button class="btn btn-default btn-block btn-custom">START</button>
</div>
<div class="text-center">
<a class="text-light" href="login.php" style="cursor: pointer;">Vous êtes déjà enregistré ?</a>
</div>
</form><!-- form close -->
</div> <!-- cord-body class -->
</div> <!-- card class -->
</div> <!-- container class -->
</body>
</html>