DEV: Мелкие исправления

This commit is contained in:
Evg 2021-06-12 17:28:30 +03:00
parent dfbe8edcf8
commit 7ae37b8cfe
6 changed files with 14 additions and 11 deletions

View file

@ -227,10 +227,7 @@ class UserController extends \MainController
// Аватар
$name = $_FILES['images']['name'][0];
print_r($_FILES);
exit;
if($name) {
// 160px и 18px
$path_img = HLEB_PUBLIC_DIR. '/uploads/users/avatars/';
$path_img_small = HLEB_PUBLIC_DIR. '/uploads/users/avatars/small/';

View file

@ -217,7 +217,7 @@ return [
'Raise' => 'Поднять',
/* Настройки */
'Setting profile' => 'Настрока профиля',
'Setting profile' => 'Настройка профиля',
'Setting profile page' => 'Страница настройки профиля',
'Change avatar' => 'Изменение аватарки',
'Avatar' => 'Аватарка',

View file

@ -66,8 +66,8 @@ a.active {
}
.trust-level {
background: #f5efe3;
color: #47340c;
background-color: rgba(255,148,76,0.2);
color: rgba(33,32,31,.5);
}
tt {
@ -222,8 +222,8 @@ a.link:hover {
.banner {
padding: 11px 15px 15px 15px;
background: #f0f0df;
color: var(--tertiary);
background: #f3f1ed;
color: rgba(33,32,31,.5);
font-size: 15px;
border-radius: 2px;
}
@ -1607,6 +1607,12 @@ i.github {
background-color: #222;
}
.to-user {
border-radius: 3px;
background-color: #e1ecf4;
padding: 1px 4px;
}
@media (max-width: 1050px) {
aside {
margin: 0 15px 20px 0;

View file

@ -3,7 +3,7 @@
<?php csrf_field(); ?>
<div class="login-nav">
<label for="email">Email</label>
<input type="text" placeholder="<?= lang('Enter'); ?> e-mail" name="email" id="email">
<input type="email" placeholder="<?= lang('Enter'); ?> e-mail" name="email" id="email">
</div>
<div class="login-nav">
<label for="password"><?= lang('Password'); ?></label>

View file

@ -7,7 +7,7 @@
<?php csrf_field(); ?>
<div class="boxline">
<label for="email">Email</label>
<input type="text" name="email" id="email" value="">
<input type="email" name="email" id="email" value="">
</div>
<div class="boxline">
<label for="password"><?= lang('Password'); ?></label>

View file

@ -12,7 +12,7 @@
</div>
<div class="boxline">
<label for="email">Email</label>
<input type="text" name="email" id="email">
<input type="email" name="email" id="email">
</div>
<div class="boxline">
<label for="password"><?= lang('Password'); ?></label>