diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-06-12 12:21:11 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-06-12 12:21:11 +0200 |
commit | 519af559f94aab1bd1446cc01144cbf2640fcc6a (patch) | |
tree | 1ced7b8b6f885fc8161e5b504d121078b28a8082 /templates/base.qtpl | |
parent | 89705dd61f418df561ebbe7cf645ba82a61e47e7 (diff) | |
download | cerrado-519af559f94aab1bd1446cc01144cbf2640fcc6a.tar.gz cerrado-519af559f94aab1bd1446cc01144cbf2640fcc6a.tar.bz2 cerrado-519af559f94aab1bd1446cc01144cbf2640fcc6a.zip |
feat: Add wip bannerv0.0.4
Diffstat (limited to 'templates/base.qtpl')
-rw-r--r-- | templates/base.qtpl | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/templates/base.qtpl b/templates/base.qtpl index ae9f7a6..9e2e6ac 100644 --- a/templates/base.qtpl +++ b/templates/base.qtpl @@ -39,25 +39,23 @@ Page prints a page implementing Page interface. {% func PageTemplate(p Page) %} <!DOCTYPE html> <html lang="en"> - <head> - <meta charset="utf-8"> - <link rel="icon" href="data:,"> - <title>{%= p.Title() %}</title> - <link rel="stylesheet" href="/static/main{%s Slug%}.css"> - <meta content="text/html;charset=utf-8" http-equiv="Content-Type"> - <meta name="viewport" content="width=device-width, initial-scale=1" /> - </head> - <body> - {%= p.Navbar() %} - <div class="container"> - {%= p.Content() %} - </div> - </body> - {%= p.Script() %} + <head> + <meta charset="utf-8"> + <link rel="icon" href="data:,"> + <title>{%= p.Title() %}</title> + <link rel="stylesheet" href="/static/main{%s Slug%}.css"> + <meta content="text/html;charset=utf-8" http-equiv="Content-Type"> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + </head> + <body> + <div class="alert alert-warning text-center" role="alert"> + This project is under development, things may be broken or incomplete. + </div> + {%= p.Navbar() %} + <div class="container"> + {%= p.Content() %} + </div> + </body> + {%= p.Script() %} </html> {% endfunc %} - -{% code type BasePage struct {} %} -{% func (p *BasePage) Title() %}Empty{% endfunc %} -{% func (p *BasePage) Body() %}HelloWorld{% endfunc %} -{% func (p *BasePage) Script() %}{% endfunc %} |