diff --git a/Dockerfile b/Dockerfile
index c22f684..d6445f2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,7 +14,7 @@ RUN javascript-obfuscator ./public/validatePassword.js --compact true --self-def
RUN javascript-obfuscator ./public/websocket.js --compact true --self-defending true --output ./public/websocket_obfuscated.js
RUN cleancss -o ./public/output.css ./tmp/output.css
-FROM golang:1.23.1-alpine3.20 AS go_builder
+FROM golang:1.24.4-alpine AS go_builder
WORKDIR /src
COPY . .
diff --git a/go.mod b/go.mod
index 804ff26..e7d2427 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
module github.com/fossyy/filekeeper
-go 1.23.1
+go 1.24.4
require (
github.com/a-h/templ v0.3.819
diff --git a/view/admin/index/index_templ.go b/view/admin/index/index_templ.go
index c01f3b4..b6628b4 100644
--- a/view/admin/index/index_templ.go
+++ b/view/admin/index/index_templ.go
@@ -1,6 +1,6 @@
// Code generated by templ - DO NOT EDIT.
-// templ: version: v0.2.786
+// templ: version: v0.3.833
package adminIndex
//lint:file-ignore SA4006 This context is only used if a nested component is present.
@@ -43,17 +43,17 @@ func Main() templ.Component {
}()
}
ctx = templ.InitializeContext(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 1)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "
System Usage
Real-time metrics for your server.
User List
Manage your registered users.
Name | Email | Role | Actions |
John Doe | john@example.com | Admin | |
Jane Smith | jane@example.com | Editor | |
Bob Johnson | bob@example.com | User | |
Server Control
Manage your server instances.
Server Environment
Manage your server environment variables.
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
templ_7745c5c3_Err = layout.Base().Render(templ.WithChildren(ctx, templ_7745c5c3_Var2), templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
diff --git a/view/admin/layout/base_templ.go b/view/admin/layout/base_templ.go
index 4bf7b49..c586800 100644
--- a/view/admin/layout/base_templ.go
+++ b/view/admin/layout/base_templ.go
@@ -1,6 +1,6 @@
// Code generated by templ - DO NOT EDIT.
-// templ: version: v0.2.786
+// templ: version: v0.3.833
package layout
//lint:file-ignore SA4006 This context is only used if a nested component is present.
@@ -29,7 +29,7 @@ func Base() templ.Component {
templ_7745c5c3_Var1 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 1)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "Admin Page")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -37,11 +37,11 @@ func Base() templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 2)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
diff --git a/view/client/auth/auth_templ.go b/view/client/auth/auth_templ.go
index ad4d7b7..0d2ac53 100644
--- a/view/client/auth/auth_templ.go
+++ b/view/client/auth/auth_templ.go
@@ -1,6 +1,6 @@
// Code generated by templ - DO NOT EDIT.
-// templ: version: v0.2.786
+// templ: version: v0.3.833
package authView
//lint:file-ignore SA4006 This context is only used if a nested component is present.
@@ -46,17 +46,17 @@ func form(err types.Message, title string) templ.Component {
}()
}
ctx = templ.InitializeContext(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 1)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "Sign Up
Already have an account? Log in
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
templ_7745c5c3_Err = layout.Base(title).Render(templ.WithChildren(ctx, templ_7745c5c3_Var2), templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -85,7 +85,7 @@ func GoogleSetup(title string, err types.Message) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
diff --git a/view/client/auth/forgotPassword/forgotPassword_templ.go b/view/client/auth/forgotPassword/forgotPassword_templ.go
index 8ea4d88..253adb8 100644
--- a/view/client/auth/forgotPassword/forgotPassword_templ.go
+++ b/view/client/auth/forgotPassword/forgotPassword_templ.go
@@ -1,6 +1,6 @@
// Code generated by templ - DO NOT EDIT.
-// templ: version: v0.2.786
+// templ: version: v0.3.833
package forgotPasswordView
//lint:file-ignore SA4006 This context is only used if a nested component is present.
@@ -46,13 +46,13 @@ func content(title string, err types.Message) templ.Component {
}()
}
ctx = templ.InitializeContext(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 1)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "Forgot Password
Enter your email address and we'll send you instructions to reset your password.
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
templ_7745c5c3_Err = layout.Base(title).Render(templ.WithChildren(ctx, templ_7745c5c3_Var2), templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -109,7 +109,7 @@ func Main(title string, err types.Message) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -146,13 +146,13 @@ func NewPasswordForm(title string, err types.Message) templ.Component {
}()
}
ctx = templ.InitializeContext(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 5)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, "Reset Password
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
switch err.Code {
case 0:
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 6)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 6, "
Error! ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -165,22 +165,22 @@ func NewPasswordForm(title string, err types.Message) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 7)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 7, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 8)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 8, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
templ_7745c5c3_Err = layout.Base(title).Render(templ.WithChildren(ctx, templ_7745c5c3_Var6), templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -217,17 +217,17 @@ func EmailSend(title string) templ.Component {
}()
}
ctx = templ.InitializeContext(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 9)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, " Email Verification Sent
We've sent a verification email to your inbox. Please check your email and follow the instructions to change your password.
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
templ_7745c5c3_Err = layout.Base(title).Render(templ.WithChildren(ctx, templ_7745c5c3_Var9), templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -264,17 +264,17 @@ func ChangeSuccess(title string) templ.Component {
}()
}
ctx = templ.InitializeContext(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 10)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, " Password Changed Successfully
Your password has been successfully updated. Feel free to continue enjoying our platform.
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
templ_7745c5c3_Err = layout.Base(title).Render(templ.WithChildren(ctx, templ_7745c5c3_Var11), templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
diff --git a/view/client/auth/signin/signin_templ.go b/view/client/auth/signin/signin_templ.go
index 78a6113..0c3e196 100644
--- a/view/client/auth/signin/signin_templ.go
+++ b/view/client/auth/signin/signin_templ.go
@@ -1,6 +1,6 @@
// Code generated by templ - DO NOT EDIT.
-// templ: version: v0.2.786
+// templ: version: v0.3.833
package signinView
//lint:file-ignore SA4006 This context is only used if a nested component is present.
@@ -46,13 +46,13 @@ func content(err types.Message, title string) templ.Component {
}()
}
ctx = templ.InitializeContext(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 1)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "Login
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
switch err.Code {
case 0:
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 2)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "
Error! ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -65,22 +65,22 @@ func content(err types.Message, title string) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 3)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 4)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
templ_7745c5c3_Err = layout.Base(title).Render(templ.WithChildren(ctx, templ_7745c5c3_Var2), templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -109,7 +109,7 @@ func Main(title string, err types.Message) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
diff --git a/view/client/auth/signup/signup_templ.go b/view/client/auth/signup/signup_templ.go
index 3fa02a6..bbd6a4f 100644
--- a/view/client/auth/signup/signup_templ.go
+++ b/view/client/auth/signup/signup_templ.go
@@ -1,6 +1,6 @@
// Code generated by templ - DO NOT EDIT.
-// templ: version: v0.2.786
+// templ: version: v0.3.833
package signup
//lint:file-ignore SA4006 This context is only used if a nested component is present.
@@ -46,13 +46,13 @@ func form(err types.Message, title string) templ.Component {
}()
}
ctx = templ.InitializeContext(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 1)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "Sign Up
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
switch err.Code {
case 0:
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 2)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "
Error! ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -65,22 +65,22 @@ func form(err types.Message, title string) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 3)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 4)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, "
Already have an account? Log in
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
templ_7745c5c3_Err = layout.Base(title).Render(templ.WithChildren(ctx, templ_7745c5c3_Var2), templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -109,7 +109,7 @@ func Main(title string, err types.Message) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -146,17 +146,17 @@ func EmailSend(title string) templ.Component {
}()
}
ctx = templ.InitializeContext(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 5)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, " Email Verification Sent
We've sent a verification email to your inbox. Please check your email and follow the instructions to verify your account.
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
templ_7745c5c3_Err = layout.Base(title).Render(templ.WithChildren(ctx, templ_7745c5c3_Var6), templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -193,17 +193,17 @@ func VerifySuccess(title string) templ.Component {
}()
}
ctx = templ.InitializeContext(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 6)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 6, " Account Verified
Your account has been successfully verified. You can now access all the features of our platform.
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
templ_7745c5c3_Err = layout.Base(title).Render(templ.WithChildren(ctx, templ_7745c5c3_Var8), templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
diff --git a/view/client/email/email_templ.go b/view/client/email/email_templ.go
index c5ecb4c..933c5c1 100644
--- a/view/client/email/email_templ.go
+++ b/view/client/email/email_templ.go
@@ -1,6 +1,6 @@
// Code generated by templ - DO NOT EDIT.
-// templ: version: v0.2.786
+// templ: version: v0.3.833
package emailView
//lint:file-ignore SA4006 This context is only used if a nested component is present.
@@ -29,7 +29,7 @@ func RegistrationEmail(name string, link string) templ.Component {
templ_7745c5c3_Var1 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 1)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "Email VerificationEmail Verification
Dear ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -42,7 +42,7 @@ func RegistrationEmail(name string, link string) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 2)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, ",
Please verify your email address by clicking the button below:
Verify EmailOr copy and paste this URL into a new tab of your browser:
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -73,11 +73,11 @@ func RegistrationEmail(name string, link string) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 5)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, "
If you did not request this verification, please disregard this email.
Thank you,
The Filekeeper Team
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -102,7 +102,7 @@ func ForgotPassword(name string, link string) templ.Component {
templ_7745c5c3_Var6 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 6)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 6, "Email VerificationPassword Change Request
Dear ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -115,7 +115,7 @@ func ForgotPassword(name string, link string) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 7)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 7, ",
Please verify your password change request by clicking the button below:
Verify Password ChangeOr copy and paste this URL into a new tab of your browser:
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -146,11 +146,11 @@ func ForgotPassword(name string, link string) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 10)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, "
If you did not request this password change, please disregard this email.
Thank you,
The Filekeeper Team
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
diff --git a/view/client/error/error_templ.go b/view/client/error/error_templ.go
index 285256e..39d0435 100644
--- a/view/client/error/error_templ.go
+++ b/view/client/error/error_templ.go
@@ -1,6 +1,6 @@
// Code generated by templ - DO NOT EDIT.
-// templ: version: v0.2.786
+// templ: version: v0.3.833
package errorView
//lint:file-ignore SA4006 This context is only used if a nested component is present.
@@ -43,17 +43,17 @@ func NotFound(title string) templ.Component {
}()
}
ctx = templ.InitializeContext(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 1)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "404 Not Found
The page you are looking for does not exist. It might have been moved or deleted.
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
templ_7745c5c3_Err = layout.Base(title).Render(templ.WithChildren(ctx, templ_7745c5c3_Var2), templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -90,17 +90,17 @@ func InternalServerError(title string) templ.Component {
}()
}
ctx = templ.InitializeContext(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 2)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "Oops! Something went wrong.
We're sorry, but an internal server error has occurred. Please try again later.
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
templ_7745c5c3_Err = layout.Base(title).Render(templ.WithChildren(ctx, templ_7745c5c3_Var4), templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
diff --git a/view/client/file/file_templ.go b/view/client/file/file_templ.go
index 01d959a..a2e1777 100644
--- a/view/client/file/file_templ.go
+++ b/view/client/file/file_templ.go
@@ -1,6 +1,6 @@
// Code generated by templ - DO NOT EDIT.
-// templ: version: v0.2.786
+// templ: version: v0.3.833
package fileView
//lint:file-ignore SA4006 This context is only used if a nested component is present.
@@ -52,13 +52,13 @@ func component(title string, files []types.FileData, user types.User, allowance
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
templ_7745c5c3_Err = layout.BaseAuth(title).Render(templ.WithChildren(ctx, templ_7745c5c3_Var2), templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -83,7 +83,7 @@ func MainContent(title string, files []types.FileData, user types.User, allowanc
templ_7745c5c3_Var3 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 1)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -96,7 +96,7 @@ func MainContent(title string, files []types.FileData, user types.User, allowanc
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 2)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -104,7 +104,7 @@ func MainContent(title string, files []types.FileData, user types.User, allowanc
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 3)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, " BackConfirm Deletion
Are you sure you want to delete the file \"\"? This action cannot be undone.
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -112,7 +112,7 @@ func MainContent(title string, files []types.FileData, user types.User, allowanc
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 4)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, " ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -129,7 +129,7 @@ func MainContent(title string, files []types.FileData, user types.User, allowanc
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 6)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 6, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -146,7 +146,7 @@ func MainContent(title string, files []types.FileData, user types.User, allowanc
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 8)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 8, " ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -163,7 +163,7 @@ func MainContent(title string, files []types.FileData, user types.User, allowanc
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 10)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, "
Share link
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -180,7 +180,7 @@ func MainContent(title string, files []types.FileData, user types.User, allowanc
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 12)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 12, "
Share this link with others to grant access to your file.
File is private
Others cannot access or download your file even if you share the link. Make the file public first.
File Name | File Size | Downloads | Status | Action |
| | | | |
| | | | |
| | | | |
File Information Total Files: ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -202,7 +202,7 @@ func MainContent(title string, files []types.FileData, user types.User, allowanc
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 14)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 14, " Total Usage: ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -215,7 +215,7 @@ func MainContent(title string, files []types.FileData, user types.User, allowanc
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 15)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 15, " Total Allowance: ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -228,18 +228,18 @@ func MainContent(title string, files []types.FileData, user types.User, allowanc
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 16)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 16, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
func toggleDropDown() templ.ComponentScript {
return templ.ComponentScript{
- Name: `__templ_toggleDropDown_cca0`,
- Function: `function __templ_toggleDropDown_cca0(){const dropdowns = document.querySelectorAll('.dropdown');
+ Name: `__templ_toggleDropDown_17a3`,
+ Function: `function __templ_toggleDropDown_17a3(){const dropdowns = document.querySelectorAll('.dropdown');
dropdowns.forEach(dropdown => {
const button = dropdown.querySelector('.dropdown-button');
@@ -257,8 +257,8 @@ func toggleDropDown() templ.ComponentScript {
}
});
}`,
- Call: templ.SafeScript(`__templ_toggleDropDown_cca0`),
- CallInline: templ.SafeScriptInline(`__templ_toggleDropDown_cca0`),
+ Call: templ.SafeScript(`__templ_toggleDropDown_17a3`),
+ CallInline: templ.SafeScriptInline(`__templ_toggleDropDown_17a3`),
}
}
@@ -289,7 +289,7 @@ func FileTable(files []types.FileData) templ.Component {
return templ_7745c5c3_Err
}
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -314,7 +314,7 @@ func JustFile(file types.FileData) templ.Component {
templ_7745c5c3_Var14 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 17)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 17, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
if !file.Done {
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 19)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 19, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -340,7 +340,7 @@ func JustFile(file types.FileData) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 20)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 20, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -366,12 +366,12 @@ func JustFile(file types.FileData) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 22)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 22, " | ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
} else {
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 23)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 23, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -379,7 +379,7 @@ func JustFile(file types.FileData) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 24)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 24, " ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -405,12 +405,12 @@ func JustFile(file types.FileData) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 26)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 26, " | ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 27)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 27, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -423,7 +423,7 @@ func JustFile(file types.FileData) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 28)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 28, " | ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -436,22 +436,22 @@ func JustFile(file types.FileData) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 29)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 29, " | ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
if file.IsPrivate {
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 30)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 30, " ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
} else {
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 31)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 31, " ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 32)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 32, " | ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -459,7 +459,7 @@ func JustFile(file types.FileData) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 33)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 33, " |
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -631,44 +631,44 @@ func FileIcon(fileType string) templ.Component {
}
ctx = templ.ClearChildren(ctx)
if fileType == "jpg" || fileType == "jpeg" || fileType == "png" || fileType == "gif" || fileType == "bmp" || fileType == "tiff" {
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 50)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 50, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
} else if fileType == "pdf" || fileType == "doc" || fileType == "docx" || fileType == "txt" || fileType == "odt" || fileType == "xls" || fileType == "xlsx" || fileType == "ppt" || fileType == "pptx" {
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 51)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 51, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
} else if fileType == "zip" || fileType == "rar" || fileType == "tar" || fileType == "gz" || fileType == "7z" || fileType == "bz2" {
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 52)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 52, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
} else if fileType == "exe" || fileType == "bin" || fileType == "sh" || fileType == "bat" || fileType == "cmd" || fileType == "msi" {
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 53)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 53, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
} else if fileType == "apk" {
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 54)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 54, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
} else {
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 55)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 55, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
}
- return templ_7745c5c3_Err
+ return nil
})
}
func showDeletionModal(name string, id string) templ.ComponentScript {
return templ.ComponentScript{
- Name: `__templ_showDeletionModal_fb10`,
- Function: `function __templ_showDeletionModal_fb10(name, id){const modal = document.getElementById('deleteModal');
+ Name: `__templ_showDeletionModal_42e1`,
+ Function: `function __templ_showDeletionModal_42e1(name, id){const modal = document.getElementById('deleteModal');
const modalContent = modal.querySelector('div');
const confirmDelete = document.getElementById('confirmDelete');
const fileNameToDelete = document.getElementById('fileNameToDelete');
@@ -683,15 +683,15 @@ func showDeletionModal(name string, id string) templ.ComponentScript {
}, 50);
fileNameToDelete.textContent = name;
}`,
- Call: templ.SafeScript(`__templ_showDeletionModal_fb10`, name, id),
- CallInline: templ.SafeScriptInline(`__templ_showDeletionModal_fb10`, name, id),
+ Call: templ.SafeScript(`__templ_showDeletionModal_42e1`, name, id),
+ CallInline: templ.SafeScriptInline(`__templ_showDeletionModal_42e1`, name, id),
}
}
func hideDeletionModal() templ.ComponentScript {
return templ.ComponentScript{
- Name: `__templ_hideDeletionModal_c0ab`,
- Function: `function __templ_hideDeletionModal_c0ab(){const modal = document.getElementById('deleteModal');
+ Name: `__templ_hideDeletionModal_0159`,
+ Function: `function __templ_hideDeletionModal_0159(){const modal = document.getElementById('deleteModal');
const modalContent = modal.querySelector('div');
modal.classList.add('opacity-0');
@@ -700,15 +700,15 @@ func hideDeletionModal() templ.ComponentScript {
modal.classList.add('hidden');
}, 300);
}`,
- Call: templ.SafeScript(`__templ_hideDeletionModal_c0ab`),
- CallInline: templ.SafeScriptInline(`__templ_hideDeletionModal_c0ab`),
+ Call: templ.SafeScript(`__templ_hideDeletionModal_0159`),
+ CallInline: templ.SafeScriptInline(`__templ_hideDeletionModal_0159`),
}
}
func showRenameModal(name string, id string) templ.ComponentScript {
return templ.ComponentScript{
- Name: `__templ_showRenameModal_c834`,
- Function: `function __templ_showRenameModal_c834(name, id){const rename = document.getElementById('renameModal');
+ Name: `__templ_showRenameModal_e95d`,
+ Function: `function __templ_showRenameModal_e95d(name, id){const rename = document.getElementById('renameModal');
const renameModalContent = rename.querySelector('div');
const fileName = document.getElementById("newFileName");
const confirmRenameFile = document.getElementById("confirmRenameFile");
@@ -728,15 +728,15 @@ func showRenameModal(name string, id string) templ.ComponentScript {
}, 50);
fileName.value = name
}`,
- Call: templ.SafeScript(`__templ_showRenameModal_c834`, name, id),
- CallInline: templ.SafeScriptInline(`__templ_showRenameModal_c834`, name, id),
+ Call: templ.SafeScript(`__templ_showRenameModal_e95d`, name, id),
+ CallInline: templ.SafeScriptInline(`__templ_showRenameModal_e95d`, name, id),
}
}
func hideRenameModal() templ.ComponentScript {
return templ.ComponentScript{
- Name: `__templ_hideRenameModal_8c56`,
- Function: `function __templ_hideRenameModal_8c56(){const rename = document.getElementById('renameModal');
+ Name: `__templ_hideRenameModal_e2c4`,
+ Function: `function __templ_hideRenameModal_e2c4(){const rename = document.getElementById('renameModal');
const renameModalContent = rename.querySelector('div');
rename.classList.add('opacity-0');
@@ -745,15 +745,15 @@ func hideRenameModal() templ.ComponentScript {
rename.classList.add('hidden');
}, 300);
}`,
- Call: templ.SafeScript(`__templ_hideRenameModal_8c56`),
- CallInline: templ.SafeScriptInline(`__templ_hideRenameModal_8c56`),
+ Call: templ.SafeScript(`__templ_hideRenameModal_e2c4`),
+ CallInline: templ.SafeScriptInline(`__templ_hideRenameModal_e2c4`),
}
}
func showShareModal(isPrivate bool, fileID string) templ.ComponentScript {
return templ.ComponentScript{
- Name: `__templ_showShareModal_98bc`,
- Function: `function __templ_showShareModal_98bc(isPrivate, fileID){const shareModal = document.getElementById('shareModal');
+ Name: `__templ_showShareModal_8d68`,
+ Function: `function __templ_showShareModal_8d68(isPrivate, fileID){const shareModal = document.getElementById('shareModal');
const shareModalContent = shareModal.querySelector('div');
const publicToggle = document.getElementById('public-toggle');
const lockDiv = document.getElementById('lockDiv');
@@ -797,15 +797,15 @@ func showShareModal(isPrivate bool, fileID string) templ.ComponentScript {
shareModalContent.classList.remove('-translate-y-full', 'scale-95', 'opacity-0');
}, 50);
}`,
- Call: templ.SafeScript(`__templ_showShareModal_98bc`, isPrivate, fileID),
- CallInline: templ.SafeScriptInline(`__templ_showShareModal_98bc`, isPrivate, fileID),
+ Call: templ.SafeScript(`__templ_showShareModal_8d68`, isPrivate, fileID),
+ CallInline: templ.SafeScriptInline(`__templ_showShareModal_8d68`, isPrivate, fileID),
}
}
func hideShareModal() templ.ComponentScript {
return templ.ComponentScript{
- Name: `__templ_hideShareModal_6000`,
- Function: `function __templ_hideShareModal_6000(){const shareModal = document.getElementById('shareModal');
+ Name: `__templ_hideShareModal_8359`,
+ Function: `function __templ_hideShareModal_8359(){const shareModal = document.getElementById('shareModal');
const shareModalContent = shareModal.querySelector('div');
shareModal.classList.add('opacity-0');
@@ -814,8 +814,8 @@ func hideShareModal() templ.ComponentScript {
shareModal.classList.add('hidden');
}, 300);
}`,
- Call: templ.SafeScript(`__templ_hideShareModal_6000`),
- CallInline: templ.SafeScriptInline(`__templ_hideShareModal_6000`),
+ Call: templ.SafeScript(`__templ_hideShareModal_8359`),
+ CallInline: templ.SafeScriptInline(`__templ_hideShareModal_8359`),
}
}
@@ -844,7 +844,7 @@ func Main(title string, files []types.FileData, user types.User, allowance *type
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
diff --git a/view/client/index/index_templ.go b/view/client/index/index_templ.go
index 6875c4e..ba48415 100644
--- a/view/client/index/index_templ.go
+++ b/view/client/index/index_templ.go
@@ -1,6 +1,6 @@
// Code generated by templ - DO NOT EDIT.
-// templ: version: v0.2.786
+// templ: version: v0.3.833
package indexView
//lint:file-ignore SA4006 This context is only used if a nested component is present.
@@ -46,7 +46,7 @@ func content(title string, user types.User) templ.Component {
}()
}
ctx = templ.InitializeContext(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 1)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -54,37 +54,37 @@ func content(title string, user types.User) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 2)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "
Your files, always within reach
Store, access, and manage your files with ease. Filekeeper offers generous storage and seamless access from any device, completely free.
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
if user.Authenticated {
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 3)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "
Open Dashboard")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
} else {
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 4)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, "
Sign up for free")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 5)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, "
Easy Access
Access your files with just a few clicks, anytime you need them.
Generous Storage
Store all your important files with our spacious free storage.
Access Anywhere
Use Filekeeper on any device - computer, tablet, or smartphone.
Secure Storage
Rest easy knowing your files are stored securely in the cloud.
Why choose Filekeeper?
- Completely free to use
- Intuitive and user-friendly interface
- Generous storage space for all your files
- Access your files from any device, anywhere
- Robust file organization and search capabilities
- Dedicated customer support team
Get Started with Filekeeper
Join Filekeeper today and experience hassle-free file management - no credit card required!
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
if user.Authenticated {
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 6)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 6, "
Open Dashboard")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
} else {
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 7)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 7, "
Create your free account")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 8)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 8, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -92,17 +92,17 @@ func content(title string, user types.User) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 9)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
templ_7745c5c3_Err = layout.Base(title).Render(templ.WithChildren(ctx, templ_7745c5c3_Var2), templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -131,7 +131,7 @@ func Main(title string, user types.User) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
diff --git a/view/client/layout/base_templ.go b/view/client/layout/base_templ.go
index b7c6a5f..7f0ab9b 100644
--- a/view/client/layout/base_templ.go
+++ b/view/client/layout/base_templ.go
@@ -1,6 +1,6 @@
// Code generated by templ - DO NOT EDIT.
-// templ: version: v0.2.786
+// templ: version: v0.3.833
package layout
//lint:file-ignore SA4006 This context is only used if a nested component is present.
@@ -31,7 +31,7 @@ func Base(title string) templ.Component {
templ_7745c5c3_Var1 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 1)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -44,7 +44,7 @@ func Base(title string) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 2)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -52,7 +52,7 @@ func Base(title string) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 3)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -60,7 +60,7 @@ func Base(title string) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 4)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -72,11 +72,11 @@ func Base(title string) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 5)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -101,7 +101,7 @@ func BaseAuth(title string) templ.Component {
templ_7745c5c3_Var3 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 6)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 6, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -114,7 +114,7 @@ func BaseAuth(title string) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 7)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 7, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -122,7 +122,7 @@ func BaseAuth(title string) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 8)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 8, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -130,7 +130,7 @@ func BaseAuth(title string) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 9)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -146,11 +146,11 @@ func BaseAuth(title string) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 10)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -175,11 +175,11 @@ func modal() templ.Component {
templ_7745c5c3_Var5 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 11)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 11, "Modal Title
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -204,11 +204,11 @@ func uploadBox() templ.Component {
templ_7745c5c3_Var6 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 12)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 12, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -233,11 +233,11 @@ func MainScript() templ.Component {
templ_7745c5c3_Var7 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 13)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 13, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -262,11 +262,11 @@ func modalScript() templ.Component {
templ_7745c5c3_Var8 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 14)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 14, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -291,12 +291,12 @@ func Navbar(user types.User) templ.Component {
templ_7745c5c3_Var9 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 15)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 15, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
if user.Authenticated {
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 16)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 16, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -309,7 +309,7 @@ func Navbar(user types.User) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 17)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 17, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -322,21 +322,21 @@ func Navbar(user types.User) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 18)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 18, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
} else {
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 19)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 19, "
Sign up Sign in")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 20)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 20, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -361,11 +361,11 @@ func Footer() templ.Component {
templ_7745c5c3_Var12 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 21)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 21, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
diff --git a/view/client/totp/totp_templ.go b/view/client/totp/totp_templ.go
index d1528be..fb345ca 100644
--- a/view/client/totp/totp_templ.go
+++ b/view/client/totp/totp_templ.go
@@ -1,6 +1,6 @@
// Code generated by templ - DO NOT EDIT.
-// templ: version: v0.2.786
+// templ: version: v0.3.833
package totpView
//lint:file-ignore SA4006 This context is only used if a nested component is present.
@@ -46,13 +46,13 @@ func content(title string, msg types.Message) templ.Component {
}()
}
ctx = templ.InitializeContext(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 1)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
switch msg.Code {
case 0:
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 2)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "
InfoError! ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -65,22 +65,22 @@ func content(title string, msg types.Message) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 3)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 4)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, "
Two-Factor Authentication
Enter the 6-digit code from your authenticator app
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
templ_7745c5c3_Err = layout.Base(title).Render(templ.WithChildren(ctx, templ_7745c5c3_Var2), templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -109,7 +109,7 @@ func Main(title string, msg types.Message) templ.Component {
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
diff --git a/view/client/user/totp/setup_templ.go b/view/client/user/totp/setup_templ.go
index a4c06c9..89fee13 100644
--- a/view/client/user/totp/setup_templ.go
+++ b/view/client/user/totp/setup_templ.go
@@ -1,6 +1,6 @@
// Code generated by templ - DO NOT EDIT.
-// templ: version: v0.2.786
+// templ: version: v0.3.833
package userTotpSetupView
//lint:file-ignore SA4006 This context is only used if a nested component is present.
@@ -50,13 +50,13 @@ func content(title string, qrcode string, code string, user types.User, msg type
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
templ_7745c5c3_Err = layout.BaseAuth(title).Render(templ.WithChildren(ctx, templ_7745c5c3_Var2), templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -81,7 +81,7 @@ func MainContent(title string, qrcode string, code string, user types.User, msg
templ_7745c5c3_Var3 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 1)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -94,7 +94,7 @@ func MainContent(title string, qrcode string, code string, user types.User, msg
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 2)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -102,13 +102,13 @@ func MainContent(title string, qrcode string, code string, user types.User, msg
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 3)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, " BackSet up Two-Factor Authentication
Secure your account with time-based one-time passwords (TOTP).
Here's how to set up the Google Authenticator app:
- Download the Google Authenticator app on your mobile device.
- Open the app and tap \"Begin Setup\".
- Select \"Scan a barcode\" and point your camera at the QR code below.
- The app will automatically add your account and display a 6-digit code.
- Enter this code on the website to complete the setup.
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
switch msg.Code {
case 0:
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 4)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 4, "
InfoError! ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -121,12 +121,12 @@ func MainContent(title string, qrcode string, code string, user types.User, msg
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 5)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
case 1:
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 6)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 6, "
InfoSuccess! ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -139,12 +139,12 @@ func MainContent(title string, qrcode string, code string, user types.User, msg
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 7)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 7, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 8)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 8, "
Backup Code:
----|----
TOTP Secret:
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -170,7 +170,7 @@ func MainContent(title string, qrcode string, code string, user types.User, msg
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 10)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -195,7 +195,7 @@ func MainContent(title string, qrcode string, code string, user types.User, msg
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -224,7 +224,7 @@ func Main(title string, qrcode string, code string, user types.User, msg types.M
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
diff --git a/view/client/user/user_templ.go b/view/client/user/user_templ.go
index 5ba3b99..6b7324e 100644
--- a/view/client/user/user_templ.go
+++ b/view/client/user/user_templ.go
@@ -1,6 +1,6 @@
// Code generated by templ - DO NOT EDIT.
-// templ: version: v0.2.786
+// templ: version: v0.3.833
package userView
//lint:file-ignore SA4006 This context is only used if a nested component is present.
@@ -51,13 +51,13 @@ func content(message types.Message, title string, user types.User, allowance *ty
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
templ_7745c5c3_Err = layout.BaseAuth(title).Render(templ.WithChildren(ctx, templ_7745c5c3_Var2), templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -82,7 +82,7 @@ func MainContent(title string, user types.User, allowance *types.Allowance, List
templ_7745c5c3_Var3 = templ.NopComponent
}
ctx = templ.ClearChildren(ctx)
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 1)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -95,7 +95,7 @@ func MainContent(title string, user types.User, allowance *types.Allowance, List
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 2)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -103,7 +103,7 @@ func MainContent(title string, user types.User, allowance *types.Allowance, List
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 3)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 3, "Session Management
Setup IP Address | Browser | Device | Actions |
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
for _, session := range ListSession {
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 6)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 6, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -160,7 +160,7 @@ func MainContent(title string, user types.User, allowance *types.Allowance, List
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 8)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 8, " | ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -173,7 +173,7 @@ func MainContent(title string, user types.User, allowance *types.Allowance, List
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 9)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, " | ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -186,7 +186,7 @@ func MainContent(title string, user types.User, allowance *types.Allowance, List
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 10)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, " | |
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 13)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 13, "
Reset Password
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
switch message.Code {
case 0:
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 14)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 14, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -236,12 +236,12 @@ func MainContent(title string, user types.User, allowance *types.Allowance, List
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 15)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 15, "
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 16)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 16, "Click to log out or terminate the current session.
")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -254,7 +254,7 @@ func MainContent(title string, user types.User, allowance *types.Allowance, List
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 17)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 17, " / ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -267,7 +267,7 @@ func MainContent(title string, user types.User, allowance *types.Allowance, List
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 18)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 18, "
ManageUpgrade Storage
Pro Plan
50GB of storage for $9.99/month
UpgradeEnterprise Plan
1TB of storage for $49.99/month
Upgrade ")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -279,7 +279,7 @@ func MainContent(title string, user types.User, allowance *types.Allowance, List
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 19)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 19, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
@@ -287,11 +287,11 @@ func MainContent(title string, user types.User, allowance *types.Allowance, List
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- templ_7745c5c3_Err = templ.WriteWatchModeString(templ_7745c5c3_Buffer, 20)
+ templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 20, "")
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}
@@ -320,7 +320,7 @@ func Main(title string, user types.User, allowance *types.Allowance, ListSession
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}
- return templ_7745c5c3_Err
+ return nil
})
}