From 3f05ee34d209fcb994cba50955cd2e301315d9bd Mon Sep 17 00:00:00 2001 From: Ian C Date: Fri, 22 Mar 2024 12:28:07 +0000 Subject: Initial working version. --- Pages/Report.cshtml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Pages/Report.cshtml (limited to 'Pages/Report.cshtml') diff --git a/Pages/Report.cshtml b/Pages/Report.cshtml new file mode 100644 index 0000000..b928ef5 --- /dev/null +++ b/Pages/Report.cshtml @@ -0,0 +1,43 @@ +@page +@model download_admin.Pages.ReportModel + +@if (Model.HasError) +{ +

@Model.ErrorText

+} +

Count for each key

+ + + + + + + + @foreach (string t in Model.Keys) + { + + + + + } +
KeyDownloads
@t@Model.GetCount(t)
+ +

Download Details

+ + + + + + + + + @foreach(Download obj in Model.Rows) + { + + + + + + + } +
TimeKeyIP AddressUser Agent
@obj.Time@obj.Key@obj.IpAddress@obj.UserAgent
\ No newline at end of file -- cgit v1.2.3