-
Notifications
You must be signed in to change notification settings - Fork 0
/
register.html
80 lines (75 loc) · 3.47 KB
/
register.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
<!doctype html>
<html lang="el">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Εγγραφή Χρήστη - Σύστημα Διαχείρισης Ιατρείου</title>
<!-- CSS and Bootstrap -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Header Area -->
<header class="header">
<div class="container">
<div class="row">
<div class="col-lg-3 col-md-3 col-12">
<div class="logo">
<a href="index.html"><img src="img/logo.png" alt="Clinic Logo"></a>
</div>
</div>
</div>
</div>
</header>
<!-- End Header Area -->
<!-- Register Area -->
<section class="register section">
<div class="container">
<h2>Εγγραφή Χρήστη</h2>
<form action="patient_register.php" method="POST">
<div class="form-group">
<label for="at">Αριθμός Ταυτότητας (ΑΤ)</label>
<input type="text" id="at" name="at" class="form-control" required>
</div>
<div class="form-group">
<label for="firstName">Όνομα</label>
<input type="text" id="firstName" name="firstName" class="form-control" required>
</div>
<div class="form-group">
<label for="lastName">Επώνυμο</label>
<input type="text" id="lastName" name="lastName" class="form-control" required>
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" id="email" name="email" class="form-control" required>
</div>
<div class="form-group">
<label for="password">Κωδικός Πρόσβασης</label>
<input type="password" id="password" name="password" class="form-control" required>
</div>
<div class="form-group">
<label for="amka">ΑΜΚΑ</label>
<input type="text" id="amka" name="amka" class="form-control" required>
</div>
<button type="submit" class="btn btn-primary">Εγγραφή</button>
</form>
</div>
</section>
<!-- End Register Area -->
<!-- JS and Bootstrap -->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/main.js"></script>
<!-- Script για εμφάνιση του πεδίου ΑΜΚΑ όταν επιλέγεται "Ασθενής" -->
<script>
document.getElementById('role').addEventListener('change', function() {
var amkaField = document.getElementById('amkaField');
if (this.value === 'Patient') {
amkaField.style.display = 'block';
} else {
amkaField.style.display = 'none';
}
});
</script>
</body>
</html>