EIOS/tpl/tpl_health_vaccine.html

123 lines
4.6 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!-- 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>
</ul>
</div>
</div>
{if ($msg == 1)}
<div class="alert alert-success">
<button data-dismiss="alert" class="close">×</button>
<strong>Успешно загружено!</strong>
</div>
{/if}
{if ($msg == 2)}
<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="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">
<p>Пожалуйста, не забудьте указать полис и номер своего телефона в настройках профиля!</p>
<form name="order_vaccine" action="#" method="post" class="form-horizontal" 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%;">
<select class="form-control" name="is_vac" style="width: 90%;">
<option value="да">Да, имеется сертификат о полной вакцинации</option>
<option value="медотвод">Заключение врача о противопоказании</option>
<option value="болел">Болел, имеется сертификат переболевшего</option>
<option value="нет">Нет, не вакцинирован, медотвод отсутствует</option>
</select>
</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="date" name="date_vac" 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%;">
<input type="date" name="date_end" class="form-control" style="width: 90%;" />
</div>
</div>
</div>
<div class="control-group">
<label class="control-label" style="min-width: 200px!important;">Сертификат о вакцинации (QR-код вакцинированного)/сертификат переболевшего (QR код переболевшего)/заключение о противопоказании</label>
<div class="controls">
<div class="input-prepend" style="width: 90%;">
<input type="file" name="sertificat" class="form-control" style="width: 90%;" required />
</div>
</div>
</div>
<input type="submit" class="btn btn-success" name="order_vaccine" value="Сохранить" />
</form>
</div>
</div>
</div>
<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-bordered">
<tr>
<th></th>
<th>Информация</th>
<th>Документ</th>
</tr>
{foreach from=$zayavks item=spr key=k}
<tr>
<td>{$k+1}</td>
<td><b>{$spr.is_vac}</b><br />({$spr.date_vac} - {$spr.date_end})</td>
<td><a class="btn btn-primary" href="/{$spr.sertificat}">Скачать</a>
<a class="btn btn-danger" href="/health/vaccine/delete/{$spr.id}/">Удалить</a>
</td>
</tr>
{/foreach}
</table>
</div>
</div>
</div>
</div>
</div>
</div>