From 2bee6eecb155ec344566188db26ffed0db1ca8d1 Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tvdijen@gmail.com> Date: Mon, 6 Aug 2018 17:17:14 +0200 Subject: [PATCH] Fix unformatted consent-page --- modules/consent/templates/consentform.php | 2 +- modules/consent/templates/consentform.twig | 2 +- modules/consent/www/{style.css => assets/consent.css} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename modules/consent/www/{style.css => assets/consent.css} (100%) diff --git a/modules/consent/templates/consentform.php b/modules/consent/templates/consentform.php index 3c19503ba..399fa6bed 100644 --- a/modules/consent/templates/consentform.php +++ b/modules/consent/templates/consentform.php @@ -19,7 +19,7 @@ $srcName = $this->data['srcName']; $this->data['header'] = $this->t('{consent:consent:consent_header}'); $this->data['head'] = '<link rel="stylesheet" type="text/css" href="'. - SimpleSAML\Module::getModuleURL("consent/style.css").'" />'."\n"; + SimpleSAML\Module::getModuleURL("consent/assets/consent.css").'" />'."\n"; $this->includeAtTemplateBase('includes/header.php'); ?> diff --git a/modules/consent/templates/consentform.twig b/modules/consent/templates/consentform.twig index e33dcf8a6..e6674d7b1 100644 --- a/modules/consent/templates/consentform.twig +++ b/modules/consent/templates/consentform.twig @@ -2,7 +2,7 @@ {% extends "base.twig" %} {% block preload %} -<link rel="stylesheet" type="text/css" href="{{ baseurlpath }}consent/style.css" /> +<link rel="stylesheet" type="text/css" href="{{ baseurlpath }}assets/consent.css" /> {% endblock %} {% block content %} diff --git a/modules/consent/www/style.css b/modules/consent/www/assets/consent.css similarity index 100% rename from modules/consent/www/style.css rename to modules/consent/www/assets/consent.css -- GitLab