summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.18/sites/all/modules/checklistapi/templates/checklistapi-progress-bar.tpl.php
blob: 383dbf848a0ae1ecdfc99bde751a826d30c1af54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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>