| Current Path : /home/cbequiperp/www/plugins/system/ztshortcodes/core/html/site/ |
| Current File : /home/cbequiperp/www/plugins/system/ztshortcodes/core/html/site/zt_progress_bar.php |
<?php
/**
* Zt Shortcodes
* A powerful Joomla plugin to help effortlessly customize your own content and style without HTML code knowledge
*
* @name Zt Shortcodes
* @version 2.0.0
* @package Plugin
* @subpackage System
* @author ZooTemplate
* @email support@zootemplate.com
* @link http://www.zootemplate.com
* @copyright Copyright (c) 2015 ZooTemplate
* @license GPL v2
*/
defined('_JEXEC') or die('Restricted access');
?>
<div class="zt-progress progress-bar progress-<?php echo $attributes->get('strip'); ?> <?php echo $attributes->get('animated'); ?>"
style="height: 37px; background-color: <?php echo $attributes->get('trackColor'); ?>">
<div class="progress progress-bar-content"
role="progressbar"
data-percentage="<?php echo $attributes->get('nowvalue'); ?>"
aria-valuenow="<?php echo $attributes->get('nowvalue'); ?>"
aria-valuemin="<?php echo $attributes->get('minvalue'); ?>"
aria-valuemax="<?php echo $attributes->get('maxvalue'); ?>"
style="background-color: <?php echo $attributes->get('barColor'); ?>">
</div>
<?php
echo '<span style="color: ' . $attributes->get('titleColor') . '" class="progress-title sr-only">' . $content . '</span>';
?>
</div>