From 04ffc94b80f9d8e702d2329d3c20c14020dbeb31 Mon Sep 17 00:00:00 2001 From: jessikitty Date: Wed, 20 May 2026 15:22:19 +1000 Subject: [PATCH] =?UTF-8?q?v1.0.0:=20Device=20views=20=E2=80=94=20Index,?= =?UTF-8?q?=20Create,=20Edit,=20Delete?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Views/Devices/Index.cshtml | 49 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Views/Devices/Index.cshtml diff --git a/Views/Devices/Index.cshtml b/Views/Devices/Index.cshtml new file mode 100644 index 0000000..5c6e9df --- /dev/null +++ b/Views/Devices/Index.cshtml @@ -0,0 +1,49 @@ +@model List +@{ ViewData["Title"] = "Kittens (Devices)"; } + +@section HeaderActions { + New Kitten +} + +@if (Model.Any()) +{ +
+ @foreach (var device in Model) + { +
+
+
+
@device.Name
+
+ @(device.ResolutionWidth)x@(device.ResolutionHeight) + @device.DeviceSlides.Count meow(s) + @device.Transition +
+
+ +
+ + + +
+
+
+ +
+
+ } +
+} +else +{ +
+ +

No kittens yet

+

Create your first display device.

+ Create Kitten +
+}