hide "map" on no-js website type, fix2

This commit is contained in:
partisan 2024-04-17 15:02:52 +02:00
parent 424dd0adab
commit 5b77d2a03c
4 changed files with 14 additions and 11 deletions

View file

@ -5,9 +5,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{.Query}} - Ocásek</title>
<link rel="stylesheet" type="text/css" href="/static/css/style.css">
<style>
.js-enabled { display: none; }
</style>
</head>
<body>
<form action="/search" id="prev-next-form" class="results-search-container" method="GET" autocomplete="off">
@ -58,8 +55,8 @@
<option value="{{.Code}}" {{if eq .Code $.CurrentLang}}selected{{end}}>{{.Name}}</option>
{{end}}
</select>
<button class="results-save" type="submit">Apply settings</button>
</form>
<button class="results-save" name="t" value="image">Apply settings</button>
</form>
<div class="search-results">
<!-- Results go here -->
{{ if .Results }}