diff options
| author | Carson Fleming <cflems@cflems.net> | 2022-12-12 06:45:42 -0800 |
|---|---|---|
| committer | Carson Fleming <cflems@cflems.net> | 2022-12-12 06:45:42 -0800 |
| commit | 38dc09a3756fc8dcf79af03a94f66aeab973a449 (patch) | |
| tree | eaa303820db2fe6780584fdb790f3bfa4a3a413f | |
| parent | e538ce3f3720230d66eab20925a0be3bf90f50c9 (diff) | |
| download | bulletin-38dc09a3756fc8dcf79af03a94f66aeab973a449.tar.gz | |
Improve the UI a bit with the captcha
| -rw-r--r-- | css/logsup.css | 3 | ||||
| -rw-r--r-- | forgot.php | 20 |
2 files changed, 11 insertions, 12 deletions
diff --git a/css/logsup.css b/css/logsup.css index ae60e1d..8526f31 100644 --- a/css/logsup.css +++ b/css/logsup.css @@ -27,6 +27,9 @@ body { display: table; width: 450px; } +.text-center { + text-align: center; +} .fullrow, .helper { margin: 15px -15px 15px -15px; width: 100%; @@ -54,23 +54,19 @@ if (!empty($_POST['email'])) { <input id="inpusername" type="text" name="email" placeholder="Email address" /> </div> <?php - if ($e == 2) - echo ' <div class="fullrow">' . PHP_EOL; - else - echo ' <div class="fullrow err">' . PHP_EOL; -?> - <div class="halfrowl"> -<?php if (!empty($b_config['recaptcha_api_key'])) { + if ($e == 2) + echo ' <div class="fullrow">' . PHP_EOL; + else + echo ' <div class="fullrow err">' . PHP_EOL; ?> - <div class="g-recaptcha" data-sitekey="<?=$b_config['recaptcha_api_key']; ?>"></div> + <div class="g-recaptcha" data-sitekey="<?=$b_config['recaptcha_api_key']; ?>"></div> + </div> <?php } ?> - </div> - <div class="halfrowr"> - <input type="submit" name="recover" value="Recover" /> - </div> + <div class="fullrow text-center"> + <input type="submit" name="recover" value="Recover" /> </div> </form> <?php |
