mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-02 10:04:22 +00:00
Update header template and add option for custom css
This commit is contained in:
parent
bde2c03495
commit
656ff3931c
16 changed files with 90 additions and 47 deletions
|
@ -1,4 +1,4 @@
|
|||
{{template "header.tmpl"}}
|
||||
{{template "header.tmpl" .HeaderData}}
|
||||
{{template "navigation.tmpl" .NavbarData}}
|
||||
<div class="page-title"> About </div>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{template "header.tmpl"}}
|
||||
{{template "header.tmpl" .HeaderData}}
|
||||
{{template "navigation.tmpl" .NavbarData}}
|
||||
<div class="page-title"> Emojis </div>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{template "header.tmpl"}}
|
||||
{{template "header.tmpl" .HeaderData}}
|
||||
<div class="page-title"> Error </div>
|
||||
<div class="error-text"> {{.}} </div>
|
||||
<div>
|
||||
|
|
|
@ -3,8 +3,11 @@
|
|||
<head>
|
||||
<meta charset='utf-8'>
|
||||
<meta content='width=device-width, initial-scale=1' name='viewport'>
|
||||
<title> Web </title>
|
||||
<link rel="stylesheet" href="/static/main.css" />
|
||||
<title>{{if gt .NotificationCount 0}}({{.NotificationCount}}) {{end}}{{.Title}}</title>
|
||||
<link rel="stylesheet" href="/static/main.css">
|
||||
{{if .CustomCSS}}
|
||||
<link rel="stylesheet" href="{{.CustomCSS}}">
|
||||
{{end}}
|
||||
<link rel="stylesheet" href="/static/fonts/fork-awesome.css">
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{template "header.tmpl"}}
|
||||
{{template "header.tmpl" .HeaderData}}
|
||||
<div class="page-title"> Home </div>
|
||||
<a href="/signin"> Signin </a>
|
||||
{{template "footer.tmpl"}}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{template "header.tmpl"}}
|
||||
{{template "header.tmpl" .HeaderData}}
|
||||
{{template "navigation.tmpl" .NavbarData}}
|
||||
<div class="page-title"> Notifications </div>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{template "header.tmpl"}}
|
||||
{{template "header.tmpl" .HeaderData}}
|
||||
<div class="page-title"> Signin </div>
|
||||
|
||||
<form class="signin-form" action="/signin" method="post">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{template "header.tmpl"}}
|
||||
{{template "header.tmpl" .HeaderData}}
|
||||
{{template "navigation.tmpl" .NavbarData}}
|
||||
<div class="page-title"> Thread </div>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{template "header.tmpl"}}
|
||||
{{template "header.tmpl" .HeaderData}}
|
||||
{{template "navigation.tmpl" .NavbarData}}
|
||||
<div class="page-title"> {{.Title}} </div>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{{template "header.tmpl"}}
|
||||
{{template "header.tmpl" .HeaderData}}
|
||||
{{template "navigation.tmpl" .NavbarData}}
|
||||
<div class="page-title"> User </div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue