added titles

This commit is contained in:
BroodjeAap 2022-12-21 21:30:21 +00:00
parent 1daccd802f
commit 1aff350e02
5 changed files with 20 additions and 0 deletions

View file

@ -1,3 +1,7 @@
{{define "title"}}
GoWatch Error
{{end}}
{{define "content"}} {{define "content"}}
<h1>Something went wrong, try again.</h1> <h1>Something went wrong, try again.</h1>
{{end}} {{end}}

View file

@ -1,3 +1,7 @@
{{define "title"}}
GoWatch URL Cache
{{end}}
{{define "content"}} {{define "content"}}
{{ range $url, $content := . }} {{ range $url, $content := . }}
<div class="card text-center"> <div class="card text-center">

View file

@ -1,3 +1,7 @@
{{define "title"}}
GoWatch
{{end}}
{{define "content"}} {{define "content"}}
<table class="table table-striped table-hover"> <table class="table table-striped table-hover">
<thead class="table-dark"> <thead class="table-dark">

View file

@ -11,6 +11,10 @@
{{ end }} {{ end }}
{{define "title"}}
GoWatch Edit {{ .Watch.Name }}
{{end}}
{{ define "left" }} {{ define "left" }}
<table> <table>
<tr> <tr>

View file

@ -1,3 +1,7 @@
{{define "title"}}
GoWatch {{ .Watch.Name }}
{{end}}
{{define "content"}} {{define "content"}}
{{ if .error }} {{ if .error }}
Could not find entry Could not find entry