ev6 commited on
Commit
835e9e1
·
verified ·
1 Parent(s): c1fe8b6

Update app/templates/header.html

Browse files
Files changed (1) hide show
  1. app/templates/header.html +19 -23
app/templates/header.html CHANGED
@@ -1,23 +1,19 @@
1
- {% load static%}
2
-
3
- <div class="container">
4
- <header class="d-flex flex-wrap align-items-center justify-content-center justify-content-md-between py-3 mb-4 border-bottom">
5
- <a href="{% url 'recognition:index'%}" class="d-flex align-items-center col-md-1 mb-2 mb-md-0 ms-3 text-dark text-decoration-none">
6
- <h1 class="h1">Распознавание эмоции</h1>
7
- </a>
8
-
9
- {% if request.user.is_authenticated %}
10
- <div class="d-flex justify-content-around flex-column">
11
- <a href="{% url 'recognition:index'%}" role='button'class="btn btn-outline-dark mb-md-0 ">
12
- На изображении
13
- </a>
14
-
15
- <a href="{% url 'recognition:real_time'%}" role='button'class="btn btn-outline-dark mt-2 mb-md-0 ">
16
- В режиме реального времени
17
- </a>
18
- </div>
19
- {% endif %}
20
- </header>
21
- </div>
22
-
23
-
 
1
+ {% load static%}
2
+
3
+ <div class="container">
4
+ <header class="d-flex flex-wrap align-items-center justify-content-center justify-content-md-between py-3 mb-4 border-bottom">
5
+ <a href="{% url 'recognition:index'%}" class="d-flex align-items-center col-md-1 mb-2 mb-md-0 ms-3 text-dark text-decoration-none">
6
+ <h1 class="h1">Распознавание эмоции</h1>
7
+ </a>
8
+
9
+ {% if request.user.is_authenticated %}
10
+ <div class="d-flex justify-content-around flex-column">
11
+ <a href="{% url 'recognition:index'%}" role='button'class="btn btn-outline-dark mb-md-0 ">
12
+ На изображении
13
+ </a>
14
+ </div>
15
+ {% endif %}
16
+ </header>
17
+ </div>
18
+
19
+