File tree Expand file tree Collapse file tree 2 files changed +6
-16
lines changed Expand file tree Collapse file tree 2 files changed +6
-16
lines changed Original file line number Diff line number Diff line change 1515{% block content %}
1616< body >
1717 < div class ="container mt-4 ">
18- < h1 > Детали URL </ h1 >
18+ < h1 > Сайт: {{ url[1] }} </ h1 >
1919 < p > < strong > ID:</ strong > {{ url[0] }}</ p >
20- < p > < strong > Название :</ strong > {{ url[1] }}</ p > <!-- name -->
20+ < p > < strong > Имя :</ strong > {{ url[1] }}</ p > <!-- name -->
2121 < p > < strong > Дата создания:</ strong > {{ url[2] }}</ p > <!-- created_at -->
2222
2323 < form method ="POST " action ="{{ url_for('add_check', url_id=url[0]) }} ">
Original file line number Diff line number Diff line change 22
33{% block content %}
44< div class ="container mt-4 ">
5- < h1 > Список URL</ h1 >
6-
75 {% with messages = get_flashed_messages() %}
86 {% if messages %}
97 < div class ="alert alert-info ">
@@ -19,13 +17,9 @@ <h1 class="mb-4">Сайты</h1>
1917 < thead >
2018 < tr >
2119 < th > ID</ th >
22- < th > URL</ th >
23- < th > Дата создания</ th >
24- < th > Код последней проверки</ th >
25- < th > Дата последней проверки</ th >
26- < th > H1</ th >
27- < th > Title</ th >
28- < th > Description</ th >
20+ < th > Имя</ th >
21+ < th > Последняя проверка</ th >
22+ < th > Код ответа</ th >
2923 </ tr >
3024 </ thead >
3125 < tbody >
@@ -34,11 +28,7 @@ <h1 class="mb-4">Сайты</h1>
3428 < td > {{ url[0] }}</ td >
3529 < td > < a href ="{{ url_for('url_detail', url_id=url[0]) }} "> {{ url[1] }}</ a > </ td >
3630 < td > {{ url[2] }}</ td >
37- < td > {{ url[3] if url[3] is not none else 'Нет проверок' }}</ td >
38- < td > {{ url[4] if url[4] is not none else 'Нет проверок' }}</ td >
39- < td > {{ url[5] if url[5] is not none else 'Нет данных' }}</ td >
40- < td > {{ url[6] if url[6] is not none else 'Нет данных' }}</ td >
41- < td > {{ url[7] if url[7] is not none else 'Нет данных' }}</ td >
31+ < td > {{ url[3] }}</ td >
4232 </ tr >
4333 {% endfor %}
4434 </ tbody >
You can’t perform that action at this time.
0 commit comments