From 8909446aa0118a766bfe45d82f3ff126a6c09ab6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Fri, 31 Oct 2008 23:24:40 +0000 Subject: [PATCH] improved look of consent attributes with css git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@964 44740490-163a-0410-bde0-09ae8108e29a --- modules/consent/templates/default/consentform.php | 2 +- www/resources/default.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/consent/templates/default/consentform.php b/modules/consent/templates/default/consentform.php index a9df63cf8..23b399571 100644 --- a/modules/consent/templates/default/consentform.php +++ b/modules/consent/templates/default/consentform.php @@ -103,7 +103,7 @@ foreach ($this->data['noData'] as $name => $value) { </form> <p> -<table style="font-size: x-small"> +<table class="attributes"> <?php foreach ($attributes as $name => $value) { $nameTag = '{attributes:attribute_' . strtolower($name) . '}'; diff --git a/www/resources/default.css b/www/resources/default.css index 021f9e815..3937e171d 100644 --- a/www/resources/default.css +++ b/www/resources/default.css @@ -264,9 +264,13 @@ div.preferredidp { padding: 2px 2em 2px 2em; } + + table.attributes tr td { border-bottom: 1px dashed #ccc; padding-top: 5px; + padding-left: 1em; + padding-right: 1em; vertical-align: top; } -- GitLab