124 lines
4.3 KiB
HTML
124 lines
4.3 KiB
HTML
<!-- 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="/kafedra/software/">Перечень программного обеспечения</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> Лицензия</th>
|
||
<th class="hidden-phone"> Реквизиты подтверждающего документа</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
{foreach from=$software item=soft key=k}
|
||
<tr>
|
||
<td>{$k+1}</td>
|
||
<td>{$soft.name}</td>
|
||
<td>{if ($soft.paid == 0)}<span class="badge badge-success">Свободное</span>{else}<span class="badge badge-warning">Лицензионное</span>{/if}</td>
|
||
<td>{$soft.requisite}</td>
|
||
{/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-down"></a>
|
||
</span>
|
||
</div>
|
||
<div class="widget-body">
|
||
<span style="color: red;">Все поля обязательны к заполнению!</span>
|
||
|
||
<form name="add_software" action="" class="form-horizontal" method="POST" enctype="multipart/form-data">
|
||
<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="requisite" 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%;">
|
||
<select name="paid" class="form-control">
|
||
<option value="0">Свободно распространяемое ПО</option>
|
||
<option value="1">Лицензионное ПО</option>
|
||
</select>
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
<input type="hidden" name="id_kaf" value="{$id_kaf}" />
|
||
|
||
|
||
<input type="submit" name="add_software" value="Добавить" class="btn btn-success" />
|
||
|
||
</form>
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|