File "admin-redirects.tmpl"
Full Path: /srv/www/www.cadoro.it/src/templates/admin-redirects.tmpl
File size: 1.89 KB
MIME-type: text/html
Charset: utf-8
{extends file='layout-admin.tmpl'}
<html>
<body>
{block name="breadcrumbs"}
<div class="breadcrumbs">
<strong>Redirect</strong>
</div>
{/block}
{block name="content"}
<div class="sheet">
<div class="sheet-header">
<h1>
Redirect
<small>Gestione degli URL di redirezione</small>
</h1>
</div>
<div class="sheet-body">
<form method="get" action="" class="form-search well">
<input type="text" name="q" class="form-control searchquery" value="{_fr('q')}" data-behaviour="autofocus" autocomplete="off">
<button type="submit" class="btn btn-default">Cerca</button>
<a href="{$base_url}/admin/redirects/add" class="btn btn-primary pull-right"><i class="glyphicon glyphicon-plus"></i> Nuovo elemento</a>
</form>
<div class="table-responsive">
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>Richiesta</th>
<th>Destinazione</th>
<th style="width: 180px;">Azioni</th>
</tr>
</thead>
<tbody>
{foreach $redirects as $redirect}
<tr>
<td><a href="{$base_url}/admin/redirects/{$redirect.id}">{$redirect.request_uri}</a></td>
<td><a href="{$base_url}/admin/redirects/{$redirect.id}">{$redirect.redirect_uri}</a></td>
<td>
<a href="{$base_url}/admin/redirects/{$redirect.id}/edit" class="btn btn-default btn-xs">MODIFICA</a>
<a href="{$base_url}/admin/redirects/{$redirect.id}/delete" class="btn btn-default btn-xs btn-danger">ELIMINA</a>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
{include "admin-pagination.tmpl"}
</div>
</div>
{/block}
</body>
</html>