Merge branch 'hotFix' into dev

This commit is contained in:
francisco-solis99 2022-05-27 13:09:24 -05:00
commit 21fc3f562a
6 changed files with 94 additions and 6 deletions

View File

@ -19,6 +19,12 @@ header {
min-height: 220px;
margin-bottom: 70px;
}
/* Styles for the logo link */
.nav__logo-wrapper {
width: 80px;
left: 13%;
top: 8%;
}
.profile-own {
bottom: -83px;

View File

@ -50,6 +50,23 @@ header::before {
background: rgba(0, 0, 0, .5);
}
/* Styles for the logo */
.nav__logo-wrapper {
width: 60px;
position: absolute;
left: 6%;
top: 10%;
padding: 7px;
border-radius: 8px;
z-index: 5;
background-color: rgba(255, 255, 255, 0.75);
}
.nav__logo {
width: 100%;
}
.profile-own {
width: 65%;
max-width: 250px;
@ -97,6 +114,11 @@ header::before {
margin-bottom: 30px;
}
.profile__instructions {
font-size: 1.4rem;
padding-top: 40px;
}
.edit__form {
width: 100%;
}
@ -150,7 +172,7 @@ input[type="file"] {
.edit__field-background::before {
right: 0;
top: -25%;
top: -22%;
font-size: 2rem;
}

View File

@ -18,7 +18,25 @@
<?php defined('NABU') || exit() ?>
<?php $head_title = 'Aprobar artículos' ?>
<!-- Estilos a cargar -->
<?php $styles = array(
'components/search/search.css',
'components/pagination/pagination.css',
'components/footer/footer.css',
) ?>
<!-- Estilos a cargar para el responsive design -->
<?php $desktop_styles = array(
array('file' => 'components/footer/footer-desktop.css', 'attributes' => 'media="screen and (min-width: 650px)"'),
array('file' => 'components/search/search-desktop.css', 'attributes' => 'media="screen and (min-width: 650px)"'),
array('file' => 'components/pagination/pagination-desktop.css', 'attributes' => 'media="screen and (min-width: 650px)"'),
) ?>
<!-- Componente head -->
<?php require_once 'views/components/head.php' ?>
<!-- Body -->
<?php require_once 'views/components/dashboard.php' ?>
<h1>Aprobar artículos</h1>

View File

@ -19,6 +19,25 @@
<?php $head_title = 'Artículos publicados' ?>
<!-- Estilos a cargar -->
<?php $styles = array(
'components/messages/messages.css',
'components/search/search.css',
'components/pagination/pagination.css',
'components/footer/footer.css',
) ?>
<!-- Estilos a cargar para el responsive design -->
<?php $desktop_styles = array(
array('file' => 'components/footer/footer-desktop.css', 'attributes' => 'media="screen and (min-width: 650px)"'),
array('file' => 'components/search/search-desktop.css', 'attributes' => 'media="screen and (min-width: 650px)"'),
array('file' => 'components/pagination/pagination-desktop.css', 'attributes' => 'media="screen and (min-width: 650px)"'),
) ?>
<!-- Componente head -->
<?php require_once 'views/components/head.php' ?>
<!-- Body -->
<?php require_once 'views/components/dashboard.php' ?>
<h1>Artículos publicados</h1>

View File

@ -19,6 +19,27 @@
<?php $head_title = 'Usuarios registrados' ?>
<!-- Estilos a cargar -->
<?php $styles = array(
'components/messages/messages.css',
'components/search/search.css',
'components/pagination/pagination.css',
'components/footer/footer.css',
) ?>
<!-- Estilos a cargar para el responsive design -->
<?php $desktop_styles = array(
array('file' => 'components/footer/footer-desktop.css', 'attributes' => 'media="screen and (min-width: 650px)"'),
array('file' => 'components/search/search-desktop.css', 'attributes' => 'media="screen and (min-width: 650px)"'),
array('file' => 'components/pagination/pagination-desktop.css', 'attributes' => 'media="screen and (min-width: 650px)"'),
) ?>
<!-- Componente head -->
<?php require_once 'views/components/head.php' ?>
<!-- Body -->
<?php require_once 'views/components/dashboard.php' ?>
<h1>Usuarios registrados</h1>

View File

@ -31,10 +31,6 @@
array('file' => 'pages/edit-profile/edit-profile-desktop.css', 'attributes' => 'media="screen and (min-width: 768px)"'),
) ?>
<!-- Archivos de javascript a cargar -->
<?php $scripts = array(
'home.js'
) ?>
<!-- HTML head -->
<?php require_once 'views/components/head.php' ?>
@ -42,6 +38,11 @@
<?php require_once 'views/components/messages.php' ?>
<!-- HTML body -->
<header style='background-image: url("<?= $profile['background']?>");'>
<figure class="nav__logo-wrapper">
<a href="<?= NABU_ROUTES['home'] ?>">
<img class="nav__logo" src="<?= NABU_DIRECTORY['images'] ?>/nabu-logo.svg" alt="Logo de nabu">
</a>
</figure>
<div class="profile-own">
<picture class="profile-own__image-wrapper">
<img src="<?= $profile['avatar'] ?>" class="profile-own__image" alt='Foto de Perfil'>
@ -51,6 +52,7 @@
</header>
<section class='profile__edit'>
<p class="profile__instructions">Cambia los campos que desees y guarda para ver los cambios</p>
<form method="POST" action="<?= NABU_ROUTES['edit-profile'] ?>" enctype="multipart/form-data" class='edit__form'>
<input type="hidden" name="csrf" value="<?= $token ?>">
@ -79,7 +81,7 @@
</label>
<label for="password" class="edit__field">
<span class="edit__entry">Nueva Contraseña</span>
<span class="edit__entry">Cambiar Contraseña</span>
<input type="password" id="password" name="password" minlength="6" maxlength="255" class="edit__input">
</label>