diff options
Diffstat (limited to '')
-rw-r--r-- | src/web/_views/apps/auth/login.php | 12 | ||||
-rw-r--r-- | src/web/_views/apps/home/main.php | 2 | ||||
-rw-r--r-- | src/web/_views/apps/profile/main.php | 2 | ||||
-rw-r--r-- | src/web/_views/apps/settings/main.php | 6 | ||||
-rw-r--r-- | src/web/_views/modal/register.php | 24 | ||||
-rw-r--r-- | src/web/helper/lang.php | 2 |
6 files changed, 24 insertions, 24 deletions
diff --git a/src/web/_views/apps/auth/login.php b/src/web/_views/apps/auth/login.php index 1741ac5..ac4cd02 100644 --- a/src/web/_views/apps/auth/login.php +++ b/src/web/_views/apps/auth/login.php @@ -7,7 +7,7 @@ </div> <div class="form card col"> <form id="action-login" class="col" action=""> - <div class="rel mb"> + <div class="form-input mb"> <input type="text" name="username" @@ -19,7 +19,7 @@ <?=ucfirst(lang('ph_username'))?> </label> </div> - <div class="rel mb"> + <div class="form-input mb"> <input type="password" name="password" @@ -31,18 +31,18 @@ </label> </div> <?=ilang('action_login', - class: 'btn btn-submit grow', + class: 'btn btn-primary btn-alt grow', button: TRUE, attrs: array('type' => 'submit') )?> - <?=ilang('action_forgot_passwd', + <?/*=ilang('action_forgot_passwd', class: 'btn btn-blend btn-primary grow mt' - )?> + )*/?> </form> <hr> <?=ilang('action_create_account', id: 'action-register', - class: 'btn btn-success grow', + class: 'btn btn-success btn-alt grow', button: TRUE, attrs: array('type' => 'submit') )?> diff --git a/src/web/_views/apps/home/main.php b/src/web/_views/apps/home/main.php index 05697b9..864034a 100644 --- a/src/web/_views/apps/home/main.php +++ b/src/web/_views/apps/home/main.php @@ -1,6 +1,6 @@ <?php /* Copyright (c) 2024 Freya Murphy */ ?> <?php /* vi: syntax=php */ ?> -<main id="main" class="container"> +<main id="main"> <?php if ($self): ?> <div id="new-post" class="card"> <div class="row grow"> diff --git a/src/web/_views/apps/profile/main.php b/src/web/_views/apps/profile/main.php index e3ed26c..b2ad496 100644 --- a/src/web/_views/apps/profile/main.php +++ b/src/web/_views/apps/profile/main.php @@ -153,7 +153,7 @@ </div> </div> </div> - <div id="tab-container" class="container"> + <div id="tab-container" class="mt"> <div id="tab-posts" class="tab"> <?php $_GET['user_id'] = $user['id']; diff --git a/src/web/_views/apps/settings/main.php b/src/web/_views/apps/settings/main.php index 02cbf57..2033acc 100644 --- a/src/web/_views/apps/settings/main.php +++ b/src/web/_views/apps/settings/main.php @@ -9,7 +9,7 @@ function __create_form($user, $col) { $ph = ucfirst(lang('ph_' . $col)); $val = $user[$col]; return "<form action=\"\" class=\"row mt settings-form\" onsubmit=\"handleSubmit(event)\"> - <div class=\"rel mb\" style=\"flex: 1\"> + <div class=\"form-input mb\" style=\"flex: 1\"> <input type=\"text\" name=\"{$col}\" @@ -132,7 +132,7 @@ function resetMedia(media_type) { <h2><?=ucfirst(lang('security_title'))?></h2> <strong><?=ucfirst(lang('security_desc'))?></strong> <form action="" class="col mt settings-form" onsubmit="handlePassword(event)"> - <div class="rel mb" style="flex: 1"> + <div class="form-input mb" style="flex: 1"> <input type="password" name="curr_password" @@ -143,7 +143,7 @@ function resetMedia(media_type) { <?=ucwords(lang('ph_current_pass'))?> </label> </div> - <div class="rel mb" style="flex: 1"> + <div class="form-input mb" style="flex: 1"> <input type="password" name="new_password" diff --git a/src/web/_views/modal/register.php b/src/web/_views/modal/register.php index 9fa1fe2..5c76fe9 100644 --- a/src/web/_views/modal/register.php +++ b/src/web/_views/modal/register.php @@ -3,11 +3,11 @@ <?php /* vi: syntax=php */ ?> <form id="register-form"> <div class="modal-content register-modal col"> - <label class="static"> + <label> <?=ucwords(lang('ph_basic_info'))?> </label> <div class="row mt"> - <div class="rel grow"> + <div class="form-input grow"> <input type="text" name="first_name" @@ -18,7 +18,7 @@ <?=ucwords(lang('ph_first_name'))?> </label> </div> - <div class="rel ml grow"> + <div class="form-input ml grow"> <input type="text" name="last_name" @@ -30,7 +30,7 @@ </label> </div> </div> - <div class="rel mt"> + <div class="form-input mt"> <input type="text" name="username" @@ -41,7 +41,7 @@ <?=ucwords(lang('ph_username'))?> </label> </div> - <div class="rel mt"> + <div class="form-input mt"> <input type="password" name="password" @@ -52,7 +52,7 @@ <?=ucwords(lang('ph_password'))?> </label> </div> - <div class="rel mt"> + <div class="form-input mt"> <input type="text" name="email" @@ -63,7 +63,7 @@ <?=ucwords(lang('ph_email'))?> </label> </div> - <label for="birth_date" class="mt static"> + <label for="birth_date" class="mt"> <?=ucwords(lang('ph_birth_date'))?> </label> <input @@ -72,11 +72,11 @@ name="birth_date" id="register-birth-date" > - <label for="gender" class="mt static"> + <label for="gender" class="mt"> <?=ucwords(lang('ph_gender'))?> </label> <div class="row mt" data-type="radio" data-name="gender-wrapper"> - <div class="rel radio mr"> + <div class="form-radio mr"> <input type="radio" id="register-gender-male" @@ -90,7 +90,7 @@ <?=ucwords(lang('ph_gender_male'))?> </label> </div> - <div class="rel radio mr"> + <div class="form-radio mr"> <input type="radio" id="register-gender-female" @@ -104,7 +104,7 @@ <?=ucwords(lang('ph_gender_female'))?> </label> </div> - <div class="rel radio"> + <div class="form-radio"> <input type="radio" id="register-gender-lettuce" @@ -123,7 +123,7 @@ <div class="modal-footer"> <?=ilang('action_register', id: 'register-submit', - class: 'btn grow btn-success', + class: 'btn btn-submit btn-alt grow', attrs: array('type' => 'submit'), button: TRUE )?> diff --git a/src/web/helper/lang.php b/src/web/helper/lang.php index f7d69e6..3397d63 100644 --- a/src/web/helper/lang.php +++ b/src/web/helper/lang.php @@ -69,7 +69,7 @@ function ilang($key, if ($text) { echo '<span'; if ($icon) { - echo ' class="ml-sm"'; + echo ' style="margin-left: .5em;"'; } echo '>' . $text . '</span>'; } |