virt2/api/mod/jeditresume.html

132 lines
5.3 KiB
HTML
Raw Normal View History

{include file=$header title="Изменить резюме" h1="Изменить резюме"}
<div class='row'>
<div class='col-lg-3 col-md-3 col-sm-12 col-xs-12' style='border-right:1px solid lightgray;'>
{include file=$mnulk}
</div>
<div class='col-lg-9 col-md-9 col-sm-12 col-xs-12' style='border:0px solid gray;'>
<a class="btn btn-primary" href="/jmyresume/" role="button">Назад в список</a>
<a class="btn btn-primary" href="/jmyresume/" id='del_vak' role="button">Удалить</a>
<a class="btn btn-primary" href="/j_show_resume/{$smarty.get.id}" role="button">Просмотр</a>
<br><br>
<form method="post" action='/act/jeditresume' id="jeditorg_form" enctype='multipart/form-data'>
<select name="cat" class="input-text" id='cat'>
{section name=customer loop=$cat}
{if $cat[customer].id}
<option value="{$cat[customer].id}" {if ($cat[customer].id==$bd[0].cat)} selected{/if} >{$cat[customer].cat}</option>
{/if}
{/section}
</select>
<br><br>
<select name="prof" class="input-text" id='prof'>
{section name=customer loop=$prof}
{if $prof[customer].id}
<option value="{$prof[customer].id}" data-chained="{$prof[customer].cat_id}" {if ($prof[customer].id==$bd[0].prof)} selected{/if}>{$prof[customer].prof}</option>
{/if}
{/section}
</select>
<br><br>
<label for="nameorg">Желаемая зарплата (от .... )</label>
<input type='text' name='zp' class="input-text" value='{$bd[0].zp}'>
<label for="grafik">Желаемый график работы</label>
<select name="grafik" class="input-text" id='grafik'>
<option value="">Без разницы</option>
{section name=customer loop=$grafik}
{if $grafik[customer].id}
<option value="{$grafik[customer].id}" {if ($grafik[customer].id==$bd[0].grafik)} selected{/if}>{$grafik[customer].grafik}</option>
{/if}
{/section}
</select>
<label for="grafik">Семейное положение</label>
<select name="sp" class="input-text" id='sp'>
{section name=customer loop=$sp}
{if $sp[customer].id}
<option value="{$sp[customer].id}" {if ($sp[customer].id==$bd[0].sp)} selected{/if}>{$sp[customer].sp}</option>
{/if}
{/section}
</select>
<label for="grafik">Есть ли у вас дети?</label>
<select name="deti" class="input-text" id='deti'>
{section name=customer loop=$deti}
{if $deti[customer].id}
<option value="{$deti[customer].id}"{if ($deti[customer].id==$bd[0].deti)} selected{/if}>{$deti[customer].deti}</option>
{/if}
{/section}
</select>
<label for="grafik">Есть ли у автомобиль?</label>
<select name="avto" class="input-text" id='avto'>
{section name=customer loop=$avto}
{if $avto[customer].id}
<option value="{$avto[customer].id}"{if ($avto[customer].id==$bd[0].avto)} selected{/if}>{$avto[customer].avto}</option>
{/if}
{/section}
</select>
<label for="kom">Вы готовы к командировкам?</label>
<select name="kom" class="input-text" id='kom'>
{section name=customer loop=$kom}
{if $kom[customer].id}
<option value="{$kom[customer].id}" {if ($kom[customer].id==$bd[0].kom)} selected{/if}>{$kom[customer].kom}</option>
{/if}
{/section}
</select>
<input type='hidden' name='act' value='save'>
<input type='hidden' name='id' value='{$smarty.get.id}' id='tmp'>
<label for="grafik">Контактный телефон</label>
<input type='text' name='tel' class="input-text" value='{$bd[0].tel}'>
<label for="grafik">Город где хотите работать</label>
<input type='text' name='gorod' class="input-text" value='{$bd[0].gorod}'>
<label for="nameorg">Срок</label>
<input type='text' name='srok' id='srok' class="input-text" value='{$bd[0].srok}' placeholder='дд.мм.гггг' maxlength=10>
<br><br>
<div class="form-group form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1" name='public' {if ($bd[0].public=='on')}checked="checked"{/if})>
<label class="form-check-label" for="exampleCheck1">Публиковать?</label>
</div>
<input class="button" type="submit" value="Сохранить" name="ok">
<div class="alert alert-success hidden" role="alert" id="res_msg">
Резюме успешно сохранено
</div>
</form>
</div>
</div>
<div class="modal" tabindex="-1" role="dialog" id="exampleModal">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Удалить резюме?</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>Это резюме будет удалено</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" id="del">Удалить</button>
<button type="button" class="btn btn-secondary" data-dismiss="modal">Отмена</button>
</div>
</div>
</div>
</div>
{include file=$footer plugins='
<script src="/api/jquery/plugins/jquery_chained-2.x/jquery.chained.min.js"></script>
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script src="/api/jquery/plugins/jqueryui/datepicker-ru.js"></script>
'}