Project-Timeline: Introduced timeline on projects

Limited to projects of category assets and film for now.
This commit is contained in:
2018-11-20 16:29:01 +01:00
parent 37fe235d47
commit 5218bd17e3
4 changed files with 5 additions and 7 deletions

View File

@@ -29,7 +29,7 @@ meta(name="twitter:image", content="{% if main_project.picture_header %}{{ main_
.container-fluid.dashboard-container.imgs-fluid
.row
.col-md-8.col-xl-9
section.timeline
+timeline()
.d-block.text-center
a.d-inline-block.p-3.text-muted(href="{{ url_for('main.main_blog') }}")
@@ -119,11 +119,6 @@ script.
$(this).text($(this).text().replace(/\*|\@|\<(.*?)\>/g, ''));
});
$('.timeline')
.timeline({
url: '/api/timeline'
});
hopToTop(); // Display jump to top button
});
| {% endblock %}