Refactor de componentes de pantallas de login

This commit is contained in:
Alejandro Tasistro 2024-08-30 01:14:10 -03:00
parent 5453b1158f
commit 12b77de018
6 changed files with 6 additions and 15 deletions

View File

@ -12,9 +12,6 @@
</template>
<script>
export default {
name: "BotonAdminLogin"
}
</script>
<style scoped>

View File

@ -21,11 +21,11 @@
Contraseña incorrecta, intentalo nuevamente.
</div>
@enderror
<region-select v-bind:admin="true"></region-select>
<comunes-region-select v-bind:admin="true"></comunes-region-select>
<form method="post" action="login">
@csrf
<barrio-select v-bind:admin="true"></barrio-select>
<login-admin></login-admin>
<comunes-barrio-select v-bind:admin="true"></comunes-barrio-select>
<admin-login></admin-login>
</form>
</div>
</section>

View File

@ -11,7 +11,7 @@
<body>
<section class="section">
<div id="root" class="container">
<boton-admin-login></boton-admin-login>
<admin-boton-login></admin-boton-login>
<h1 class="title">
Pedidos MPS
</h1>
@ -23,10 +23,10 @@
Contraseña incorrecta, intentalo nuevamente.
</div>
@enderror
<region-select></region-select>
<comunes-region-select></comunes-region-select>
<form method="post" action="login">
@csrf
<barrio-select></barrio-select>
<comunes-barrio-select></comunes-barrio-select>
<login></login>
</form>
</div>
@ -34,9 +34,3 @@
<script src="{{ mix('js/app.js') }}" defer></script>
</body>
</html>
<script>
import BotonAdminLogin from "../../js/components/BotonAdminLogin";
export default {
components: {BotonAdminLogin}
}
</script>