diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-20 10:40:00 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-20 10:40:00 +0100 |
commit | d210853a13aa3468f78dbfc3212f3930771498bf (patch) | |
tree | 45c0e356bdc67bf3facaba94f4500c0c7e3d654e /ctrack/organisations/templates | |
parent | 025f217a973fc91a273afc3b5b5e6a62c5fa7328 (diff) |
smashing the HTML on the home page
Diffstat (limited to 'ctrack/organisations/templates')
-rw-r--r-- | ctrack/organisations/templates/organisations/org_create_formset.html | 11 | ||||
-rw-r--r-- | ctrack/organisations/templates/organisations/organisation_list.html | 10 |
2 files changed, 18 insertions, 3 deletions
diff --git a/ctrack/organisations/templates/organisations/org_create_formset.html b/ctrack/organisations/templates/organisations/org_create_formset.html index d78abb1..22de19e 100644 --- a/ctrack/organisations/templates/organisations/org_create_formset.html +++ b/ctrack/organisations/templates/organisations/org_create_formset.html @@ -9,7 +9,14 @@ {% block content %} <div class="container mt-3"> - <h4>Create a new organisation</h4> + <h4> + <svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-people-fill" fill="currentColor" + xmlns="http://www.w3.org/2000/svg"> + <path fill-rule="evenodd" + d="M7 14s-1 0-1-1 1-4 5-4 5 3 5 4-1 1-1 1H7zm4-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-5.784 6A2.238 2.238 0 0 1 5 13c0-1.355.68-2.75 1.936-3.72A6.325 6.325 0 0 0 5 9c-4 0-5 3-5 4s1 1 1 1h4.216zM4.5 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z"/> + </svg> + Create a new organisation + </h4> <div class="row"> <div class="col-md-8 pt-2 pl-0 my-2 border bg-light"> <form method="post" action=""> @@ -138,7 +145,7 @@ {% endfor %} <div class="my-3 col-md-12"> <input class="btn btn-primary" type="submit" value="Submit"> - <a href="{% url "organisations:list" %}" class="btn btn-danger">Cancel</a> + <a href="{% url "organisations:list" %}" class="btn btn-danger">Cancel</a> </div> </table> </form> diff --git a/ctrack/organisations/templates/organisations/organisation_list.html b/ctrack/organisations/templates/organisations/organisation_list.html index 661a0d4..1cdb33d 100644 --- a/ctrack/organisations/templates/organisations/organisation_list.html +++ b/ctrack/organisations/templates/organisations/organisation_list.html @@ -19,7 +19,15 @@ </script> <div class="col-12 m-2"> - <h3>Organisations</h3> <span><a href="{% url "organisations:create" %}">[Create new...]</a></span></h3> + <h3> + <svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-people-fill" fill="currentColor" + xmlns="http://www.w3.org/2000/svg"> + <path fill-rule="evenodd" + d="M7 14s-1 0-1-1 1-4 5-4 5 3 5 4-1 1-1 1H7zm4-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm-5.784 6A2.238 2.238 0 0 1 5 13c0-1.355.68-2.75 1.936-3.72A6.325 6.325 0 0 0 5 9c-4 0-5 3-5 4s1 1 1 1h4.216zM4.5 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z"/> + </svg> + Organisations + </h3> + <span><a href="{% url "organisations:create" %}">[Create new...]</a></span></h3> <div class="row justify-content-center"> <div class="col-md-12 my-2 py-2"> <table id="datatable" class="table table-bordered" style="width: 100%"> |