diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-01-24 10:10:09 +0000 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-01-24 10:10:09 +0000 |
commit | c488ad804bcc7c3febee3bea2089b86bbe419bbb (patch) | |
tree | e610f4f291cf3665e5ac481999ad27abc153d311 /ctrack/templates | |
parent | 7a65d7e12c30992ceb6b94acc55d2ee152687b6e (diff) |
Played about with CSS/templates and tinkered with admin
Diffstat (limited to '')
-rw-r--r-- | ctrack/templates/account/login.html | 30 | ||||
-rw-r--r-- | ctrack/templates/base.html | 24 |
2 files changed, 42 insertions, 12 deletions
diff --git a/ctrack/templates/account/login.html b/ctrack/templates/account/login.html index 2cadea6..fbaa171 100644 --- a/ctrack/templates/account/login.html +++ b/ctrack/templates/account/login.html @@ -44,5 +44,35 @@ for a {{ site_name }} account and sign in below:{% endblocktrans %}</p> <button class="primaryAction btn btn-primary" type="submit">{% trans "Sign In" %}</button> </form> +<table class="table table-sm table-bordered"> + <thead> + <tr> + <th scope="col">#</th> + <th scope="col">First</th> + <th scope="col">Last</th> + <th scope="col">Handle</th> + </tr> + </thead> + <tbody> + <tr> + <th scope="row">1</th> + <td>Mark</td> + <td>Otto</td> + <td>@mdo</td> + </tr> + <tr> + <th scope="row">2</th> + <td>Jacob</td> + <td>Thornton</td> + <td>@fat</td> + </tr> + <tr> + <th scope="row">3</th> + <td>Larry</td> + <td>the Bird</td> + <td>@twitter</td> + </tr> + </tbody> +</table> {% endblock %} diff --git a/ctrack/templates/base.html b/ctrack/templates/base.html index fbe9d86..7ed25a7 100644 --- a/ctrack/templates/base.html +++ b/ctrack/templates/base.html @@ -16,18 +16,18 @@ <link rel="icon" href="{% static 'images/favicons/favicon.ico' %}"> {% block css %} - + <!-- Latest compiled and minified Bootstrap CSS --> <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> - + <!-- Your stuff: Third-party CSS libraries go here --> - + <!-- This file stores project-specific CSS --> - + <link href="{% static 'css/project.css' %}" rel="stylesheet"> - - + + {% endblock %} </head> @@ -39,7 +39,7 @@ <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> - <a class="navbar-brand" href="{% url 'home' %}">ctrack</a> + <a id="_title" class="navbar-brand" href="{% url 'home' %}">ctrack</a> <div class="collapse navbar-collapse" id="navbarSupportedContent"> <ul class="navbar-nav mr-auto"> @@ -94,21 +94,21 @@ ================================================== --> <!-- Placed at the end of the document so the pages load faster --> {% block javascript %} - + <!-- Bootstrap JS and its dependencies--> <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script> <!-- Your stuff: Third-party javascript libraries go here --> - + <!-- place project specific Javascript in this file --> - + <script src="{% static 'js/project.js' %}"></script> - + {% endblock javascript %} </body> </html> - + |