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,9 +40,9 @@ define('FOOTER_FILE', SERVER_ROOT.'/design/publicfooter.php');
40 40
 
41 41
 <body>
42 42
   <div id="head"><span>
43
-      <!-- <a href="login.php">Log In</a> -->
43
+      <a href="login.php">Log In</a>
44 44
       <?php if (OPEN_REGISTRATION) { ?>
45
-      <a href="register.php">Register</a>
45
+      | <a href="register.php">Register</a>
46 46
       <?php } ?>
47 47
       | <a
48 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,10 +1,13 @@
1 1
 <?php
2
+
2 3
 View::show_header('Recover Password');
3 4
 ?>
5
+
4 6
 <script src="<?=(STATIC_SERVER)?>functions/validate.js" type="text/javascript">
5 7
 </script>
6 8
 <script src="<?=(STATIC_SERVER)?>functions/password_validate.js"
7 9
   type="text/javascript"></script>
10
+
8 11
 <form class="auth_form" name="recovery" id="recoverform" method="post" action="" onsubmit="return formVal();">
9 12
   <input type="hidden" name="key"
10 13
     value="<?=display_str($_REQUEST['key'])?>" />
@@ -23,12 +26,12 @@ if (empty($PassWasReset)) {
23 26
       <tr>
24 27
         <td><strong id="pass_strength"></strong></td>
25 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 30
       </tr>
28 31
       <tr>
29 32
         <td><strong id="pass_match"></strong></td>
30 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 35
       </tr>
33 36
       <tr>
34 37
         <td></td>
@@ -42,5 +45,6 @@ if (empty($PassWasReset)) {
42 45
     <?php } ?>
43 46
   </div>
44 47
 </form>
48
+
45 49
 <?php
46 50
 View::show_footer(['recover' => true]);

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

@@ -42,7 +42,9 @@ p {
42 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 48
   color: black;
47 49
   background-color: white;
48 50
   padding: 0 0 0 6px;

Loading…
Cancel
Save