mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 14:12:44 +01:00
Remove redundant vue files
This commit is contained in:
parent
59514f49b9
commit
84165cfaba
@ -1,57 +0,0 @@
|
||||
@extends('layouts.master', ['header' => $header])
|
||||
|
||||
@section('body')
|
||||
<main class="main" id="client_create">
|
||||
|
||||
<form @submit.prevent="onSubmit" @keydown="form.errors.clear($event.target.name)">
|
||||
<div class="container-fluid">
|
||||
|
||||
<vue-toastr ref="toastr"></vue-toastr>
|
||||
|
||||
<div class="row">
|
||||
<!-- Client Details and Address Column -->
|
||||
<div class="col-md-6">
|
||||
|
||||
@include('client.partial.client_details', $client)
|
||||
|
||||
@include('client.partial.client_location')
|
||||
|
||||
</div>
|
||||
<!-- End Client Details and Address Column -->
|
||||
|
||||
<!-- Contact Details Column -->
|
||||
<div class="col-md-6">
|
||||
<div class="card">
|
||||
<div class="card-header bg-primary2">{{ trans('texts.contact_information') }}
|
||||
<span class="float-right">
|
||||
<button type="button" class="btn btn-primary btn-sm" @click="add()"><i class="fa fa-plus-circle"></i> {{ trans('texts.add_contact') }}</button>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<template v-for="(contact, key, index) in form.contacts">
|
||||
@include('client.partial.contact_details')
|
||||
</template>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- End Contact Details Column -->
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12 text-center">
|
||||
<button class="btn btn-lg btn-success" type="button" @click="onSubmit"><i class="fa fa-save"></i> {{ trans('texts.save') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
</main>
|
||||
<script>
|
||||
var client_object = {!! $client !!};
|
||||
var hashed_id = '';
|
||||
</script>
|
||||
|
||||
<script defer src=" {{ mix('/js/client_create.min.js') }}"></script>
|
||||
@endsection
|
@ -1,73 +0,0 @@
|
||||
@extends('layouts.master', ['header' => $header])
|
||||
|
||||
@section('body')
|
||||
|
||||
<main class="main" id="client_edit">
|
||||
|
||||
<vue-toastr ref="toastr"></vue-toastr>
|
||||
|
||||
<div class="container-fluid">
|
||||
|
||||
<div class="col" style="padding: 0px;">
|
||||
<ul class="nav nav-pills mb-1" id="pills-tab" role="tablist">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active show" id="pills-home-tab" data-toggle="pill" href="#pills-home" role="tab" aria-controls="pills-home" aria-selected="true"><i class="icon-user"></i> {{ ctrans('texts.client') }}</a>
|
||||
</li>
|
||||
|
||||
@foreach($pills as $pill)
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" id="pills-{{ $pill['alias'] }}-tab" data-toggle="pill" href="#pills-{{ $pill['alias'] }}" role="tab" aria-controls="pills-{{ $pill['alias'] }}" aria-selected="false"><i class="icon-{{$pill['icon'] }}"></i> {{ $pill['name'] }}</a>
|
||||
</li>
|
||||
|
||||
@endforeach
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" id="pills-settings-tab" data-toggle="pill" href="#pills-settings" role="tab" aria-controls="pills-settings" aria-selected="false"><i class="icon-settings"></i> {{ ctrans('texts.settings') }}</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<div class="tab-content" id="pills-tabContent" style="margin-top:20px; background:#fff;">
|
||||
|
||||
<div class="tab-pane fade active show" id="pills-home" role="tabpanel" aria-labelledby="pills-home-tab" style="background-color: #fff; padding: 0px;">
|
||||
|
||||
<client-edit-form :company="{{ $company }}" :clientdata="{{ $client }}" :hashed_id="'{{ $hashed_id }}'" :countries="{{ $countries }}"></client-edit-form>
|
||||
|
||||
</div>
|
||||
|
||||
@foreach($pills as $pill)
|
||||
|
||||
<div class="tab-pane fade" id="pills-{{ $pill['alias'] }}" role="tabpanel" aria-labelledby="pills-{{ $pill['alias'] }}-tab">
|
||||
|
||||
@include($pill['alias'] . '::.edit')
|
||||
|
||||
</div>
|
||||
|
||||
@endforeach
|
||||
|
||||
<div class="tab-pane fade" id="pills-settings" role="tabpanel" aria-labelledby="pills-settings-tab" style="background-color: #fff; padding: 0px;">
|
||||
|
||||
<client-settings
|
||||
:client_settings="{{ $settings }}"
|
||||
:currencies="{{ $currencies }}"
|
||||
:languages="{{ $languages }}"
|
||||
:payment_terms="{{ $payment_terms }}"
|
||||
:industries="{{ $industries }}"
|
||||
:sizes="{{ $sizes }}"
|
||||
:company="{{ $company }}"
|
||||
>
|
||||
</client-settings>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<script src=" {{ mix('/js/client_edit.min.js') }}"></script>
|
||||
|
||||
@endsection
|
@ -1,36 +0,0 @@
|
||||
@extends('layouts.master', ['header' => $header])
|
||||
|
||||
@section('head')
|
||||
@parent
|
||||
<link rel="stylesheet" href="//cdn.datatables.net/1.10.18/css/dataTables.bootstrap4.min.css">
|
||||
<script src="//cdn.datatables.net/1.10.18/js/jquery.dataTables.min.js"></script>
|
||||
<script src="//cdn.datatables.net/1.10.18/js/dataTables.bootstrap4.min.js"></script>
|
||||
@endsection
|
||||
|
||||
@section('body')
|
||||
@parent
|
||||
<main class="main" >
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<button class="btn btn-primary btn-lg pull-right">{{ trans('texts.new_client') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="ui-view" style="padding-top:20px;">
|
||||
<div class="animated fadeIn">
|
||||
<div class="col-md-12 card">
|
||||
|
||||
{!! $html->table() !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
@endsection
|
||||
|
||||
@section('footer')
|
||||
@parent
|
||||
{!! $html->scripts() !!}
|
||||
@endsection
|
@ -1,52 +0,0 @@
|
||||
<div class="card">
|
||||
<div class="card-header bg-primary2">trans('texts.edit_client')</div>
|
||||
<div class="card-body">
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-sm-3 col-form-label text-right">trans('texts.client_name')</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="name" placeholder="trans('texts.name')" class="form-control" v-model="form.name">
|
||||
<div v-if="form.errors.has('name')" class="text-danger" v-text="form.errors.get('name')"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-sm-3 col-form-label text-right">trans('texts.id_number')</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="id_number" placeholder="trans('texts.id_number')" class="form-control" v-model="form.id_number">
|
||||
<div v-if="form.errors.has('id_number')" class="text-danger" v-text="form.errors.get('id_number')"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-sm-3 col-form-label text-right">trans('texts.vat_number')</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="vat_number" placeholder="trans('texts.vat_number')" class="form-control" v-model="form.vat_number">
|
||||
<div v-if="form.errors.has('vat_number')" class="text-danger" v-text="form.errors.get('vat_number')"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-sm-3 col-form-label text-right">trans('texts.website')</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="website" placeholder="trans('texts.website')" class="form-control" v-model="form.website">
|
||||
<div v-if="form.errors.has('website')" class="text-danger" v-text="form.errors.get('website')"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-sm-3 col-form-label text-right">trans('texts.custom_value1')</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="custom_value1" placeholder="trans('texts.custom_value1')" class="form-control" v-model="form.custom_value1">
|
||||
<div v-if="form.errors.has('custom_value1')" class="text-danger" v-text="form.errors.get('custom_value1')"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-sm-3 col-form-label text-right">trans('texts.custom_value2')</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="custom_value2" placeholder="trans('texts.custom_value2')" class="form-control" v-model="form.custom_value2">
|
||||
<div v-if="form.errors.has('custom_value2')" class="text-danger" v-text="form.errors.get('custom_value2')"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -1,112 +0,0 @@
|
||||
<div class="card">
|
||||
<div class="card-header bg-primary2">{{ trans('texts.address') }}</div>
|
||||
<div>
|
||||
<ul class="nav nav-tabs" role="tablist">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" data-toggle="tab" href="#billing" role="tab" aria-controls="billing">{{ trans('texts.billing_address') }}</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" data-toggle="tab" href="#shipping" role="tab" aria-controls="shipping">{{ trans('texts.shipping_address') }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane active" id="billing" role="tabpanel">
|
||||
<button type="button" class="btn btn-sm btn-light" @click="copy('copy_shipping')"> {{ trans('texts.copy_shipping') }}</button>
|
||||
<div class="card-body">
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-lg-3 col-form-label text-right">trans('texts.address1')</label>
|
||||
<div class="col-lg-9">
|
||||
<input name="address1" placeholder="trans('texts.address1')" class="form-control" v-model="form.address1">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-lg-3 col-form-label text-right">trans('texts.address2')</label>
|
||||
<div class="col-lg-9">
|
||||
<input name="address2" placeholder="trans('texts.address2')" class="form-control" v-model="form.address2" id="address2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-lg-3 col-form-label text-right">trans('texts.city')</label>
|
||||
<div class="col-lg-9">
|
||||
<input name="city" placeholder="trans('texts.city')" class="form-control" v-model="form.city" id="city">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-lg-3 col-form-label text-right">trans('texts.state')</label>
|
||||
<div class="col-lg-9">
|
||||
<input name="state" placeholder="trans('texts.state')" class="form-control" v-model="form.state" id="state">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-lg-3 col-form-label text-right">trans('texts.postal_code')</label>
|
||||
<div class="col-lg-9">
|
||||
<input name="postal_code" placeholder="trans('texts.postal_code')" class="form-control" v-model="form.postal_code" id="postal_code">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-lg-3 col-form-label text-right">trans('texts.country')</label>
|
||||
<div class="col-lg-9">
|
||||
<input name="country_id" placeholder="trans('texts.country')" class="form-control" v-model="form.country_id" id="country">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-pane" id="shipping" role="tabpanel">
|
||||
<button type="button" class="btn btn-sm btn-light" @click="copy('copy_billing')"> {{ trans('texts.copy_billing') }}</button>
|
||||
<div class="card-body">
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-lg-3 col-form-label text-right">trans('texts.address1')</label>
|
||||
<div class="col-lg-9">
|
||||
<input name="shipping_address1" placeholder="trans('texts.address1')" class="form-control" v-model="form.shipping_address1">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-lg-3 col-form-label text-right">trans('texts.address2')</label>
|
||||
<div class="col-lg-9">
|
||||
<input name="shipping_address2" placeholder="trans('texts.address2')" class="form-control" v-model="form.shipping_address2" id="address2">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-lg-3 col-form-label text-right">trans('texts.city')</label>
|
||||
<div class="col-lg-9">
|
||||
<input name="shipping_city" placeholder="trans('texts.city')" class="form-control" v-model="form.shipping_city" id="city">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-lg-3 col-form-label text-right">trans('texts.state')</label>
|
||||
<div class="col-lg-9">
|
||||
<input name="shipping_state" placeholder="trans('texts.state')" class="form-control" v-model="form.shipping_state" id="state">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-lg-3 col-form-label text-right">trans('texts.postal_code')</label>
|
||||
<div class="col-lg-9">
|
||||
<input name="shipping_postal_code" placeholder="trans('texts.postal_code')" class="form-control" v-model="form.shipping_postal_code" id="postal_code">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-lg-3 col-form-label text-right">trans('texts.country')</label>
|
||||
<div class="col-lg-9">
|
||||
<input name="shipping_country_id" placeholder="trans('texts.country')" class="form-control" v-model="form.shipping_country_id" id="country">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,66 +0,0 @@
|
||||
|
||||
<div class="col-lg-12">
|
||||
<ul class="nav nav-pills nav-justified" id="pills-tab" role="tablist">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" id="pills-address-tab" data-toggle="pill" href="#pills-address" role="tab" aria-controls="pills-address" aria-selected="true">Address</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" id="pills-contact-tab" data-toggle="pill" href="#pills-contact" role="tab" aria-controls="pills-contact" aria-selected="false">Contacts</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" id="pills-notes-tab" data-toggle="pill" href="#pills-notes" role="tab" aria-controls="pills-notes" aria-selected="false">Notes</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" id="pills-settings-tab" data-toggle="pill" href="#pills-settings" role="tab" aria-controls="pills-settings" aria-selected="false">Settings</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="tab-content" id="pills-tabContent">
|
||||
<div class="tab-pane fade show active" id="pills-address" role="tabpanel" aria-labelledby="pills-address-tab">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-6">
|
||||
@include('client.partial.client_location', ['location' => $client->primary_billing_location->first(), 'address' => 'Billing'])
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
@include('client.partial.client_location', ['location' => $client->primary_billing_location->first(), 'address' => 'Shipping'])
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tab-pane fade" id="pills-contact" role="tabpanel" aria-labelledby="pills-contact-tab">
|
||||
@foreach($client->contacts as $contact)
|
||||
@include('client.partial.contact_details', ['contact' => $contact])
|
||||
@endforeach
|
||||
</div>
|
||||
<div class="tab-pane fade" id="pills-notes" role="tabpanel" aria-labelledby="pills-notes-tab">
|
||||
<link href="https://cdn.quilljs.com/1.0.0/quill.snow.css" rel="stylesheet">
|
||||
|
||||
<!-- Create the toolbar container -->
|
||||
<div id="toolbar">
|
||||
<button class="ql-bold">Bold</button>
|
||||
<button class="ql-italic">Italic</button>
|
||||
</div>
|
||||
|
||||
<!-- Create the editor container -->
|
||||
<div id="editor">
|
||||
<p>Hello World!</p>
|
||||
</div>
|
||||
|
||||
<!-- Include the Quill library -->
|
||||
<script src="https://cdn.quilljs.com/1.0.0/quill.js"></script>
|
||||
|
||||
<!-- Initialize Quill editor -->
|
||||
<script>
|
||||
var editor = new Quill('#editor', {
|
||||
modules: { toolbar: '#toolbar' },
|
||||
theme: 'snow'
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<div class="tab-pane fade" id="pills-settings" role="tabpanel" aria-labelledby="pills-settings-tab">
|
||||
|
||||
@include('client.partial.client_settings', $client)
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -1,65 +0,0 @@
|
||||
<div class="col-lg-5">
|
||||
<div class="card">
|
||||
<div class="card-header bg-primary">trans('texts.settings')</div>
|
||||
|
||||
<div class="card-body">
|
||||
|
||||
|
||||
<fieldset class="form-group row">
|
||||
<label for="date" class="col-sm-3 col-form-label text-right">Currency</label>
|
||||
<div class="input-group col-sm-5">
|
||||
<span class="input-group-prepend">
|
||||
<span class="input-group-text">
|
||||
<i class="fa fa-usd"></i>
|
||||
</span>
|
||||
</span>
|
||||
<input class="form-control" id="date" type="text">
|
||||
</div>
|
||||
<small class="text-muted">ex. USD</small>
|
||||
</fieldset>
|
||||
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-sm-3 col-form-label text-right">trans('texts.currency')</label>
|
||||
<div class="col-sm-9">
|
||||
{{ html()->input('name')->placeholder(__('texts.client_name'))->value($client->present()->name)->class('form-control')->id('name') }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-sm-3 col-form-label text-right">trans('texts.id_number')</label>
|
||||
<div class="col-sm-9">
|
||||
{{ html()->input('id_number')->placeholder(__('texts.id_number'))->value($client->id_number)->class('form-control')->id('id_number') }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-sm-3 col-form-label text-right">trans('texts.vat_number')</label>
|
||||
<div class="col-sm-9">
|
||||
{{ html()->input('vat_number')->placeholder(__('texts.vat_number'))->value($client->vat_number)->class('form-control')->id('vat_number') }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-sm-3 col-form-label text-right">trans('texts.website')</label>
|
||||
<div class="col-sm-9">
|
||||
{{ html()->input('website')->placeholder(__('texts.website'))->value($client->website)->class('form-control')->id('website') }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-sm-3 col-form-label text-right">trans('texts.custom_value1')</label>
|
||||
<div class="col-sm-9">
|
||||
{{ html()->input('custom_value1')->placeholder(__('texts.custom_value1'))->value($client->custom_value1)->class('form-control')->id('custom_value1') }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-sm-3 col-form-label text-right">trans('texts.custom_value2')</label>
|
||||
<div class="col-sm-9">
|
||||
{{ html()->input('custom_value2')->placeholder(__('texts.custom_value2'))->value($client->custom_value2)->class('form-control')->id('custom_value2') }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -1,54 +0,0 @@
|
||||
<div class="col-lg-7">
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-lg-6">
|
||||
<div class="card">
|
||||
<div class="card-header bg-primary">Invoice statistics - All Time</div>
|
||||
<div class="card-body">
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item d-flex list-group-item-action justify-content-between align-items-center">
|
||||
Paid $12,239.00
|
||||
<a href="#" class="badge badge-success badge-pill">12</a>
|
||||
</li>
|
||||
<li class="list-group-item d-flex list-group-item-action justify-content-between align-items-center">
|
||||
Overdue $2,239.00
|
||||
<a href="#" class="badge badge-danger badge-pill">123</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6">
|
||||
<div class="card">
|
||||
<div class="card-header bg-primary">Invoice statistics - Date Range
|
||||
<div class="btn-group float-right show">
|
||||
<button class="btn btn-transparent dropdown-toggle p-0" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<i class="icon-settings"></i>
|
||||
</button>
|
||||
<div class="dropdown-menu dropdown-menu-right" x-placement="bottom-end" style="position: absolute; will-change: transform; top: 0px; left: 0px; transform: translate3d(-143px, 23px, 0px);">
|
||||
<a class="dropdown-item" href="#">Set Date Range</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item d-flex list-group-item-action justify-content-between align-items-center">
|
||||
Paid $12,239.00
|
||||
<a href="#" class="badge badge-success badge-pill">12</a>
|
||||
</li>
|
||||
<li class="list-group-item d-flex list-group-item-action justify-content-between align-items-center">
|
||||
Overdue $2,239.00
|
||||
<a href="#" class="badge badge-danger badge-pill">123</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -1,55 +0,0 @@
|
||||
<div class="card-body">
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-sm-3 col-form-label text-right">trans('texts.first_name')</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="id" type="hidden" v-model="contact.client_id" value="{{ $client->present()->id ?: -1}}">
|
||||
<input ref="first_name" name="first_name" placeholder="trans('texts.first_name')" class="form-control" v-model="contact.first_name">
|
||||
<div v-if="form.errors.has('contacts.'+key+'.first_name')" class="text-danger" v-text="form.errors.get('contacts.'+key+'.first_name')"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-sm-3 col-form-label text-right">trans('texts.last_name')</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="last_name" placeholder="trans('texts.last_name')" class="form-control" v-model="contact.last_name">
|
||||
<div v-if="form.errors.has('contacts.'+key+'.last_name')" class="text-danger" v-text="form.errors.get('contacts.'+key+'.last_name')"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-sm-3 col-form-label text-right">trans('texts.email')</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="email" placeholder="trans('texts.email')" class="form-control" v-model="contact.email">
|
||||
<div v-if="form.errors.has('contacts.'+key+'.email')" class="text-danger" v-text="form.errors.get('contacts.'+key+'.email')"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-sm-3 col-form-label text-right">trans('texts.phone')</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="phone" placeholder="trans('texts.phone')" class="form-control" v-model="contact.phone">
|
||||
<div v-if="form.errors.has('contacts.'+key+'.phone')" class="text-danger" v-text="form.errors.get('contacts.'+key+'.phone')"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-sm-3 col-form-label text-right">trans('texts.custom_value1')</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="custom_value1" placeholder="trans('texts.custom_value1')" class="form-control" v-model="contact.custom_value1">
|
||||
<div v-if="form.errors.has('contacts.'+key+'.custom_value1')" class="text-danger" v-text="form.errors.get('contacts.'+key+'.custom_value1')"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-sm-3 col-form-label text-right">trans('texts.custom_value2')</label>
|
||||
<div class="col-sm-9">
|
||||
<input name="custom_value2" placeholder="trans('texts.custom_value2')" class="form-control" v-model="contact.custom_value2">
|
||||
<div v-if="form.errors.has('contacts.'+key+'.custom_value2')" class="text-danger" v-text="form.errors.get('contacts.'+key+'.custom_value2')"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="float-right">
|
||||
<button type="button" class="btn btn-danger" v-on:click="remove(contact)"> {{ trans('texts.remove_contact') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -1 +0,0 @@
|
||||
<div id="map{!! $location->id !!}" style="height:400px; width:100%;"></div>
|
@ -1,46 +0,0 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
function initMap() {
|
||||
var locations = {!! $locations !!}
|
||||
|
||||
var maps = [];
|
||||
for (var i = 0; i < locations.length; i++) {
|
||||
console.log(locations[i][1]);
|
||||
|
||||
|
||||
var map = new google.maps.Map(document.getElementById('map' + locations[i].id ), {
|
||||
zoom: 8,
|
||||
center: {lat: -34.397, lng: 150.644}
|
||||
});
|
||||
|
||||
|
||||
var geocoder = new google.maps.Geocoder();
|
||||
var address = locations[i].address1 + ' ' + locations[i].address2+ ' ' + locations[i].city + ' ' + locations[i].state + ' ' + locations[i].postal_code + ' ' + locations[i].country;
|
||||
geocodeAddress(geocoder, map + locations[i], address);
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
initMap();
|
||||
|
||||
//google.maps.event.addDomListener(window, 'load', initMap);
|
||||
|
||||
function geocodeAddress(geocoder, resultsMap, address) {
|
||||
|
||||
geocoder.geocode({'address': address}, function(results, status) {
|
||||
if (status === 'OK') {
|
||||
resultsMap.setCenter(results[0].geometry.location);
|
||||
var marker = new google.maps.Marker({
|
||||
map: resultsMap,
|
||||
position: results[0].geometry.location
|
||||
});
|
||||
} else {
|
||||
alert('Geocode was not successful for the following reason: ' + status);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
|
@ -1,20 +0,0 @@
|
||||
@extends('layouts.master', ['header' => $header])
|
||||
|
||||
@section('body')
|
||||
<main class="main" id="client_show">
|
||||
|
||||
<vue-toastr ref="toastr"></vue-toastr>
|
||||
|
||||
<div class="container-fluid">
|
||||
|
||||
|
||||
<client-show :client="{{ $client }}" :company="{{ $company }}" :meta="{{ $meta }}"></client-show>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<script defer src=" {{ mix('/js/client_show.min.js') }}"></script>
|
||||
|
||||
@endsection
|
@ -1,32 +0,0 @@
|
||||
@extends('layouts.master', ['header' => $header])
|
||||
|
||||
@section('head')
|
||||
|
||||
@endsection
|
||||
|
||||
@section('body')
|
||||
@parent
|
||||
<main class="main" >
|
||||
|
||||
<div class="container-fluid" id="client_list">
|
||||
<vue-toastr ref="toastr"></vue-toastr>
|
||||
|
||||
<list-actions :listaction="{{ $listaction }}" :per_page_prop="{{ $datatable['per_page'] }}"></list-actions>
|
||||
|
||||
<div style="background: #fff;">
|
||||
|
||||
<client-list :datatable="{{ $datatable }}"></client-list>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
||||
<script defer src=" {{ mix('/js/client_list.min.js') }}"></script>
|
||||
|
||||
@endsection
|
||||
|
||||
@section('footer')
|
||||
|
||||
@endsection
|
@ -1,3 +0,0 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
<h1>Contact homepage</h1>
|
@ -1,286 +0,0 @@
|
||||
<aside class="aside-menu">
|
||||
<ul class="nav nav-tabs" role="tablist">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" data-toggle="tab" href="#timeline" role="tab">
|
||||
<i class="icon-list"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" data-toggle="tab" href="#messages" role="tab">
|
||||
<i class="icon-speech"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" data-toggle="tab" href="#settings" role="tab">
|
||||
<i class="icon-settings"></i>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- Tab panes-->
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane active" id="timeline" role="tabpanel">
|
||||
<div class="list-group list-group-accent">
|
||||
<div class="list-group-item list-group-item-accent-secondary bg-light text-center font-weight-bold text-muted text-uppercase small">Today</div>
|
||||
<div class="list-group-item list-group-item-accent-warning list-group-item-divider">
|
||||
<div class="avatar float-right">
|
||||
<img class="img-avatar" src="/images/logo.png" alt="admin@bootstrapmaster.com">
|
||||
</div>
|
||||
<div>Meeting with
|
||||
<strong>Lucas</strong>
|
||||
</div>
|
||||
<small class="text-muted mr-3">
|
||||
<i class="icon-calendar"></i> 1 - 3pm</small>
|
||||
<small class="text-muted">
|
||||
<i class="icon-location-pin"></i> Palo Alto, CA</small>
|
||||
</div>
|
||||
<div class="list-group-item list-group-item-accent-info">
|
||||
<div class="avatar float-right">
|
||||
<img class="img-avatar" src="/images/logo.png" alt="admin@bootstrapmaster.com">
|
||||
</div>
|
||||
<div>Skype with
|
||||
<strong>Megan</strong>
|
||||
</div>
|
||||
<small class="text-muted mr-3">
|
||||
<i class="icon-calendar"></i> 4 - 5pm</small>
|
||||
<small class="text-muted">
|
||||
<i class="icon-social-skype"></i> On-line</small>
|
||||
</div>
|
||||
<div class="list-group-item list-group-item-accent-secondary bg-light text-center font-weight-bold text-muted text-uppercase small">Tomorrow</div>
|
||||
<div class="list-group-item list-group-item-accent-danger list-group-item-divider">
|
||||
<div>New UI Project -
|
||||
<strong>deadline</strong>
|
||||
</div>
|
||||
<small class="text-muted mr-3">
|
||||
<i class="icon-calendar"></i> 10 - 11pm</small>
|
||||
<small class="text-muted">
|
||||
<i class="icon-home"></i> creativeLabs HQ</small>
|
||||
<div class="avatars-stack mt-2">
|
||||
<div class="avatar avatar-xs">
|
||||
<img class="img-avatar" src="/images/logo.png" alt="admin@bootstrapmaster.com">
|
||||
</div>
|
||||
<div class="avatar avatar-xs">
|
||||
<img class="img-avatar" src="/images/logo.png" alt="admin@bootstrapmaster.com">
|
||||
</div>
|
||||
<div class="avatar avatar-xs">
|
||||
<img class="img-avatar" src="/images/logo.png" alt="admin@bootstrapmaster.com">
|
||||
</div>
|
||||
<div class="avatar avatar-xs">
|
||||
<img class="img-avatar" src="/images/logo.png" alt="admin@bootstrapmaster.com">
|
||||
</div>
|
||||
<div class="avatar avatar-xs">
|
||||
<img class="img-avatar" src="/images/logo.png" alt="admin@bootstrapmaster.com">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="list-group-item list-group-item-accent-success list-group-item-divider">
|
||||
<div>
|
||||
<strong>#10 Startups.Garden</strong> Meetup</div>
|
||||
<small class="text-muted mr-3">
|
||||
<i class="icon-calendar"></i> 1 - 3pm</small>
|
||||
<small class="text-muted">
|
||||
<i class="icon-location-pin"></i> Palo Alto, CA</small>
|
||||
</div>
|
||||
<div class="list-group-item list-group-item-accent-primary list-group-item-divider">
|
||||
<div>
|
||||
<strong>Team meeting</strong>
|
||||
</div>
|
||||
<small class="text-muted mr-3">
|
||||
<i class="icon-calendar"></i> 4 - 6pm</small>
|
||||
<small class="text-muted">
|
||||
<i class="icon-home"></i> creativeLabs HQ</small>
|
||||
<div class="avatars-stack mt-2">
|
||||
<div class="avatar avatar-xs">
|
||||
<img class="img-avatar" src="/images/logo.png" alt="admin@bootstrapmaster.com">
|
||||
</div>
|
||||
<div class="avatar avatar-xs">
|
||||
<img class="img-avatar" src="/images/logo.png" alt="admin@bootstrapmaster.com">
|
||||
</div>
|
||||
<div class="avatar avatar-xs">
|
||||
<img class="img-avatar" src="/images/logo.png" alt="admin@bootstrapmaster.com">
|
||||
</div>
|
||||
<div class="avatar avatar-xs">
|
||||
<img class="img-avatar" src="/images/logo.png" alt="admin@bootstrapmaster.com">
|
||||
</div>
|
||||
<div class="avatar avatar-xs">
|
||||
<img class="img-avatar" src="/images/logo.png" alt="admin@bootstrapmaster.com">
|
||||
</div>
|
||||
<div class="avatar avatar-xs">
|
||||
<img class="img-avatar" src="/images/logo.png" alt="admin@bootstrapmaster.com">
|
||||
</div>
|
||||
<div class="avatar avatar-xs">
|
||||
<img class="img-avatar" src="/images/logo.png" alt="admin@bootstrapmaster.com">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-pane p-3" id="messages" role="tabpanel">
|
||||
<div class="message">
|
||||
<div class="py-3 pb-5 mr-3 float-left">
|
||||
<div class="avatar">
|
||||
<img class="img-avatar" src="/images/logo.png" alt="admin@bootstrapmaster.com">
|
||||
<span class="avatar-status badge-success"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<small class="text-muted">Lukasz Holeczek</small>
|
||||
<small class="text-muted float-right mt-1">1:52 PM</small>
|
||||
</div>
|
||||
<div class="text-truncate font-weight-bold">Lorem ipsum dolor sit amet</div>
|
||||
<small class="text-muted">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt...</small>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="message">
|
||||
<div class="py-3 pb-5 mr-3 float-left">
|
||||
<div class="avatar">
|
||||
<img class="img-avatar" src="/images/logo.png" alt="admin@bootstrapmaster.com">
|
||||
<span class="avatar-status badge-success"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<small class="text-muted">Lukasz Holeczek</small>
|
||||
<small class="text-muted float-right mt-1">1:52 PM</small>
|
||||
</div>
|
||||
<div class="text-truncate font-weight-bold">Lorem ipsum dolor sit amet</div>
|
||||
<small class="text-muted">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt...</small>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="message">
|
||||
<div class="py-3 pb-5 mr-3 float-left">
|
||||
<div class="avatar">
|
||||
<img class="img-avatar" src="/images/logo.png" alt="admin@bootstrapmaster.com">
|
||||
<span class="avatar-status badge-success"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<small class="text-muted">Lukasz Holeczek</small>
|
||||
<small class="text-muted float-right mt-1">1:52 PM</small>
|
||||
</div>
|
||||
<div class="text-truncate font-weight-bold">Lorem ipsum dolor sit amet</div>
|
||||
<small class="text-muted">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt...</small>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="message">
|
||||
<div class="py-3 pb-5 mr-3 float-left">
|
||||
<div class="avatar">
|
||||
<img class="img-avatar" src="/images/logo.png" alt="admin@bootstrapmaster.com">
|
||||
<span class="avatar-status badge-success"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<small class="text-muted">Lukasz Holeczek</small>
|
||||
<small class="text-muted float-right mt-1">1:52 PM</small>
|
||||
</div>
|
||||
<div class="text-truncate font-weight-bold">Lorem ipsum dolor sit amet</div>
|
||||
<small class="text-muted">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt...</small>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="message">
|
||||
<div class="py-3 pb-5 mr-3 float-left">
|
||||
<div class="avatar">
|
||||
<img class="img-avatar" src="/images/logo.png" alt="admin@bootstrapmaster.com">
|
||||
<span class="avatar-status badge-success"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<small class="text-muted">Lukasz Holeczek</small>
|
||||
<small class="text-muted float-right mt-1">1:52 PM</small>
|
||||
</div>
|
||||
<div class="text-truncate font-weight-bold">Lorem ipsum dolor sit amet</div>
|
||||
<small class="text-muted">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt...</small>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-pane p-3" id="settings" role="tabpanel">
|
||||
<h6>Settings</h6>
|
||||
<div class="aside-options">
|
||||
<div class="clearfix mt-4">
|
||||
<small>
|
||||
<b>Option 1</b>
|
||||
</small>
|
||||
<label class="switch switch-label switch-pill switch-success switch-sm float-right">
|
||||
<input class="switch-input" type="checkbox" checked="">
|
||||
<span class="switch-slider" data-checked="On" data-unchecked="Off"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<small class="text-muted">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</small>
|
||||
</div>
|
||||
</div>
|
||||
<div class="aside-options">
|
||||
<div class="clearfix mt-3">
|
||||
<small>
|
||||
<b>Option 2</b>
|
||||
</small>
|
||||
<label class="switch switch-label switch-pill switch-success switch-sm float-right">
|
||||
<input class="switch-input" type="checkbox">
|
||||
<span class="switch-slider" data-checked="On" data-unchecked="Off"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<small class="text-muted">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</small>
|
||||
</div>
|
||||
</div>
|
||||
<div class="aside-options">
|
||||
<div class="clearfix mt-3">
|
||||
<small>
|
||||
<b>Option 3</b>
|
||||
</small>
|
||||
<label class="switch switch-label switch-pill switch-success switch-sm float-right">
|
||||
<input class="switch-input" type="checkbox">
|
||||
<span class="switch-slider" data-checked="On" data-unchecked="Off"></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="aside-options">
|
||||
<div class="clearfix mt-3">
|
||||
<small>
|
||||
<b>Option 4</b>
|
||||
</small>
|
||||
<label class="switch switch-label switch-pill switch-success switch-sm float-right">
|
||||
<input class="switch-input" type="checkbox" checked="">
|
||||
<span class="switch-slider" data-checked="On" data-unchecked="Off"></span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<h6>System Utilization</h6>
|
||||
<div class="text-uppercase mb-1 mt-4">
|
||||
<small>
|
||||
<b>CPU Usage</b>
|
||||
</small>
|
||||
</div>
|
||||
<div class="progress progress-xs">
|
||||
<div class="progress-bar bg-info" role="progressbar" style="width: 25%" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
|
||||
</div>
|
||||
<small class="text-muted">348 Processes. 1/4 Cores.</small>
|
||||
<div class="text-uppercase mb-1 mt-2">
|
||||
<small>
|
||||
<b>Memory Usage</b>
|
||||
</small>
|
||||
</div>
|
||||
<div class="progress progress-xs">
|
||||
<div class="progress-bar bg-warning" role="progressbar" style="width: 70%" aria-valuenow="70" aria-valuemin="0" aria-valuemax="100"></div>
|
||||
</div>
|
||||
<small class="text-muted">11444GB/16384MB</small>
|
||||
<div class="text-uppercase mb-1 mt-2">
|
||||
<small>
|
||||
<b>SSD 1 Usage</b>
|
||||
</small>
|
||||
</div>
|
||||
<div class="progress progress-xs">
|
||||
<div class="progress-bar bg-danger" role="progressbar" style="width: 95%" aria-valuenow="95" aria-valuemin="0" aria-valuemax="100"></div>
|
||||
</div>
|
||||
<small class="text-muted">243GB/256GB</small>
|
||||
<div class="text-uppercase mb-1 mt-2">
|
||||
<small>
|
||||
<b>SSD 2 Usage</b>
|
||||
</small>
|
||||
</div>
|
||||
<div class="progress progress-xs">
|
||||
<div class="progress-bar bg-success" role="progressbar" style="width: 10%" aria-valuenow="10" aria-valuemin="0" aria-valuemax="100"></div>
|
||||
</div>
|
||||
<small class="text-muted">25GB/256GB</small>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
@ -1,13 +0,0 @@
|
||||
<main class="main">
|
||||
<div class="container-fluid">
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-lg-12">
|
||||
<div class="col-lg-6">test</div>
|
||||
<div class="col-lg-6">test2</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</main>
|
@ -16,9 +16,6 @@
|
||||
ga('send', 'event', category, action, this.src);
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
Vue.config.devtools = true;
|
||||
</script>
|
||||
@else
|
||||
<script>
|
||||
function gtag(){}
|
||||
|
@ -16,9 +16,6 @@
|
||||
ga('send', 'event', category, action, this.src);
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
Vue.config.devtools = true;
|
||||
</script>
|
||||
@else
|
||||
<script>
|
||||
function gtag(){}
|
||||
|
@ -20,9 +20,6 @@
|
||||
ga('send', 'event', category, action, this.src);
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
Vue.config.devtools = true;
|
||||
</script>
|
||||
@else
|
||||
<script>
|
||||
function gtag() {
|
||||
|
@ -37,9 +37,6 @@
|
||||
ga('send', 'event', category, action, this.src);
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
Vue.config.devtools = true;
|
||||
</script>
|
||||
@else
|
||||
<script>
|
||||
function gtag() {
|
||||
|
@ -46,9 +46,6 @@
|
||||
ga('send', 'event', category, action, this.src);
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
Vue.config.devtools = true;
|
||||
</script>
|
||||
@else
|
||||
<script>
|
||||
function gtag() {
|
||||
|
@ -34,9 +34,6 @@
|
||||
ga('send', 'event', category, action, this.src);
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
Vue.config.devtools = true;
|
||||
</script>
|
||||
@else
|
||||
<script>
|
||||
function gtag() {
|
||||
|
@ -37,9 +37,6 @@
|
||||
ga('send', 'event', category, action, this.src);
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
Vue.config.devtools = true;
|
||||
</script>
|
||||
@else
|
||||
<script>
|
||||
function gtag() {
|
||||
|
@ -1,19 +0,0 @@
|
||||
<div class="card" id="localization">
|
||||
<div class="card-header bg-primary2">@lang('texts.localization')</div>
|
||||
<div class="card-body">
|
||||
<div class="form-group row">
|
||||
<label for="name" class="col-sm-3 col-form-label text-right">@lang('texts.client_name')</label>
|
||||
<div class="col-sm-9">
|
||||
<v-select v-model="selected" :options="options"></v-select>
|
||||
<div v-if="form.errors.has('name')" class="text-danger" v-text="form.errors.get('name')"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
</script>
|
||||
|
||||
<script defer src=" {{ mix('/js/localization.min.js') }}"></script>
|
@ -1,142 +0,0 @@
|
||||
@extends('layouts.guest')
|
||||
|
||||
@section('body')
|
||||
|
||||
<body class="app flex-row align-items-center">
|
||||
|
||||
<div class="container" id="signup">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-6">
|
||||
<div class="card mx-4">
|
||||
<div class="card-body p-4">
|
||||
<span class="align-items-center" style="width:100%; display: block; text-align: center; padding:30px;">
|
||||
<img src="images/logo.png" width="100px" height="100px">
|
||||
</span>
|
||||
<h1 style="text-align: center;">@lang('texts.login_create_an_account')</h1>
|
||||
<p class="text-muted"></p>
|
||||
|
||||
<form method="POST" action="{{ route('signup.submit')}}">
|
||||
@csrf
|
||||
<div class="input-group mb-3">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">
|
||||
<i class="icon-user"></i>
|
||||
</span>
|
||||
</div>
|
||||
<input id="first_name" type="text" class="form-control{{ $errors->has('first_name') ? ' is-invalid' : '' }}" name="first_name" value="{{ old('first_name') }}" placeholder="@lang('texts.first_name')" required autofocus>
|
||||
@if ($errors->has('first_name'))
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $errors->first('first_name') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
|
||||
<div class="input-group mb-3">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">
|
||||
<i class="icon-user"></i>
|
||||
</span>
|
||||
</div>
|
||||
<input id="last_name" type="text" class="form-control{{ $errors->has('last_name') ? ' is-invalid' : '' }}" name="last_name" value="{{ old('last_name') }}" placeholder="@lang('texts.last_name')" required autofocus>
|
||||
@if ($errors->has('last_name'))
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $errors->first('last_name') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
|
||||
<div class="input-group mb-3">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">@</span>
|
||||
</div>
|
||||
<input id="email" type="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="{{ old('email') }}" placeholder="@lang('texts.email')" required autofocus>
|
||||
@if ($errors->has('email'))
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $errors->first('email') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
@if ($errors->has('email2'))
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $errors->first('email2') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="input-group mb-3">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">
|
||||
<i class="icon-lock"></i>
|
||||
</span>
|
||||
</div>
|
||||
<input id="password" type="password" class="form-control" {{ $errors->has('password') ? ' is-invalid' : '' }} name="password" placeholder="@lang('texts.password')" required>
|
||||
|
||||
@if ($errors->has('password'))
|
||||
<span class="invalid-feedback" role="alert">
|
||||
<strong>{{ $errors->first('password') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="form-check" style="margin-top:10px; margin-bottom: 10px;">
|
||||
<input class="form-check-input" type="checkbox" id="terms_of_service" name="terms_of_service" value="1" v-model="checked1" {{(old('terms_of_service') == "1") ? 'checked': ''}}>
|
||||
<label class="form-check-label" for="terms_of_service">
|
||||
@lang('texts.agree_to_terms', ['terms' => ''])<a href=" {{config('ninja.terms_of_service_url.' . config('ninja.environment')) }}" target="_blank">@lang('texts.terms_of_service')</a>
|
||||
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-check" style="margin-top:10px; margin-bottom: 10px;">
|
||||
<input class="form-check-input" type="checkbox" id="privacy_policy" name="privacy_policy" value="1" v-model="checked2" {{(old('privacy_policy') == "1") ? 'checked': ''}}>
|
||||
<label class="form-check-label" for="privacy_policy">
|
||||
@lang('texts.agree_to_terms', ['terms' => ''])<a href=" {{config('ninja.privacy_policy_url.' . config('ninja.environment')) }}" target="_blank">@lang('texts.privacy_policy')</a>
|
||||
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<button class="btn btn-block btn-success" type="submit" :disabled="!isDisabled">@lang('texts.create_account')</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
<div class="card-footer p-4">
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<button class="btn btn-block btn-facebook" type="button">
|
||||
<span>facebook</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<button class="btn btn-block btn-twitter" type="button">
|
||||
<span>twitter</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.6/dist/vue.js"></script>
|
||||
|
||||
<script>
|
||||
new Vue({
|
||||
el : '#signup',
|
||||
data: {
|
||||
checked1 : false,
|
||||
checked2 : false
|
||||
},
|
||||
computed: {
|
||||
isDisabled: function(){
|
||||
return (this.checked1 && this.checked2);
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
@endsection
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
@ -30,9 +30,6 @@
|
||||
ga('send', 'event', category, action, this.src);
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
Vue.config.devtools = true;
|
||||
</script>
|
||||
@else
|
||||
<script>
|
||||
function gtag() {
|
||||
|
@ -1,37 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Print Table</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name=description content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<!-- Bootstrap CSS -->
|
||||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
|
||||
<style>
|
||||
body {margin: 20px}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table class="table table-bordered table-condensed table-striped">
|
||||
@foreach($data as $row)
|
||||
@if ($row == reset($data))
|
||||
<tr>
|
||||
@foreach($row as $key => $value)
|
||||
<th>{!! $key !!}</th>
|
||||
@endforeach
|
||||
</tr>
|
||||
@endif
|
||||
<tr>
|
||||
@foreach($row as $key => $value)
|
||||
@if(is_string($value) || is_numeric($value))
|
||||
<td>{!! $value !!}</td>
|
||||
@else
|
||||
<td></td>
|
||||
@endif
|
||||
@endforeach
|
||||
</tr>
|
||||
@endforeach
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
@ -1 +0,0 @@
|
||||
(function(window,$){window.LaravelDataTables=window.LaravelDataTables||{};window.LaravelDataTables["%1$s"]=$("#%1$s").DataTable(%2$s);})(window,jQuery);
|
Loading…
Reference in New Issue
Block a user