diff --git a/resources/views/facturas.html b/resources/views/facturas.html new file mode 100644 index 0000000..8ff2041 --- /dev/null +++ b/resources/views/facturas.html @@ -0,0 +1,263 @@ +{{template "layouts/main" .}} + +
+ +
+
+

Facturas

+

Gestión de facturas por cliente y proyecto

+
+ +
+ +
+ +
+ +
+ + + + + + + + + + + + + + + + + + +
#ClienteDescripciónMontoEstadoVencimientoVisiblePDFAcciones
+
+ + +
+ Total: +
+ + + +
+
+ + +
+
+

+
+
+
+ + +
+
+ + +
+
+
+ + +
+
+
+ + +
+
+
+
+
+
+ + +
+
+

+
+ + +
+
+
+
+ + +
+
+

Subir PDF de factura

+ +

+
+ + +
+
+
+ + +
+
+

¿Eliminar factura?

+

Esta acción no se puede deshacer.

+
+ + +
+
+
+ +
+ + + + diff --git a/resources/views/layouts/portal.html b/resources/views/layouts/portal.html new file mode 100644 index 0000000..7a6e2db --- /dev/null +++ b/resources/views/layouts/portal.html @@ -0,0 +1,53 @@ + + + + + + Portal de Clientes · U-site + + + + + + + + + + + +
+
+ + + U + Portal de Clientes + + +
+ + + Cerrar sesión + +
+
+
+ + +
+ {{embed}} +
+ + + + + + diff --git a/resources/views/layouts/portal_public.html b/resources/views/layouts/portal_public.html new file mode 100644 index 0000000..93199ef --- /dev/null +++ b/resources/views/layouts/portal_public.html @@ -0,0 +1,19 @@ + + + + + + Acceso al Portal · U-site + + + + + + + + {{embed}} + + diff --git a/resources/views/portal/dashboard.html b/resources/views/portal/dashboard.html new file mode 100644 index 0000000..4c067e0 --- /dev/null +++ b/resources/views/portal/dashboard.html @@ -0,0 +1,82 @@ + +
+ + +
+

+ Hola, {{ if .portalUser }}{{ .portalUser.Nombre }}{{ end }} 👋 +

+

+ {{ if .isPartner }} + Estás viendo todos los proyectos de tus clientes. + {{ else }} + Aquí puedes ver el avance de tus proyectos. + {{ end }} +

+
+ + + {{ if .isPartner }} + + {{ range .grupos }} +
+

+ {{ if .Cliente.RazonSocial }}{{ .Cliente.RazonSocial }}{{ else }}{{ .Cliente.Nombre }}{{ end }} +

+ +
+ {{ end }} + {{ else }} + +
+ {{ range .proyectos }} + +
+ + {{ .Nombre }} +
+

{{ .Descripcion }}

+
+ Progreso + {{ .Progreso }}% +
+
+
+
+
+ {{ .Estado }} + Ver detalle → +
+
+ {{ end }} +
+ {{ if not .proyectos }} +
+ +

Aún no tienes proyectos asignados.

+
+ {{ end }} + {{ end }} + +
diff --git a/resources/views/portal/login.html b/resources/views/portal/login.html new file mode 100644 index 0000000..10a3e9f --- /dev/null +++ b/resources/views/portal/login.html @@ -0,0 +1,43 @@ + +
+
+ U +

Portal de Clientes

+

Accede a tu espacio de trabajo

+
+ + {{ if .error }} +
+ {{ .error }} +
+ {{ end }} + +
+
+
+
+ + +
+
+ + +
+ +
+
+
+ +

+ © 2025 U-site — Todos los derechos reservados +

+
diff --git a/resources/views/portal/proyecto.html b/resources/views/portal/proyecto.html new file mode 100644 index 0000000..3bbb90c --- /dev/null +++ b/resources/views/portal/proyecto.html @@ -0,0 +1,294 @@ + +
+ + +
+ + + + +
+

{{ .proyecto.Nombre }}

+

{{ .proyecto.Descripcion }}

+
+
+
+
+
+
+ {{ .proyecto.Progreso }}% +
+

{{ .proyecto.Estado }}

+
+
+ + +
+ +
+ + +
+
+ +
+ +
+ {{ range $i, $f := .fases }} +
+ +
+ {{ if eq $f.Estado "completado" }} +
+ +
+ {{ else if eq $f.Estado "en_progreso" }} +
+ {{ add $i 1 }} +
+ {{ else }} +
+ {{ add $i 1 }} +
+ {{ end }} +
+ +
+
+
+
+

{{ $f.Nombre }}

+ + {{ $f.Estado }} + +
+

{{ $f.Descripcion }}

+
+ {{ if $f.FechaEstimada }} + + Est: {{ $f.FechaEstimada.Format "02 Jan 2006" }} + + {{ end }} +
+
+
+ {{ end }} + {{ if not .fases }} +

