From fd6636a720b759bea131adec22dac5f39f4b71a1 Mon Sep 17 00:00:00 2001 From: Tim Date: Mon, 21 Apr 2025 16:15:39 +0200 Subject: Update user interface --- VPNAuth.Server/Pages/Auth.cshtml | 23 +++++++++++++++-------- VPNAuth.Server/Pages/Dashboard.cshtml | 34 ++++++++++++++++++++-------------- 2 files changed, 35 insertions(+), 22 deletions(-) (limited to 'VPNAuth.Server/Pages') diff --git a/VPNAuth.Server/Pages/Auth.cshtml b/VPNAuth.Server/Pages/Auth.cshtml index 9017445..a402236 100644 --- a/VPNAuth.Server/Pages/Auth.cshtml +++ b/VPNAuth.Server/Pages/Auth.cshtml @@ -10,30 +10,37 @@ VPNAuth - Auth + - +

Authorization

-

VPNAuth

@if (Model.ValidRequest) {
-

Do you want to log into @Request.Query["client_id"]?

- -
-

Requested Scopes:

-
} else { Invalid request. } + + diff --git a/VPNAuth.Server/Pages/Dashboard.cshtml b/VPNAuth.Server/Pages/Dashboard.cshtml index 78f6846..6648797 100644 --- a/VPNAuth.Server/Pages/Dashboard.cshtml +++ b/VPNAuth.Server/Pages/Dashboard.cshtml @@ -22,8 +22,9 @@ VPNAuth - Dashboard + - + @if (configUser == null) {

No user detected

@@ -31,16 +32,13 @@ else {
-

Dashboard

-

VPNAuth

-

Hey, @configUser.Username!

-

User settings

+

User settings

- +
- + @@ -67,18 +65,26 @@ + + + +
Username@dbUser?.Sub@dbUser?.Sub
IPs +
    + @foreach (var ip in configUser.Ips!) + { +
  • @ip
  • + } +
+
-

Your IPs

-
} + + -- cgit v1.2.3