|
1 | 1 | {% load static %} |
2 | | -{% load response_settings %} |
3 | 2 | {% load bootstrap4_alerts %} |
4 | 3 |
|
5 | 4 | <!DOCTYPE html> |
|
8 | 7 | <head> |
9 | 8 | <title> |
10 | 9 | {% block title %} |
11 | | - {% response_setting "RESPONSE_APP_NAME" %} |
| 10 | + Response |
12 | 11 | {% endblock %} |
13 | 12 | </title> |
14 | | - <link rel="shortcut icon" href="{% response_setting 'RESPONSE_FAVICON' %}"> |
15 | 13 |
|
16 | | - <meta charset="utf-8"> |
17 | | - <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> |
18 | | - <meta name="description" content="{% response_setting "RESPONSE_APP_NAME" %}"> |
19 | | - <meta name="author" content="Monzo"> |
20 | | - <meta name="mobile-web-app-capable" content="yes"> |
21 | | - <meta name="apple-mobile-web-app-capable" content="yes"> |
22 | | - <link rel="manifest" href="{% static 'manifest.json' %}"> |
| 14 | + {% block favicon %} |
| 15 | + <link rel="shortcut icon" href="{% static 'images/favicon.png' %}"> |
| 16 | + {% endblock %} |
| 17 | + |
| 18 | + {% block meta %} |
| 19 | + <meta charset="utf-8"> |
| 20 | + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> |
| 21 | + <meta name="description" content="Response"> |
| 22 | + <meta name="author" content="Monzo"> |
| 23 | + <meta name="mobile-web-app-capable" content="yes"> |
| 24 | + <meta name="apple-mobile-web-app-capable" content="yes"> |
| 25 | + {% endblock %} |
23 | 26 |
|
24 | | - <link href="{% static 'bootstrap/css/bootstrap.css' %}" rel="stylesheet"> |
25 | | - <link href="{% static 'common.css' %}" rel="stylesheet"> |
| 27 | + {% block static %} |
| 28 | + <link rel="manifest" href="{% static 'manifest.json' %}"> |
| 29 | + <link href="{% static 'bootstrap/css/bootstrap.css' %}" rel="stylesheet"> |
| 30 | + <link href="{% static 'common.css' %}" rel="stylesheet"> |
| 31 | + {% endblock %} |
26 | 32 |
|
27 | 33 | {% block head %}{% endblock %} |
28 | 34 |
|
|
34 | 40 | {% block navigation %} |
35 | 41 | <nav class="navbar navbar-expand-lg navbar-dark bg-dark static-top"> |
36 | 42 | <div class="{% block navbar_container_class %}container{% endblock %}"> |
37 | | - <a class="navbar-brand" href="/"> |
38 | | - <img id="logo" src="{% response_setting 'RESPONSE_LOGO' %}" /> |
39 | | - <strong>{% response_setting "RESPONSE_APP_NAME" %}</strong> |
40 | | - </a> |
| 43 | + {% block navigation_brand %} |
| 44 | + <a class="navbar-brand" href="/"> |
| 45 | + <img id="logo" src="{% static 'images/response.png' %}" /> |
| 46 | + <strong>Response</strong> |
| 47 | + </a> |
| 48 | + {% endblock %} |
41 | 49 |
|
42 | 50 | <button |
43 | 51 | class="navbar-toggler" |
|
53 | 61 |
|
54 | 62 | <div class="collapse navbar-collapse" id="navbarResponsive"> |
55 | 63 | <ul class="navbar-nav ml-auto"> |
56 | | - {% block navbar %}{% endblock %} |
| 64 | + {% block navigation_items %}{% endblock %} |
57 | 65 | </ul> |
58 | 66 | </div> |
59 | 67 | </div> |
|
0 commit comments