diff options
author | Andreas Åkre Solberg <andreas.solberg@uninett.no> | 2008-02-15 10:51:47 +0000 |
---|---|---|
committer | Andreas Åkre Solberg <andreas.solberg@uninett.no> | 2008-02-15 10:51:47 +0000 |
commit | 81b8352fd64a7ee3734e6f416a8f5d17a34cf7d1 (patch) | |
tree | e4b0123ff8003becaa2563533027ba2f6f941230 | |
parent | dd36beb6333d6bc6ab35c29d094a92e8c982680c (diff) | |
download | simplesamlphp-81b8352fd64a7ee3734e6f416a8f5d17a34cf7d1.zip simplesamlphp-81b8352fd64a7ee3734e6f416a8f5d17a34cf7d1.tar.gz simplesamlphp-81b8352fd64a7ee3734e6f416a8f5d17a34cf7d1.tar.bz2 |
adding links to shib metaata from frontpage. moved css to default.css
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@312 44740490-163a-0410-bde0-09ae8108e29a
-rw-r--r-- | templates/default/en/metadata.php | 4 | ||||
-rw-r--r-- | www/index.php | 12 | ||||
-rw-r--r-- | www/resources/default.css | 6 |
3 files changed, 19 insertions, 3 deletions
diff --git a/templates/default/en/metadata.php b/templates/default/en/metadata.php index 57d48db..7b6ff67 100644 --- a/templates/default/en/metadata.php +++ b/templates/default/en/metadata.php @@ -14,12 +14,12 @@ <p>In SAML 2.0 Meta data XML format:</p> - <pre style="overflow: scroll; border: 1px solid #eee; padding: 2px"><?php echo $data['metadata']; ?></pre> + <pre class="metadatabox"><?php echo $data['metadata']; ?></pre> <p>In simpleSAMLphp flat file format - use this if you are using a simpleSAMLphp entity on the other side:</p> - <pre style="overflow: scroll; border: 1px solid #eee; padding: 2px"><?php echo $data['metadataflat']; ?></pre> + <pre class="metadatabox"><?php echo $data['metadataflat']; ?></pre> diff --git a/www/index.php b/www/index.php index 17697b1..ef77bc1 100644 --- a/www/index.php +++ b/www/index.php @@ -67,9 +67,21 @@ if ($config->getValue('enable.saml20-idp') === true) $linksmeta[] = array( 'href' => 'saml2/idp/metadata.php', 'text' => 'Hosted SAML 2.0 Identity Provider Metadata (automatically generated)'); + +if ($config->getValue('enable.shib13-sp') === true) + $linksmeta[] = array( + 'href' => 'shib13/sp/metadata.php', + 'text' => 'Hosted Shibboleth 1.3 Service Provider Metadata (automatically generated)'); + +if ($config->getValue('enable.shib13-idp') === true) + $linksmeta[] = array( + 'href' => 'shib13/idp/metadata.php', + 'text' => 'Hosted Shibboleth 1.3 Identity Provider Metadata (automatically generated)'); + + $linksdoc = array(); $linksdoc[] = array( diff --git a/www/resources/default.css b/www/resources/default.css index 5b712f5..d6652cb 100644 --- a/www/resources/default.css +++ b/www/resources/default.css @@ -234,4 +234,8 @@ th.rowtitle { } .enablebox tr.disabled td { background: #ccc; -}
\ No newline at end of file +} + +.metadatabox { + overflow: scroll; border: 1px solid #eee; padding: 2px; +} |