tk-ligat.ru/skin/inc/mod/crm/inde

211 lines
10 KiB
Plaintext
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.

<!-- :::::: Start Hero Section :::::: -->
{include file=$header title="CRM"}
<!-- :::::: Start Хлебные крошки :::::: -->
<div class="page-breadcrumb">
<div class="container">
<div class="row">
<div class="col-12">
<ul class="page-breadcrumb__menu">
<li class="page-breadcrumb__nav"><a href="/">Главная</a></li>
<li class="page-breadcrumb__nav active">CRM</li>
</ul>
</div>
</div>
</div>
</div>
<!-- :::::: End Хлебные крошки :::::: -->
<!-- :::::: Start Main Container Wrapper :::::: -->
<main id="main-container" class="main-container">
<!-- Start Product Details Tab -->
<div class="product-details-tab-area">
<div class="container" style="margin-top: -30px;">
<a href="#new_task" data-toggle="modal" class="btn btn--small btn--radius btn--green btn--green-hover-black btn--uppercase font--bold">Озадачить</a>
</div>
<div class="container mt-3">
<div class="row">
<div class="col-12">
<div class="product-details-content">
<ul class="tablist tablist--style-black tablist--style-title tablist--style-gap-30 nav">
<li><a class="nav-link active" data-toggle="tab" href="#crm-now">Выполняю</a></li>
<li><a class="nav-link" data-toggle="tab" href="#crm-to">Поставил</a></li>
<li><a class="nav-link" data-toggle="tab" href="#crm-end">Выполненные</a></li>
</ul>
<div class="product-details-tab-box">
<div class="tab-content">
<!-- Start Tab - Вкладка с описанием -->
<div class="tab-pane show active" id="crm-now">
<div class="para__content">
{include file=$tasks my_tasks=$my_tasks}
</div>
</div>
<!-- End Tab - Вкладка с описанием -->
<!-- Start Tab - Вкладка с характеристиками -->
<div class="tab-pane" id="crm-to">
<div class="product-dis__content">
<table class="table">
{section name=customer loop=$har} {if $har[customer].id}
<tr>
<td>{$har[customer].opt}</td>
<td>{$har[customer].txt}</td>
</tr>
{/if} {/section} {*$page[0].harakteriskika*}
</table>
</div>
</div>
<!-- End Tab - Вкладка с характеристиками -->
<!-- Start Tab - Вкладка с характеристиками -->
<div class="tab-pane" id="crm-end">
<div class="product-dis__content">
{include file=$tasks my_tasks=$my_end_tasks}
</div>
</div>
<!-- End Tab - Вкладка с характеристиками -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- End Product Details Tab -->
</main>
<!-- :::::: End MainContainer Wrapper :::::: -->
<!-- Модальное окно добавления задачи -->
<div class="modal fade" id="new_task" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-xl" role="document">
<div class="modal-content">
<div class="modal-body">
<div class="container-fluid">
<div class="row">
<div class="col text-right">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true"> <i class="fal fa-times"></i></span>
</button>
</div>
</div>
<div class="row">
<h2>Озадачить</h2>
<h4>Ответственный</h4>
<form action="" method="post">
<select name="isp" class="form-select mb-3">
{section name=customer loop=$users}{if $users[customer].id}
<option value="{$users[customer].id}">{$users[customer].fio}</option>
{/if}{/section}
</select>
<textarea name="txt" class="form-control mb-3" style="height: 100px;" placeholder="Задача"></textarea>
<input type="text" name="t" class="form-control mb-3" placeholder="Срок" id="datepicker">
<h4 class="mb-3">Приоритет</h4>
<select name="prioritet" class="form-select mb-3">
<option value="Низкий">Низкий</option>
<option value="Обычный">Обычный</option>
<option value="Высокий">Высокий</option>
</select>
<button class="btn btn--small btn--radius btn--green btn--green-hover-black btn--uppercase font--bold mb-3" type="submit">Сохранить</button>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- End Модальное окно добавления задачи -->
<!-- Модальное окно добавления коментария -->
<div class="modal fade" id="new_comment" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-xl" role="document">
<div class="modal-content">
<div class="modal-body">
<div class="container-fluid">
<div class="row">
<div class="col text-right">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true"> <i class="fal fa-times"></i></span>
</button>
</div>
</div>
<div class="row p-3">
<input type="hidden" id="input_task_id">
<textarea name="txt" id="textarea_comment_txt" class="form-control mb-3" style="height: 300px;" placeholder="Коментарий"></textarea>
<button class="btn btn--small btn--radius btn--green btn--green-hover-black btn--uppercase font--bold mb-3" id="btn-save-comment">Сохранить</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- End Модальное окно добавления коментария -->
<!-- Модальное окно просмотра комментов -->
<div class="modal fade" id="show_comments" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-xl" role="document">
<div class="modal-content">
<div class="modal-body">
<div class="container-fluid">
<div class="row">
<div class="col text-right">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true"> <i class="fal fa-times"></i></span>
</button>
</div>
</div>
<div class="row p-3" id="listComments">
</div>
</div>
</div>
</div>
</div>
</div>
<!-- End Модальное окно просмотра комментов -->
<!-- Модальное окно отложить -->
<div class="modal fade" id="modal_change_srok" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-xl" role="document">
<div class="modal-content">
<div class="modal-body">
<div class="container-fluid">
<div class="row">
<div class="col text-right">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true"> <i class="fal fa-times"></i></span>
</button>
</div>
</div>
<div class="row p-3">
<h3>Изменить срок:</h3>
<input type="text" name="t" class="form-control mb-3" placeholder="Срок" id="datepicker2">
<button class="btn btn--small btn--radius btn--green btn--green-hover-black btn--uppercase font--bold mb-3" type="button" id="btn-change-srok">Сохранить</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- End Модальное окно отложить -->
{include file=$footer}