Ejemplo n.º 1
0
				<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">
                        <?php 
echo Sort::link('slug', 'Path', array('class' => 'dvs-button dvs-button-small dvs-button-outset'));
?>
                        <?php 
echo Sort::link('title', 'Page Name', array('class' => 'dvs-button dvs-button-small dvs-button-outset'));
?>
                        <?php 
echo Sort::clearSortLink('Clear Sort', array('class' => 'dvs-button dvs-button-small dvs-button-outset'));
?>
                    </div>
                </th>
			</tr>
		</thead>

		<tbody id="pages">
			@foreach($pages as $page)
				<tr>
					<td class="dvs-stacked-col dvs-tal">
                        <div><?php 
echo HTML::showPagesWithRequestedContent($page);
Ejemplo n.º 2
0
    <div id="dvs-admin-title">
        <h1><span class="ion-android-globe"> List of Languages</h1>
    </div>
@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;
?>
Ejemplo n.º 3
0
echo Form::submit('Create New Menu', array('class' => 'dvs-button dvs-button-success dvs-button-solid'));
?>
        <?php 
echo Form::close();
?>
    </div>

    <table class="dvs-admin-table">
    	<thead>
    		<tr>
    			<th class="dvs-tac"><?php 
echo Sort::link('name', 'Menu Name');
?>
</th>
                <th class="dvs-tac"><?php 
echo Sort::link('language_id', 'Language');
?>
</th>
                <th><?php 
echo Sort::clearSortLink('Clear Sort', array('class' => 'dvs-button dvs-button-small dvs-button-outset'));
?>
</th>
    		</tr>
    	</thead>

    	<tbody id="menus">
    		@foreach($menus as $menu)
    			<tr>
                    <td class="dvs-tac"><?php 
echo $menu->name;
?>
Ejemplo n.º 4
0
@section('main')
    @if ($groups->count() == 0)
        <h3>No groups found.</h3>
    @else
        <table class="dvs-admin-table">
            <thead>
                <th class="dvs-tac"><?php 
echo Sort::link('id', 'Id');
?>
</th>
                <th class="dvs-tac"><?php 
echo Sort::link('name', 'Name');
?>
</th>
                <th class="dvs-tac"><?php 
echo Sort::link('created_at', 'Created');
?>
</th>
                <th><?php 
echo Sort::clearSortLink('Clear Sort', array('class' => 'dvs-button dvs-button-small dvs-button-outset'));
?>
</th>
            </thead>

            <tbody>
                @foreach($groups as $group)
                    <tr>
                        <td class="dvs-tac"><?php 
echo $group->id;
?>
</td>