예제 #1
0
 /**
  * @param string $name
  * @param array $options
  */
 public function __construct($name, $options = [])
 {
     $this->service = $this->services[$name];
     $this->serviceIcon = FA::icon($this->service['icon']);
     $this->caption = $this->serviceIcon . $this->defaultCaption . $this->service['name'];
     Html::addCssClass($options, self::BTN);
     Html::addCssClass($options, self::BTN_BLOCK);
     Html::addCssClass($options, self::BTN_SOCIAL);
     Html::addCssClass($options, self::BTN . '-' . $name);
     $this->options = $options;
 }
예제 #2
0
 */
?>
<div id="content-wrapper">
	<?php 
echo Breadcrumbs::widget(['links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : []]);
?>

	<div class="jumbotron">
		<h1><?php 
echo Html::encode($this->title);
?>
</h1>
		Icons bundled with
		<a href="http://getbootstrap.com" target="_blank">
			Bootstrap <?php 
echo FA::icon(FA::_EXTERNAL_LINK);
?>
		</a>.
	</div>

	<div class="body-content">

		<section>
			<div class="panel panel-info">
				<div class="panel-heading">All Glyphicons</div>
				<div class="panel-body">
					<div class="row">
					<?php 
foreach ($glyphicons as $icon) {
    ?>
						<div class="fa col-md-4">
예제 #3
0
 by Pedro fp, on the
			<a href="https://en.wikipedia.org/wiki/Sunshine_Coast,_Queensland" target="_blank">
				Sunshine Coast <?php 
echo FA::icon(FA::_EXTERNAL_LINK);
?>
			</a> of
			<a href="https://en.wikipedia.org/wiki/Queensland" target="_blank">
				Queensland <?php 
echo FA::icon(FA::_EXTERNAL_LINK);
?>
			</a>,
			<a href="https://en.wikipedia.org/wiki/Australia" target="_blank">
				Australia <?php 
echo FA::icon(FA::_EXTERNAL_LINK);
?>
			</a>
			<?php 
echo FA::icon('copyright');
?>
 <?php 
echo date('Y');
?>
		</p>

		<p class="pull-right"><?php 
echo Yii::powered();
?>
</p>
	</div>
</footer>