noble/resources/views/pages/email/compose.blade.php

167 lines
6.9 KiB
PHP
Raw Permalink Normal View History

2023-05-16 15:54:23 +03:00
@extends('layout.master')
@push('plugin-styles')
<link href="{{ asset('assets/plugins/select2/select2.min.css') }}" rel="stylesheet" />
<link href="{{ asset('assets/plugins/easymde/easymde.min.css') }}" rel="stylesheet" />
@endpush
@section('content')
<div class="row inbox-wrapper">
<div class="col-lg-12">
<div class="card">
<div class="card-body">
<div class="row">
<div class="col-lg-3 border-end-lg">
<div class="aside-content">
<div class="d-flex align-items-center justify-content-between">
<button class="navbar-toggle btn btn-icon border d-block d-lg-none" data-bs-target=".email-aside-nav" data-bs-toggle="collapse" type="button">
<span class="icon"><i data-feather="chevron-down"></i></span>
</button>
<div class="order-first">
<h4>Mail Service</h4>
<p class="text-muted">amiahburton@gmail.com</p>
</div>
</div>
<div class="d-grid my-3">
<a class="btn btn-primary" href="{{ url('/email/compose') }}">Compose Email</a>
</div>
<div class="email-aside-nav collapse">
<ul class="nav flex-column">
<li class="nav-item">
<a class="nav-link d-flex align-items-center" href="{{ url('/email/inbox') }}">
<i data-feather="inbox" class="icon-lg me-2"></i>
Inbox
<span class="badge bg-danger fw-bolder ms-auto">2
</a>
</li>
<li class="nav-item active">
<a class="nav-link d-flex align-items-center" href="#">
<i data-feather="mail" class="icon-lg me-2"></i>
Sent Mail
</a>
</li>
<li class="nav-item">
<a class="nav-link d-flex align-items-center" href="#">
<i data-feather="briefcase" class="icon-lg me-2"></i>
Important
<span class="badge bg-secondary fw-bolder ms-auto">4
</a>
</li>
<li class="nav-item">
<a class="nav-link d-flex align-items-center" href="#">
<i data-feather="file" class="icon-lg me-2"></i>
Drafts
</a>
</li>
<li class="nav-item">
<a class="nav-link d-flex align-items-center" href="#">
<i data-feather="star" class="icon-lg me-2"></i>
Tags
</a>
</li>
<li class="nav-item">
<a class="nav-link d-flex align-items-center" href="#">
<i data-feather="trash" class="icon-lg me-2"></i>
Trash
</a>
</li>
</ul>
<p class="text-muted tx-12 fw-bolder text-uppercase mb-2 mt-4">Labels</p>
<ul class="nav flex-column">
<li class="nav-item">
<a class="nav-link d-flex align-items-center" href="#">
<i data-feather="tag" class="text-warning icon-lg me-2"></i>
Important
</a>
</li>
<li class="nav-item">
<a class="nav-link d-flex align-items-center" href="#">
<i data-feather="tag" class="text-primary icon-lg me-2"></i>
Business
</a>
</li>
<li class="nav-item">
<a class="nav-link d-flex align-items-center" href="#">
<i data-feather="tag" class="text-info icon-lg me-2"></i>
Inspiration
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-lg-9">
<div>
<div class="d-flex align-items-center p-3 border-bottom tx-16">
<span data-feather="edit" class="icon-md me-2"></span>
New message
</div>
</div>
<div class="p-3 pb-0">
<div class="to">
<div class="row mb-3">
<label class="col-md-2 col-form-label">To:</label>
<div class="col-md-10">
<select class="compose-multiple-select form-select" multiple="multiple">
<option value="AL">Alabama</option>
<option value="WY">Wyoming</option>
<option value="AM">America</option>
<option value="CA">Canada</option>
<option value="RU">Russia</option>
</select>
</div>
</div>
</div>
<div class="to cc">
<div class="row mb-3">
<label class="col-md-2 col-form-label">Cc</label>
<div class="col-md-10">
<select class="compose-multiple-select form-select" multiple="multiple">
<option value="Alabama">Alabama</option>
<option value="Alaska" selected="selected">Alaska</option>
<option value="Melbourne">Melbourne</option>
<option value="Victoria" selected="selected">Victoria</option>
<option value="Newyork">Newyork</option>
</select>
</div>
</div>
</div>
<div class="subject">
<div class="row mb-3">
<label class="col-md-2 col-form-label">Subject</label>
<div class="col-md-10">
<input class="form-control" type="text">
</div>
</div>
</div>
</div>
<div class="px-3">
<div class="col-md-12">
<div class="mb-3">
<label class="form-label visually-hidden" for="easyMdeEditor">Descriptions </label>
<textarea class="form-control" name="easymde" id="easyMdeEditor" rows="5"></textarea>
</div>
</div>
<div>
<div class="col-md-12">
<button class="btn btn-primary me-1 mb-1" type="submit"> Send</button>
<button class="btn btn-secondary me-1 mb-1" type="button"> Cancel</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@endsection
@push('plugin-scripts')
<script src="{{ asset('assets/plugins/select2/select2.min.js') }}"></script>
<script src="{{ asset('assets/plugins/easymde/easymde.min.js') }}"></script>
@endpush
@push('custom-scripts')
<script src="{{ asset('assets/js/email.js') }}"></script>
@endpush