diff options
Diffstat (limited to 'templates/macros.html')
-rw-r--r-- | templates/macros.html | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/templates/macros.html b/templates/macros.html index 76fad97..76e7f91 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -2,21 +2,30 @@ <form action="mailto:{{ to }}@{{ domain }}" method="GET" class="submit"> <a name="ReplyForm"></a> {% if reply %} - <h5 class="form" > Reply </h4> -{% else %} -<h5 class="form" > Submit a bug </h4> -<label for="subject">Subject: </label><input name="subject" type="text" /><br> -{% endif %} -<label for="body">Description of bug:</label><br><textarea name="body"></textarea><br> -<input type="submit" value="Open mail program to submit bug report" /> + <h5 class="form" > Reply </h5> + {% else %} + <h5 class="form" > Submit a bug </h5> + <label for="subject">Subject: </label><input name="subject" type="text" /><br> + {% endif %} + <label for="body">Description of bug:</label><br><textarea name="body"></textarea><br> + <input type="submit" value="Open mail program to submit bug report" /> </form> {% endmacro %} {% macro h1(DOMAIN) %} -<h1><a href="/"> <img class="logo" src="/hemiptera.png"> Hemiptera Bugtracker at {{DOMAIN}}</a></h1> +<h1><a href="/"> <img class="logo" src="/hemiptera.png" alt="Hemiptera Logo" > Hemiptera Bugtracker at {{DOMAIN}}</a></h1> {% endmacro %} {% macro head() %} - <meta charset="utf-8"> - <link rel="stylesheet" type="text/css" href="/styles.css" > - <link rel="icon" type="image/png" href="/hemiptera.png"/> +<meta charset="utf-8"> +<link rel="stylesheet" type="text/css" href="/styles.css" > +<link rel="icon" type="image/png" href="/hemiptera.png"/> +{% endmacro %} + + +{% macro footer() %} +<footer> + <img class="logo" src="/hemiptera.png" alt="Hemiptera Logo" >Pages generated by Hemiptera.<br> Hemiptera is free software, licensed under AGPL v3. <a href="https://git.bananach.space/hemiptera.git" >Source code</a> + +</footer> + {% endmacro %} |