summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.18/sites/all/modules/checklistapi/templates/checklistapi-progress-bar.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.18/sites/all/modules/checklistapi/templates/checklistapi-progress-bar.tpl.php')
-rw-r--r--kolab.org/www/drupal-7.18/sites/all/modules/checklistapi/templates/checklistapi-progress-bar.tpl.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/kolab.org/www/drupal-7.18/sites/all/modules/checklistapi/templates/checklistapi-progress-bar.tpl.php b/kolab.org/www/drupal-7.18/sites/all/modules/checklistapi/templates/checklistapi-progress-bar.tpl.php
new file mode 100644
index 0000000..383dbf8
--- /dev/null
+++ b/kolab.org/www/drupal-7.18/sites/all/modules/checklistapi/templates/checklistapi-progress-bar.tpl.php
@@ -0,0 +1,22 @@
+<?php
+
+/**
+ * @file
+ * Default theme implementation for the Checklist API progress bar.
+ *
+ * Available variables:
+ * - $message: The progress message.
+ * - $number_complete: The number of items complete.
+ * - $number_of_items: The total number of items.
+ * - $percent_complete: The percent of items complete.
+ *
+ * @see template_preprocess()
+ * @see template_preprocess_checklistapi_progress_bar()
+ * @see template_process()
+ */
+?>
+<div class="progress">
+ <div class="bar"><div class="filled" style="width:<?php print $percent_complete; ?>%;"></div></div>
+ <div class="percentage"><?php print $number_complete; ?> of <?php print $number_of_items; ?> (<?php print $percent_complete; ?>%)</div>
+ <div class="message"><?php print $message; ?></div>
+</div>