diff --git a/template/components/form_button.go b/template/components/form_button.go
index 658306e..2cfee00 100644
--- a/template/components/form_button.go
+++ b/template/components/form_button.go
@@ -2,8 +2,9 @@ package components
type FormButton struct {
Text string
+ Link string
Icon string
IsSubmit bool
- TypeClass string // type primary, secondary, success, danger, warning, info, light, dark, link, outline-primary
+ IsPrimary bool
IsDisabled bool
}
diff --git a/template/components/form_button.html b/template/components/form_button.html
index 7594613..5e1d68c 100644
--- a/template/components/form_button.html
+++ b/template/components/form_button.html
@@ -1,20 +1,19 @@
{{define "form_button"}}
-
-
- {{if eq .Icon "gear"}}
-
- {{else if eq .Icon "arrow-right"}}
-
- {{else if eq .Icon "plus"}}
-
- {{end}}
+
+
+ {{if eq .Icon "gear"}}
+
+ {{else if eq .Icon "arrow-right"}}
+
+ {{else if eq .Icon "plus"}}
+
+ {{end}}
{{end}}
\ No newline at end of file
diff --git a/template/components/form_dropdown.go b/template/components/form_dropdown.go
deleted file mode 100644
index b80d8f1..0000000
--- a/template/components/form_dropdown.go
+++ /dev/null
@@ -1,15 +0,0 @@
-package components
-
-type FormDropdown struct {
- Label string
- TypeClass string
- IsDisabled bool
- Items []FormDropdownItem
-}
-
-type FormDropdownItem struct {
- Text string
- Link string
- IsDisabled bool
- IsActive bool
-}
diff --git a/template/components/form_dropdown.html b/template/components/form_dropdown.html
deleted file mode 100644
index 2c6827b..0000000
--- a/template/components/form_dropdown.html
+++ /dev/null
@@ -1,16 +0,0 @@
-{{define "form_dropdown_item"}}
-
{{.Text}}
-{{end}}
-
-{{define "form_dropdown"}}
-
-
-
-
-{{end}}
\ No newline at end of file
diff --git a/template/components/form_href.go b/template/components/form_href.go
deleted file mode 100644
index 25dbee3..0000000
--- a/template/components/form_href.go
+++ /dev/null
@@ -1,10 +0,0 @@
-package components
-
-type FormHref struct {
- Text string
- Link string
- Icon string
- IsButton bool
- TypeClass string // type primary, secondary, success, danger, warning, info, light, dark, link
- IsDisabled bool
-}
diff --git a/template/components/form_href.html b/template/components/form_href.html
deleted file mode 100644
index dc9adb3..0000000
--- a/template/components/form_href.html
+++ /dev/null
@@ -1,6 +0,0 @@
-{{define "form_href"}}
-
- {{.Text}}
-
-{{end}}
\ No newline at end of file
diff --git a/template/components/page_footer.html b/template/components/page_footer.html
index 6421f3e..20b7f38 100644
--- a/template/components/page_footer.html
+++ b/template/components/page_footer.html
@@ -2,6 +2,5 @@
-
{{end}}
\ No newline at end of file
diff --git a/template/components/page_nav.go b/template/components/page_nav.go
deleted file mode 100644
index 2ed9319..0000000
--- a/template/components/page_nav.go
+++ /dev/null
@@ -1,16 +0,0 @@
-package components
-
-type PageNav struct {
- NavClass string // nav-pills
- NavItems []PageNavItem
- IsVertical bool
- IsTab bool
-}
-
-type PageNavItem struct {
- Text string
- Link string
- IsDisabled bool
- IsActive bool
- ChildItems []PageNavItem
-}
diff --git a/template/components/page_nav.html b/template/components/page_nav.html
deleted file mode 100644
index 5bb0b83..0000000
--- a/template/components/page_nav.html
+++ /dev/null
@@ -1,23 +0,0 @@
-{{define "page_nav"}}
-
- {{range $item := .NavItems}}
-
- {{if gt (len $item.ChildItems) 0}}
- -
- {{$item.Text}}
-
-
- {{else}}
- -
- {{$item.Text}}
-
- {{end}}
-
- {{end}}
-
-{{end}}