Skip to content

Commit 12129b5

Browse files
committed
Readyy
1 parent 1e2c9a0 commit 12129b5

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

login_register.html

+5-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@
1818
<form method="POST" action="login.php" id="login" class="input-group">
1919
<input type="text" id="username" class="input-field" name="username" placeholder="Username ασθενή/ιατρού" required>
2020
<input type="password" id="password" class="input-field" name="password" placeholder="Κωδικός πρόσβασης" required>
21-
<input type="checkbox" class="check-box"><span>Να με θυμάσαι</span>
21+
<br />
22+
<br />
23+
<br />
24+
25+
2226
<button type="submit" class="submit-btn" name="submit">Σύνδεση</button>
2327
</form>
2428

stylesheet.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ body{
1919
background: #fff;
2020
padding: 5px;
2121
overflow: hidden;
22-
overflow-y: scroll;
22+
overflow-y: visible;
2323
}
2424
.button-box{
2525
width: 220px;

switches.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function updateform(){
4242
//$('.pat').hide();
4343

4444

45-
var adiv = document.getElementById("register").innerHTML = '<h3>"Είμαι:"</h3><br><select id="role" name="role" onchange="updateform()"><br><option value="pat">Ασθενής</option><br><option value="doc">Ιατρός</option><br></select><input type="text" id="username" class="input-field" name="username" placeholder="Username ασθενή" required><br><input type="password" id="password" class="input-field" name ="password" placeholder="Κωδικός πρόσβασης" required><br><input type="text" id="fname" class="input-field" name="fname" placeholder="Όνομα" required><br><input type="text" id="lname" class="input-field" name="lname" placeholder="Επίθετο" required><br><input type="checkbox" class="check-box"><span>Αποδέχομαι τους Όρους και τις Προυποθέσεις</span><br><button type="submit1" class="submit-btn" name="submit1">Εγγραφή</button><br>';
45+
var adiv = document.getElementById("register").innerHTML = '<h3>Είμαι:</h3><br><select id="role" name="role" onchange="updateform()"><br><option value="pat">Ασθενής</option><br><option value="doc">Ιατρός</option><br></select><input type="text" id="username" class="input-field" name="username" placeholder="Username ασθενή" required><br><input type="password" id="password" class="input-field" name ="password" placeholder="Κωδικός πρόσβασης" required><br><input type="text" id="fname" class="input-field" name="fname" placeholder="Όνομα" required><br><input type="text" id="lname" class="input-field" name="lname" placeholder="Επίθετο" required><br /><br /><br /><button type="submit1" class="submit-btn" name="submit1">Εγγραφή</button><br /><br /><br />';
4646
var forms = document.getElementsByClassName("input-group");
4747
//forms[0].style.marginLeft = "-100%"
4848
//forms[1].style.marginLeft = "-100%"
@@ -54,7 +54,7 @@ function updateform(){
5454
//$('.doc').hide();
5555
//$('.pat').show();
5656

57-
var adiv = document.getElementById("register").innerHTML = '<h3>"Είμαι:"</h3><br><select id="role" name="role" onchange="updateform()"><br><option value="doc">Ιατρός</option><br><option value="pat">Ασθενής</option><br><input type="text" id="username" class="input-field" name="username" placeholder="Username ιατρού" required><br><input type="password" id="password" class="input-field" name ="password" placeholder="Κωδικός πρόσβασης" required><br><input type="text" id="fname" class="input-field" name="fname" placeholder="Όνομα" required><br><input type="text" id="lname" class="input-field" name="lname" placeholder="Επώνυμο" required><br><input type="text" id="prof" class="input-field" name="prof" placeholder="Ειδίκευση" required><br><input type="text" id="address" class="input-field" name="address" placeholder="Διεύθυνση" required><br><input type="checkbox" class="check-box"><span>Αποδέχομαι τους Όρους και τις Προυποθέσεις</span><br><button type="submit2" class="submit-btn" name="submit2">Εγγραφή</button><br>';
57+
var adiv = document.getElementById("register").innerHTML = '<h3>Είμαι:</h3><br><select id="role" name="role" onchange="updateform()"><br><option value="doc">Ιατρός</option><br><option value="pat">Ασθενής</option><br><input type="text" id="username" class="input-field" name="username" placeholder="Username ιατρού" required><br><input type="password" id="password" class="input-field" name ="password" placeholder="Κωδικός πρόσβασης" required><br><input type="text" id="fname" class="input-field" name="fname" placeholder="Όνομα" required><br><input type="text" id="lname" class="input-field" name="lname" placeholder="Επώνυμο" required><br><input type="text" id="prof" class="input-field" name="prof" placeholder="Ειδίκευση" required><br><input type="text" id="address" class="input-field" name="address" placeholder="Διεύθυνση" required><br /><br /><br /><button type="submit2" class="submit-btn" name="submit2">Εγγραφή</button><br /><br /><br />';
5858
var forms = document.getElementsByClassName("input-group");
5959
//forms[0].style.marginLeft = "-100%"
6060
//forms[1].style.marginLeft = "-100%"

0 commit comments

Comments
 (0)