From bf84e14bb12060a12d9e6581a39b26547823a92c Mon Sep 17 00:00:00 2001 From: Diana Date: Tue, 15 Oct 2024 16:09:31 -0500 Subject: [PATCH] component list --- template/components/content_list.go | 19 +++++++++++++++++++ template/components/content_list.html | 14 ++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 template/components/content_list.go create mode 100644 template/components/content_list.html diff --git a/template/components/content_list.go b/template/components/content_list.go new file mode 100644 index 0000000..34bfb49 --- /dev/null +++ b/template/components/content_list.go @@ -0,0 +1,19 @@ +package components + +type ContentList struct { + Items []ContentListItem +} + +type ContentListItem struct { + Text string + Description string + EndElement string + //Link string + TypeClass string // primary, secondary, success, danger, warning, info, light, dark + IsDisabled bool + //IsActive bool +} + +//link +//border +// badge diff --git a/template/components/content_list.html b/template/components/content_list.html new file mode 100644 index 0000000..31af60b --- /dev/null +++ b/template/components/content_list.html @@ -0,0 +1,14 @@ +{{define "content_list"}} + + + + +{{end}} \ No newline at end of file