start theme cup templates
This commit is contained in:
parent
1b6f3e6103
commit
f80c062099
11 changed files with 202 additions and 48 deletions
|
|
@ -1,13 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
{{template "head" "Goffee"}}
|
||||
{{template "page_head" "Sample page"}}
|
||||
<body>
|
||||
<main>
|
||||
|
||||
{{template "title" .TheTitle}}
|
||||
|
||||
|
||||
</main>
|
||||
<script src="/public/app.js"></script>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{{template "page_card" .PageCard}}
|
||||
{{ define "page_card_content" }}
|
||||
<img class="goffeelogo"src="/public/img/goffee.png" alt="Goffee logo" />
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{template "page_footer"}}
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
{{template "head" "Goffee"}}
|
||||
<body>
|
||||
<main>
|
||||
{{template "title" .TheTitle}}
|
||||
<div class="section">
|
||||
Welcome to Goffee
|
||||
</div>
|
||||
<img class="goffeelogo"src="/public/img/goffee.png" alt="Goffee logo" />
|
||||
</main>
|
||||
<script src="/public/app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
10
storage/templates/custom_theme_base.html
Normal file
10
storage/templates/custom_theme_base.html
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
{{template "page_head" "Goffee"}}
|
||||
<body>
|
||||
<div class="container">
|
||||
{{template "page_card" .PageCard}}
|
||||
</div>
|
||||
{{template "page_footer"}}
|
||||
</body>
|
||||
</html>
|
||||
19
storage/templates/custom_theme_formpage.html
Normal file
19
storage/templates/custom_theme_formpage.html
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
{{template "page_head" "Goffee"}}
|
||||
<body>
|
||||
<div class="container">
|
||||
<form>
|
||||
<fieldset>
|
||||
<legend>Legend</legend>
|
||||
<div class="row">
|
||||
{{template "form_input" .FormText}}
|
||||
{{template "form_input" .FormEmail}}
|
||||
</div>
|
||||
</fieldset>
|
||||
{{template "form_button" .FormButton}}
|
||||
</form>
|
||||
</div>
|
||||
{{template "page_footer"}}
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,10 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
{{template "head" "Goffee"}}
|
||||
{{template "page_head" "Goffee"}}
|
||||
<body>
|
||||
<main>
|
||||
|
||||
{{template "title" .TheTitle}}
|
||||
<form method="POST" action="/signin">
|
||||
<div>
|
||||
<label for="email">Email:</label>
|
||||
|
|
|
|||
15
storage/templates/welcome.html
Normal file
15
storage/templates/welcome.html
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
{{template "page_head" "Sample page"}}
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{{template "page_card" .PageCard}}
|
||||
{{ define "page_card_content" }}
|
||||
<img class="goffeelogo"src="/public/img/goffee.png" alt="Goffee logo" />
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{template "page_footer"}}
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue