chess/resources/views/content/projects/detailTask.blade.php

138 lines
8.6 KiB
PHP
Raw Normal View History

2024-08-29 03:56:32 +00:00
<x-other.modal id="mDetTask" size="lg" title="Detail Task" subTitle="Detail Task" info="" :separator="true">
<x-slot name="action">
</x-slot>
<x-slot name="content">
<div class="row">
<input type="hidden" id="id_task_detail">
<input type="hidden" id="phone_number">
<input type="hidden" id="project_name_task" value="{{ $namaProject->project_name }}">
<div class="col-md-12">
<x-form.detail title="Task Name" id="task_name" value="" />
</div>
<div class="col-md-3">
<x-form.detail title="Target Date" id="due_date" value="" />
</div>
<div class="col-md-3">
<x-form.detail title="Status" id="status" value="" />
</div>
<div class="col-md-3">
<x-form.detail title="Critical Level" id="critical_level" value="" />
</div>
<div class="col-md-3">
<div class="form-group">
<label>Dokumen</label>
<p><a id="dokumen" href="#" class="btn btn-sm btn-info" target="_blank">
<i class="la la-file font-size-h6"></i> Download Dokumen
</a></p>
</div>
</div>
<div class="col-md-12">
<x-form.detail title="Task Notes" id="task_note" value="" />
</div>
<div class="col-md-6 mb-2">
<button onclick="lanjutkanTaskDetail($('#id_task_detail').val())" id="btn_lanjutkan_task_detail" class="btn btn-success font-weight-bold mr-2 d-none">Lanjutkan Task</button>
<button onclick="reminder($('#id_task_detail').val(), $('#phone_number').val())" id="btn_reminder" class="btn btn-success font-weight-bold mr-2 d-none">Reminder</button>
</div>
</div>
<div class="row">
<div class="col-md-6">
<!--begin::List Widget 4-->
<div class="card card-custom card-stretch gutter-b">
<!--begin::Header-->
<div class="card-header">
<h3 class="card-title font-size-md font-weight-bolder text-dark">Sub Task</h3>
<div class="card-toolbar">
<a href="javascript:;" id="btn_create_sub_task" class="btn btn-light-primary btn-sm font-size-sm font-weight-bolder text-dark-75" data-toggle="tooltip" title="" data-placement="left" data-original-title="Create Sub Task"><i class="la la-plus-circle"></i> Create</a>
</div>
</div>
<!--end::Header-->
<!--begin::Body-->
<div class="card-body pt-2" id="sub_task_">
<!--begin::Item-->
<div class="d-flex align-items-center" >
<!--begin::Text-->
<div class="d-flex flex-column flex-grow-1">
<a href="#" class="text-dark-75 text-hover-primary font-weight-bold font-size-lg mb-1">Create FireStone Logo</a>
<span class="text-muted font-weight-bold">Due in 2 Days</span>
</div>
<!--end::Text-->
<!--begin::Dropdown-->
<a href="javascript:;" class="btn btn-light-info btn-sm font-size-sm font-weight-bolder text-dark-75" data-toggle="tooltip" title="" data-placement="left" data-original-title="Update Sub Task"><i class="la la-edit"></i> Update</a>
<!--end::Dropdown-->
</div>
<!--end:Item-->
</div>
<!--end::Body-->
</div>
</div>
<div class="col-md-6">
<!--begin::Content-->
<div class="flex-row-fluid ml-lg-8" id="kt_chat_content">
<!--begin::Card-->
<div class="card card-custom">
<!--begin::Header-->
<div class="card-header align-items-center px-4 py-3">
<h3 class="card-title font-size-md font-weight-bolder text-dark">Comment</h3>
</div>
<!--end::Header-->
<!--begin::Body-->
<div class="card-body">
<!--begin::Scroll-->
<div class="scroll scroll-pull" data-scroll="true" data-wheel-propagation="true" data-mobile-height="350" style="height: 200px">
<!--begin::Messages-->
<div class="messages" id="comment_task">
{{-- <!--begin::Message In-->
<div class="d-flex flex-column mb-5 align-items-start">
<div class="d-flex align-items-center">
<div class="symbol symbol-circle symbol-35 mr-3">
<img alt="Pic" src="assets/media/users/300_12.jpg" />
</div>
<div>
<a href="#" class="text-dark-75 text-hover-primary font-weight-bold font-size-h6">Nich Larson</a>
<span class="text-muted font-size-sm">2 Hours</span>
</div>
</div>
<div class="mt-2 rounded p-5 bg-light-success text-dark-50 font-weight-bold font-size-lg text-left max-w-400px">How likely are you to recommend our company to your friends and family?</div>
</div>
<!--end::Message In-->
<!--begin::Message Out-->
<div class="d-flex flex-column mb-5 align-items-end">
<div class="d-flex align-items-center">
<div>
<span class="text-muted font-size-sm">3 minutes</span>
<a href="#" class="text-dark-75 text-hover-primary font-weight-bold font-size-h6">You</a>
</div>
<div class="symbol symbol-circle symbol-35 ml-3">
<img alt="Pic" src="assets/media/users/300_21.jpg" />
</div>
</div>
<div class="mt-2 rounded p-5 bg-light-primary text-dark-50 font-weight-bold font-size-lg text-right max-w-400px">Hey there, were just writing to let you know that youve been subscribed to a repository on GitHub.</div>
</div>
<!--end::Message Out--> --}}
</div>
<!--end::Messages-->
</div>
<!--end::Scroll-->
</div>
<!--end::Body-->
<!--begin::Footer-->
<div class="card-footer align-items-center">
<!--begin::Compose-->
<textarea class="form-control border-0 p-0" rows="2" id="comment_task_note" placeholder="Type a message"></textarea>
<div class="d-flex align-items-center justify-content-between mt-5">
<div class="mr-3"></div>
<div>
<button type="button" onclick="storeCommentTask($('#id_project_kb').val(),$('#id_task_detail').val())" class="btn btn-primary btn-md text-uppercase font-weight-bold chat-send py-2 px-6">Send</button>
</div>
</div>
<!--begin::Compose-->
</div>
<!--end::Footer-->
</div>
<!--end::Card-->
</div>
<!--end::Content-->
</div>
</div>
</x-slot>
</x-other.modal>