Skip to content
Snippets Groups Projects
Commit 256f31c9 authored by Tim van Dijen's avatar Tim van Dijen
Browse files

consentAdmin: Extract CSS from template file

parent 58668a6e
No related branches found
No related tags found
No related merge requests found
<?php $this->includeAtTemplateBase('includes/header.php'); ?>
<!-- default theme -->
<script>
function setConsentText(consentStatus, show_spid) {
document.getElementById("consentText" + show_spid).innerHTML = consentStatus;
}
</script>
<script src="includes/consentSimpleAjax.js"></script>
<style>
.caSPName {
font-weight: bold;
}
td.caSPName {
vertical-align: top;
}
.caAllowed {
}
td.caAllowed {
vertical-align: top;
}
td.caAttributes {
}
tr.row0 td {
background-color: #888888;
color: black;
}
tr.row1 td {
background-color: #aaaaaa;
color: black;
}
a.orange {
color: #ffd633;
}
span.showhide {
}
</style>
<?php
$this->data['head'] = '<link rel="stylesheet" type="text/css" href="' . SimpleSAML\Module::getModuleURL("consentAdmin/assets/css/consentAdmin.css") . '" />' . "\n";
$this->data['head'] .= '<script src="' . SimpleSAML\Module::getModuleURL("consentAdmin/assets/js/consentAdmin.js") .'"></script>';
$this->data['head'] .= '<script src="' . SimpleSAML\Module::getModuleURL("consentAdmin/assets/js/consentSimpleAjax.js") .'"></script>';
// default theme
$this->includeAtTemplateBase('includes/header.php');
?>
<!-- <h2><?php if (isset($this->data['header'])) { echo $this->t($this->data['header']); } else { echo "Some error occurred"; } ?></h2> -->
<h2><?php echo $this->t('{consentAdmin:consentadmin:consentadmin_header}') ?></h2>
<p>
......
.caSPName {
font-weight: bold;
}
td.caSPName {
vertical-align: top;
}
td.caAllowed {
vertical-align: top;
}
td.caAttributes {
}
tr.row0 td {
background-color: #888888;
color: black;
}
tr.row1 td {
background-color: #aaaaaa;
color: black;
}
a.orange {
color: #ffd633;
}
function setConsentText(consentStatus, show_spid) {
document.getElementById("consentText" + show_spid).innerHTML = consentStatus;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment