Cleanup
This commit is contained in:
@@ -90,6 +90,8 @@ link(href="{{ url_for('static_pillar', filename='assets/css/project-main.css') }
|
|||||||
li.text-capitalize
|
li.text-capitalize
|
||||||
a.nav-link.text-muted.px-0(href="{{ url_for('cloud.courses') }}")
|
a.nav-link.text-muted.px-0(href="{{ url_for('cloud.courses') }}")
|
||||||
| Courses
|
| Courses
|
||||||
|
li.px-1
|
||||||
|
i.pi-angle-right
|
||||||
| {% elif project.category == 'workshop' %}
|
| {% elif project.category == 'workshop' %}
|
||||||
li.text-capitalize
|
li.text-capitalize
|
||||||
a.nav-link.text-muted.px-0(href="{{ url_for('cloud.workshops') }}")
|
a.nav-link.text-muted.px-0(href="{{ url_for('cloud.workshops') }}")
|
||||||
@@ -659,10 +661,6 @@ script.
|
|||||||
/* UI Stuff */
|
/* UI Stuff */
|
||||||
$(window).on("load resize",function(){
|
$(window).on("load resize",function(){
|
||||||
containerResizeY($(window).height());
|
containerResizeY($(window).height());
|
||||||
|
|
||||||
if ($(window).width() > 480) {
|
|
||||||
project_container.style.height = (window.innerHeight - project_container.offsetTop) + "px";
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
{% if current_user_is_subscriber %}
|
{% if current_user_is_subscriber %}
|
||||||
|
@@ -1,5 +1,4 @@
|
|||||||
| {% extends 'layout.html' %}
|
| {% extends 'layout.html' %}
|
||||||
|
|
||||||
include ../../../pillar/src/templates/mixins/components
|
include ../../../pillar/src/templates/mixins/components
|
||||||
|
|
||||||
| {# Default case is Open Projects #}
|
| {# Default case is Open Projects #}
|
||||||
@@ -78,7 +77,7 @@ meta(name="twitter:image", content="{{ page_header_image }}")
|
|||||||
|
|
||||||
| {% if (project.status == 'published') or (project.status == 'pending' and current_user.is_authenticated) and project._id != config.MAIN_PROJECT_ID %}
|
| {% if (project.status == 'published') or (project.status == 'pending' and current_user.is_authenticated) and project._id != config.MAIN_PROJECT_ID %}
|
||||||
+card(
|
+card(
|
||||||
class='js-project-go card-fade cursor-pointer mb-4',
|
class='js-project-go card-fade cursor-pointer mb-4 mx-0',
|
||||||
data-url="{{ url_for('projects.view', project_url=project.url) }}",
|
data-url="{{ url_for('projects.view', project_url=project.url) }}",
|
||||||
tabindex='{{ loop.index }}')
|
tabindex='{{ loop.index }}')
|
||||||
| {% if project.picture_header %}
|
| {% if project.picture_header %}
|
||||||
|
Reference in New Issue
Block a user