docs.blade.php 5.99 KB
@extends('layout.frontend', ['title' => 'Добавление стандартного документа - РекаМоре'])

@section('scripts')

@endsection

@section('content')
    <section class="cabinet">
        <div class="container">
            <ul class="breadcrumbs cabinet__breadcrumbs">
                <li><a href="{{ route('index') }}">Главная</a></li>
                <li><b>Личный кабинет</b></li>
            </ul>
            <div class="cabinet__wrapper">
                <div class="cabinet__side">
                    <div class="cabinet__side-toper">
                        @include('workers.emblema')

                    </div>

                    @include('workers.menu', ['item' => 1])
                </div>

                <form class="cabinet__body" action="{{ route('worker.add_document_save') }}" method="POST">
                    @csrf
                    <div class="cabinet__works-item">
                        @include('messages_error')
                        <div class="cabinet__works-spoiler active">
                            <div class="cabinet__works-spoiler-left">
                                <div class="cabinet__works-spoiler-text">Новая работа</div>
                            </div>
                            <button type="button" class="cabinet__works-spoiler-right js-parent-toggle">
                                <svg>
                                    <use xlink:href="{{ asset('images/sprite.svg#arrow-bold') }}"></use>
                                </svg>
                            </button>
                        </div>
                        <div class="cabinet__works-body">
                            <div class="cabinet__inputs">
                                <input type="hidden" name="worker_id" id="worker_id" value="{{ $worker->id }}"/>
                                <div class="cabinet__inputs-item form-group">
                                    <label class="form-group__label">Должность</label>
                                    <div class="form-group__item">
                                        <input type="text" name="job_title" id="job_title" class="input" value="Не указано">
                                    </div>
                                </div>
                                <div class="cabinet__inputs-item form-group">
                                    <label class="form-group__label">Опыт работы в танкерном флоте</label>
                                    <div class="form-group__item">
                                        <select class="js-select2" name="tanker" id="tanker">
                                            <option value="0">Нет</option>
                                            <option value="1">Да</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="cabinet__inputs-item form-group">
                                    <label class="form-group__label">Название теплохода</label>
                                    <div class="form-group__item">
                                        <input type="text" name="teplohod" id="teplohod" class="input" value="Не указано">
                                    </div>
                                </div>
                                <div class="cabinet__inputs-item form-group">
                                    <label class="form-group__label">Тип (GWT)</label>
                                    <div class="form-group__item">
                                        <input type="text" name="GWT" id="GWT" class="input" value="Не указано">
                                    </div>
                                </div>
                                <div class="cabinet__inputs-item form-group">
                                    <label class="form-group__label">ГД (кВТ)</label>
                                    <div class="form-group__item">
                                        <input type="text" name="KBT" id="KBT" class="input" value="Не указано">
                                    </div>
                                </div>
                                <div class="cabinet__inputs-item form-group">
                                    <label class="form-group__label">Начало контракта</label>
                                    <div class="form-group__item">
                                        <input type="text" name="Begin_work" id="Begin_work" class="input" value="Не указано">
                                    </div>
                                </div>
                                <div class="cabinet__inputs-item form-group">
                                    <label class="form-group__label">Окончание контракта</label>
                                    <div class="form-group__item">
                                        <input type="text" name="End_work" id="End_work" class="input" value="Не указано">
                                    </div>
                                </div>
                                <div class="cabinet__inputs-item form-group">
                                    <label class="form-group__label">Название компании</label>
                                    <div class="form-group__item">
                                        <input type="text" name="name_company" id="name_company" class="input" value="Не указано">
                                    </div>
                                </div>
                                <button type="submit" class="button">Сохранить</button>
                                <a href="{{ route('worker.cabinet') }}" class="button">Назад</a>
                            </div>
                        </div>
                    </div>
            </form>
        </div>
        </div>
    </section>
    </div>
@endsection