Updating css to match with the website, changing search route to GET from POST
This commit is contained in:
@ -10,13 +10,13 @@
|
||||
{{template "parts/bar" .}}
|
||||
<main>
|
||||
<div class="search">
|
||||
<form action="/" method="POST">
|
||||
<form action="/" method="GET">
|
||||
{{if .search}}
|
||||
<input placeholder="Hit enter to search" type="text" name="name" value="{{.search}}">
|
||||
<input placeholder="Hit enter to search" type="text" name="n" value="{{.search}}">
|
||||
{{else}}
|
||||
<input placeholder="Hit enter to search" type="text" name="name" autofocus>
|
||||
<input placeholder="Hit enter to search" type="text" name="n" autofocus>
|
||||
{{end}}
|
||||
<select name="repo">
|
||||
<select name="r">
|
||||
<option value="all">Select repo</option>
|
||||
{{range .repos}}
|
||||
<option value="{{.Name}}">{{.Name}}</option>
|
||||
|
@ -1,12 +1,11 @@
|
||||
<div class="bar">
|
||||
<div class="logo-div">
|
||||
<h1 class="logo">MatterLinux</h1>
|
||||
</div>
|
||||
<h1 class="logo">MatterLinux</h1>
|
||||
<div class="links">
|
||||
<a href="https://matterlinux.xyz">Home</a>
|
||||
<a href="https://matterlinux.xyz/news">News</a>
|
||||
<a href="https://matterlinux.xyz/wiki">Wiki</a>
|
||||
<a href="https://git.matterlinux.xyz/Matter">Source</a>
|
||||
<a href="https://tracker.matterlinux.xyz">Packages</a>
|
||||
<a href="/">Packages</a>
|
||||
<a href="https://matterlinux.xyz/download">Download</a>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user