2021-03-25 18:11:00 +03:00
|
|
|
{{ define "echoes" }}
|
|
|
|
|
2021-04-02 17:11:12 +03:00
|
|
|
<!--
|
|
|
|
Echoes list component
|
|
|
|
|
|
|
|
Usage:
|
|
|
|
|
|
|
|
{ template "echoes" . }
|
|
|
|
-->
|
|
|
|
|
|
|
|
<div class="hideit echo">
|
2021-03-25 18:11:00 +03:00
|
|
|
{{ range .Echoes }}
|
|
|
|
|
2021-04-02 17:11:12 +03:00
|
|
|
<a
|
|
|
|
style="text-decoration:none;"
|
|
|
|
href="/echo/{{ .Name }}/page/1">
|
|
|
|
<div class="card echo-card dynamic-echo dynamic-opacity-95 mb-1 mt-1 p-1 shadow">
|
|
|
|
|
|
|
|
<div class="card-title">
|
|
|
|
|
|
|
|
<strong class="text-link">
|
|
|
|
{{ .Name }}
|
|
|
|
</strong>
|
|
|
|
|
|
|
|
<div class="card-subtitle text-white-50">
|
|
|
|
<span>{{ .Docs }} messages</span>
|
2021-03-25 18:11:00 +03:00
|
|
|
</div>
|
2021-04-02 17:11:12 +03:00
|
|
|
|
2021-03-25 18:11:00 +03:00
|
|
|
</div>
|
2021-04-02 17:11:12 +03:00
|
|
|
|
2021-03-25 18:11:00 +03:00
|
|
|
</div>
|
2021-04-02 17:11:12 +03:00
|
|
|
</a>
|
2021-03-25 18:11:00 +03:00
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{ end }}
|