holiday-api/templates/index.gohtml

38 lines
1.3 KiB
Plaintext
Raw Permalink Normal View History

2023-06-20 14:10:46 +00:00
<!DOCTYPE html>
<html lang="hr">
2023-06-20 14:10:46 +00:00
<head>
<title>Holiday-api | Pronađi praznike</title>
2023-12-31 12:35:29 +00:00
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Pronađi listu praznike za neki vremenski raspon, ili kao web stranicu ili programski koristeći naš api u JSON, XML ili CSV formatu"/>
<link rel="icon" href="/assets/favicon.ico" type="image/x-icon">
2023-12-31 12:35:29 +00:00
<link rel="stylesheet" href="/assets/global.css">
<script src="/assets/global.js"></script>
2023-06-20 14:10:46 +00:00
</head>
<body>
2023-12-31 12:35:29 +00:00
<div class="background-image">
2024-01-01 11:29:59 +00:00
<header>
<h1><a href="/">Holiday-api</a></h1>
2024-01-01 11:29:59 +00:00
<div style="flex-grow: 1"></div>
<a style="all: unset;" href="/documentation">Api dokumentacija</a>
</header>
<main class="dialog search-dialog">
2023-12-31 12:35:29 +00:00
<form action="/">
<div class="form-field">
<label for="year">Za godinu:</label>
<select id="year" name="year">
{{range $entry := .Years}}
<option {{if eq $.Year $entry}}selected{{end}} value="{{$entry}}">{{$entry}}</option>
2023-12-31 12:35:29 +00:00
{{end}}
</select>
</div>
<div class="button-actions">
<button class="primary">Pretraži</button>
</div>
</form>
2024-01-01 11:29:59 +00:00
</main>
2023-12-31 12:35:29 +00:00
</div>
2023-06-20 14:10:46 +00:00
</body>
</html>