mirror of
https://codeberg.org/pluja/kycnot.me
synced 2025-01-07 13:17:57 -05:00
🐛 fix(handlers_web.go): change default value of 't' query parameter to an empty string to make "all" default
🐛 fix(index.html): make 'All' filter option default
This commit is contained in:
parent
5e00ea8d94
commit
1b7717b8eb
@ -21,7 +21,7 @@ func (s *Server) handleIndex(c *fiber.Ctx) error {
|
||||
"KYC is a scam. Don't fall for it.",
|
||||
}
|
||||
|
||||
t := c.Query("t", "exchange")
|
||||
t := c.Query("t", "")
|
||||
q := c.Query("q", "")
|
||||
|
||||
// Currencies
|
||||
|
@ -8,14 +8,14 @@
|
||||
<!-- Filters -->
|
||||
<div class="text-center text-gray-500">
|
||||
<a href="/">
|
||||
<span class="p-1 {{if eq "" .Filters.Type}}border-b border-lime-500/60 text-lime-500{{end}} text-xs">All</span>
|
||||
</a>
|
||||
<a href="/?t=exchange">
|
||||
<span class="p-1 {{if eq "exchange" .Filters.Type}}border-b border-lime-500/60 text-lime-500{{end}} text-xs">Exchanges</span>
|
||||
</a>
|
||||
<a href="/?t=service">
|
||||
<span class="p-1 {{if eq "service" .Filters.Type}}border-b border-lime-500/60 text-lime-500{{end}} text-xs">Services</span>
|
||||
</a>
|
||||
<a href="/?t=all">
|
||||
<span class="p-1 {{if eq "all" .Filters.Type}}border-b border-lime-500/60 text-lime-500{{end}} text-xs">All</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<form action="/">
|
||||
|
Loading…
Reference in New Issue
Block a user