frontender 3

This commit is contained in:
julian
2024-07-03 13:40:04 -03:00
parent 5837388f21
commit efd656a208
5 changed files with 68 additions and 37 deletions

View File

@ -13,9 +13,6 @@ defmodule DerivantesWeb.DerivantesLive do
def render(assigns) do
~H"""
<div>
<div class="pantalla_estudios_header">
<img src={~p"/images/sana_americano_logo.png"} alt="IM LOGO"/>
</div>
<%= if length(@studies) > 0 do %>
<div class="estudio_patientname">
<h1>Bienvenido, <%= @current_user.email %> </h1>

View File

@ -7,7 +7,7 @@ defmodule DerivantesWeb.UserRegistrationLive do
def render(assigns) do
~H"""
<div class="register_screen">
<.header class="text-center mb-5">
<.header class="text-center mb-5 mt-5">
Registre su nueva cuenta
<:subtitle>
¿Ya tiene una cuenta?
@ -31,13 +31,13 @@ defmodule DerivantesWeb.UserRegistrationLive do
<.error :if={@check_errors}>
Hubo un error.
</.error>
<img src={~p"/images/sana_americano_logo.png"} alt="Sanatorio Americano Logo"/>
<img src={~p"/images/sana_americano_logo.png"} alt="Sanatorio Americano Logo" style="margin-top: 5px; margin-bottom: 20px;"/>
<.input class="imput_text w-40" field={@form[:matricula]} type="text" placeholder="Matrícula" required />
<.input class="imput_text w-40" field={@form[:email]} type="email" placeholder="Email" required />
<.input class="imput_text w-40" field={@form[:password]} type="password" placeholder="Contraseña" required />
<:actions>
<.button phx-disable-with="Creando cuenta..." class="submit_button mt-2">Crear cuenta</.button>
<.button phx-disable-with="Creando cuenta..." class="submit_button" style="margin-top: 15px;">Crear cuenta</.button>
</:actions>
</.simple_form>
</div>