From bee85bf92aab84087798ffa9f3f16336acef2fce Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Thu, 19 Mar 2026 18:56:34 +0100 Subject: Basic backoffice for alert management --- src/Enmarcha.Backend/Views/Alerts/Edit.cshtml | 446 ++++++++++++++++++++++++++ 1 file changed, 446 insertions(+) create mode 100644 src/Enmarcha.Backend/Views/Alerts/Edit.cshtml (limited to 'src/Enmarcha.Backend/Views/Alerts/Edit.cshtml') diff --git a/src/Enmarcha.Backend/Views/Alerts/Edit.cshtml b/src/Enmarcha.Backend/Views/Alerts/Edit.cshtml new file mode 100644 index 0000000..57e853d --- /dev/null +++ b/src/Enmarcha.Backend/Views/Alerts/Edit.cshtml @@ -0,0 +1,446 @@ +@model Enmarcha.Backend.ViewModels.AlertFormViewModel +@using Enmarcha.Backend.Data.Models +@using Enmarcha.Backend.Helpers +@{ + var isCreate = Model.Id is null; + ViewData["Title"] = isCreate ? "Nueva alerta" : "Editar alerta"; + var formAction = isCreate + ? "/backoffice/alerts/create" + : $"/backoffice/alerts/{Model.Id}/edit"; +} + +@section Head { + + + +} + +
+

@ViewData["Title"]

+ + Volver + +
+ +
+ @Html.AntiForgeryToken() + @if (!isCreate) + { + + } + +
+ @* Textos *@ +
+
+
+ Textos +
+
+
+ + + +
+
+ + +
+
+
+
+ + @* Causa / Efecto *@ +
+ + +
+
+ + +
+ + @* Fechas *@ +
+
+
+ Fechas +
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+
+ + @* Selectores *@ +
+ + + +
+
+ Seleccionados: +
+ Ninguno +
+
+
+ +
+ + +
+
+
+
+
+ +
+ +
+
+ +
+
+
+
+
+ +
+ También puedes escribir directamente: stop#feedId:stopId · + route#feedId:routeId · agency#feedId +
+
+ + @* URLs *@ +
+ + +
Una URL por línea
+
+
+ +
+ + Cancelar +
+
+ + + -- cgit v1.3