Beispiel #1
0
<?php 
} else {
    ?>
	<table class="table table-striped">
		<thead>
			<tr>
				<th><?php 
    echo sort_table_by('email', 'Email');
    ?>
</th>
				<th><?php 
    echo sort_table_by('first_name', 'First Name');
    ?>
</th>
				<th><?php 
    echo sort_table_by('last_name', 'Last Name');
    ?>
</th>
				<th>
					<a class="pull-right btn btn-primary" href="<?php 
    echo action("{$namespace}\\UserController@create");
    ?>
">
						<i class="fa fa-plus"></i>
						New User
					</a>
				</th>
			</tr>
		</thead>

		<tbody>
Beispiel #2
0
<table class="table table-striped">
	<thead>
		<tr>
			<th><?php 
echo sort_table_by('title', 'Title');
?>
</th>
			<th># of menu items</th>
			<th>
				<a class="pull-right btn btn-primary" href="<?php 
echo action("{$namespace}\\MenuController@create");
?>
">
					<i class="fa fa-plus"></i>
					New Menu
				</a>
			</th>
		</tr>
	</thead>

	<tbody>
		<?php 
if (!count($menus)) {
    ?>
			<tr>
				<td colspan="5" class="text-center">No menus found</td>
			</tr>
		<?php 
}
?>
Beispiel #3
0
if (count($groups) == 0) {
    ?>
	<p>No Groups.</p>
<?php 
} else {
    ?>
	<table class="table table-striped">
		<thead>
			<tr>
				<th><?php 
    echo sort_table_by('id', 'Group Id');
    ?>
</th>
				<th><?php 
    echo sort_table_by('name', 'Group Name');
    ?>
</th>
				<th>
					<a class="btn btn-primary pull-right" href="<?php 
    echo action("{$namespace}\\GroupController@create");
    ?>
">
						<i class="fa fa-plus"></i>
						New Group
					</a>
				</th>
			</tr>
		</thead>

		<tbody>
Beispiel #4
0
	<thead>
		<tr>
			<th><?php 
echo sort_table_by('title', 'Title');
?>
</th>
			<th><?php 
echo sort_table_by('slug', 'Slug');
?>
</th>
			<th><?php 
echo sort_table_by('created_at', 'Created at');
?>
</th>
			<th><?php 
echo sort_table_by('updated_at', 'Updated at');
?>
</th>
			<th>
				<a class="pull-right btn btn-primary" href="<?php 
echo platform_route("pages.create");
?>
">
					<i class="fa fa-plus"></i>
					New page
				</a>
			</th>
		</tr>
	</thead>

	<tbody>