UI Homepage: Single-column layout.

This commit is contained in:
2019-03-27 13:08:28 +01:00
parent 691c1411bc
commit b417f25811

View File

@@ -27,8 +27,26 @@ meta(name="twitter:image", content="{% if main_project.picture_header %}{{ main_
| {% block body %} | {% block body %}
.container-fluid.dashboard-container.imgs-fluid .container-fluid.dashboard-container.imgs-fluid
.row .row.mt-3
.col-md-8.col-xl-9 .col-md-9.mx-auto.col-xl-6
.row
.col-md-7
h6.title-underline
a.text-muted(href="{{ url_for('cloud.open_projects') }}")
| Films In Production
p.text-muted.pt-2.
A poetic short film about a mountain spirit and her wise little dog. #[a(href="/p/spring/") Check the project page].
.col-md-5
a(href="/p/spring/")
img.rounded(
alt="Spring Open Movie Project",
src="{{ url_for('static', filename='assets/img/projects/spring_sidebar_01.jpg')}}")
.row.mt-3
.col-md-9.mx-auto.col-xl-6
+timeline() +timeline()
.d-block.text-center .d-block.text-center
@@ -43,27 +61,15 @@ meta(name="twitter:image", content="{% if main_project.picture_header %}{{ main_
i.pi-rss i.pi-rss
| RSS Feed | RSS Feed
.col-md-4.col-xl-3 .row
section.pt-3 .col-md-9.mx-auto.col-xl-6
h6.title-underline
a.text-muted(href="{{ url_for('cloud.open_projects') }}")
| Films In Production
a(href="/p/spring/")
img.rounded(
alt="Spring Open Movie Project",
src="{{ url_for('static', filename='assets/img/projects/spring_sidebar_01.jpg')}}")
p.text-muted.pt-2.
A poetic short film about a mountain spirit and her wise little dog. #[a.text-muted(href="/p/spring/") Check it out].
section.py-3.border-bottom.mb-3 section.py-3.border-bottom.mb-3
h6.title-underline h6.title-underline
a.text-muted(href="{{ url_for('main.nodes_search_index') }}") a.text-muted(href="{{ url_for('main.nodes_search_index') }}")
| Random Awesome | Random Awesome
| {% if random_featured %} | {% if random_featured %}
+card-deck()(class='card-deck-vertical pl-3') +card-deck()(class='pl-3')
| {% for child in random_featured %} | {% for child in random_featured %}
| {% if child.node_type not in ['comment'] %} | {% if child.node_type not in ['comment'] %}
| {{ asset_list_item(child, current_user) }} | {{ asset_list_item(child, current_user) }}
@@ -76,6 +82,8 @@ meta(name="twitter:image", content="{% if main_project.picture_header %}{{ main_
| No random featured. | No random featured.
| {% endif %} | {% endif %}
.row
.col-md-9.mx-auto.col-xl-6
section.py-3 section.py-3
h6.title-underline Latest Comments h6.title-underline Latest Comments
@@ -107,6 +115,7 @@ meta(name="twitter:image", content="{% if main_project.picture_header %}{{ main_
| {% endif %} | {% endif %}
| {% endblock %} | {% endblock %}