github.com/kyleu/dbaudit@v0.0.2-0.20240321155047-ff2f2c940496/views/components/ExpandCollapse.html (about)

     1  <!-- Content managed by Project Forge, see [projectforge.md] for details. -->
     2  {% import "github.com/kyleu/dbaudit/app/controller/cutil" %}
     3  
     4  {% func ExpandCollapse(indent int, ps *cutil.PageState) %}{% stripspace %}
     5    {%= Indent(true, indent) %}
     6    {%= SVGRef(`right`, 15, 15, `expand-collapse`, ps) %}
     7  {% endstripspace %}{% endfunc %}