1 Commits

Author SHA1 Message Date
Alex Schroeder
9ee2af6093 Add access keys 2023-09-16 23:40:27 +02:00
2 changed files with 5 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ img { max-width: 20%; }
<a href="/view/index">Home</a>
<form role="search" action="/search" method="GET">
<label for="search">Search:</label>
<input id="search" type="text" value="{{.Query}}" spellcheck="false" name="q" required>
<input id="search" type="text" value="{{.Query}}" spellcheck="false" name="q" accesskey="f" required>
<button>Go</button>
</form>
</header>

View File

@@ -20,12 +20,12 @@ img { max-width: 100%; }
<header>
<a href="#main">Skip navigation</a>
<a href="/view/index">Home</a>
<a href="/edit/{{.Name}}">Edit</a>
<a href="/add/{{.Name}}">Add</a>
<a href="/upload/{{.Dir}}">Upload</a>
<a href="/edit/{{.Name}}" accesskey="e">Edit</a>
<a href="/add/{{.Name}}" accesskey="a">Add</a>
<a href="/upload/{{.Dir}}" accesskey="u">Upload</a>
<form role="search" action="/search" method="GET">
<label for="search">Search:</label>
<input id="search" type="text" spellcheck="false" name="q" required>
<input id="search" type="text" spellcheck="false" name="q" accesskey="f" required>
<button>Go</button>
</form>
</header>