Increase last notes and move up details for more visibility

This commit is contained in:
Daniele Tonon
2023-07-27 23:54:13 +02:00
parent 4e587cf186
commit 11652301bd
2 changed files with 13 additions and 14 deletions

View File

@@ -87,7 +87,7 @@ func render(w http.ResponseWriter, r *http.Request) {
if event.Kind == 0 {
key := ""
events_num := 10
events_num := 100
if typ == "profile_sitemap" {
key = "lns:" + event.PubKey
events_num = 50000

View File

@@ -95,6 +95,18 @@
again. {{end}}
</div>
<div class="field advanced-switch-wrapper">
<input
type="checkbox"
id="advanced-switch"
class="advanced-switch"
/>
<label for="advanced-switch">X</label>
<label for="advanced-switch">Show more details</label>
</div>
{{template "details.html" .}}
<div class="field last_update">
Last update:<br />
{{.createdAt | escapeString}}
@@ -115,21 +127,8 @@
</a>
{{end}}
</nav>
<div class="field separator"></div>
{{end}}
<div class="field advanced-switch-wrapper">
<input
type="checkbox"
id="advanced-switch"
class="advanced-switch"
/>
<label for="advanced-switch">X</label>
<label for="advanced-switch">Show more details</label>
</div>
{{template "details.html" .}}
<div class="field separator"></div>
</div>