<?php $__env->startSection('CSS'); ?>
<?php $__env->stopSection(); ?>


<?php $__env->startSection('Contenido'); ?>
<div class="row">
	<div class="col-md-12">
		<h2><i class="fa fa-envelope-o" style="font-size: 30px !important;"></i> Emails </h2>
	</div><!--/col-md-12-->
</div><!--/row-->

<div class="row">
	<?php /*
	<div class="col-md-12">
		<nav class="navbar navbar-inverse">
			<ul class="nav navbar-nav">
				<li><a href="<?php echo URL::to('templates'); ?>">Ver todos los Templates</a></li>
				<li><a href="<?php echo URL::to('templates/create'); ?>">Crear un Template</a>
			</ul>
		</nav>
	</div>
	*/ ?>
	<div class="col-md-12">
		<?php if(Session::has('message')): ?>
		<div class="alert alert-info"><?php echo Session::get('message'); ?></div>
		<?php endif; ?>
	</div>
</div>

<div class="row">
	<div class="col-md-12">
		<div class="block-web">
			<div class="header"> <h3 class="content-header"> Listado plantillas de Email </h3> </div>
			<div class="porlets-content">
				<div class="table-responsive">
					<table class="table table-hover">
						<thead>
							<tr>
								<th class="col-md-3"> Nombre </th>
								<th> Email </th>
								<th class="col-md-3"> Acciones </th>
							</tr>
						</thead>
						<tbody>
							
							<tr>
								<td> <?php /* $Tema->nombre */ ?> </td>
								<td>
									<img src="<?php /* asset('SysWeb/SitiosWeb/Temas/Imagenes/'.$Tema->imagen) */ ?>" class="img-thumbnail img-responsive" style="height:200px; height:200px;">
								</td>
								<td>
									<?php /* HTML::linkRoute('SysWebSWebPlantillasxTema', 'Plantillas', array($Tema->id), array('class' => 'btn btn-success')) */ ?>
								</td>
							</tr>
							
						
							
						</tbody>
					</table>
				</div>
			</div>
			<div class="bottom">
			<a href="<?php echo URL::route('SysWebCrearEmail'); ?>" class="btn btn-success"> Craer Email</a>
			</div>
		</div>
	</div>
</div><!--/row end-->
<?php $__env->stopSection(); ?>

<?php $__env->startSection('JS'); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('JSOr'); ?>
$(".btn-danger").click(function(e){
	e.preventDefault()
	if(confirm("Esta seguro que desea borrar el tema")){
		$(".frm-eliminar").submit();
	}
});
<?php $__env->stopSection(); ?>
<?php echo $__env->make('BaseSistemaWeb', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>