Commit 69a687e6 authored by Baptiste Fournier's avatar Baptiste Fournier

Inchallah ça passe j'ai pas testé

parent c849fa61
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
{% block title %} {% block title %}
Nofist - Accueil Nofist - Accueil
{% endblock title %} {% endblock title %}
{% block navbar %} {% block navbar %}
{% include "core/components/navbar.html" with item='home' %} {% include "core/components/navbar.html" with item='home' %}
{% endblock navbar %} {% endblock navbar %}
...@@ -11,23 +11,15 @@ ...@@ -11,23 +11,15 @@
{% block content %} {% block content %}
{% include "core/components/searchbar.html" %} {% include "core/components/searchbar.html" %}
<div class="ui horizontal divider">Recherche par catégorie</div> <div class="ui horizontal divider">Recherche par catégorie</div>
{% include "core/components/course_browser.html" %} {% include "core/components/course_browser.html" %}
<div class="ui horizontal divider">Documents récents</div>
<div class="ui cards three column stackable grid container">
{% for document in latest_document_list %}
{% include "core/components/document_sum.html" %}
{% endfor %}
</div>
<div class="ui horizontal divider">Cours</div> <div class="ui horizontal divider">Cours</div>
<div class="ui cards three column stackable grid container"> <div class="ui cards three column stackable grid container">
{% for course in random_course_list %} {% for course in random_course_list %}
{% include "core/components/course_sum.html" %} {% include "core/components/course_sum.html" %}
{% endfor %} {% endfor %}
</div> </div>
{% endblock content %} {% endblock content %}
...@@ -38,14 +30,3 @@ ...@@ -38,14 +30,3 @@
$('.ui.accordion').accordion(); $('.ui.accordion').accordion();
</script> </script>
{% endblock script %} {% endblock script %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment