summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorBenjamin Southall <applemansigloo@gmail.com>2016-12-10 18:32:18 +0900
committerBenjamin Southall <applemansigloo@gmail.com>2016-12-10 18:32:18 +0900
commit0e7577f4ea7d5cec1130864f7fcdd8791094928e (patch)
treee575789f3cb90c84662a1be410d60f851c4d8247 /templates
parentc4810e4e384c67dc19e1df286ea6e9b65447acd4 (diff)
Add cssleft configuration parameter to donate theme
Diffstat (limited to 'templates')
-rw-r--r--templates/themes/donate/donate.html4
-rw-r--r--templates/themes/donate/info.php25
2 files changed, 18 insertions, 11 deletions
diff --git a/templates/themes/donate/donate.html b/templates/themes/donate/donate.html
index 1ecf008e..1047cf56 100644
--- a/templates/themes/donate/donate.html
+++ b/templates/themes/donate/donate.html
@@ -38,10 +38,10 @@
<div class="container">
<div class="{{ settings.progressbarcssclass }}">
- <span style="width:14%;position:relative;left:{{ settings.progressbarcssleft }}%;
+ <span style="width:{{ settings.progressbarcsswidth }};position:relative;left:{{ settings.progressbarcssleft }}%;
"> </span>
</div>
-<div id="value" style="position:relative;left:{{ settings.progressbartextcssleft }}px;top:-45px">{{ settings.currentprogress }}</div>
+<div id="value" style="position:relative;left:{{ settings.progressbartextcssleft }}px;top:-45px;color:#0000ff;">{{ settings.currentprogress }}</div>
</div>
</div>
diff --git a/templates/themes/donate/info.php b/templates/themes/donate/info.php
index 6fa57cd6..751f8a23 100644
--- a/templates/themes/donate/info.php
+++ b/templates/themes/donate/info.php
@@ -22,37 +22,44 @@ $theme = array(
array('title' => 'Monthly Amount',
'name' => 'monthlyamount',
'type' => 'text',
- 'default' => '$55'),
+ 'default' => '$0'),
+
array('title' => 'Current Sticker Amount',
'name' => 'stickeramount',
'type' => 'text',
'default' => '$0'),
-
+
array('title' => 'Current Other Donations Amount',
'name' => 'otheramount',
'type' => 'text',
'default' => '$0'),
-
- array('title' => 'Current Progress',
+
+ array('title' => 'Current Progress',
'name' => 'currentprogress',
'type' => 'text',
'default' => '$0'),
-
+
array('title' => 'Progress Bar CSS class',
'name' => 'progressbarcssclass',
'type' => 'text',
- 'default' => 'progress-bar red glow'),
+ 'default' => 'progress-bar green glow'),
- array('title' => 'Progress Bar CSS left',
+
+ array('title' => 'Progress Bar CSS width',
+ 'name' => 'progressbarcsswidth',
+ 'type' => 'text',
+ 'default' => '15%'),
+
+ array('title' => 'Progress Bar CSS left',
'name' => 'progressbarcssleft',
'type' => 'text',
- 'default' => '36'),
+ 'default' => '51'),
array('title' => 'Progress Bar Text CSS left',
'name' => 'progressbartextcssleft',
'type' => 'text',
- 'default' => '135'),
+ 'default' => '195'),
),
'build_function' => 'donate_build');