Initial commit
This commit is contained in:
commit
89f483171a
43 changed files with 2245 additions and 0 deletions
6
views/components/head_fonts.gotmpl
Normal file
6
views/components/head_fonts.gotmpl
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{{ define "fonts" }}
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;500&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap" rel="stylesheet">
|
||||
{{ end }}
|
||||
8
views/components/menu.gotmpl
Normal file
8
views/components/menu.gotmpl
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{{ define "menu" }}
|
||||
<div id="menu">
|
||||
<a href="/"><img src="/images/{{ .VERSION }}/logo{{ if eq .MENU "index" }}_selected{{ end }}.svg"></a>
|
||||
<a href="/problems"><img src="/images/{{ .VERSION }}/problems{{ if eq .MENU "problems" }}_selected{{ end }}.svg"></a>
|
||||
<a href="/triggers"><img src="/images/{{ .VERSION }}/triggers{{ if eq .MENU "triggers" }}_selected{{ end }}.svg"></a>
|
||||
<a href="/configuration"><img src="/images/{{ .VERSION }}/configuration{{ if eq .MENU "configuration" }}_selected{{ end }}.svg"></a>
|
||||
</div>
|
||||
{{ end }}
|
||||
6
views/components/page_label.gotmpl
Normal file
6
views/components/page_label.gotmpl
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{{ define "page_label" }}
|
||||
<div class="page-label">
|
||||
<img src="/images/{{ .VERSION }}/{{ .Icon }}.svg">
|
||||
<div>{{ .Label }}</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue