From fd2d4a35fbe3f7844b78a3deb73c9ea023655b78 Mon Sep 17 00:00:00 2001 From: bagas Date: Fri, 26 Apr 2024 11:23:00 +0700 Subject: [PATCH] Revamped user page UI --- view/user/user.templ | 294 +++++++++++++++++++++++++++++++++++++------ 1 file changed, 254 insertions(+), 40 deletions(-) diff --git a/view/user/user.templ b/view/user/user.templ index 3e520b1..4e09a30 100644 --- a/view/user/user.templ +++ b/view/user/user.templ @@ -4,47 +4,261 @@ import "github.com/fossyy/filekeeper/view/layout" templ content(email string, username string, title string) { @layout.Base(title){ -
-
-

- User Profile -

-

- This is some information about the user. -

+
+
+
+
+

Profile

+
+
+ + +
+
+ + +
+
+ +
+
+ JL +
+ +
+
+
+
+
+

Session Management

+
+
+
+ + + +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + +
+ IP Address + + Browser + + Device + + Last Activity + + Actions +
+ 192.168.1.100Chrome 89 + Desktop + 1 week + ago + + +
+
+
+
+
+ +
+

+ Logged in as John Doe +

+

+ Logged in from 192.168.1.100 +

+

+ Logged in at 2023-04-26 15:30:00 +

+
+
+
+
+
+

Reset Password

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

+ Click to log out or terminate the current session. +

+
+
+ +
+
+
+

Storage Usage +

+
+
+
+ Used + 12.5GB +
+
+
+
+
+ Available + 37.5GB +
+
+
+
+
+
+
+
+

Upgrade Storage +

+
+
+
+

Pro Plan

+

50GB of storage for $9.99/month

+ +
+
+

Enterprise Plan

+

1TB of storage for $49.99/month

+ +
+
+
+
-
-
-
-
- Full name -
-
- { username } -
-
-
-
- Email address -
-
- { email } -
-
-
-
- Password -
-
- ntah lah -
-
-
-
-
- -
-
+ } }