chess/resources/views/content/dashboard/new_task_css.blade.php
Ramadhon Ikhsan Prasetya 603e31b0f4 init
2024-08-29 10:56:32 +07:00

120 lines
10 KiB
PHP

<div class="modal fade" id="newTaskCss" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" data-backdrop="static" aria-labelledby="staticBackdrop" aria-hidden="true" style="overflow: auto !important;">
<div class="modal-dialog modal-dialog-centered modal-lg" role="document">
<div class="modal-content">
<div id="znModalLoader" class="">
<div class="card card-custom bgi-no-repeat card-stretch gutter-b m-0 pb-0"
style="background-color: orange;">
<div class="card-body pl-4 pt-3 pr-3">
<button type="button" id="newTaskCss_btnClose" class="close btn btn-icon btn-sm btn-hover-light-dark" data-dismiss="modal" aria-label="Close" style="opacity: 1;">
<i aria-hidden="true" class="la la-times-circle text-white icon-3x"></i>
</button>
<form id="form_new_task_css">
<div class="row mt-13 w-100">
<div class="col-xl-9 justify-content-center bg-gray-200">
<div class="form-group row mt-5">
<label class="col-form-label col-xl-4 text-center" style="color: #8a2727;">Judul</label>
<div class="col-xl-8">
<input type="text" name="judul_" id="judul_" class="form-control form-control-sm" value="">
</div>
</div>
<div class="form-group row">
<label class="col-form-label col-xl-4 text-center" style="color: #8a2727;">Deskripsi</label>
<div class="col-xl-8">
<textarea name="deskripsi_" id="deskripsi_" cols="30" rows="7" class="form-control form-control-sm"></textarea>
</div>
</div>
<div class="form-group row">
<label class="col-form-label col-xl-4 text-center" style="color: #8a2727;">Level</label>
<div class="col-xl-8">
<select name="level_" id="level_" class="form-control form-control-sm w-100 znSelect2 select2">
@if (!empty($level))
@foreach ($level as $l)
<option value="{{ $l->id }}">{{ $l->definition }}</option>
@endforeach
@endif
</select>
</div>
</div>
<div class="form-group row">
<label class="col-form-label col-xl-4 text-center" style="color: #8a2727;">Dokumen</label>
<div class="col-xl-8">
<input type="hidden" name="row_file" id="row_file" value="0">
<div class="input-group">
<input type="text" class="form-control" placeholder="Dokumen" aria-describedby="btnGroupAddon" readonly/>
<div class="input-group-prepend"><button type="button" class="btn btn-outline-secondary btn-icon btn-icon-dark btn-hover-warning" onclick="getFile($('#row_file').val())"><i class="la la-plus-circle icon-2x"></i></button>
<input type="file" id="file_input_1_" name="file_input_1_" class="d-none" onchange="getFileUrl(this, '#dokumen1_', $('#row_file').val());" accept=".pdf,.rar,.png,.jpg,.jpeg,.ppt,.doc,.docx,.xls,.xlsx">
<input type="file" id="file_input_2_" name="file_input_2_" class="d-none" onchange="getFileUrl(this, '#dokumen2_', $('#row_file').val());" accept=".pdf,.rar,.png,.jpg,.jpeg,.ppt,.doc,.docx,.xls,.xlsx">
<input type="file" id="file_input_3_" name="file_input_3_" class="d-none" onchange="getFileUrl(this, '#dokumen3_', $('#row_file').val());" accept=".pdf,.rar,.png,.jpg,.jpeg,.ppt,.doc,.docx,.xls,.xlsx"></div>
<span class="form-text text-muted"> <code id="label_dokumen_">dokumen yang diijinkan: pdf, rar, word, excel, jpg, png</code> </span>
</div>
</div>
</div>
<div class="form-group row">
<label class="col-form-label col-xl-4 text-center" style="color: #8a2727;">&nbsp;</label>
<div class="col-xl-8">
<div class="symbol-list d-flex flex-wrap" id="dokAppend">
<div class="symbol symbol-100 bg-white">
<img alt="" id="dokumen1_" src="{{ asset('assets/media/logos/no_img.png') }}" class="img-thumbnail d-none"/>
</div>
<div class="symbol symbol-100 bg-white">
<img alt="" id="dokumen2_" src="{{ asset('assets/media/logos/no_img.png') }}" class="img-thumbnail d-none"/>
</div>
<div class="symbol symbol-100 bg-white">
<img alt="" id="dokumen3_" src="{{ asset('assets/media/logos/no_img.png') }}" class="img-thumbnail d-none"/>
</div>
</div>
</div>
</div>
<div class="form-group row justify-content-center">
<div class="alert alert-custom" role="alert">
<div class="alert-icon text-white"><i class="flaticon-warning"></i></div>
<div class="alert-text">Isi se-detail mungkin untuk memudahkan tim kami menyelesaikan permintaan anda dengan lebih baik. Silahkan cek kembali permintaan yang sudah anda input, kami akan melakukan eksekusi setelah permintaan di verifikasi oleh manajer.</div>
</div>
</div>
</div>
<div class="col-xl-3 justify-content-center text-center text-white">
<div class="form-group">&nbsp;</div>
<div class="form-group">&nbsp;</div>
<div class="form-group">
<h6>CLIENT</h6>
@if(Auth::user()->role_id==1 || Auth::user()->role_id==4 || Auth::user()->role_id==5)
<input type="hidden" name="client_id_modal_" id="client_id_modal_" value="{{ Auth::user()->client_id }}">
<h6 id="client_modal_">{{ (!empty($client))?$client->client_name:'' }}</h6>
@else
<input type="hidden" name="client_id_modal_" id="client_id_modal_" value="">
<h6 id="client_modal_"></h6>
@endif
</div>
<div class="form-group">
<h6>Project</h6>
<input type="hidden" name="project_id_modal_" id="project_id_modal_">
<h6 id="project_name_modal_">-</h6>
</div>
<div class="form-group">
<h6>User</h6>
<h6 id="user_modal_">{{ Auth::user()->full_name }}</h6>
</div>
<div class="form-group">
<h6>Request</h6>
<input type="hidden" name="req_id_modal_" id="req_id_modal_">
<h6 id="req_modal_">-</h6>
</div>
<div class="form-group">
<h6>Tanggal</h6>
<input type="hidden" name="tanggal_id_modal_" id="tanggal_id_modal_">
<h6 id="tanggal_modal_">-</h6>
</div>
<div class="form-group">&nbsp;</div>
<div class="form-group ml-6">
<button type="button" class="btn btn-sm btn-pill btn-secondary w-100 font-size-h6" style="color: #8a2727;" onclick="storeData(event)">SAVE</button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>