From ec13f58f11eee53773e99a0c27a086ae809d956c Mon Sep 17 00:00:00 2001 From: Olimpia Magliulo <olimpiam@intern-ikts-MacBook-Air.local> Date: Tue, 28 Nov 2017 11:31:02 +0100 Subject: [PATCH] Apply new style to login link-list --- modules/core/templates/login.twig | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/modules/core/templates/login.twig b/modules/core/templates/login.twig index 9e4bf6bc9..ac56c88ce 100644 --- a/modules/core/templates/login.twig +++ b/modules/core/templates/login.twig @@ -9,10 +9,12 @@ <p>Please check your SimpleSAML configuration.<br> Follow the link and log in with administrator credentials. <a href="{{ loginurl }}">Admin login.</a></p> {% else %} - <ul> - {% for id, config in sources -%} - <li><a href="?as={{ id|url_encode }}">{{ config.name|translateFromArray|default(id) }}</a></li> - {% endfor -%} - </ul> + <div class="pure-menu custom-restricted-width"> + <ul class="pure-menu-list auth_methods"> + {% for id, config in sources -%} + <li class="pure-menu-item"><a href="?as={{ id|url_encode }}" class="pure-menu-link">{{ config.name|translateFromArray|default(id) }}</a></li> + {% endfor -%} + </ul> + </div> {% endif %} {% endblock %} \ No newline at end of file -- GitLab