This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
memberdb/resources/views/sbadmindemo/widgets/panel.blade.php
2016-10-14 17:59:25 +11:00

25 lines
631 B
PHP

<div class="panel panel-{{{ isset($class) ? $class : 'default' }}}">
@if( isset($header))
<div class="panel-heading">
<h3 class="panel-title">@yield ($as . '_panel_title')
@if( isset($controls))
<div class="panel-control pull-right">
<a class="panelButton"><i class="fa fa-refresh"></i></a>
<a class="panelButton"><i class="fa fa-minus"></i></a>
<a class="panelButton"><i class="fa fa-remove"></i></a>
</div>
@endif
</h3>
</div>
@endif
<div class="panel-body">
@yield ($as . '_panel_body')
</div>
@if( isset($footer))
<div class="panel-footer">@yield ($as . '_panel_footer')</div>
@endif
</div>