Browse Source

Make password reset form normal size

pjc 5 years ago
parent
commit
b71d21181e
3 changed files with 11 additions and 5 deletions
  1. 2
    2
      design/publicheader.php
  2. 6
    2
      sections/login/recover_step2.php
  3. 3
    1
      static/styles/public/style.css

+ 2
- 2
design/publicheader.php View File

40
 
40
 
41
 <body>
41
 <body>
42
   <div id="head"><span>
42
   <div id="head"><span>
43
-      <!-- <a href="login.php">Log In</a> -->
43
+      <a href="login.php">Log In</a>
44
       <?php if (OPEN_REGISTRATION) { ?>
44
       <?php if (OPEN_REGISTRATION) { ?>
45
-      <a href="register.php">Register</a>
45
+      | <a href="register.php">Register</a>
46
       <?php } ?>
46
       <?php } ?>
47
       | <a
47
       | <a
48
         href="mailto:support@biotorrents.de?subject=[TxID <?= strtoupper(bin2hex(random_bytes(2))) ?>] Vague subject lines ignored">Support</a>
48
         href="mailto:support@biotorrents.de?subject=[TxID <?= strtoupper(bin2hex(random_bytes(2))) ?>] Vague subject lines ignored">Support</a>

+ 6
- 2
sections/login/recover_step2.php View File

1
 <?php
1
 <?php
2
+
2
 View::show_header('Recover Password');
3
 View::show_header('Recover Password');
3
 ?>
4
 ?>
5
+
4
 <script src="<?=(STATIC_SERVER)?>functions/validate.js" type="text/javascript">
6
 <script src="<?=(STATIC_SERVER)?>functions/validate.js" type="text/javascript">
5
 </script>
7
 </script>
6
 <script src="<?=(STATIC_SERVER)?>functions/password_validate.js"
8
 <script src="<?=(STATIC_SERVER)?>functions/password_validate.js"
7
   type="text/javascript"></script>
9
   type="text/javascript"></script>
10
+
8
 <form class="auth_form" name="recovery" id="recoverform" method="post" action="" onsubmit="return formVal();">
11
 <form class="auth_form" name="recovery" id="recoverform" method="post" action="" onsubmit="return formVal();">
9
   <input type="hidden" name="key"
12
   <input type="hidden" name="key"
10
     value="<?=display_str($_REQUEST['key'])?>" />
13
     value="<?=display_str($_REQUEST['key'])?>" />
23
       <tr>
26
       <tr>
24
         <td><strong id="pass_strength"></strong></td>
27
         <td><strong id="pass_strength"></strong></td>
25
         <td><input type="password" name="password" id="new_pass_1" class="inputtext" size="40"
28
         <td><input type="password" name="password" id="new_pass_1" class="inputtext" size="40"
26
-            placeholder="New Password" pattern=".{6,307200}" required></td>
29
+            placeholder="New Password" pattern=".{6,307200}" required style="width: 250px !important;"></td>
27
       </tr>
30
       </tr>
28
       <tr>
31
       <tr>
29
         <td><strong id="pass_match"></strong></td>
32
         <td><strong id="pass_match"></strong></td>
30
         <td><input type="password" name="verifypassword" id="new_pass_2" class="inputtext" size="40"
33
         <td><input type="password" name="verifypassword" id="new_pass_2" class="inputtext" size="40"
31
-            placeholder="Confirm Password" pattern=".{6,307200}" required></td>
34
+            placeholder="Confirm Password" pattern=".{6,307200}" required style="width: 250px !important;"></td>
32
       </tr>
35
       </tr>
33
       <tr>
36
       <tr>
34
         <td></td>
37
         <td></td>
42
     <?php } ?>
45
     <?php } ?>
43
   </div>
46
   </div>
44
 </form>
47
 </form>
48
+
45
 <?php
49
 <?php
46
 View::show_footer(['recover' => true]);
50
 View::show_footer(['recover' => true]);

+ 3
- 1
static/styles/public/style.css View File

42
   margin: 1em 0;
42
   margin: 1em 0;
43
 }
43
 }
44
 
44
 
45
-input[type="text"], input[type="password"], input[type="email"] {
45
+input[type="text"],
46
+input[type="password"],
47
+input[type="email"] {
46
   color: black;
48
   color: black;
47
   background-color: white;
49
   background-color: white;
48
   padding: 0 0 0 6px;
50
   padding: 0 0 0 6px;

Loading…
Cancel
Save