refactor: move client page view file to client folder and reorganize file structure
This commit is contained in:
@ -2,7 +2,7 @@ package authView
|
||||
|
||||
import (
|
||||
"github.com/fossyy/filekeeper/types"
|
||||
"github.com/fossyy/filekeeper/view/layout"
|
||||
"github.com/fossyy/filekeeper/view/client/layout"
|
||||
)
|
||||
|
||||
templ form(err types.Message, title string) {
|
@ -1,7 +1,7 @@
|
||||
package downloadView
|
||||
|
||||
import (
|
||||
"github.com/fossyy/filekeeper/view/layout"
|
||||
"github.com/fossyy/filekeeper/view/client/layout"
|
||||
"github.com/fossyy/filekeeper/types"
|
||||
)
|
||||
|
@ -1,6 +1,6 @@
|
||||
package errorView
|
||||
|
||||
import "github.com/fossyy/filekeeper/view/layout"
|
||||
import "github.com/fossyy/filekeeper/view/client/layout"
|
||||
|
||||
templ NotFound(title string){
|
||||
@layout.Base(title){
|
@ -2,7 +2,7 @@ package forgotPasswordView
|
||||
|
||||
import (
|
||||
"github.com/fossyy/filekeeper/types"
|
||||
"github.com/fossyy/filekeeper/view/layout"
|
||||
"github.com/fossyy/filekeeper/view/client/layout"
|
||||
)
|
||||
|
||||
templ content(title string, err types.Message) {
|
@ -2,7 +2,7 @@ package indexView
|
||||
|
||||
import (
|
||||
"github.com/fossyy/filekeeper/types"
|
||||
"github.com/fossyy/filekeeper/view/layout"
|
||||
"github.com/fossyy/filekeeper/view/client/layout"
|
||||
)
|
||||
|
||||
templ content(title string, user types.User) {
|
@ -2,7 +2,7 @@ package signinView
|
||||
|
||||
import (
|
||||
"github.com/fossyy/filekeeper/types"
|
||||
"github.com/fossyy/filekeeper/view/layout"
|
||||
"github.com/fossyy/filekeeper/view/client/layout"
|
||||
)
|
||||
|
||||
templ content(err types.Message, title string) {
|
@ -2,7 +2,7 @@ package signup
|
||||
|
||||
import (
|
||||
"github.com/fossyy/filekeeper/types"
|
||||
"github.com/fossyy/filekeeper/view/layout"
|
||||
"github.com/fossyy/filekeeper/view/client/layout"
|
||||
)
|
||||
|
||||
templ form(err types.Message, title string) {
|
@ -1,7 +1,7 @@
|
||||
package totpView
|
||||
|
||||
import (
|
||||
"github.com/fossyy/filekeeper/view/layout"
|
||||
"github.com/fossyy/filekeeper/view/client/layout"
|
||||
"github.com/fossyy/filekeeper/types"
|
||||
)
|
||||
|
@ -1,6 +1,6 @@
|
||||
package uploadView
|
||||
|
||||
import "github.com/fossyy/filekeeper/view/layout"
|
||||
import "github.com/fossyy/filekeeper/view/client/layout"
|
||||
|
||||
templ content(title string) {
|
||||
@layout.Base(title){
|
@ -1,7 +1,7 @@
|
||||
package userTotpSetupView
|
||||
|
||||
import (
|
||||
"github.com/fossyy/filekeeper/view/layout"
|
||||
"github.com/fossyy/filekeeper/view/client/layout"
|
||||
"github.com/fossyy/filekeeper/types"
|
||||
)
|
||||
|
@ -2,7 +2,7 @@ package userView
|
||||
|
||||
import (
|
||||
"github.com/fossyy/filekeeper/types"
|
||||
"github.com/fossyy/filekeeper/view/layout"
|
||||
"github.com/fossyy/filekeeper/view/client/layout"
|
||||
"github.com/fossyy/filekeeper/session"
|
||||
)
|
||||
|
Reference in New Issue
Block a user