Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit cda614d

Browse files
author
Dominik František Bučík
authored
Merge pull request #268 from vyskocilpavel/perun_aup_colorfix
fix(perunaup): fix btn size and color
2 parents 7e7d1bf + bdaaa5a commit cda614d

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

templates/perun-aup-tpl.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
<?php declare(strict_types=1);
22

3+
use SimpleSAML\Module;
34
use SimpleSAML\Module\perun\Auth\Process\PerunAup;
45

56
$this->data['header'] = $this->t('{perun:perun:aup_header}');
6-
7+
$this->data['head'] = '<link rel="stylesheet" media="screen" type="text/css" href="' .
8+
Module::getModuleUrl('perun/res/css/perun_aup.css') . '" />';
79
$this->includeAtTemplateBase('includes/header.php');
810

911
?>
1012

1113
<div class="row">
1214
<div>
1315
<p><?php echo $this->t('{perun:perun:aup_text}'); ?></p>
14-
<a class="btn btn-block btn-primary" href="<?php echo $this->data[PerunAup::PARAM_APPROVAL_URL]; ?>">
16+
<a class="btn btn-lg btn-block btn-primary" href="<?php echo $this->data[PerunAup::PARAM_APPROVAL_URL]; ?>">
1517
<?php echo $this->t('{perun:perun:aup_button}'); ?>
1618
</a>
1719
</div>

www/res/css/perun_aup.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
a,
2+
a:link,
3+
a:hover,
4+
a:visited {
5+
color: #FFFFFF;
6+
}

0 commit comments

Comments
 (0)