2020-11-16 15:26:03 +00:00
|
|
|
{% import "net/http" %}
|
|
|
|
{% import "github.com/bouncepaw/mycorrhiza/user" %}
|
2021-02-20 16:14:33 +00:00
|
|
|
{% import "github.com/bouncepaw/mycorrhiza/views" %}
|
2020-10-02 15:31:59 +00:00
|
|
|
|
2020-11-16 15:26:03 +00:00
|
|
|
{% func navHTML(rq *http.Request, hyphaName, navType string, revisionHash ...string) %}
|
2021-02-20 16:14:33 +00:00
|
|
|
{%s= views.NavHTML(rq, hyphaName, navType, revisionHash...) %}
|
2020-10-02 15:31:59 +00:00
|
|
|
{% endfunc %}
|
2020-11-16 15:26:03 +00:00
|
|
|
|
|
|
|
{% func userMenuHTML(u *user.User) %}
|
2021-02-20 16:14:33 +00:00
|
|
|
{%s= views.UserMenuHTML(u) %}
|
2020-11-16 15:26:03 +00:00
|
|
|
{% endfunc %}
|
|
|
|
|
2021-01-26 05:41:57 +00:00
|
|
|
{% func relativeHyphae(relatives string) %}
|
2021-02-20 16:14:33 +00:00
|
|
|
{%s= views.RelativeHyphaeHTML(relatives) %}
|
2021-01-26 05:41:57 +00:00
|
|
|
{% endfunc %}
|
2021-02-19 09:23:57 +00:00
|
|
|
|
2021-02-19 18:12:36 +00:00
|
|
|
{% func subhyphaeMatrix(subhyphae string) %}
|
2021-02-20 16:14:33 +00:00
|
|
|
{%s= views.SubhyphaeHTML(subhyphae) %}
|
2021-02-19 18:12:36 +00:00
|
|
|
{% endfunc %}
|