Add method button

master
Sven Slootweg 11 years ago
parent e31ec35a30
commit e2674b7635

@ -41,6 +41,7 @@ catch (NotFoundException $e)
$sPageTitle = "Dashboard for {$sCampaign->sName}";
$sPageContents = NewTemplater::Render("campaign/dashboard", $locale->strings, array(
"name" => $sCampaign->sName,
"urlname" => $sCampaign->sUrlName,
"payment-methods" => $sPaymentMethods
));

@ -693,3 +693,34 @@ p.pledge-button
{
padding: 16px 20px;
}
/**************************************
* COMPLEX HEADERS *
**************************************/
.complex-header h1, .complex-header h2, .complex-header h3, .complex-header h4, .complex-header h5, .complex-header h6
{
float: left;
margin-right: 12px;
}
.complex-header .button
{
float: left;
display: block;
border: 1px solid #8BA866;
border-radius: 8px;
background-color: #F5FAEA;
padding: 3px 6px;
margin-top: 3px;
margin-right: 8px;
text-decoration: none;
font-weight: bold;
color: black;
}
.complex-header .button:hover
{
border: 1px solid #587532;
background-color: #F1FFD0;
}

@ -37,7 +37,11 @@
</div>
<div class="dashboard-section">
<h3>Payment methods</h3>
<div class="complex-header">
<h3>Payment methods</h3>
<a class="button" href="/dashboard/{%?urlname}/add-payment-method">Add method</a>
<div class="clear"></div>
</div>
{%foreach method in payment-methods}
{%if isempty|method[image] == false}

Loading…
Cancel
Save