diff --git a/src/web/templates/attribute.html b/src/web/templates/attribute.html new file mode 100644 index 0000000..9977d18 --- /dev/null +++ b/src/web/templates/attribute.html @@ -0,0 +1,45 @@ +
+
+

{{.Attribute.Title}}

+ {{if eq 0 .Attribute.Rating}} + + info + + {{end}} + {{if eq 1 .Attribute.Rating}} + + good feature + + {{end}} + {{if eq 2 .Attribute.Rating}} + + warning + + {{end}} + {{if eq 3 .Attribute.Rating}} + + caution + + {{end}} + +
+

+ {{if ne .Attribute.Description ""}} + {{.Attribute.Description}} + {{else}} + This {{.Attribute.Name}} does not have a description. + {{end}} +

+
+
+
+ + +
+

{{.Attribute.Title}} services:

+
+ {{range .Services}} + {{template "components/service_card" .}} + {{end}} +
+
\ No newline at end of file