Exemplo n.º 1
0
echo link_to(URL::route('dvs-pages-create'), 'Create New Page', array('class' => 'dvs-button'));
?>
        <?php 
echo link_to(URL::route('dvs-calendar-index'), 'Calendar View', array('class' => 'dvs-button dvs-button-secondary'));
?>
    </div>
@stop

@section('main')
    <table class="dvs-admin-table">
		<thead>
			<tr>
				<th class="dvs-tal">
                    <div class="dvs-inline-block dvs-tal">
                        <?php 
echo Sort::filter('slug', "#pages, #pagination-links", ['placeholder' => 'Filter by Slug', 'class' => 'filter-by-slug']);
?>
                    </div>
                </th>
                @if(count($languages) > 1) <th>Languages</th> @endif
				<th>
                    <?php 
echo Sort::link('is_admin', 'Admin');
?>
                    <input type="checkbox" name="show_admin" value="true" <?php 
echo Input::get('show_admin') === 'true' ? 'checked' : '';
?>
>
                </th>
				<th>
                    <div class="dvs-inline-block dvs-button-group dvs-sort-group dvs-pr">
Exemplo n.º 2
0
@stop

@section('main')
	<table class="dvs-admin-table">
		<thead>
			<tr>
				<th class="dvs-tal"><?php 
echo Sort::link('code', 'Short Code');
?>
</th>
				<th class="dvs-tal">
					<?php 
echo Sort::link('human_name', 'Language');
?>
					<?php 
echo Sort::filter('human_name', "#languages", ['placeholder' => 'Filter by Name']);
?>
				</th>
	            <th>Active</th>
			</tr>
		</thead>

		<tbody id="languages">
			@foreach($languages as $language)
				<tr>
					<td><?php 
echo $language->code;
?>
</td>
					<td><?php 
echo $language->human_name;