refactor: Templatise tasks
This commit is contained in:
parent
65c6468414
commit
28dba79cdf
17
templates/_task.html
Normal file
17
templates/_task.html
Normal file
@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
|
||||
{% block head %}
|
||||
{% include '_head.html' %}
|
||||
{% endblock %}
|
||||
|
||||
<body>
|
||||
{% include '_header.html' %}
|
||||
|
||||
{% block content %}{% endblock %}
|
||||
|
||||
{% include '_sidenav.html' %}
|
||||
<img id="help" src="{{ url_for('static', filename='imgs/icon.png') }}">
|
||||
</body>
|
||||
|
||||
</html>
|
@ -1,16 +1 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
{% include '_head.html' %}
|
||||
<body>
|
||||
|
||||
{% include '_header.html' %}
|
||||
|
||||
{% include '_sidenav.html' %}
|
||||
<div id="popup-overlay">
|
||||
<div id="popup">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<img id="help" src="{{ url_for('static', filename='imgs/icon.png') }}">
|
||||
</body>
|
||||
</html>
|
||||
{% extends '_task.html' %}
|
||||
|
@ -1,11 +1 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
{% include '_head.html' %}
|
||||
<body>
|
||||
|
||||
{% include '_header.html' %}
|
||||
|
||||
{% include '_sidenav.html' %}
|
||||
<img id="help" src="{{ url_for('static', filename='imgs/icon.png') }}">
|
||||
</body>
|
||||
</html>
|
||||
{% extends '_task.html' %}
|
||||
|
@ -1,11 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
{% include '_head.html' %}
|
||||
<body>
|
||||
|
||||
{% include '_header.html' %}
|
||||
|
||||
{% extends '_task.html' %}
|
||||
|
||||
{% block content%}
|
||||
<div class="container">
|
||||
<div id="popup" class="sql-input divv">
|
||||
<p class="simpletext">я попка кошки с подсказкой</p>
|
||||
@ -20,19 +15,10 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% include '_sidenav.html' %}
|
||||
{% if error %}
|
||||
<div id="error">
|
||||
<p>{{ error }}</p>
|
||||
</div>
|
||||
<div id="error"> <p>{{ error }}</p> </div>
|
||||
{% elif success %}
|
||||
<div id="success"> <p>{{ success }}</p> </div>
|
||||
{% endif %}
|
||||
|
||||
{% if success %}
|
||||
<div id="success">
|
||||
<p>{{ success }}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
<img id="help" src="{{ url_for('static', filename='imgs/icon.png') }}">
|
||||
|
||||
</body>
|
||||
</html>
|
||||
{% endblock %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user