From 59ea19604f936eb21c4db8579052d6a998207657 Mon Sep 17 00:00:00 2001 From: michigg Date: Tue, 17 Oct 2017 13:19:26 +0200 Subject: [PATCH] new donar home --- ofu_app/templates/donar/home.jinja | 5 ++-- ofu_app/templates/home.jinja | 2 +- ofu_app/templates/macros/overview_pages.jinja | 28 +++++++++++++++---- 3 files changed, 26 insertions(+), 9 deletions(-) diff --git a/ofu_app/templates/donar/home.jinja b/ofu_app/templates/donar/home.jinja index ddc5e20..4f4b6b1 100644 --- a/ofu_app/templates/donar/home.jinja +++ b/ofu_app/templates/donar/home.jinja @@ -6,8 +6,9 @@ {% block content %}
- {{ macros.home_item(title='All Rooms', url_id='all-rooms', description='Übersicht über alle Lehrräume an der Universität Bamberg.') }} - {{ macros.home_item(title='Search Rooms', url_id='search-rooms', description='Du weißt nicht wo du hin musst? Hier kannst du ihn finden.') }} + {{ macros.home_item_with_icon(icon='fa-map-o', url_id='search-rooms', title="Donar", icon_size='fa-3x') }} + {{ macros.home_item_with_icon(icon='fa-search', link='https://suche.wiai.de/', title="Roofis", icon_size='fa-3x') }} + {{ macros.home_item_with_icon(icon='fa-bus', url_id='', title='Bus und Bahn', icon_size='fa-3x') }}
{% endblock %} \ No newline at end of file diff --git a/ofu_app/templates/home.jinja b/ofu_app/templates/home.jinja index 789ac78..b49f4b8 100644 --- a/ofu_app/templates/home.jinja +++ b/ofu_app/templates/home.jinja @@ -3,7 +3,7 @@ {% block headline %}

BaStA

-

Bamberger Studenten App

+

Bamberger Studierenden App

{% endblock %} {% block content %} diff --git a/ofu_app/templates/macros/overview_pages.jinja b/ofu_app/templates/macros/overview_pages.jinja index 437ba04..55ec543 100644 --- a/ofu_app/templates/macros/overview_pages.jinja +++ b/ofu_app/templates/macros/overview_pages.jinja @@ -12,14 +12,30 @@ {% endmacro %} -{% macro home_item_with_icon(icon, url_id) -%} +{% macro home_item_with_icon(icon, icon_size='fa-4x', url_id='', link='', title='') -%}
{% endmacro %}