EIOS/tpl/tpl_alneo_audit.html

217 lines
6.3 KiB
HTML
Raw Normal View History

2023-12-28 15:39:22 +03:00
<!-- BEGIN PAGE HEADER-->
<div class="row-fluid">
<div class="span12">
<h3 class="page-title">Корпусы/Аудитории</h3>
<ul class="breadcrumb">
<li><a href="/">Главная</a><span class="divider">/</span></li>
<li class="active"><a href="/alneo/audit/">Корпусы/учебные аудитории</a></li>
</ul>
</div>
</div>
{if ($msg == 1)}
<div class="alert alert-success">
<button data-dismiss="alert" class="close">×</button>
<strong>Информация сохранена!</strong>
</div>
{/if}
<div class="row-fluid">
<div class="span12">
<div class="row-fluid">
<div class="span12">
<div class="row-fluid">
<div class="widget green">
<div class="widget-title">
<h4><i class="icon-reorder"></i> Корпусы</h4>
<span class="tools">
<a href="javascript:;" class="icon-chevron-down"></a>
</span>
</div>
<div class="widget-body">
<table class="table table-striped table-bordered table-advance table-hover">
<thead>
<tr>
<th></th>
<th><i class="icon-bullhorn"></i> Название (Номер)</th>
<th><i class="icon-bookmark"></i> Адрес</th>
<th>--</th>
</tr>
</thead>
<tbody>
{foreach from=$corpuses item=corp key=k}
<tr>
<td>{$k+1}</td>
<td>{$corp.name}</td>
<td>{$corp.address}</td>
<td></td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<!--ДОБАЛЕНИЕ-->
<div class="row-fluid">
<div class="span12">
<div class="row-fluid">
<div class="widget red">
<div class="widget-title">
<h4><i class="icon-reorder"></i> Добавление информации о корпусе</h4>
<span class="tools">
<a href="javascript:;" class="icon-chevron-up"></a>
</span>
</div>
<div class="widget-body" style="display: none;">
<span style="color: red;">Все поля обязательны к заполнению!</span>
<form name="add_corp" action="" class="form-horizontal" method="POST">
<div class="control-group">
<label class="control-label" style="min-width: 200px!important;">Название/номер корпуса</label>
<div class="controls">
<div class="input-prepend" style="width: 90%;">
<input type="text" name="name" class="form-control" style="width: 90%;" required />
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" style="min-width: 200px!important;">Адрес</label>
<div class="controls">
<div class="input-prepend" style="width: 90%;">
<input type="text" name="address" class="form-control" style="width: 90%;" required />
</div>
</div>
</div>
<input type="submit" name="add_corp" value="Добавить" class="btn btn-success" />
</form>
</div>
</div>
</div>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<div class="row-fluid">
<div class="widget green">
<div class="widget-title">
<h4><i class="icon-reorder"></i> Учебные аудитории</h4>
<span class="tools">
<a href="javascript:;" class="icon-chevron-down"></a>
</span>
</div>
<div class="widget-body">
<table class="table table-striped table-bordered table-advance table-hover">
<thead>
<tr>
<th></th>
<th><i class="icon-bullhorn"></i> Название (Номер)</th>
<th><i class="icon-bookmark"></i> Корпус</th>
<th><i class="icon-bookmark"></i> URL</th>
<th>--</th>
</tr>
</thead>
<tbody>
{foreach from=$audits item=aud key=k}
<tr>
<td>{$k+1}</td>
<td>{$aud.name}</td>
<td>{$aud.corpus}</td>
<td>{$aud.urls}</td>
<td></td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<!--ДОБАЛЕНИЕ-->
<div class="row-fluid">
<div class="span12">
<div class="row-fluid">
<div class="widget red">
<div class="widget-title">
<h4><i class="icon-reorder"></i> Добавление информации об аудитории</h4>
<span class="tools">
<a href="javascript:;" class="icon-chevron-up"></a>
</span>
</div>
<div class="widget-body" style="display: none;">
<span style="color: red;">Все поля обязательны к заполнению!</span>
<form name="add_aud" action="" class="form-horizontal" method="POST">
<div class="control-group">
<label class="control-label" style="min-width: 200px!important;">Название/номер</label>
<div class="controls">
<div class="input-prepend" style="width: 90%;">
<input type="text" name="name" class="form-control" style="width: 90%;" required />
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" style="min-width: 200px!important;">URL (если нужно)</label>
<div class="controls">
<div class="input-prepend" style="width: 90%;">
<input type="url" name="url" class="form-control" style="width: 90%;" />
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" style="min-width: 200px!important;">Корпус</label>
<div class="controls">
<div class="input-prepend" style="width: 90%;">
<select name="id_corp" class="form-control">
{foreach from=$corpuses item=corp key=k}
<option value="{$corp.id}">{$corp.name}</option>
{/foreach}
</select>
</div>
</div>
</div>
<input type="submit" name="add_aud" value="Добавить" class="btn btn-success" />
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>