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/table.blade.php
2016-10-14 17:59:25 +11:00

110 lines
2.9 KiB
PHP

@extends('layouts.dashboard')
@section('page_heading','Tables')
@section('section')
<div class="col-sm-12">
<div class="row">
<div class="col-sm-6">
@section ('table_panel_title','Regular Table')
@section ('table_panel_body')
@include('widgets.table', array('class'=>''))
@endsection
@include('widgets.panel', array('header'=>true, 'as'=>'table'))
</div>
<div class="col-sm-6">
@section ('btable_panel_title','Bordered Table')
@section ('btable_panel_body')
@include('widgets.table', array('class'=>'table-bordered'))
@endsection
@include('widgets.panel', array('header'=>true, 'as'=>'btable'))
</div>
</div>
<div class="row">
<div class="col-sm-6">
@section ('stable_panel_title','Striped Table')
@section ('stable_panel_body')
@include('widgets.table', array('class'=>'table-striped'))
@endsection
@include('widgets.panel', array('header'=>true, 'as'=>'stable'))
</div>
<div class="col-sm-6">
@section ('htable_panel_title','Hover Table')
@section ('htable_panel_body')
@include('widgets.table', array('class'=>'table-hover'))
@endsection
@include('widgets.panel', array('header'=>true, 'as'=>'htable'))
</div>
</div>
<div class="row">
<div class="col-sm-6">
@section ('ctable_panel_title','Condensed Table')
@section ('ctable_panel_body')
@include('widgets.table', array('class'=>'table-condensed'))
@endsection
@include('widgets.panel', array('header'=>true, 'as'=>'ctable'))
</div>
<div class="col-sm-6">
@section ('atable_panel_title','Condensed, Bordered, Striped Table')
@section ('atable_panel_body')
@include('widgets.table', array('class'=>'table-condensed table-bordered table-striped'))
@endsection
@include('widgets.panel', array('header'=>true, 'as'=>'atable'))
</div>
</div>
<div class="row">
<div class="col-sm-12">
@section ('cotable_panel_title','Coloured Table')
@section ('cotable_panel_body')
<table class="table table-bordered">
<thead>
<tr>
<th>Name</th>
<th>Email</th>
<th>Address</th>
</tr>
</thead>
<tbody>
<tr class="success">
<td>John</td>
<td>john@gmail.com</td>
<td>London, UK</td>
</tr>
<tr>
<td>Wayne</td>
<td>wayne@gmail.com</td>
<td>Manchester, UK</td>
</tr>
<tr class="info">
<td>Andy</td>
<td>andy@gmail.com</td>
<td>Merseyside, UK</td>
</tr>
<tr>
<td>Danny</td>
<td>danny@gmail.com</td>
<td>Middlesborough, UK</td>
</tr>
<tr class="warning">
<td>Frank</td>
<td>frank@gmail.com</td>
<td>Southampton, UK</td>
</tr>
<tr>
<td>Scott</td>
<td>scott@gmail.com</td>
<td>Newcastle, UK</td>
</tr>
<tr class="danger">
<td>Rickie</td>
<td>rickie@gmail.com</td>
<td>Burnley, UK</td>
</tr>
</tbody>
</table>
@endsection
@include('widgets.panel', array('header'=>true, 'as'=>'cotable'))
</div>
</div>
</div>
@stop