El roadmap aún no está disponible.

+ {{ end }} +
+
+
+ + +
+
+ {{ range .avances }} +
+
+
+ {{ if eq .Tipo "milestone" }}🎯{{ else if eq .Tipo "alerta" }}⚠️{{ else }}✓{{ end }} +
+
+

{{ .Titulo }}

+

{{ .Contenido }}

+

{{ .CreatedAt.Format "02 Jan 2006" }}

+
+
+
+ {{ end }} + {{ if not .avances }} +

Sin avances publicados aún.

+ {{ end }} +
+
+ + +
+
+ {{ range .entregables }} +
+
+ +
+
+

{{ .Nombre }}

+

v{{ .Version }} · {{ .OriginalName }}

+
+ + + +
+ {{ end }} + {{ if not .entregables }} +

Sin entregables disponibles.

+ {{ end }} +
+
+ + +
+ +
+

Abrir nuevo ticket

+
+
+
+
+ +
+
+
+ +
+
+ + +
+ +

No tienes tickets abiertos.

+
+
+ + +
+
+ {{ range .facturas }} +
+
+
+ {{ if .Numero }}{{ .Numero }}{{ else }}Factura #{{ .ID }}{{ end }} + {{ .Estado }} +
+

{{ .Descripcion }}

+

{{ .Moneda }} {{ .Monto }}

+ {{ if .FechaVencimiento }}

Vence: {{ .FechaVencimiento.Format "02 Jan 2006" }}

{{ end }} +
+ {{ if .Archivo }} + + + + {{ end }} +
+ {{ end }} + {{ if not .facturas }} +

Sin facturas disponibles.

+ {{ end }} +
+
+ +
+ + + + diff --git a/resources/views/portal_usuarios.html b/resources/views/portal_usuarios.html new file mode 100644 index 0000000..b06194e --- /dev/null +++ b/resources/views/portal_usuarios.html @@ -0,0 +1,225 @@ +{{template "layouts/main" .}} + +
+ +
+
+

Usuarios del Portal

+

Accesos del portal de clientes

+
+ +
+ + +
+ + + + + + + + + + + + + + + +
NombreEmailRolCliente / AccesosEstadoAcciones
+
+ + +
+
+

+
+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+

+
+ + +
+
+
+
+ + +
+
+

Agregar acceso a cliente

+ + +
+ + +
+
+
+ + +
+
+

¿Eliminar usuario?

+

Se revocará el acceso al portal.

+
+ + +
+
+
+ +
+ + + + diff --git a/resources/views/proyecto_detalle.html b/resources/views/proyecto_detalle.html new file mode 100644 index 0000000..5811e6a --- /dev/null +++ b/resources/views/proyecto_detalle.html @@ -0,0 +1,399 @@ +{{template "layouts/main" .}} + +
+ + +
+ + + + +
+

{{ .proyecto.Nombre }}

+

{{ if .proyecto.Cliente }}{{ .proyecto.Cliente.RazonSocial }}{{ end }} · slug: {{ .proyecto.Slug }}

+
+
+ {{ .proyecto.Estado }} + + {{ .proyecto.Progreso }}% completado + +
+
+ + +
+ +
+ + +
+
+

Fases del proyecto

+
+ + +
+
+
+ +

Sin fases. Agrega o aplica la plantilla por defecto.

+
+
+ + +
+
+

Avances y actualizaciones

+ +
+
+ +

Sin avances publicados.

+
+
+ + +
+
+

Entregables

+ +
+
+ +

Sin entregables.

+
+
+ + +
+
+

Tickets de soporte

+
+
+ +

Sin tickets.

+
+
+ + +
+
+

+
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+

Publicar avance

+
+
+
+ + +
+
+
+
+
+ + +
+
+
+
+ + +
+
+

Subir entregable

+
+
+
+
+
+
+
+

+
+ + +
+
+
+
+ +
+ + + + diff --git a/resources/views/proyectos.html b/resources/views/proyectos.html new file mode 100644 index 0000000..560d251 --- /dev/null +++ b/resources/views/proyectos.html @@ -0,0 +1,244 @@ +{{template "layouts/main" .}} + +
+ + +
+
+

Proyectos

+

Gestión de proyectos del portal de clientes

+
+ +
+ + +
+ +
+ + +
+ + + + + + + + + + + + + + + + +
ColorNombreClienteEstadoProgresoAcciones
+
+ + +
+ Total: +
+ + + +
+
+ + +
+
+

+
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+

+
+ + +
+
+
+
+ + +
+
+

¿Eliminar proyecto?

+

Esta acción no se puede deshacer. Se eliminarán todas las fases, avances, entregables y tickets asociados.

+
+ + +
+
+
+ +
+ + + +