File tree 3 files changed +8
-4
lines changed
3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 18
18
< form method ="POST " action ="login.php " id ="login " class ="input-group ">
19
19
< input type ="text " id ="username " class ="input-field " name ="username " placeholder ="Username ασθενή/ιατρού " required >
20
20
< 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
+
22
26
< button type ="submit " class ="submit-btn " name ="submit "> Σύνδεση</ button >
23
27
</ form >
24
28
Original file line number Diff line number Diff line change 19
19
background : # fff ;
20
20
padding : 5px ;
21
21
overflow : hidden;
22
- overflow-y : scroll ;
22
+ overflow-y : visible ;
23
23
}
24
24
.button-box {
25
25
width : 220px ;
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ function updateform(){
42
42
//$('.pat').hide();
43
43
44
44
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 / >' ;
46
46
var forms = document . getElementsByClassName ( "input-group" ) ;
47
47
//forms[0].style.marginLeft = "-100%"
48
48
//forms[1].style.marginLeft = "-100%"
@@ -54,7 +54,7 @@ function updateform(){
54
54
//$('.doc').hide();
55
55
//$('.pat').show();
56
56
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 />' ;
58
58
var forms = document . getElementsByClassName ( "input-group" ) ;
59
59
//forms[0].style.marginLeft = "-100%"
60
60
//forms[1].style.marginLeft = "-100%"
You can’t perform that action at this time.
0 commit comments