From 1c1bef76efc75676fc4f093c9423fb21afd8175c Mon Sep 17 00:00:00 2001 From: Eliseu Amaro Date: Thu, 23 Sep 2021 14:46:04 +0100 Subject: [PATCH] [Cards][Navigation] Navigation cards! Left panel now composed entirely of cards. --- templates/cards/navigation/view.html.twig | 135 ++++++++++++++++++++++ templates/sidepanel/left/left.html.twig | 96 +-------------- 2 files changed, 139 insertions(+), 92 deletions(-) create mode 100644 templates/cards/navigation/view.html.twig diff --git a/templates/cards/navigation/view.html.twig b/templates/cards/navigation/view.html.twig new file mode 100644 index 0000000000..e4f016da4a --- /dev/null +++ b/templates/cards/navigation/view.html.twig @@ -0,0 +1,135 @@ +{% block timeline %} +
+

{{ icon('logo', 'icon icon-logo') | raw }} Timeline

+ +
+{% endblock timeline %} + +{% block group %} +
+

{{ icon('logo', 'icon icon-logo') | raw }} Group

+ +
+{% endblock group %} + +{% block profile_current_actor %} + +{% endblock profile_current_actor %} + +{% block profile_security %} +
+

Account

+ +
+{% endblock profile_security %} + +{% block footer %} + +{% endblock footer %} diff --git a/templates/sidepanel/left/left.html.twig b/templates/sidepanel/left/left.html.twig index 01fa94056b..7f03d7e12e 100644 --- a/templates/sidepanel/left/left.html.twig +++ b/templates/sidepanel/left/left.html.twig @@ -6,103 +6,15 @@ \ No newline at end of file