root / drupal7 / sites / all / themes / bootstrap / templates / system / progress-bar.tpl.php @ eefc2ac0
1 |
<?php
|
---|---|
2 |
|
3 |
/**
|
4 |
* @file
|
5 |
* Template implementation to display a progress bar.
|
6 |
*
|
7 |
* Available variables:
|
8 |
* - $percent: The percentage of the progress.
|
9 |
* - $message: A string containing information to be displayed.
|
10 |
*
|
11 |
* @see theme_progress_bar()
|
12 |
*
|
13 |
* @ingroup templates
|
14 |
*/
|
15 |
?>
|
16 |
<div class="progress-wrapper" aria-live="polite"> |
17 |
<div id="progress" class="progress progress-striped active"> |
18 |
<div class="progress-bar" role="progressbar" style="width: <?php print $percent; ?>%" aria-valuemin="0" aria-valuemax="100" aria-valuenow="<?php print $percent; ?>"> |
19 |
<div class="percentage sr-only"><?php print $percent; ?>%</div> |
20 |
</div>
|
21 |
</div>
|
22 |
<div class="percentage pull-right"><?php print $percent; ?>%</div> |
23 |
<div class="message"><?php print $message; ?></div> |
24 |
</div>
|