package userView import ( "github.com/fossyy/filekeeper/types" "github.com/fossyy/filekeeper/view/client/layout" "github.com/fossyy/filekeeper/session" ) templ content(message types.Message, title string, user types.User, allowance *types.Allowance, ListSession []*session.SessionInfo) { @layout.BaseAuth(title){ @layout.Navbar(user)

Profile

JL

Session Management

for _, ses := range ListSession { }
IP Address Browser Device Actions
{ses.IP} {ses.Browser + ses.Version} {ses.OS + ses.OSVersion}

Reset Password

switch message.Code { case 0: }

Click to log out or terminate the current session.

Storage Usage

{allowance.AllowanceUsedByte} / {allowance.AllowanceByte}
Upload Download

Upgrade Storage

Pro Plan

50GB of storage for $9.99/month

Upgrade

Enterprise Plan

1TB of storage for $49.99/month

Upgrade
@templ.JSONScript("AllowanceUsedPercent", allowance.AllowanceUsedPercent)