[WIP] Setup of skeleton
This commit is contained in:
30
resources/views/auth/firstlogin.blade.php
Normal file
30
resources/views/auth/firstlogin.blade.php
Normal file
@@ -0,0 +1,30 @@
|
||||
@extends('boilerplate::auth.layout', [
|
||||
'title' => __('boilerplate::auth.firstlogin.title'),
|
||||
'bodyClass' => 'hold-transition login-page'
|
||||
])
|
||||
|
||||
@section('content')
|
||||
@component('boilerplate::auth.loginbox')
|
||||
{{ Form::open(['route' => 'boilerplate.users.firstlogin', 'autocomplete' => 'off']) }}
|
||||
<input type="hidden" name="token" value="{{ $token }}">
|
||||
<div class="alert alert-info">
|
||||
<p>{{ __('boilerplate::auth.firstlogin.intro') }}</p>
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('password') ? 'has-error' : '' }}">
|
||||
{{ Form::label('password', __('boilerplate::auth.fields.password')) }}
|
||||
{{ Form::input('password', 'password', Request::old('password'), ['class' => 'form-control', 'autofocus']) }}
|
||||
{!! $errors->first('password','<p class="text-danger">:message</p>') !!}
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('password_confirmation') ? 'has-error' : '' }}">
|
||||
{{ Form::label('password_confirmation', __('boilerplate::auth.fields.password_confirm')) }}
|
||||
{{ Form::input('password', 'password_confirmation', Request::old('password_confirmation'), ['class' => 'form-control']) }}
|
||||
{!! $errors->first('password_confirmation','<p class="text-danger">:message</p>') !!}
|
||||
</div>
|
||||
<div class="form-group text-center">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
{{ __('boilerplate::auth.firstlogin.button') }}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
@endcomponent
|
||||
@endsection
|
||||
18
resources/views/auth/layout.blade.php
Normal file
18
resources/views/auth/layout.blade.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ App::getLocale() }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<title>{{ $title }} | {{ config('app.name') }}</title>
|
||||
<link rel="stylesheet" href="{{ mix('/boilerplate.min.css', '/assets/vendor/boilerplate') }}">
|
||||
@stack('css')
|
||||
</head>
|
||||
<body class="{{ $bodyClass ?? 'login-page'}}">
|
||||
@yield('content')
|
||||
<script src="{{ mix('/boilerplate.min.js', '/assets/vendor/boilerplate') }}"></script>
|
||||
@stack('js')
|
||||
</body>
|
||||
</html>
|
||||
51
resources/views/auth/login.blade.php
Normal file
51
resources/views/auth/login.blade.php
Normal file
@@ -0,0 +1,51 @@
|
||||
@extends('auth.layout', [
|
||||
'title' => __('boilerplate::auth.login.title'),
|
||||
'bodyClass' => 'hold-transition login-page'
|
||||
])
|
||||
|
||||
@prepend('js')
|
||||
@include('components.js.ie11')
|
||||
@include('components.js', ['js' => '/js/main.min.js'])
|
||||
@endprepend
|
||||
|
||||
@push('css')
|
||||
@include('components.css', ['css' => '/css/main.min.css'])
|
||||
@endpush
|
||||
|
||||
@section('content')
|
||||
@component('auth.loginbox')
|
||||
{!! Form::open(['route' => 'boilerplate.login', 'method' => 'post', 'autocomplete'=> 'off']) !!}
|
||||
<div class="form-group has-feedback">
|
||||
<div class="form-group {{ $errors->has('email') ? 'has-error' : '' }}">
|
||||
{{ Form::email('email', old('email'), ['class' => 'form-control', 'placeholder' => __('boilerplate::auth.fields.email'), 'required', 'autofocus']) }}
|
||||
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
|
||||
{!! $errors->first('email','<p class="text-danger"><strong>:message</strong></p>') !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group has-feedback">
|
||||
<div class="form-group {{ $errors->has('password') ? 'has-error' : '' }}">
|
||||
{{ Form::password('password', ['class' => 'form-control', 'placeholder' => __('boilerplate::auth.fields.password')]) }}
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
||||
{!! $errors->first('password','<p class="text-danger"><strong>:message</strong></p>') !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">
|
||||
<div class="checkbox icheck">
|
||||
<label style="padding-left: 0">
|
||||
<input type="checkbox" name="remember" class="icheck" {{ old('remember') ? 'checked' : '' }}>
|
||||
{{ __('boilerplate::auth.login.rememberme') }}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4 mbs">
|
||||
<button type="submit" class="btn btn-primary btn-block btn-flat">{{ __('boilerplate::auth.login.signin') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
<a href="{{ route('boilerplate.password.request') }}">{{ __('boilerplate::auth.login.forgotpassword') }}</a><br>
|
||||
@if(config('boilerplate.auth.register'))
|
||||
<a href="{{ route('boilerplate.register') }}" class="text-center">{{ __('boilerplate::auth.login.register') }}</a>
|
||||
@endif
|
||||
@endcomponent
|
||||
@endsection
|
||||
8
resources/views/auth/loginbox.blade.php
Normal file
8
resources/views/auth/loginbox.blade.php
Normal file
@@ -0,0 +1,8 @@
|
||||
@if (config('app.name') == 'CRM')
|
||||
@include('auth.crm')
|
||||
|
||||
@endif
|
||||
|
||||
@if (config('app.name') == 'HestImmo')
|
||||
@include('auth.hestimmo')
|
||||
@endif
|
||||
28
resources/views/auth/passwords/email.blade.php
Normal file
28
resources/views/auth/passwords/email.blade.php
Normal file
@@ -0,0 +1,28 @@
|
||||
@extends('boilerplate::auth.layout', ['title' => __('boilerplate::auth.password.title'), 'bodyClass' => 'hold-transition login-page'])
|
||||
|
||||
@section('content')
|
||||
@component('boilerplate::auth.loginbox')
|
||||
<p class="login-box-msg">{{ __('boilerplate::auth.password.intro') }}</p>
|
||||
@if (session('status'))
|
||||
<div class="alert alert-success">
|
||||
{{ session('status') }}
|
||||
</div>
|
||||
@endif
|
||||
{!! Form::open(['route' => 'boilerplate.password.email', 'method' => 'post', 'autocomplete'=> 'off']) !!}
|
||||
<div class="form-group {{ $errors->has('email') ? 'has-error' : '' }}">
|
||||
{{ Form::email('email', old('email'), ['class' => 'form-control', 'placeholder' => __('boilerplate::auth.fields.email'), 'required', 'autofocus']) }}
|
||||
{!! $errors->first('email','<p class="text-danger"><strong>:message</strong></p>') !!}
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 text-center">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
{{ __('boilerplate::auth.password.submit') }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
<a href="{{ route('boilerplate.login') }}">{{ __('boilerplate::auth.password.login_link') }}</a><br>
|
||||
@endcomponent
|
||||
@endsection
|
||||
27
resources/views/auth/passwords/reset.blade.php
Normal file
27
resources/views/auth/passwords/reset.blade.php
Normal file
@@ -0,0 +1,27 @@
|
||||
@extends('boilerplate::auth.layout', ['title' => __('boilerplate::auth.password_reset.title')])
|
||||
|
||||
@section('content')
|
||||
@component('boilerplate::auth.loginbox')
|
||||
<p class="login-box-msg">{{ __('boilerplate::auth.password_reset.intro') }}</p>
|
||||
{!! Form::open(['route' => 'boilerplate.password.reset.post', 'method' => 'post', 'autocomplete'=> 'off']) !!}
|
||||
{!! Form::hidden('token', $token) !!}
|
||||
<div class="form-group {{ $errors->has('email') ? 'has-error' : '' }}">
|
||||
{{ Form::email('email', old('email', $email), ['class' => 'form-control', 'placeholder' => __('boilerplate::auth.fields.email'), 'required', 'autofocus']) }}
|
||||
{!! $errors->first('email','<p class="text-danger"><strong>:message</strong></p>') !!}
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('password') ? 'has-error' : '' }}">
|
||||
{{ Form::password('password', ['class' => 'form-control', 'placeholder' => __('boilerplate::auth.fields.password'), 'required']) }}
|
||||
{!! $errors->first('password','<p class="text-danger"><strong>:message</strong></p>') !!}
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('password_confirmation') ? 'has-error' : '' }}">
|
||||
{{ Form::password('password_confirmation', ['class' => 'form-control', 'placeholder' => __('boilerplate::auth.fields.password_confirm'), 'required']) }}
|
||||
{!! $errors->first('password_confirmation','<p class="text-danger"><strong>:message</strong></p>') !!}
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 text-center">
|
||||
<button class="btn btn-primary" type="submit">{{ __('boilerplate::auth.password_reset.submit') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
@endcomponent
|
||||
@endsection
|
||||
39
resources/views/auth/register.blade.php
Normal file
39
resources/views/auth/register.blade.php
Normal file
@@ -0,0 +1,39 @@
|
||||
@extends('boilerplate::auth.layout', ['title' => __('boilerplate::auth.register.title'), 'bodyClass' => 'hold-transition login-page'])
|
||||
|
||||
@section('content')
|
||||
@component('boilerplate::auth.loginbox')
|
||||
<p class="login-box-msg">{{ __('boilerplate::auth.register.intro') }}</p>
|
||||
{!! Form::open(['route' => 'boilerplate.register', 'method' => 'post', 'autocomplete'=> 'off']) !!}
|
||||
<div class="form-group {{ $errors->has('first_name') ? 'has-error' : '' }}">
|
||||
{{ Form::text('first_name', old('first_name'), ['class' => 'form-control', 'placeholder' => __('boilerplate::auth.fields.first_name'), 'required', 'autofocus']) }}
|
||||
{!! $errors->first('first_name','<p class="text-danger"><strong>:message</strong></p>') !!}
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('last_name') ? 'has-error' : '' }}">
|
||||
{{ Form::text('last_name', old('last_name'), ['class' => 'form-control', 'placeholder' => __('boilerplate::auth.fields.last_name'), 'required']) }}
|
||||
{!! $errors->first('last_name','<p class="text-danger"><strong>:message</strong></p>') !!}
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('email') ? 'has-error' : '' }}">
|
||||
{{ Form::email('email', old('email'), ['class' => 'form-control', 'placeholder' => __('boilerplate::auth.fields.email'), 'required']) }}
|
||||
{!! $errors->first('email','<p class="text-danger"><strong>:message</strong></p>') !!}
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('password') ? 'has-error' : '' }}">
|
||||
{{ Form::password('password', ['class' => 'form-control', 'placeholder' => __('boilerplate::auth.fields.password'), 'required']) }}
|
||||
{!! $errors->first('password','<p class="text-danger"><strong>:message</strong></p>') !!}
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('password_confirmation') ? 'has-error' : '' }}">
|
||||
{{ Form::password('password_confirmation', ['class' => 'form-control', 'placeholder' => __('boilerplate::auth.fields.password_confirm'), 'required']) }}
|
||||
{!! $errors->first('password_confirmation','<p class="text-danger"><strong>:message</strong></p>') !!}
|
||||
</div>
|
||||
<div class="row mbm">
|
||||
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 text-center">
|
||||
<button type="submit" class="btn btn-primary">
|
||||
{{ __('boilerplate::auth.register.register_button') }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
@if(!$firstUser)
|
||||
<a href="{{ route('boilerplate.login') }}">{{ __('boilerplate::auth.register.login_link') }}</a><br>
|
||||
@endif
|
||||
@endcomponent
|
||||
@endsection
|
||||
24
resources/views/auth/verify.blade.php
Normal file
24
resources/views/auth/verify.blade.php
Normal file
@@ -0,0 +1,24 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="card">
|
||||
<div class="card-header">{{ __('Verify Your Email Address') }}</div>
|
||||
|
||||
<div class="card-body">
|
||||
@if (session('resent'))
|
||||
<div class="alert alert-success" role="alert">
|
||||
{{ __('A fresh verification link has been sent to your email address.') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{{ __('Before proceeding, please check your email for a verification link.') }}
|
||||
{{ __('If you did not receive the email') }}, <a href="{{ route('verification.resend') }}">{{ __('click here to request another') }}</a>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
32
resources/views/components/address.blade.php
Normal file
32
resources/views/components/address.blade.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<div class="form-group {{ $errors->has('addresse') ? 'has-error' : '' }}">
|
||||
|
||||
{{ Form::label('adresse', 'Adresse') }}
|
||||
<input name="adresse" id="adresse" class="form-control" value="@if (isset($adresse)) {{ $adresse }}@endif">
|
||||
|
||||
{{ Form::label('complement_adresse', 'Complément d\'adresse') }}
|
||||
<input name="complement_adresse" id="complement_adresse" class="form-control" value="@if (isset($complement_adresse)){{ $complement_adresse }}@endif">
|
||||
|
||||
<div class="row m-top-8">
|
||||
<div class="col-md-4">
|
||||
{{ Form::label('code_postal', 'Code postal') }}
|
||||
<input type="text" name="code_postal" id="code_postal" class="form-control" value="@if (isset($code_postal)){{ $code_postal }}@endif">
|
||||
</div>
|
||||
|
||||
<div class="col-md-8">
|
||||
{{ Form::label('ville', 'Ville') }}
|
||||
@include('components.city', ['name' => $ville])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="lattitude" id="lattitude" value="">
|
||||
<input type="hidden" name="longitude" id="longitude" value="">
|
||||
|
||||
</div>
|
||||
|
||||
@include('boilerplate::load.select2')
|
||||
|
||||
@push('js')
|
||||
<!-- Include Google Maps JS API -->
|
||||
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?libraries=places&key={{ env('GOOGLE_GEOLOCATION_API_KEY') }}"></script>
|
||||
<script type="text/javascript" src="autocomplete.js"></script>
|
||||
@endpush
|
||||
1
resources/views/components/button-add.blade.php
Normal file
1
resources/views/components/button-add.blade.php
Normal file
@@ -0,0 +1 @@
|
||||
<button @if (isset($type))type="{{ $type }}"@else type="button"@endif class="btn btn-success @if (isset($class)){{ $class }}@endif" @if (isset($id)) id="{{ $id }}"@endif><i class="fa fa-plus"></i></button>
|
||||
3
resources/views/components/button-delete.blade.php
Normal file
3
resources/views/components/button-delete.blade.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<button @if (isset($type))type="{{ $type }}"@else type="button"@endif class="btn btn-danger @if (isset($class)){{ $class }}@endif" @if (isset($id)) id="{{ $id }}"@endif>
|
||||
<i class="fa @if (isset($icon)){{ $icon }}@else fa-trash @endif"></i>
|
||||
</button>
|
||||
3
resources/views/components/button-save.blade.php
Normal file
3
resources/views/components/button-save.blade.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<button @if (isset($type))type="{{ $type }}"@else type="submit"@endif class="btn btn-primary save @if (isset($class)){{ $class }}@endif" @if (isset($id_name)) id="{{ $id_name }}"@endif>
|
||||
<i class="fa fa-fw fa-save"></i> Enregistrer
|
||||
</button>
|
||||
37
resources/views/components/carousel-modal.blade.php
Normal file
37
resources/views/components/carousel-modal.blade.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<div class="modal fade" id="modal-gallery" tabindex="-1" role="dialog" aria-hidden="true" style="height: 100%;">
|
||||
<div class="modal-dialog" role="document" style="width: 98%; height: 92%; padding: 0;">
|
||||
<div class="modal-content" style="height: 100%; border-radius: 0;">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body" style="height: 90%;">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
function handle_gallery(gallery, carousel, selector) {
|
||||
/* activate the carousel */
|
||||
$(carousel).carousel({interval:false});
|
||||
|
||||
/* change modal title when slide changes */
|
||||
$(carousel).on('slid.bs.carousel', function () {
|
||||
$('.modal-title').html($(this).find('.active').attr("title"));
|
||||
});
|
||||
|
||||
/* when clicking a thumbnail */
|
||||
$(selector + ' .item').click(function(){
|
||||
var idx = $(this).data('index');
|
||||
var id = parseInt(idx);
|
||||
// alert(id);
|
||||
$(gallery).modal('show'); // show the modal
|
||||
$(carousel).carousel(id); // slide carousel to selected
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
45
resources/views/components/carousel.blade.php
Normal file
45
resources/views/components/carousel.blade.php
Normal file
@@ -0,0 +1,45 @@
|
||||
<div class="row" style="height: 100%;">
|
||||
<div class="col-md-12" style="height: 100%;">
|
||||
<div @if (isset($id_name)) id="{{ $id_name }}" @endif class="carousel slide" data-ride="carousel" style="height: 100%;" data-id="@if (isset($id)){{ $id }}@endif">
|
||||
<div class="carousel-inner" role="listbox" style="height: 100%;">
|
||||
@foreach ($slides as $slide)
|
||||
<div data-index="{{ $loop->index }}" class="item @if ($loop->first) active @endif" style="height: 100%; background-image: url({{ App\Repositories\Core\Upload::getSrc($slide) }}); background-size: contain; background-position: center; background-repeat: no-repeat;">
|
||||
</div>
|
||||
<!--
|
||||
<div class="item @if ($loop->first) active @endif">
|
||||
<img src="{{ App\Repositories\Core\Upload::getSrc($slide) }}" class="img-responsive" alt="...">
|
||||
</div>
|
||||
-->
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
<a class="left carousel-control" href="#@if (isset($id_name)){{ $id_name }}@endif" role="button" data-slide="prev">
|
||||
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
|
||||
<span class="sr-only">Précédent</span>
|
||||
</a>
|
||||
<a class="right carousel-control" href="#@if (isset($id_name)){{ $id_name }}@endif" role="button" data-slide="next">
|
||||
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
|
||||
<span class="sr-only">Suivant</span>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if (isset($with_modal) && $with_modal)
|
||||
<script>
|
||||
var id = $('#{{ $id_name }}').data('id');
|
||||
$('#modal-gallery .modal-body').load(laroute.route('Hestimmo.Lots.getGallery', {id : id}), function() {
|
||||
handle_gallery('#modal-gallery','#modal-carousel','#{{ $id_name }}');
|
||||
});
|
||||
</script>
|
||||
@endif
|
||||
|
||||
<script>
|
||||
@if (isset($id_name))
|
||||
$('#{{ $id_name }}.carousel').carousel();
|
||||
@else
|
||||
$('.carousel').carousel();
|
||||
@endif
|
||||
|
||||
</script>
|
||||
7
resources/views/components/checkbox.blade.php
Normal file
7
resources/views/components/checkbox.blade.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<input type="checkbox"
|
||||
name="{{ $name }}"
|
||||
id="@if (isset($id_name)){{ $id_name }}@else{{ $name }}@endif"
|
||||
@if (isset($class)) class="{{ $class }}" @endif
|
||||
@if (isset($val)) value="{{ $val }}" @endif
|
||||
@if (isset($value) && isset($val) && ($value == $val)) checked @endif
|
||||
>
|
||||
36
resources/views/components/city.blade.php
Normal file
36
resources/views/components/city.blade.php
Normal file
@@ -0,0 +1,36 @@
|
||||
@include('components.select', ['name' => $name.'_id', 'id_name' => $name.'_id', 'class' => 'form-control', 'list' => (isset($list)) ? $list : null, 'value' => (isset($value)) ? $value : null, 'style' => 'width: 100%;'])
|
||||
|
||||
<input type="hidden" name="{{ $name }}" id="{{ $name }}" @if (isset($value) && isset($list) && $value) value="{{ $list[$value] }}"@endif>
|
||||
|
||||
@include('boilerplate::load.select2')
|
||||
|
||||
@push('js')
|
||||
<script>
|
||||
$(function() {
|
||||
$('#{{ $name }}_id').select2({
|
||||
placeholder: "Sélectionnez une Ville",
|
||||
delay: 250,
|
||||
ajax: {
|
||||
url: "{{ route('Villes.autocomplete') }}",
|
||||
dataType: 'json',
|
||||
data: function (params) {
|
||||
var query = {
|
||||
search: params.term,
|
||||
}
|
||||
// Query parameters will be ?search=[term]
|
||||
return query;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
$("#{{ $name }}_id").on("select2:select", function (e) {
|
||||
var select_val = $(e.currentTarget).text();
|
||||
var ville_sel = select_val.trim();
|
||||
ville_sel = ville_sel.replace(/\(.*\)/g, "");
|
||||
ville_sel = ville_sel.trim();
|
||||
$('#{{ $name }}').val(ville_sel);
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
25
resources/views/components/contact.blade.php
Normal file
25
resources/views/components/contact.blade.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<div class="form-group {{ $errors->has('contact') ? 'has-error' : '' }}">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
{{ Form::label('tel_perso', 'Téléphone domicile') }}
|
||||
<input type="text" name="tel_perso" id="tel_perso" value="@if (isset($tel_perso)){{ $tel_perso }}@endif" class="form-control" data-inputmask="'mask': '99.99.99.99.99'">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
{{ Form::label('tel_pro', 'Téléphone professionnel') }}
|
||||
<input type="text" name="tel_pro" id="tel_pro" value="@if (isset($tel_pro)){{ $tel_pro }}@endif" class="form-control" data-inputmask="'mask': '99.99.99.99.99'">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row m-top-8">
|
||||
<div class="col-md-6">
|
||||
{{ Form::label('Mobile', 'Mobile') }}
|
||||
<input type="text" name="mobile" id="mobile" value="@if (isset($mobile)){{ $mobile }}@endif" class="form-control" data-inputmask="'mask': '99.99.99.99.99'">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
{{ Form::label('email', 'Email') }}
|
||||
<input type="email" name="email" id="email" value="@if (isset($email)){{ $email }}@endif" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
1
resources/views/components/css.blade.php
Normal file
1
resources/views/components/css.blade.php
Normal file
@@ -0,0 +1 @@
|
||||
<link rel="stylesheet" href="{{ $css }}{{ App\Repositories\Core\Cache::getAutoVersion($css) }}">
|
||||
1
resources/views/components/date.blade.php
Normal file
1
resources/views/components/date.blade.php
Normal file
@@ -0,0 +1 @@
|
||||
@include('components.input', ['class' => 'datepicker', 'mask' => '99/99/9999'])
|
||||
1
resources/views/components/datetime.blade.php
Normal file
1
resources/views/components/datetime.blade.php
Normal file
@@ -0,0 +1 @@
|
||||
@include('components.input', ['class' => 'datetimepicker', 'mask' => '99/99/9999 99:99'])
|
||||
1
resources/views/components/email.blade.php
Normal file
1
resources/views/components/email.blade.php
Normal file
@@ -0,0 +1 @@
|
||||
@include('components.input', ['type' => 'email'])
|
||||
9
resources/views/components/file.blade.php
Normal file
9
resources/views/components/file.blade.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<input
|
||||
type="file"
|
||||
name="{{ $name }}"
|
||||
id="@if (isset($id_name)){{ $id_name }}@else{{ $name }}@endif"
|
||||
class="file @if (isset($class)){{ $class }}@endif"
|
||||
data-show-upload="false"
|
||||
data-show-caption="true"
|
||||
data-msg-placeholder=@if (isset($placeholder))"{{ $placeholder }}" @else "Choisissez un fichier" @endif
|
||||
>
|
||||
16
resources/views/components/input.blade.php
Normal file
16
resources/views/components/input.blade.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<input
|
||||
type=@if (isset($type))"{{ $type }}"@else"text"@endif
|
||||
name="{{ $name }}"
|
||||
id="@if (isset($id_name)){{ $id_name }}@else{{ $name }}@endif"
|
||||
class="form-control @if (isset($class)){{ $class }}@endif"
|
||||
value="@if (isset($value)){{ $value }}@endif"
|
||||
@if (isset($required))
|
||||
required="required"
|
||||
@endif
|
||||
@if (isset($mask))
|
||||
data-inputmask="'mask': '{{ $mask }}'"
|
||||
@endif
|
||||
@if (isset($meta))
|
||||
{{ $meta }}
|
||||
@endif
|
||||
>
|
||||
1
resources/views/components/js.blade.php
Normal file
1
resources/views/components/js.blade.php
Normal file
@@ -0,0 +1 @@
|
||||
<script src="{{ $js }}{{ App\Repositories\Core\Cache::getAutoVersion($js) }}"></script>
|
||||
4
resources/views/components/js/ie11.blade.php
Normal file
4
resources/views/components/js/ie11.blade.php
Normal file
@@ -0,0 +1,4 @@
|
||||
@prepend('js')
|
||||
<script src="/js/polyfill.min.js"></script>
|
||||
<script src="/js/es6-promise.min.js"></script>
|
||||
@endprepend
|
||||
1
resources/views/components/money.blade.php
Normal file
1
resources/views/components/money.blade.php
Normal file
@@ -0,0 +1 @@
|
||||
@include('components.input', ['type' => 'number'])
|
||||
1
resources/views/components/number.blade.php
Normal file
1
resources/views/components/number.blade.php
Normal file
@@ -0,0 +1 @@
|
||||
@include('components.input', ['type' => 'number'])
|
||||
14
resources/views/components/options-complex.blade.php
Normal file
14
resources/views/components/options-complex.blade.php
Normal file
@@ -0,0 +1,14 @@
|
||||
@if (isset($list) && count($list))
|
||||
@foreach($list as $item)
|
||||
<option
|
||||
@if (isset($value) && ($item['id'] == $value)) selected @endif value="{{$item['id']}}"
|
||||
@foreach($item as $item_key => $item_value)
|
||||
@if (($item_key != 'id') && ($item_key != 'txt'))
|
||||
data-{{ $item_key }}="{{ $item_value }}"
|
||||
@endif
|
||||
@endforeach
|
||||
>
|
||||
{{ $item['txt'] }}
|
||||
</option>
|
||||
@endforeach
|
||||
@endif
|
||||
5
resources/views/components/options.blade.php
Normal file
5
resources/views/components/options.blade.php
Normal file
@@ -0,0 +1,5 @@
|
||||
@if (isset($list) && count($list))
|
||||
@foreach($list as $key => $item)
|
||||
<option @if (isset($value) && ($key == $value)) selected @endif value="{{$key}}">{{ $item }}</option>
|
||||
@endforeach
|
||||
@endif
|
||||
@@ -0,0 +1,3 @@
|
||||
@include('components.person')
|
||||
@include('components.address')
|
||||
@include('components.contact')
|
||||
24
resources/views/components/person.blade.php
Normal file
24
resources/views/components/person.blade.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<div class="form-group {{ $errors->has('person') ? 'has-error' : '' }}">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
{{ Form::label('civilite', 'Civilité') }}
|
||||
<select name="civilite" id="civilite" class="form-control">
|
||||
<option value=""></option>
|
||||
<option value="1">M.</option>
|
||||
<option value="2">Mme</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-md-5">
|
||||
{{ Form::label('prenom', 'Prénom') }}
|
||||
<input type="text" name="prenom" id="prenom" value="@if (isset($prenom)){{ $prenom }}@endif" class="form-control">
|
||||
</div>
|
||||
|
||||
<div class="col-md-5">
|
||||
{{ Form::label('nom', 'Nom') }}
|
||||
<input type="text" name="nom" id="nom" value="@if (isset($nom)){{ $nom }}@endif" class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
1
resources/views/components/phone.blade.php
Normal file
1
resources/views/components/phone.blade.php
Normal file
@@ -0,0 +1 @@
|
||||
@include('components.input', ['mask' => '99.99.99.99.99'])
|
||||
13
resources/views/components/select.blade.php
Normal file
13
resources/views/components/select.blade.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<select
|
||||
name="{{ $name }}"
|
||||
@if (isset($id_name))id="{{ $id_name }}"@endif
|
||||
class="@if (isset($class)){{ $class }} @else form-control @endif"
|
||||
@if (isset($style))style="{{ $style }}" @endif
|
||||
>
|
||||
<option></option>
|
||||
@if (isset($complex) && $complex)
|
||||
@include('components.options-complex')
|
||||
@else
|
||||
@include('components.options')
|
||||
@endif
|
||||
</select>
|
||||
6
resources/views/components/textarea.blade.php
Normal file
6
resources/views/components/textarea.blade.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<textarea
|
||||
name="{{ $name }}"
|
||||
@if (isset($id_name))id="{{ $id_name }}"@endif
|
||||
class="form-control @if (isset($class)){{ $class }}@endif"
|
||||
@if (isset($rows)) rows="{{ $rows }}"@endif
|
||||
>@if (isset($value)){{ $value }}@endif</textarea>
|
||||
19
resources/views/components/upload-document.blade.php
Normal file
19
resources/views/components/upload-document.blade.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<div class="modal fade" tabindex="-1" role="dialog">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title">Uploader un fichier</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
@include('components.upload-dropzone', ['dropzone_title' => 'Téléverser vos documents', 'dropzone_id' => 'dropzone_document'])
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||
<button type="button" class="btn btn-primary">Save changes</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
64
resources/views/components/upload-dropzone.blade.php
Normal file
64
resources/views/components/upload-dropzone.blade.php
Normal file
@@ -0,0 +1,64 @@
|
||||
<div class="row">
|
||||
<div class="col-sm-6 offset-sm-1">
|
||||
<h2 class="page-heading">{{ $dropzone_title }} <span id="counter"></span></h2>
|
||||
<form method="post" action="{{ route('attachments.dropzone') }}" enctype="multipart/form-data" class="dropzone" id="{{ $dropzone_id }}">
|
||||
@csrf
|
||||
<div class="dz-message">
|
||||
<div class="col-xs-8">
|
||||
<div class="message">
|
||||
<p>Glisser/Déposer vos fichiers ou cliquez pour téléverser</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="fallback">
|
||||
<input type="file" name="file" multiple>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{--Dropzone Preview Template--}}
|
||||
<div id="preview" style="display: none;">
|
||||
|
||||
<div class="dz-preview dz-file-preview">
|
||||
<div class="dz-image"><img data-dz-thumbnail /></div>
|
||||
|
||||
<div class="dz-details">
|
||||
<div class="dz-size"><span data-dz-size></span></div>
|
||||
<div class="dz-filename"><span data-dz-name></span></div>
|
||||
</div>
|
||||
<div class="dz-progress"><span class="dz-upload" data-dz-uploadprogress></span></div>
|
||||
<div class="dz-error-message"><span data-dz-errormessage></span></div>
|
||||
|
||||
|
||||
|
||||
<div class="dz-success-mark">
|
||||
|
||||
<svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
|
||||
<!-- Generator: Sketch 3.2.1 (9971) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>Check</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
|
||||
<path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
</div>
|
||||
<div class="dz-error-mark">
|
||||
|
||||
<svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
|
||||
<!-- Generator: Sketch 3.2.1 (9971) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>error</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
|
||||
<g id="Check-+-Oval-2" sketch:type="MSLayerGroup" stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475">
|
||||
<path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" sketch:type="MSShapeGroup"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{--End of Dropzone Preview Template--}}
|
||||
19
resources/views/components/upload-photo.blade.php
Normal file
19
resources/views/components/upload-photo.blade.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<div class="modal fade" tabindex="-1" role="dialog">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title">Uploader un fichier</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
@include('components.upload-dropzone', ['dropzone_title' => 'Téléverser vos photos', 'dropzone_id' => 'dropzone_photo'])
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||
<button type="button" class="btn btn-primary">Save changes</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
22
resources/views/components/upload.blade.php
Normal file
22
resources/views/components/upload.blade.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<div class="modal fade" tabindex="-1" role="dialog">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title">Uploader un fichier</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
||||
@include('components.upload-dropzone')
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||
<button type="button" class="btn btn-primary">Save changes</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
23
resources/views/components/widgets/box.blade.php
Normal file
23
resources/views/components/widgets/box.blade.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">{{ $title }}</h3>
|
||||
<div class="box-tools pull-right">
|
||||
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
|
||||
</button>
|
||||
<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.box-header -->
|
||||
<div class="box-body">
|
||||
{{ $content }}
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
|
||||
@if (isset($footer))
|
||||
<div class="box-footer clearfix">
|
||||
{{ $footer }}
|
||||
</div>
|
||||
@endif
|
||||
<!-- /.box-footer -->
|
||||
</div>
|
||||
<!-- /.box -->
|
||||
22
resources/views/cornford/googlmapper/circle.blade.php
Normal file
22
resources/views/cornford/googlmapper/circle.blade.php
Normal file
@@ -0,0 +1,22 @@
|
||||
var circleCoordinates_{!! $id !!} = (
|
||||
@foreach ($options['coordinates'] as $key => $coordinate)
|
||||
new google.maps.LatLng({!! $coordinate['latitude'] !!}, {!! $coordinate['longitude'] !!})
|
||||
@endforeach
|
||||
);
|
||||
|
||||
var circle_{!! $id !!} = new google.maps.Circle({
|
||||
strokeColor: '{!! $options['strokeColor'] !!}',
|
||||
strokeOpacity: {!! $options['strokeOpacity'] !!},
|
||||
strokeWeight: {!! $options['strokeWeight'] !!},
|
||||
fillColor: '{!! $options['fillColor'] !!}',
|
||||
fillOpacity: {!! $options['fillOpacity'] !!},
|
||||
center: circleCoordinates_{!! $id !!},
|
||||
radius: {!! $options['radius'] !!},
|
||||
editable: {!! $options['editable'] ? 'true' : 'false' !!}
|
||||
});
|
||||
|
||||
circle_{!! $id !!}.setMap({!! $options['map'] !!});
|
||||
|
||||
shapes.push({
|
||||
'circle_{!! $id !!}': circle_{!! $id !!}
|
||||
});
|
||||
33
resources/views/cornford/googlmapper/javascript.blade.php
Normal file
33
resources/views/cornford/googlmapper/javascript.blade.php
Normal file
@@ -0,0 +1,33 @@
|
||||
@if (!$view->shared('javascript', false))
|
||||
|
||||
@if ($view->share('javascript', true)) @endif
|
||||
|
||||
@if ($options['async'])
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
var initialize_items = [];
|
||||
|
||||
function initialize_method() {
|
||||
initialize_items.forEach(function(item) {
|
||||
item.method();
|
||||
});
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<script async defer type="text/javascript" src="//maps.googleapis.com/maps/api/js?v={!! $options['version'] !!}®ion={!! $options['region'] !!}&language={!! $options['language'] !!}&key={!! $options['key'] !!}&libraries=places&callback=initialize_method"></script>
|
||||
|
||||
@else
|
||||
|
||||
<script type="text/javascript" src="//maps.googleapis.com/maps/api/js?v={!! $options['version'] !!}®ion={!! $options['region'] !!}&language={!! $options['language'] !!}&key={!! $options['key'] !!}&libraries=places"></script>
|
||||
|
||||
@endif
|
||||
|
||||
@if ($options['cluster'])
|
||||
|
||||
<script type="text/javascript" src="//googlemaps.github.io/js-marker-clusterer/src/markerclusterer.js"></script>
|
||||
|
||||
@endif
|
||||
|
||||
@endif
|
||||
112
resources/views/cornford/googlmapper/map.blade.php
Normal file
112
resources/views/cornford/googlmapper/map.blade.php
Normal file
@@ -0,0 +1,112 @@
|
||||
<div id="map-canvas-{!! $id !!}" style="width: 100%; height: 100%; margin: 0; padding: 0; position: relative; overflow: hidden;"></div>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
var maps = [];
|
||||
|
||||
function initialize_{!! $id !!}() {
|
||||
var bounds = new google.maps.LatLngBounds();
|
||||
var infowindow = new google.maps.InfoWindow();
|
||||
var position = new google.maps.LatLng({!! $options['latitude'] !!}, {!! $options['longitude'] !!});
|
||||
|
||||
var mapOptions_{!! $id !!} = {
|
||||
@if ($options['center'])
|
||||
center: position,
|
||||
@endif
|
||||
zoom: {!! $options['zoom'] !!},
|
||||
mapTypeId: google.maps.MapTypeId.{!! $options['type'] !!},
|
||||
disableDefaultUI: @if (!$options['ui']) true @else false @endif,
|
||||
scrollwheel: @if ($options['scrollWheelZoom']) true @else false @endif,
|
||||
zoomControl: @if ($options['zoomControl']) true @else false @endif,
|
||||
mapTypeControl: @if ($options['mapTypeControl']) true @else false @endif,
|
||||
scaleControl: @if ($options['scaleControl']) true @else false @endif,
|
||||
streetViewControl: @if ($options['streetViewControl']) true @else false @endif,
|
||||
rotateControl: @if ($options['rotateControl']) true @else false @endif,
|
||||
fullscreenControl: @if ($options['fullscreenControl']) true @else false @endif
|
||||
};
|
||||
|
||||
var map_{!! $id !!} = new google.maps.Map(document.getElementById('map-canvas-{!! $id !!}'), mapOptions_{!! $id !!});
|
||||
map_{!! $id !!}.setTilt({!! $options['tilt'] !!});
|
||||
|
||||
var markers = [];
|
||||
var infowindows = [];
|
||||
var shapes = [];
|
||||
|
||||
@foreach ($options['markers'] as $key => $marker)
|
||||
{!! $marker->render($key, $view) !!}
|
||||
@endforeach
|
||||
|
||||
@foreach ($options['shapes'] as $key => $shape)
|
||||
{!! $shape->render($key, $view) !!}
|
||||
@endforeach
|
||||
|
||||
@if ($options['overlay'] == 'BIKE')
|
||||
var bikeLayer = new google.maps.BicyclingLayer();
|
||||
bikeLayer.setMap(map_{!! $id !!});
|
||||
@endif
|
||||
|
||||
@if ($options['overlay'] == 'TRANSIT')
|
||||
var transitLayer = new google.maps.TransitLayer();
|
||||
transitLayer.setMap(map_{!! $id !!});
|
||||
@endif
|
||||
|
||||
@if ($options['overlay'] == 'TRAFFIC')
|
||||
var trafficLayer = new google.maps.TrafficLayer();
|
||||
trafficLayer.setMap(map_{!! $id !!});
|
||||
@endif
|
||||
|
||||
var idleListener = google.maps.event.addListenerOnce(map_{!! $id !!}, "idle", function () {
|
||||
map_{!! $id !!}.setZoom({!! $options['zoom'] !!});
|
||||
|
||||
@if (!$options['center'])
|
||||
map_{!! $id !!}.fitBounds(bounds);
|
||||
@endif
|
||||
|
||||
@if ($options['locate'])
|
||||
if (typeof navigator !== 'undefined' && navigator.geolocation) {
|
||||
navigator.geolocation.getCurrentPosition(function (position) {
|
||||
map_{!! $id !!}.setCenter(new google.maps.LatLng(position.coords.latitude, position.coords.longitude));
|
||||
});
|
||||
}
|
||||
@endif
|
||||
});
|
||||
|
||||
var map = map_{!! $id !!};
|
||||
|
||||
@if (isset($options['eventBeforeLoad']))
|
||||
{!! $options['eventBeforeLoad'] !!}
|
||||
@endif
|
||||
|
||||
@if (isset($options['eventAfterLoad']))
|
||||
google.maps.event.addListenerOnce(map_{!! $id !!}, "tilesloaded", function() {
|
||||
{!! $options['eventAfterLoad'] !!}
|
||||
});
|
||||
@endif
|
||||
|
||||
@if ($options['cluster'])
|
||||
var markerClusterOptions = {
|
||||
imagePath: '{!! $options['clusters']['icon'] !!}',
|
||||
gridSize: {!! $options['clusters']['grid'] !!},
|
||||
maxZoom: @if ($options['clusters']['zoom'] === null) null @else {!! $options['clusters']['zoom'] !!} @endif,
|
||||
averageCenter: @if ($options['clusters']['center'] === true) true @else false @endif,
|
||||
minimumClusterSize: {!! $options['clusters']['size'] !!}
|
||||
};
|
||||
var markerCluster = new MarkerClusterer(map_{!! $id !!}, markers, markerClusterOptions);
|
||||
@endif
|
||||
|
||||
maps.push({
|
||||
key: {!! $id !!},
|
||||
markers: markers,
|
||||
infowindows: infowindows,
|
||||
map: map_{!! $id !!},
|
||||
shapes: shapes
|
||||
});
|
||||
}
|
||||
|
||||
@if (!$options['async'])
|
||||
|
||||
google.maps.event.addDomListener(window, 'load', initialize_{!! $id !!});
|
||||
|
||||
@endif
|
||||
|
||||
</script>
|
||||
19
resources/views/cornford/googlmapper/mapper.blade.php
Normal file
19
resources/views/cornford/googlmapper/mapper.blade.php
Normal file
@@ -0,0 +1,19 @@
|
||||
@include('googlmapper::javascript')
|
||||
|
||||
@foreach ($items as $id => $item)
|
||||
|
||||
{!! $item->render($id, $view) !!}
|
||||
|
||||
@if ($options['async'])
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
initialize_items.push({
|
||||
method: initialize_{!! $id !!}
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
@endif
|
||||
|
||||
@endforeach
|
||||
133
resources/views/cornford/googlmapper/marker.blade.php
Normal file
133
resources/views/cornford/googlmapper/marker.blade.php
Normal file
@@ -0,0 +1,133 @@
|
||||
@if ($options['place'])
|
||||
|
||||
var service = new google.maps.places.PlacesService({!! $options['map'] !!});
|
||||
var request = {
|
||||
placeId: '{!! $options['place'] !!}'
|
||||
};
|
||||
|
||||
service.getDetails(request, function(placeResult, status) {
|
||||
if (status != google.maps.places.PlacesServiceStatus.OK) {
|
||||
alert('Unable to find the Place details.');
|
||||
return;
|
||||
}
|
||||
|
||||
@endif
|
||||
|
||||
@if ($options['locate'] && $options['marker'])
|
||||
if (typeof navigator !== 'undefined' && navigator.geolocation) {
|
||||
navigator.geolocation.getCurrentPosition(function (position) {
|
||||
marker_0.setPosition(new google.maps.LatLng(position.coords.latitude, position.coords.longitude));
|
||||
});
|
||||
}
|
||||
@endif
|
||||
|
||||
var markerPosition_{!! $id !!} = new google.maps.LatLng({!! $options['latitude'] !!}, {!! $options['longitude'] !!});
|
||||
|
||||
var marker_{!! $id !!} = new google.maps.Marker({
|
||||
position: markerPosition_{!! $id !!},
|
||||
@if ($options['place'])
|
||||
place: {
|
||||
placeId: '{!! $options['place'] !!}',
|
||||
location: { lat: {!! $options['latitude'] !!}, lng: {!! $options['longitude'] !!} }
|
||||
},
|
||||
attribution: {
|
||||
source: document.title,
|
||||
webUrl: document.URL
|
||||
},
|
||||
@endif
|
||||
|
||||
@if (isset($options['draggable']) && $options['draggable'] == true)
|
||||
draggable: true,
|
||||
@endif
|
||||
|
||||
title: {!! json_encode((string) $options['title']) !!},
|
||||
label: {!! json_encode($options['label']) !!},
|
||||
animation: @if (empty($options['animation']) || $options['animation'] == 'NONE') '' @else google.maps.Animation.{!! $options['animation'] !!} @endif,
|
||||
@if ($options['symbol'])
|
||||
icon: {
|
||||
path: google.maps.SymbolPath.{!! $options['symbol'] !!},
|
||||
scale: {!! $options['scale'] !!}
|
||||
}
|
||||
@else
|
||||
icon:
|
||||
@if (is_array($options['icon']) && isset($options['icon']['url']))
|
||||
{
|
||||
url: {!! json_encode((string) $options['icon']['url']) !!},
|
||||
|
||||
@if (isset($options['icon']['size']))
|
||||
@if (is_array($options['icon']['size']))
|
||||
scaledSize: new google.maps.Size({!! $options['icon']['size'][0] !!}, {!! $options['icon']['size'][1] !!})
|
||||
@else
|
||||
scaledSize: new google.maps.Size({!! $options['icon']['size'] !!}, {!! $options['icon']['size'] !!})
|
||||
@endif
|
||||
@endif
|
||||
}
|
||||
@else
|
||||
{!! json_encode($options['icon']) !!}
|
||||
@endif
|
||||
@endif
|
||||
});
|
||||
|
||||
bounds.extend(marker_{!! $id !!}.position);
|
||||
|
||||
marker_{!! $id !!}.setMap({!! $options['map'] !!});
|
||||
markers.push(marker_{!! $id !!});
|
||||
|
||||
@if ($options['place'])
|
||||
|
||||
marker_{!! $id !!}.addListener('click', function() {
|
||||
infowindow.setContent('<a href="' + placeResult.website + '">' + placeResult.name + '</a>');
|
||||
infowindow.open({!! $options['map'] !!}, this);
|
||||
});
|
||||
});
|
||||
|
||||
@else
|
||||
|
||||
@if (!empty($options['content']))
|
||||
|
||||
var infowindow_{!! $id !!} = new google.maps.InfoWindow({
|
||||
content: {!! json_encode((string) $options['content']) !!}
|
||||
});
|
||||
|
||||
@if (isset($options['maxWidth']))
|
||||
|
||||
infowindow_{!! $id !!}.setOptions({ maxWidth: {!! $options['maxWidth'] !!} });
|
||||
|
||||
@endif
|
||||
|
||||
@if (isset($options['open']) && $options['open'])
|
||||
|
||||
infowindow_{!! $id !!}.open({!! $options['map'] !!}, marker_{!! $id !!});
|
||||
|
||||
@endif
|
||||
|
||||
google.maps.event.addListener(marker_{!! $id !!}, 'click', function() {
|
||||
|
||||
@if (isset($options['autoClose']) && $options['autoClose'])
|
||||
|
||||
for (var i = 0; i < infowindows.length; i++) {
|
||||
infowindows[i].close();
|
||||
}
|
||||
|
||||
@endif
|
||||
|
||||
infowindow_{!! $id !!}.open({!! $options['map'] !!}, marker_{!! $id !!});
|
||||
});
|
||||
|
||||
infowindows.push(infowindow_{!! $id !!});
|
||||
|
||||
@endif
|
||||
|
||||
@endif
|
||||
|
||||
@foreach (['eventClick', 'eventDblClick', 'eventRightClick', 'eventMouseOver', 'eventMouseDown', 'eventMouseUp', 'eventMouseOut', 'eventDrag', 'eventDragStart', 'eventDragEnd', 'eventDomReady'] as $event)
|
||||
|
||||
@if (isset($options[$event]))
|
||||
|
||||
google.maps.event.addListener(marker_{!! $id !!}, '{!! str_replace('event', '', strtolower($event)) !!}', function (event) {
|
||||
{!! $options[$event] !!}
|
||||
});
|
||||
|
||||
@endif
|
||||
|
||||
@endforeach
|
||||
12
resources/views/cornford/googlmapper/overlay.blade.php
Normal file
12
resources/views/cornford/googlmapper/overlay.blade.php
Normal file
@@ -0,0 +1,12 @@
|
||||
var overlayCoordinates_{!! $id !!} = new google.maps.LatLngBounds(
|
||||
@foreach ($options['coordinates'] as $coordinate)
|
||||
new google.maps.LatLng({!! $coordinate['latitude'] !!}, {!! $coordinate['longitude'] !!}),
|
||||
@endforeach
|
||||
);
|
||||
|
||||
overlay_{!! $id !!} = new google.maps.GroundOverlay(
|
||||
'{!! $options['image'] !!}',
|
||||
overlayCoordinates_{!! $id !!}
|
||||
);
|
||||
|
||||
overlay_{!! $id !!}.setMap({!! $options['map'] !!});
|
||||
21
resources/views/cornford/googlmapper/polygon.blade.php
Normal file
21
resources/views/cornford/googlmapper/polygon.blade.php
Normal file
@@ -0,0 +1,21 @@
|
||||
var polygonCoordinates_{!! $id !!} = [
|
||||
@foreach ($options['coordinates'] as $coordinate)
|
||||
new google.maps.LatLng({!! $coordinate['latitude'] !!}, {!! $coordinate['longitude'] !!}),
|
||||
@endforeach
|
||||
];
|
||||
|
||||
var polygon_{!! $id !!} = new google.maps.Polygon({
|
||||
paths: polygonCoordinates_{!! $id !!},
|
||||
strokeColor: '{!! $options['strokeColor'] !!}',
|
||||
strokeOpacity: {!! $options['strokeOpacity'] !!},
|
||||
strokeWeight: {!! $options['strokeWeight'] !!},
|
||||
fillColor: '{!! $options['fillColor'] !!}',
|
||||
fillOpacity: {!! $options['fillOpacity'] !!},
|
||||
editable: {!! $options['editable'] ? 'true' : 'false' !!}
|
||||
});
|
||||
|
||||
polygon_{!! $id !!}.setMap({!! $options['map'] !!});
|
||||
|
||||
shapes.push({
|
||||
'polygon_{!! $id !!}': polygon_{!! $id !!}
|
||||
});
|
||||
20
resources/views/cornford/googlmapper/polyline.blade.php
Normal file
20
resources/views/cornford/googlmapper/polyline.blade.php
Normal file
@@ -0,0 +1,20 @@
|
||||
var polylineCoordinates_{!! $id !!} = [
|
||||
@foreach ($options['coordinates'] as $coordinate)
|
||||
new google.maps.LatLng({!! $coordinate['latitude'] !!}, {!! $coordinate['longitude'] !!}),
|
||||
@endforeach
|
||||
];
|
||||
|
||||
var polyline_{!! $id !!} = new google.maps.Polyline({
|
||||
path: polylineCoordinates_{!! $id !!},
|
||||
geodesic: {!! $options['strokeColor'] ? 'true' : 'false' !!},
|
||||
strokeColor: '{!! $options['strokeColor'] !!}',
|
||||
strokeOpacity: {!! $options['strokeOpacity'] !!},
|
||||
strokeWeight: {!! $options['strokeWeight'] !!},
|
||||
editable: {!! $options['editable'] ? 'true' : 'false' !!}
|
||||
});
|
||||
|
||||
polyline_{!! $id !!}.setMap({!! $options['map'] !!});
|
||||
|
||||
shapes.push({
|
||||
'polyline_{!! $id !!}': polyline_{!! $id !!}
|
||||
});
|
||||
21
resources/views/cornford/googlmapper/rectangle.blade.php
Normal file
21
resources/views/cornford/googlmapper/rectangle.blade.php
Normal file
@@ -0,0 +1,21 @@
|
||||
var rectangleCoordinates_{!! $id !!} = new google.maps.LatLngBounds(
|
||||
@foreach ($options['coordinates'] as $key => $coordinate)
|
||||
new google.maps.LatLng({!! $coordinate['latitude'] !!}, {!! $coordinate['longitude'] !!})@if (count($options['coordinates']) - 1 > $key), @endif
|
||||
@endforeach
|
||||
);
|
||||
|
||||
var rectangle_{!! $id !!} = new google.maps.Rectangle({
|
||||
strokeColor: '{!! $options['strokeColor'] !!}',
|
||||
strokeOpacity: {!! $options['strokeOpacity'] !!},
|
||||
strokeWeight: {!! $options['strokeWeight'] !!},
|
||||
fillColor: '{!! $options['fillColor'] !!}',
|
||||
fillOpacity: {!! $options['fillOpacity'] !!},
|
||||
bounds: rectangleCoordinates_{!! $id !!},
|
||||
editable: {!! $options['editable'] ? 'true' : 'false' !!}
|
||||
});
|
||||
|
||||
rectangle_{!! $id !!}.setMap({!! $options['map'] !!});
|
||||
|
||||
shapes.push({
|
||||
'rectangle_{!! $id !!}': rectangle_{!! $id !!}
|
||||
});
|
||||
39
resources/views/cornford/googlmapper/streetview.blade.php
Normal file
39
resources/views/cornford/googlmapper/streetview.blade.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<div id="map-canvas-{!! $id !!}" style="height: 100%; margin: 0; padding: 0;"></div>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
function initialize_{!! $id !!}() {
|
||||
var bounds = new google.maps.LatLngBounds();
|
||||
var position = new google.maps.LatLng({!! $options['latitude'] !!}, {!! $options['longitude'] !!});
|
||||
|
||||
var mapOptions = {
|
||||
@if ($options['center'])
|
||||
center: position,
|
||||
@endif
|
||||
zoom: {!! $options['zoom'] !!},
|
||||
mapTypeId: google.maps.MapTypeId.{!! $options['type'] !!},
|
||||
disableDefaultUI: @if (!$options['ui']) true @else false @endif
|
||||
};
|
||||
|
||||
var map = new google.maps.Map(document.getElementById('map-canvas-{!! $id !!}'), mapOptions);
|
||||
|
||||
var panoramaOptions = {
|
||||
position: position,
|
||||
pov: {
|
||||
heading: {!! $options['heading'] !!},
|
||||
pitch: {!! $options['pitch'] !!}
|
||||
}
|
||||
};
|
||||
|
||||
var panorama = new google.maps.StreetViewPanorama(document.getElementById('map-canvas-{!! $id !!}'), panoramaOptions);
|
||||
|
||||
map.setStreetView(panorama);
|
||||
}
|
||||
|
||||
@if (!$options['async'])
|
||||
|
||||
google.maps.event.addDomListener(window, 'load', initialize_{!! $id !!});
|
||||
|
||||
@endif
|
||||
|
||||
</script>
|
||||
7
resources/views/emails/components/button.blade.php
Normal file
7
resources/views/emails/components/button.blade.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<!--[if mso]>
|
||||
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{ $url }}{{ $route }}{{ $option_id }}" style="height:36px;v-text-anchor:middle;width:155px;" arcsize="50%" strokecolor="#e6e6e8" fillcolor="#f96a48">
|
||||
<w:anchorlock/>
|
||||
<center style="color:#FFFFFF;font-family:sans-serif;font-size:13px;font-weight:bold;">{{ $txt }}</center>
|
||||
</v:roundrect>
|
||||
<![endif]--><a href="{{ $url }}{{ $route }}{{ $option_id }}"
|
||||
style="background-color:#f96a48;border:1px solid #e6e6e8;border-radius:18px;color:#FFFFFF;display:inline-block;font-family:sans-serif;font-size:13px;font-weight:bold;line-height:36px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">{{ $txt }}</a>
|
||||
208
resources/views/emails/components/inline_css.blade.php
Normal file
208
resources/views/emails/components/inline_css.blade.php
Normal file
@@ -0,0 +1,208 @@
|
||||
<style type="text/css">
|
||||
/* Take care of image borders and formatting, client hacks */
|
||||
img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}
|
||||
a img { border: none; }
|
||||
table { border-collapse: collapse !important;}
|
||||
#outlook a { padding:0; }
|
||||
.ReadMsgBody { width: 100%; }
|
||||
.ExternalClass { width: 100%; }
|
||||
.backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }
|
||||
table td { border-collapse: collapse; }
|
||||
.ExternalClass * { line-height: 115%; }
|
||||
.container-for-gmail-android { min-width: 600px; }
|
||||
|
||||
|
||||
/* General styling */
|
||||
* {
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-webkit-text-size-adjust: none;
|
||||
width: 100% !important;
|
||||
margin: 0 !important;
|
||||
height: 100%;
|
||||
color: #676767;
|
||||
}
|
||||
|
||||
td {
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
font-size: 14px;
|
||||
color: #777777;
|
||||
text-align: center;
|
||||
line-height: 21px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #676767;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
.pull-left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.pull-right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.header-lg,
|
||||
.header-md,
|
||||
.header-sm {
|
||||
font-size: 32px;
|
||||
font-weight: 700;
|
||||
line-height: normal;
|
||||
padding: 35px 0 0;
|
||||
color: #4d4d4d;
|
||||
}
|
||||
|
||||
.header-md {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.header-sm {
|
||||
padding: 5px 0;
|
||||
font-size: 18px;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.content-padding {
|
||||
padding: 20px 0 30px;
|
||||
}
|
||||
|
||||
.mobile-header-padding-right {
|
||||
width: 290px;
|
||||
text-align: right;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.mobile-header-padding-left {
|
||||
width: 290px;
|
||||
text-align: left;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.free-text {
|
||||
width: 100% !important;
|
||||
padding: 10px 60px 0px;
|
||||
}
|
||||
|
||||
.block-rounded {
|
||||
border-radius: 5px;
|
||||
border: 1px solid #e5e5e5;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.button {
|
||||
padding: 30px 0;
|
||||
}
|
||||
|
||||
.info-block {
|
||||
padding: 0 20px;
|
||||
width: 260px;
|
||||
}
|
||||
|
||||
.block-rounded {
|
||||
width: 260px;
|
||||
}
|
||||
|
||||
.info-img {
|
||||
width: 258px;
|
||||
border-radius: 5px 5px 0 0;
|
||||
}
|
||||
|
||||
.force-width-gmail {
|
||||
min-width:600px;
|
||||
height: 0px !important;
|
||||
line-height: 1px !important;
|
||||
font-size: 1px !important;
|
||||
}
|
||||
|
||||
.button-width {
|
||||
width: 228px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<style type="text/css" media="screen">
|
||||
@import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);
|
||||
</style>
|
||||
|
||||
<style type="text/css" media="screen">
|
||||
@media screen {
|
||||
/* Thanks Outlook 2013! */
|
||||
* {
|
||||
font-family: 'Oxygen', 'Helvetica Neue', 'Arial', 'sans-serif' !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<style type="text/css" media="only screen and (max-width: 480px)">
|
||||
/* Mobile styles */
|
||||
@media only screen and (max-width: 480px) {
|
||||
|
||||
table[class*="container-for-gmail-android"] {
|
||||
min-width: 290px !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
table[class="w320"] {
|
||||
width: 320px !important;
|
||||
}
|
||||
|
||||
img[class="force-width-gmail"] {
|
||||
display: none !important;
|
||||
width: 0 !important;
|
||||
height: 0 !important;
|
||||
}
|
||||
|
||||
a[class="button-width"],
|
||||
a[class="button-mobile"] {
|
||||
width: 248px !important;
|
||||
}
|
||||
|
||||
td[class*="mobile-header-padding-left"] {
|
||||
width: 160px !important;
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
td[class*="mobile-header-padding-right"] {
|
||||
width: 160px !important;
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
td[class="header-lg"] {
|
||||
font-size: 24px !important;
|
||||
padding-bottom: 5px !important;
|
||||
}
|
||||
|
||||
td[class="header-md"] {
|
||||
font-size: 18px !important;
|
||||
padding-bottom: 5px !important;
|
||||
}
|
||||
|
||||
td[class="content-padding"] {
|
||||
padding: 5px 0 30px !important;
|
||||
}
|
||||
|
||||
td[class="button"] {
|
||||
padding: 5px !important;
|
||||
}
|
||||
|
||||
td[class*="free-text"] {
|
||||
padding: 10px 18px 30px !important;
|
||||
}
|
||||
|
||||
td[class="info-block"] {
|
||||
display: block !important;
|
||||
width: 280px !important;
|
||||
padding-bottom: 40px !important;
|
||||
}
|
||||
|
||||
td[class="info-img"],
|
||||
img[class="info-img"] {
|
||||
width: 278px !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
88
resources/views/emails/layout.blade.php
Normal file
88
resources/views/emails/layout.blade.php
Normal file
@@ -0,0 +1,88 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>{{ $title }}</title>
|
||||
|
||||
@include('emails.components.inline_css')
|
||||
</head>
|
||||
|
||||
<body bgcolor="#f7f7f7">
|
||||
|
||||
<table class="container-for-gmail-android" width="100%" cellspacing="0" cellpadding="0" align="center">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="background: repeat-x url('http://s3.amazonaws.com/swu-filepicker/4E687TRe69Ld95IDWyEg_bg_top_02.jpg') #ffffff;" align="left" valign="top" width="100%">
|
||||
<center>
|
||||
<img class="force-width-gmail" src="http://s3.amazonaws.com/swu-filepicker/SBb2fQPrQ5ezxmqUTgCr_transparent.png" />
|
||||
<table style="background-color: transparent;" width="100%" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align: center; vertical-align: middle;" valign="top" width="100%" height="80">
|
||||
<!-- [if gte mso 9]>
|
||||
<v:rect xmlns:v="urn:schemas-microsoft-com:vml" fill="true" stroke="false" style="mso-width-percent:1000;height:80px; v-text-anchor:middle;">
|
||||
<v:fill type="tile" src="http://s3.amazonaws.com/swu-filepicker/4E687TRe69Ld95IDWyEg_bg_top_02.jpg" color="#ffffff" />
|
||||
<v:textbox inset="0,0,0,0">
|
||||
<![endif]-->
|
||||
<center>
|
||||
<table class="w320" width="600" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="pull-left mobile-header-padding-left" style="vertical-align: middle; color: #4d4d4d; font-size: 24px; font-weight: 700;">OpenSEM</td>
|
||||
<td class="pull-right mobile-header-padding-right" style="vertical-align: middle; color: #4d4d4d;">Gestion des messages</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</center>
|
||||
<!-- [if gte mso 9]>
|
||||
</v:textbox>
|
||||
</v:rect>
|
||||
<![endif]-->
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="content-padding" style="background-color: #f7f7f7;" align="center" valign="top" width="100%">
|
||||
<center>
|
||||
@yield('content')
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #ffffff; border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5;" align="center" valign="top" width="100%">
|
||||
<center>
|
||||
<table class="w320" width="600" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="content-padding"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-bottom: 75px;"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="background-color: #f7f7f7; height: 100px;" align="center" valign="top" width="100%">
|
||||
<center>
|
||||
<table class="w320" width="600" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding: 25px 0 25px;"><strong>OpenSEM - 2020</strong></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</center>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
13
resources/views/emails/welcome.blade.php
Normal file
13
resources/views/emails/welcome.blade.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Bienvenue chez OpenSEM</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h2>Bienvenue chez OpenSEM {{ $user['first_name'] }} {{ $user['last_name'] }}</h2>
|
||||
<p><br />Votre identifiant est : {{ $user['email'] }}</p>
|
||||
<p>Votre token est {{ $user['token'] }}</p>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
11
resources/views/home.blade.php
Normal file
11
resources/views/home.blade.php
Normal file
@@ -0,0 +1,11 @@
|
||||
@extends('layouts.site', [
|
||||
'title' => 'Banques',
|
||||
'subtitle' => 'Liste des banques',
|
||||
'breadcrumb' => ['Banques']
|
||||
])
|
||||
|
||||
@section('content')
|
||||
|
||||
TEST
|
||||
|
||||
@endsection
|
||||
24
resources/views/layout/contentheader.blade.php
Normal file
24
resources/views/layout/contentheader.blade.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<h1>
|
||||
{{ $title }}
|
||||
@if(isset($subtitle))
|
||||
<small>{{ $subtitle }}</small>
|
||||
@endif
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li>
|
||||
<a href="{{ route('boilerplate.dashboard') }}">
|
||||
<i class="fa fa-home"></i> {{ __('boilerplate::layout.home') }}
|
||||
</a>
|
||||
</li>
|
||||
@if(isset($breadcrumb))
|
||||
@foreach($breadcrumb as $label => $route)
|
||||
@if(is_numeric($label))
|
||||
<li class="active">{{ $route }}</li>
|
||||
@elseif(is_array($route))
|
||||
<li><a href="{{ route($route[0], $route[1]) }}">{{ $label }}</a></li>
|
||||
@else
|
||||
<li><a href="{{ route($route) }}">{{ $label }}</a></li>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
</ol>
|
||||
12
resources/views/layout/footer.blade.php
Normal file
12
resources/views/layout/footer.blade.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<footer class="main-footer">
|
||||
<strong>
|
||||
Made by
|
||||
@if(config('boilerplate.app.vendorlink'))
|
||||
<a href="{{ config('boilerplate.app.vendorlink') }}">
|
||||
{!! config('boilerplate.app.vendorname') !!}
|
||||
</a>.
|
||||
@else
|
||||
{!! config('boilerplate.app.vendorname') !!}.
|
||||
@endif
|
||||
</strong>
|
||||
</footer>
|
||||
30
resources/views/layout/header.blade.php
Normal file
30
resources/views/layout/header.blade.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<header class="main-header">
|
||||
<a href="{{ route('boilerplate.dashboard') }}" class="logo">
|
||||
<span class="logo-mini"></span>
|
||||
<span class="logo-lg"></span>
|
||||
</a>
|
||||
<nav class="navbar navbar-static-top">
|
||||
<a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
|
||||
<span class="sr-only">Toggle</span>
|
||||
</a>
|
||||
<div class="navbar-custom-menu">
|
||||
<ul class="nav navbar-nav">
|
||||
<li>
|
||||
<a href="{{ route('boilerplate.user.profile') }}">
|
||||
<img src="{{ Auth::user()->avatar_url }}" class="user-image avatar" alt="User Image"/>
|
||||
<span class="hidden-xs">{{ Auth::user()->name }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ route('boilerplate.logout') }}" class="logout">
|
||||
<span class="hidden-xs">
|
||||
<span class="fa fa-power-off"></span> {{ __('boilerplate::layout.logout') }}
|
||||
</span>
|
||||
</a>
|
||||
{!! Form::open(['route' => 'boilerplate.logout', 'method' => 'post', 'id' => 'logout-form', 'style'=> 'display:none']) !!}
|
||||
{!! Form::close() !!}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
50
resources/views/layout/index.blade.php
Normal file
50
resources/views/layout/index.blade.php
Normal file
@@ -0,0 +1,50 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ App::getLocale() }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<title>{{ $title }} | {{ config('app.name') }}</title>
|
||||
<link rel="stylesheet" href="/assets/vendor/boilerplate/boilerplate.min.css">
|
||||
@stack('css')
|
||||
</head>
|
||||
<body class="sidebar-mini skin-{{ config('boilerplate.app.skin', 'blue') }}">
|
||||
<div class="wrapper">
|
||||
@include('layout.header')
|
||||
@include('boilerplate::layout.mainsidebar')
|
||||
<div class="content-wrapper">
|
||||
<section class="content-header">
|
||||
@include('layout.contentheader')
|
||||
</section>
|
||||
<section class="content">
|
||||
@yield('content')
|
||||
</section>
|
||||
</div>
|
||||
@include('layout.footer')
|
||||
</div>
|
||||
<script src="{{ mix('/boilerplate.min.js', '/assets/vendor/boilerplate') }}"></script>
|
||||
<script>
|
||||
$(function() {
|
||||
$.ajaxSetup({headers:{'X-CSRF-TOKEN':'{{ csrf_token() }}'}});
|
||||
bootbox.setLocale("{{ App::getLocale() }}");
|
||||
@if(Session::has('growl'))
|
||||
@if(is_array(Session::get('growl')))
|
||||
growl("{!! Session::get('growl')[0] !!}", "{{ Session::get('growl')[1] }}");
|
||||
@else
|
||||
growl("{{Session::get('growl')}}");
|
||||
@endif
|
||||
@endif
|
||||
$('.logout').click(function(e){
|
||||
e.preventDefault();
|
||||
if(bootbox.confirm("{{ __('boilerplate::layout.logoutconfirm') }}", function(e){
|
||||
if(e === false) return;
|
||||
$('#logout-form').submit();
|
||||
}));
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@stack('js')
|
||||
</body>
|
||||
</html>
|
||||
18
resources/views/layout/mainsidebar.blade.php
Normal file
18
resources/views/layout/mainsidebar.blade.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<aside class="main-sidebar">
|
||||
<section class="sidebar" style="height: auto;">
|
||||
<div class="user-panel">
|
||||
<div class="pull-left image">
|
||||
<a href="{{ route('boilerplate.user.profile') }}">
|
||||
<img src="{{ Auth::user()->avatar_url }}" class="img-circle avatar" alt="{{ Auth::user()->name }}"/>
|
||||
</a>
|
||||
</div>
|
||||
<div class="pull-left info">
|
||||
<p>{{ Auth::user()->name }}</p>
|
||||
<a href="{{ route('boilerplate.logout') }}" class="logout">
|
||||
<i class="fa fa-circle text-success"></i> {{ __('boilerplate::layout.online') }}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{!! $menu !!}
|
||||
</section>
|
||||
</aside>
|
||||
51
resources/views/layouts/app.blade.php
Normal file
51
resources/views/layouts/app.blade.php
Normal file
@@ -0,0 +1,51 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ App::getLocale() }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<title>@if (isset($title)) {{ $title }} @endif | {{ config('app.name') }}</title>
|
||||
<link rel="stylesheet" href="{{ mix('/boilerplate.min.css', '/assets/vendor/boilerplate') }}">
|
||||
<link rel="stylesheet" href="/css/admin.min.css">
|
||||
@stack('css')
|
||||
</head>
|
||||
<body class="sidebar-mini skin-{{ config('boilerplate.app.skin', 'blue') }}">
|
||||
<div class="wrapper">
|
||||
@include('layouts.partials.app.header')
|
||||
@include('layouts.partials.app.mainsidebar')
|
||||
<div class="content-wrapper">
|
||||
<section class="content-header">
|
||||
@include('layouts.partials.app.contentheader')
|
||||
</section>
|
||||
<section class="content">
|
||||
@yield('content')
|
||||
</section>
|
||||
</div>
|
||||
@include('layouts.partials.app.footer')
|
||||
</div>
|
||||
<script src="{{ mix('/boilerplate.min.js', '/assets/vendor/boilerplate') }}"></script>
|
||||
<script>
|
||||
$(function() {
|
||||
$.ajaxSetup({headers:{'X-CSRF-TOKEN':'{{ csrf_token() }}'}});
|
||||
bootbox.setLocale("{{ App::getLocale() }}");
|
||||
@if(Session::has('growl'))
|
||||
@if(is_array(Session::get('growl')))
|
||||
growl("{!! Session::get('growl')[0] !!}", "{{ Session::get('growl')[1] }}");
|
||||
@else
|
||||
growl("{{ Session::get('growl')}}");
|
||||
@endif
|
||||
@endif
|
||||
$('.logout').click(function(e){
|
||||
e.preventDefault();
|
||||
if(bootbox.confirm("{{ __('boilerplate::layout.logoutconfirm') }}", function(e){
|
||||
if(e === false) return;
|
||||
$('#logout-form').submit();
|
||||
}));
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@stack('js')
|
||||
</body>
|
||||
</html>
|
||||
24
resources/views/layouts/partials/app/contentheader.blade.php
Normal file
24
resources/views/layouts/partials/app/contentheader.blade.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<h1>
|
||||
{{ $title }}
|
||||
@if(isset($subtitle))
|
||||
<small>{{ $subtitle }}</small>
|
||||
@endif
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li>
|
||||
<a href="{{ route('boilerplate.dashboard') }}">
|
||||
<i class="fa fa-home"></i> {{ __('boilerplate::layout.home') }}
|
||||
</a>
|
||||
</li>
|
||||
@if(isset($breadcrumb))
|
||||
@foreach($breadcrumb as $label => $route)
|
||||
@if(is_numeric($label))
|
||||
<li class="active">{{ $route }}</li>
|
||||
@elseif(is_array($route))
|
||||
<li><a href="{{ route($route[0], $route[1]) }}">{{ $label }}</a></li>
|
||||
@else
|
||||
<li><a href="{{ route($route) }}">{{ $label }}</a></li>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
</ol>
|
||||
18
resources/views/layouts/partials/app/footer.blade.php
Normal file
18
resources/views/layouts/partials/app/footer.blade.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<footer class="main-footer">
|
||||
<div class="pull-right hidden-xs">
|
||||
<a href="https://github.com/sebastienheyd/boilerplate">
|
||||
Boilerplate
|
||||
</a>
|
||||
</div>
|
||||
<strong>
|
||||
© {{ date('Y') }}
|
||||
@if(config('boilerplate.app.vendorlink'))
|
||||
<a href="{{ config('boilerplate.app.vendorlink') }}">
|
||||
{!! config('boilerplate.app.vendorname') !!}
|
||||
</a>.
|
||||
@else
|
||||
{!! config('boilerplate.app.vendorname') !!}.
|
||||
@endif
|
||||
</strong>
|
||||
{{ __('boilerplate::layout.rightsres') }}
|
||||
</footer>
|
||||
37
resources/views/layouts/partials/app/header.blade.php
Normal file
37
resources/views/layouts/partials/app/header.blade.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<header class="main-header">
|
||||
<a href="{{ route('boilerplate.dashboard') }}" class="logo">
|
||||
<span class="logo-mini">{!! config('boilerplate.app.logo-mini') !!}</span>
|
||||
<span class="logo-lg">{!! config('boilerplate.app.logo-lg') !!}</span>
|
||||
</a>
|
||||
<nav class="navbar navbar-static-top">
|
||||
<a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
|
||||
<span class="sr-only">Toggle</span>
|
||||
</a>
|
||||
<div class="navbar-custom-menu">
|
||||
<ul class="nav navbar-nav">
|
||||
<li>
|
||||
<a href="{{ route('boilerplate.logout') }}" class="logout">
|
||||
<span class="hidden-xs">
|
||||
<span class="fa fa-calendar"></span> Agenda
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ route('boilerplate.user.profile') }}">
|
||||
<img src="{{ Auth::user()->avatar_url }}" class="user-image avatar" alt="User Image"/>
|
||||
<span class="hidden-xs">{{ Auth::user()->name }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ route('boilerplate.logout') }}" class="logout">
|
||||
<span class="hidden-xs">
|
||||
<span class="fa fa-power-off"></span> {{ __('boilerplate::layout.logout') }}
|
||||
</span>
|
||||
</a>
|
||||
{!! Form::open(['route' => 'boilerplate.logout', 'method' => 'post', 'id' => 'logout-form', 'style'=> 'display:none']) !!}
|
||||
{!! Form::close() !!}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
18
resources/views/layouts/partials/app/mainsidebar.blade.php
Normal file
18
resources/views/layouts/partials/app/mainsidebar.blade.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<aside class="main-sidebar">
|
||||
<section class="sidebar" style="height: auto;">
|
||||
<div class="user-panel">
|
||||
<div class="pull-left image">
|
||||
<a href="{{ route('boilerplate.user.profile') }}">
|
||||
<img src="{{ Auth::user()->avatar_url }}" class="img-circle avatar" alt="{{ Auth::user()->name }}"/>
|
||||
</a>
|
||||
</div>
|
||||
<div class="pull-left info">
|
||||
<p>{{ Auth::user()->name }}</p>
|
||||
<a href="{{ route('boilerplate.logout') }}" class="logout">
|
||||
<i class="fa fa-circle text-success"></i> {{ __('boilerplate::layout.online') }}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{!! $menu !!}
|
||||
</section>
|
||||
</aside>
|
||||
22
resources/views/layouts/partials/site/basket.blade.php
Normal file
22
resources/views/layouts/partials/site/basket.blade.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<a class="btn btn-default" href="#" data-toggle="modal" data-target="#basketModal">
|
||||
<span class="fa fa-2x fa-shopping-cart"></span>
|
||||
</a>
|
||||
|
||||
<div class="modal" id="basketModal" tabindex="-1" role="dialog">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">Modal title</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>Modal body text goes here.</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary">Save changes</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
54
resources/views/layouts/partials/site/topbar.blade.php
Normal file
54
resources/views/layouts/partials/site/topbar.blade.php
Normal file
@@ -0,0 +1,54 @@
|
||||
<div class="fixed-top">
|
||||
<nav class="navbar navbar-expand-md navbar-light bg-bleu shadow-sm">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="{{ url('/') }}">
|
||||
{{ config('app.name', 'Laravel') }}
|
||||
</a>
|
||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="{{ __('Toggle navigation') }}">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||||
<!-- Left Side Of Navbar -->
|
||||
<ul class="navbar-nav mr-auto">
|
||||
|
||||
</ul>
|
||||
|
||||
<!-- Right Side Of Navbar -->
|
||||
<ul class="navbar-nav ml-auto">
|
||||
@include('layouts.partials.site.basket')
|
||||
|
||||
<!-- Authentication Links -->
|
||||
@guest
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{{ route('login') }}">{{ __('Login') }}</a>
|
||||
</li>
|
||||
@if (Route::has('register'))
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{{ route('register') }}">{{ __('Register') }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@else
|
||||
<li class="nav-item dropdown">
|
||||
<a id="navbarDropdown" class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" v-pre>
|
||||
{{ Auth::user()->name }} <span class="caret"></span>
|
||||
</a>
|
||||
|
||||
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
|
||||
<a class="dropdown-item" href="{{ route('boilerplate.dashboard') }}"><i class="fa fa-cog"></i> Accès à l'administration</a>
|
||||
|
||||
<a class="dropdown-item" href="{{ route('logout') }}" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
|
||||
Déconnexion
|
||||
</a>
|
||||
|
||||
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
|
||||
@csrf
|
||||
</form>
|
||||
</div>
|
||||
</li>
|
||||
@endguest
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
49
resources/views/layouts/site.blade.php
Normal file
49
resources/views/layouts/site.blade.php
Normal file
@@ -0,0 +1,49 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<!-- CSRF Token -->
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<title>{{ config('app.name', 'Laravel') }}</title>
|
||||
<link rel="stylesheet" href="/css/site.min.css">
|
||||
@stack('css')
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
|
||||
@include('layouts.partials.site.topbar')
|
||||
|
||||
<div class="container-fluid" style="margin-top: 60px;">
|
||||
<section class="content">
|
||||
@yield('content')
|
||||
</section>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<script src="/js/site.min.js"></script>
|
||||
<script>
|
||||
$(function() {
|
||||
$.ajaxSetup({headers:{'X-CSRF-TOKEN':'{{ csrf_token() }}'}});
|
||||
bootbox.setLocale("{{ App::getLocale() }}");
|
||||
@if(Session::has('growl'))
|
||||
@if(is_array(Session::get('growl')))
|
||||
growl("{!! Session::get('growl')[0] !!}", "{{ Session::get('growl')[1] }}");
|
||||
@else
|
||||
growl("{{Session::get('growl')}}");
|
||||
@endif
|
||||
@endif
|
||||
$('.logout').click(function(e){
|
||||
e.preventDefault();
|
||||
if(bootbox.confirm("{{ __('boilerplate::layout.logoutconfirm') }}", function(e){
|
||||
if(e === false) return;
|
||||
$('#logout-form').submit();
|
||||
}));
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@stack('js')
|
||||
|
||||
</body>
|
||||
</html>
|
||||
29
resources/views/shop/_partials/block-banner.twig
Normal file
29
resources/views/shop/_partials/block-banner.twig
Normal file
@@ -0,0 +1,29 @@
|
||||
<div id="ishibannerblock" class="clearfix">
|
||||
<div class="bannerleft banner-inner col-md-4 col-sm-12">
|
||||
<div class="bannerblock1 bannerblock">
|
||||
<div class="image-container">
|
||||
<a class="ishi-customhover-fadeoutcorner" href="#">
|
||||
<img src="modules/ishibannerblock/views/img/bannerblock-1.jpg" alt="bannerblock-1.jpg">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bannercenter banner-inner col-md-4 col-sm-12">
|
||||
<div class="bannerblock2 bannerblock">
|
||||
<div class="image-container">
|
||||
<a class="ishi-customhover-fadeoutcorner" href="#">
|
||||
<img src="modules/ishibannerblock/views/img/bannerblock-2.jpg" alt="bannerblock-2.jpg">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bannerright banner-inner col-md-4 col-sm-12">
|
||||
<div class="bannerblock3 bannerblock">
|
||||
<div class="image-container">
|
||||
<a class="ishi-customhover-fadeoutcorner" href="#">
|
||||
<img src="modules/ishibannerblock/views/img/bannerblock-3.jpg" alt="bannerblock-3.jpg">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
8
resources/views/shop/_partials/block-bottom.twig
Normal file
8
resources/views/shop/_partials/block-bottom.twig
Normal file
@@ -0,0 +1,8 @@
|
||||
<div id="bottom_home">
|
||||
{{ include('shop._partials.testimonials')}}
|
||||
{{ include('shop._partials.services')}}
|
||||
{{ include('shop._partials.special-products')}}
|
||||
{{ include("shop._partials.newsletter")}}
|
||||
{{ include("shop._partials.block-news")}}
|
||||
{{ include("shop._partials.block-manufacturers")}}
|
||||
</div>
|
||||
12
resources/views/shop/_partials/block-breadcrumb.twig
Normal file
12
resources/views/shop/_partials/block-breadcrumb.twig
Normal file
@@ -0,0 +1,12 @@
|
||||
<div class="breadcrumb-container">
|
||||
<nav data-depth="1" class="breadcrumb container">
|
||||
<ol itemscope itemtype="http://schema.org/BreadcrumbList">
|
||||
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
||||
<a itemprop="item" href="fr/">
|
||||
<span itemprop="name">Accueil</span>
|
||||
</a>
|
||||
<meta itemprop="position" content="1">
|
||||
</li>
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
31
resources/views/shop/_partials/block-manufacturers.twig
Normal file
31
resources/views/shop/_partials/block-manufacturers.twig
Normal file
@@ -0,0 +1,31 @@
|
||||
<div id="ishimanufacturerblock" class="container clearfix">
|
||||
<h2 class="home-title">Nos meilleures marques</h2>
|
||||
<div class="row">
|
||||
<div id="manufacturer-carousel" class="owl-carousel owl-loaded owl-drag">
|
||||
<div class="owl-stage-outer">
|
||||
<div class="owl-stage" style="transform: translate3d(-1200px, 0px, 0px); transition: all 0.25s ease 0s; width: 3600px;">
|
||||
{{ include("shop._partials.manufacturer")}}
|
||||
{{ include("shop._partials.manufacturer")}}
|
||||
{{ include("shop._partials.manufacturer")}}
|
||||
{{ include("shop._partials.manufacturer")}}
|
||||
{{ include("shop._partials.manufacturer")}}
|
||||
{{ include("shop._partials.manufacturer")}}
|
||||
{{ include("shop._partials.manufacturer")}}
|
||||
{{ include("shop._partials.manufacturer")}}
|
||||
{{ include("shop._partials.manufacturer")}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="owl-nav disabled">
|
||||
<div class="owl-prev">
|
||||
<i class="material-icons"></i>
|
||||
</div>
|
||||
<div class="owl-next">
|
||||
<i class="material-icons"></i>
|
||||
</div>
|
||||
</div>
|
||||
<div class="owl-dots disabled">
|
||||
<div class="owl-dot active"><span></span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
26
resources/views/shop/_partials/block-news.twig
Normal file
26
resources/views/shop/_partials/block-news.twig
Normal file
@@ -0,0 +1,26 @@
|
||||
<div id="smartblog_block" class="block products_block container clearfix">
|
||||
<div class="products_block_inner row">
|
||||
<h2 class="home-title">
|
||||
<a href="fr/smartblog.html">Dernières nouvelles</a>
|
||||
</h2>
|
||||
<div class="sdsblog-box-content block_content">
|
||||
<div id="smartblog-carousel" class="product_list owl-carousel owl-loaded owl-drag">
|
||||
<div class="owl-stage-outer">
|
||||
<div class="owl-stage" style="transform: translate3d(-1200px, 0px, 0px); transition: all 0s ease 0s; width: 4800px;">
|
||||
{{ include ("shop._partials.blog") }}
|
||||
{{ include ("shop._partials.blog") }}
|
||||
{{ include ("shop._partials.blog") }}
|
||||
</div>
|
||||
<div class="owl-nav">
|
||||
<div class="owl-prev"><i class="material-icons"></i></div>
|
||||
<div class="owl-next"><i class="material-icons"></i></div>
|
||||
</div>
|
||||
<div class="owl-dots">
|
||||
<div class="owl-dot active"><span></span></div>
|
||||
<div class="owl-dot"><span></span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
40
resources/views/shop/_partials/block-products.twig
Normal file
40
resources/views/shop/_partials/block-products.twig
Normal file
@@ -0,0 +1,40 @@
|
||||
<div id="ishiproductsblock" class="container clearfix">
|
||||
<div class="ishiproductsblock-container">
|
||||
<h2 class="home-title">Meilleurs produits</h2>
|
||||
|
||||
<ul id="ishiproductstab" class="nav nav-tabs clearfix">
|
||||
<li class="nav-item first_item">
|
||||
<a class="nav-link active" href="#featured-products-block" data-toggle="tab">En vedette</a>
|
||||
</li>
|
||||
<li class="nav-item ">
|
||||
<a class="nav-link " href="#new-products-block" data-toggle="tab">Dernier</a>
|
||||
</li>
|
||||
<li class="nav-item last_item">
|
||||
<a class="nav-link " href="#bestseller-products-block" data-toggle="tab">Meilleures ventes</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="product_content ">
|
||||
<div class="tab-content">
|
||||
<div id="featured-products-block" class="tab-pane active">
|
||||
<div class="block_content row">
|
||||
<div id="ishi-featured-products" class="owl-carousel">
|
||||
{{ include("shop._partials.product") }}
|
||||
{{ include("shop._partials.product") }}
|
||||
{{ include("shop._partials.product") }}
|
||||
{{ include("shop._partials.product") }}
|
||||
{{ include("shop._partials.product") }}
|
||||
{{ include("shop._partials.product") }}
|
||||
{{ include("shop._partials.product") }}
|
||||
{{ include("shop._partials.product") }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="new-products-block">
|
||||
</div>
|
||||
<div id="bestseller-products-block">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
39
resources/views/shop/_partials/blog.twig
Normal file
39
resources/views/shop/_partials/blog.twig
Normal file
@@ -0,0 +1,39 @@
|
||||
<div class="owl-item cloned" style="width: 400px;">
|
||||
<div class="item sds_blog_post">
|
||||
<div class="blog_post">
|
||||
<div class="news_module_image_holder">
|
||||
<a href="fr/smartblog/5_viderer-voluptatum-te-eum.html">
|
||||
<img alt="Viderer voluptatum te eum" class="feat_img_small" src="modules//smartblog/images/5-home-default.jpg">
|
||||
<span class="blog-hover"></span>
|
||||
</a>
|
||||
<span class="blogicons">
|
||||
<a title="Click to view Full Image" href="modules//smartblog/images/5-single-default.jpg" data-lightbox="blog-image" class="icon zoom">
|
||||
<i class="fa fa-search" aria-hidden="true"></i>
|
||||
</a>
|
||||
<a title="Click to view Read More" href="fr/smartblog/5_viderer-voluptatum-te-eum.html" class="icon readmore">
|
||||
<i class="fa fa-link" aria-hidden="true"></i>
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
<div class="smartbloginfo">
|
||||
<span class="blog_date">
|
||||
<i class="fa fa-calendar" aria-hidden="true"></i>
|
||||
<span class="blog_date_inner">
|
||||
<span class="day_month">25</span>
|
||||
<span class="day_date">Oct</span>
|
||||
</span>
|
||||
<span class="day_year">2019</span>
|
||||
</span>
|
||||
</div>
|
||||
<div class="blog_content">
|
||||
<div class="blog_inner">
|
||||
<h4 class="sds_post_title"><a href="fr/smartblog/5_viderer-voluptatum-te-eum.html">Viderer voluptatum te eum</a></h4>
|
||||
<p class="desc">
|
||||
Ei has mutat solum. Fugit atomorum efficiantur an vim, te mea...
|
||||
</p>
|
||||
<a href="fr/smartblog/5_viderer-voluptatum-te-eum.html" class="r_more">Lire la suite</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
247
resources/views/shop/_partials/footer.twig
Normal file
247
resources/views/shop/_partials/footer.twig
Normal file
@@ -0,0 +1,247 @@
|
||||
<footer id="footer">
|
||||
<div class="footer-before">
|
||||
<div class="container">
|
||||
<div id="ishifooterblock" class="clearfix">
|
||||
<div class="footer-info">Jusqu à <span class="off">40% de réduction</span> sur votre première commande</div>
|
||||
<button class="button-fb">
|
||||
<span aria-hidden="true">Achetez maintenant</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer-container">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div id="ishistoreinfo" class="col-lg-3 footer-block">
|
||||
<div class="footer-title clearfix hidden-lg-up collapsed" data-target="#ishistoreinfo-container" data-toggle="collapse">
|
||||
<span class="h3 block-heading">About US</span>
|
||||
<span class="navbar-toggler collapse-icons">
|
||||
<i class="material-icons add"></i>
|
||||
<i class="material-icons remove"></i>
|
||||
</span>
|
||||
</div>
|
||||
<div id="ishistoreinfo-container" class="ishistoreinfo-inner collapse footer-dropdown">
|
||||
<a href="http://demo.ishithemes.com" class="store-logo">
|
||||
<img src="modules/ishistoreinfoblock/views/img/footer-logo.png" alt="footer-logo.png">
|
||||
</a>
|
||||
<div class="store-description">
|
||||
<p>Fruit is their fill meat hath abundantly place meat dont stars so and which signs third second. </p>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- Block links module -->
|
||||
<div id="ishifooterlinks_block" class="col-lg-3 col-sm-12 footer-block">
|
||||
<h3 class="hidden-md-down">
|
||||
Information
|
||||
</h3>
|
||||
<div class="footer-title clearfix hidden-lg-up collapsed" data-target="#footer_ishifooterlinks" data-toggle="collapse">
|
||||
<span class="h3">Information</span>
|
||||
<span class="pull-xs-right">
|
||||
<span class="navbar-toggler collapse-icons">
|
||||
<i class="material-icons add"></i>
|
||||
<i class="material-icons remove"></i>
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
<div id="footer_ishifooterlinks" class="collapse footer-dropdown">
|
||||
<ul class="bullet">
|
||||
<li class="first_item">
|
||||
<a href="fr/promotions" title="Promotions">Promotions</a>
|
||||
</li>
|
||||
<li class="item">
|
||||
<a href="fr/nouveaux-produits" title="Nouveaux produits">Nouveaux produits</a>
|
||||
</li>
|
||||
<li class="item">
|
||||
<a href="fr/meilleures-ventes" title="Meilleures ventes">Meilleures ventes</a>
|
||||
</li>
|
||||
<li class="item">
|
||||
<a href="fr/magasins" title="Nos magasins">Nos magasins</a>
|
||||
</li>
|
||||
<li class="item">
|
||||
<a href="fr/nous-contacter" title="Contactez-nous">Contactez-nous</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="fr/plan du site" title="Sitemap">Sitemap</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /Block links module -->
|
||||
<div id="block_myaccount_infos" class="col-lg-3 links wrapper footer-block">
|
||||
<p class="h3 myaccount-title hidden-md-down">
|
||||
<a class="text-uppercase" href="fr/mon-compte" rel="nofollow">
|
||||
Votre compte
|
||||
</a>
|
||||
</p>
|
||||
<div class="footer-title clearfix hidden-lg-up collapsed" data-target="#footer_account_list" data-toggle="collapse">
|
||||
<span class="h3">Votre compte</span>
|
||||
<span class="float-xs-right">
|
||||
<span class="navbar-toggler collapse-icons">
|
||||
<i class="material-icons add"></i>
|
||||
<i class="material-icons remove"></i>
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
<ul class="account-list collapse footer-dropdown" id="footer_account_list">
|
||||
<li>
|
||||
<a href="fr/identite" title="Informations personnelles" rel="nofollow">
|
||||
Informations personnelles
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="fr/historique-commandes" title="Commandes" rel="nofollow">
|
||||
Commandes
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="fr/avoirs" title="Avoirs" rel="nofollow">
|
||||
Avoirs
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="fr/adresses" title="Adresses" rel="nofollow">
|
||||
Adresses
|
||||
</a>
|
||||
</li>
|
||||
<!-- MODULE WishList -->
|
||||
<!-- <div class="link_wishlist">
|
||||
<a href="fr/module/ishiblockwishlist/mywishlist" title="My Wishlists">
|
||||
<i class="fa fa-heart"></i>My Wishlists
|
||||
</a>
|
||||
</div> -->
|
||||
<a id="mywishlist-link" href="fr/module/ishiblockwishlist/mywishlist" title="My Wishlists" class="col-lg-4 col-md-6 col-sm-6 col-xs-12">
|
||||
<span class="link-item">
|
||||
<i class="fa fa-heart"></i>
|
||||
My Wishlists
|
||||
</span>
|
||||
</a>
|
||||
<!-- END : MODULE WishList -->
|
||||
</ul>
|
||||
</div>
|
||||
<div class="block-contact col-lg-3 footer-block">
|
||||
<p class="h3 title_block hidden-md-down">
|
||||
Informations
|
||||
</p>
|
||||
<div class="footer-title clearfix hidden-lg-up collapsed" data-target="#contact-info-container" data-toggle="collapse">
|
||||
<span class="h3 title_block">Informations</span>
|
||||
<span class="navbar-toggler collapse-icons">
|
||||
<i class="material-icons add"></i>
|
||||
<i class="material-icons remove"></i>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div id="contact-info-container" class="footer-contact collapse footer-dropdown">
|
||||
<div class="block address">
|
||||
<span class="icon"><i class="material-icons"></i></span>
|
||||
<div class="content">Demo Shop<br />France</div>
|
||||
</div>
|
||||
<div class="block phone">
|
||||
<span class="icon phone"><i class="material-icons"></i></span>
|
||||
<div class="content">
|
||||
<a href="tel:+00 900 123456789">+00 900 123456789</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="block email">
|
||||
<span class="icon"><i class="material-icons"></i></span>
|
||||
<div class="content">
|
||||
<a href="mailto:admin@gmail.com">admin@gmail.com</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="block-social col-lg-12 footer-block col-xs-12">
|
||||
<div class="footer-title clearfix hidden-lg-up collapsed" data-target="#block-container" data-toggle="collapse">
|
||||
<span class="h3 title_block">Follow Us</span>
|
||||
<span class="pull-xs-right">
|
||||
<span class="navbar-toggler collapse-icons">
|
||||
<i class="material-icons add"></i>
|
||||
<i class="material-icons remove"></i>
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
<div class="social_text hidden-md-down">
|
||||
<p class="h3 title_block">Follow Us</p>
|
||||
<p class="social-label">Keep Up To Date with Our latest offers</p>
|
||||
</div>
|
||||
<div id="block-container" class="collapse footer-dropdown">
|
||||
<ul class="social-inner">
|
||||
<li class="facebook">
|
||||
<a href="#" target="_blank">
|
||||
<span class="socialicon-label">Facebook</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="twitter">
|
||||
<a href="#" target="_blank">
|
||||
<span class="socialicon-label">Twitter</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="rss">
|
||||
<a href="#" target="_blank">
|
||||
<span class="socialicon-label">Rss</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="youtube">
|
||||
<a href="#" target="_blank">
|
||||
<span class="socialicon-label">YouTube</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="googleplus">
|
||||
<a href="#" target="_blank">
|
||||
<span class="socialicon-label">Google+</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="pinterest">
|
||||
<a href="#" target="_blank">
|
||||
<span class="socialicon-label">Pinterest</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="vimeo">
|
||||
<a href="#" target="_blank">
|
||||
<span class="socialicon-label">Vimeo</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="instagram">
|
||||
<a href="#" target="_blank">
|
||||
<span class="socialicon-label">Instagram</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer-after">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-6 col-xs-12">
|
||||
<p class="footer-aftertext">
|
||||
|
||||
<a class="_blank" href="http://www.prestashop.com" target="_blank">
|
||||
© 2020 - Logiciel e-commerce par PrestaShop™
|
||||
</a>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6 col-xs-12">
|
||||
|
||||
<div class="col-lg-12 footer-block col-xs-12 paymentlogo-container">
|
||||
<span>Payment</span>
|
||||
<img src="modules/ishipaymentoptionsblock/views/img/discover.png" alt="Discover"/>
|
||||
<img src="modules/ishipaymentoptionsblock/views/img/visa.png" alt="Visa" />
|
||||
<img src="modules/ishipaymentoptionsblock/views/img/jcb.png" alt="JCB" />
|
||||
<img src="modules/ishipaymentoptionsblock/views/img/paypal.png" alt="PayPal" />
|
||||
<img src="modules/ishipaymentoptionsblock/views/img/mastercard.png" alt="Master Card" />
|
||||
<img src="modules/ishipaymentoptionsblock/views/img/americanexpress.png" alt="American Express" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</footer>
|
||||
68
resources/views/shop/_partials/header-nav.twig
Normal file
68
resources/views/shop/_partials/header-nav.twig
Normal file
@@ -0,0 +1,68 @@
|
||||
<nav class="header-nav">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-12 col-md-6 left-nav">
|
||||
<div id="ishiheaderblock" class="clearfix">
|
||||
<div class="header-text">Obtenez Flat 25% de réduction aujourd hui</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-12 col-md-6 right-nav">
|
||||
<div class="language-selector dropdown js-dropdown">
|
||||
<span class="language-selector-label">Langue :</span>
|
||||
<a data-target="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="Sélecteur de langue">
|
||||
<span class="expand-more">Français</span>
|
||||
<i class="material-icons expand-more"></i>
|
||||
</a>
|
||||
<ul class="dropdown-menu" aria-labelledby="language-selector-label">
|
||||
<li >
|
||||
<a href="en/" class="dropdown-item" data-iso-code="en">English</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="ar/" class="dropdown-item" data-iso-code="ar">اللغة العربية</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="es/" class="dropdown-item" data-iso-code="es">Español</a>
|
||||
</li>
|
||||
<li class="current" >
|
||||
<a href="fr/" class="dropdown-item" data-iso-code="fr">Français</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="it/" class="dropdown-item" data-iso-code="it">Italiano</a>
|
||||
</li>
|
||||
<li >
|
||||
<a href="pl/" class="dropdown-item" data-iso-code="pl">Polski</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="currency-selector dropdown js-dropdown">
|
||||
<span class="currency-selector-label">Devise :</span>
|
||||
<a data-target="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="Sélecteur de devise">
|
||||
<span class="expand-more">USD $</span>
|
||||
<i class="material-icons expand-more"></i>
|
||||
</a>
|
||||
<ul class="dropdown-menu" aria-labelledby="currency-selector-label">
|
||||
<li >
|
||||
<a title="Euro" rel="nofollow" href="fr/?SubmitCurrency=1&id_currency=2" class="dropdown-item">EUR €</a>
|
||||
</li>
|
||||
<li class="current" >
|
||||
<a title="Dollar des États-Unis" rel="nofollow" href="fr/?SubmitCurrency=1&id_currency=1" class="dropdown-item">USD $</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="user-info dropdown js-dropdown">
|
||||
<span class="account-logo expand-more" data-toggle="dropdown" role="button">Account <i class="material-icons expand-more"></i></span>
|
||||
|
||||
<ul class="dropdown-menu" aria-labelledby="dLabel">
|
||||
<li>
|
||||
<a href="fr/mon-compte" title="Identifiez-vous" rel="nofollow">
|
||||
<span>Connexion</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
46
resources/views/shop/_partials/header-top.twig
Normal file
46
resources/views/shop/_partials/header-top.twig
Normal file
@@ -0,0 +1,46 @@
|
||||
<div class="header-top">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div id="desktop_logo">
|
||||
<h1>
|
||||
<a href="">
|
||||
<img class="logo img-responsive" src="img/demo-shop-logo-1528709483.jpg" alt="Demo Shop">
|
||||
</a>
|
||||
</h1>
|
||||
</div>
|
||||
<div id="_desktop_cart">
|
||||
<div class="blockcart cart-preview inactive" data-refresh-url="//demo.ishithemes.comfr/module/ps_shoppingcart/ajax">
|
||||
<div class="header">
|
||||
<span class="cart-link">
|
||||
<span class="cart-img"></span>
|
||||
<span class="cart-content">
|
||||
<span class="cart-name">Panier</span>
|
||||
<span class="cart-products-count hidden-md-down">0,00 $ - 0 items</span>
|
||||
<span class="cart-products-count hidden-lg-up">0</span>
|
||||
</span>
|
||||
</span>
|
||||
<div class="cart-dropdown empty">
|
||||
<span>Your cart is empty</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="ishiheadercontactblock" class="clearfix">
|
||||
<div class="call-img"></div>
|
||||
<div class="call">
|
||||
<div class="call-us">Appelez-nous</div>
|
||||
<div class="call-num">+00 900 123456789</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
|
||||
<div id="mobile_top_menu_wrapper" class="hidden-lg-up" style="display:none;">
|
||||
<div id="top_menu_closer">
|
||||
<i class="material-icons"></i>
|
||||
</div>
|
||||
<div class="js-top-menu mobile" id="_mobile_top_menu"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
25
resources/views/shop/_partials/header.twig
Normal file
25
resources/views/shop/_partials/header.twig
Normal file
@@ -0,0 +1,25 @@
|
||||
<header id="header">
|
||||
<div class="header-banner"></div>
|
||||
|
||||
{{ include("shop._partials.header-nav") }}
|
||||
{{ include("shop._partials.header-top")}}
|
||||
|
||||
|
||||
<div class="nav-full-width">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
|
||||
{{ include("shop._partials.sections")}}
|
||||
{{ include("shop._partials.search")}}
|
||||
|
||||
<div id="menu-icon" class="menu-icon hidden-lg-up">
|
||||
<i class="fa fa-bars" aria-hidden="true"></i>
|
||||
</div>
|
||||
<div id="_mobile_cart"></div>
|
||||
<div id="_mobile_seach_widget"></div>
|
||||
<div id="_mobile_user_info"></div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
9
resources/views/shop/_partials/manufacturer.twig
Normal file
9
resources/views/shop/_partials/manufacturer.twig
Normal file
@@ -0,0 +1,9 @@
|
||||
<div class="owl-item cloned" style="width: 200px;">
|
||||
<div class="item">
|
||||
<div class="image-container">
|
||||
<a href="fr/1_fashion-manufacturer-1">
|
||||
<img src="img/m/1.jpg" title="Fashion Manufacturer 1" alt="Fashion Manufacturer 1">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
31
resources/views/shop/_partials/newsletter.twig
Normal file
31
resources/views/shop/_partials/newsletter.twig
Normal file
@@ -0,0 +1,31 @@
|
||||
<div class="block_newsletter footer-block">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="newsletter_text">
|
||||
<h3 class="title_block home-title">Newsletter</h3>
|
||||
<div class="news-text">
|
||||
<p class="block-newsletter-label">Sign up & Get offer</p>
|
||||
<p class="block-newsletter-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam ac ex sit amet arcu ultricies rhoncus vel ut nislimply Dummy Text.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="newsletter" class=" col-lg-12 footer-dropdown">
|
||||
<form action="fr/#footer" method="post">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<input class="btn btn-primary hidden-sm-down" name="submitNewsletter" type="submit" value="S’abonner">
|
||||
<input class="btn btn-primary hidden-md-up" name="submitNewsletter" type="submit" value="S’abonner">
|
||||
<div class="input-wrapper">
|
||||
<input name="email" type="email" value="" placeholder="Votre adresse e-mail" aria-labelledby="block-newsletter-label">
|
||||
</div>
|
||||
<input type="hidden" name="action" value="0">
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<div class="col-xs-12">
|
||||
<p class="conditions">Vous pouvez vous désinscrire à tout moment. Vous trouverez pour cela nos informations de contact dans les conditions d'utilisation du site.</p>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
5
resources/views/shop/_partials/notifications.twig
Normal file
5
resources/views/shop/_partials/notifications.twig
Normal file
@@ -0,0 +1,5 @@
|
||||
<aside id="notifications">
|
||||
<div class="container">
|
||||
|
||||
</div>
|
||||
</aside>
|
||||
20
resources/views/shop/_partials/presta_js.twig
Normal file
20
resources/views/shop/_partials/presta_js.twig
Normal file
File diff suppressed because one or more lines are too long
98
resources/views/shop/_partials/product.twig
Normal file
98
resources/views/shop/_partials/product.twig
Normal file
@@ -0,0 +1,98 @@
|
||||
<div class="multilevel-item">
|
||||
<div class="item" data-id-product="1" data-id-product-attribute="1" itemscope itemtype="http://schema.org/Product">
|
||||
|
||||
<article class="product-miniature js-product-miniature" data-id-product="1" data-id-product-attribute="1" itemscope itemtype="http://schema.org/Product">
|
||||
<div class="product-container">
|
||||
<div class="thumbnail-container">
|
||||
<div class="thumbnail-inner">
|
||||
|
||||
<a href="fr/tshirts/1-faded-short-sleeves-tshirt.html" class="thumbnail product-thumbnail">
|
||||
<img src = "6-home_default/faded-short-sleeves-tshirt.jpg" alt = "Simul dolorem voluptaria" data-full-size-image-url="6-large_default/faded-short-sleeves-tshirt.jpg">
|
||||
<img class="product-img-extra change" src = "7-home_default/faded-short-sleeves-tshirt.jpg"/>
|
||||
</a>
|
||||
|
||||
<div class="thumbnail-buttons">
|
||||
|
||||
<div class="quickview-btn">
|
||||
<a href="#" class="quick-view" data-link-action="quickview" >
|
||||
<i class="material-icons visibility"></i>
|
||||
<span class="lblquickview">Aperçu rapide</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="cart-btn">
|
||||
<form action="fr/panier" method="post">
|
||||
<input class='carttoken' type="hidden" name="token" value="3d2187fdc78a54510e1e1670c3ff42b0">
|
||||
<input type="hidden" name="id_product" value="1">
|
||||
<input type="hidden" name="id_customization" value="0">
|
||||
<input type="hidden" name="qty" value="1">
|
||||
<a data-button-action="add-to-cart" class="btn btn-primary ajax_add_to_cart_button add-to-cart">
|
||||
<i class="material-icons shopping-cart"></i>
|
||||
<span class="lblcart">Ajouter au panier</span>
|
||||
</a>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="wishlist-btn">
|
||||
<a id="wishlist_button" href="#" onclick="WishlistCart('wishlist_block_list', 'add', 1, 0, 1); return false;" title="Add to my wishlist">
|
||||
<span class="lblwishlist"> Add to wishlist</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ul class="product-flags">
|
||||
<li class="discount">-20%</li>
|
||||
<li class="new">Nouveau</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="product-description">
|
||||
<h3 class="h3 product-title" itemprop="name">
|
||||
<a href="fr/tshirts/1-faded-short-sleeves-tshirt.html">Simul dolorem voluptaria</a>
|
||||
</h3>
|
||||
<div class="product-comments">
|
||||
<div class="star_content">
|
||||
<div class="star"></div>
|
||||
<div class="star"></div>
|
||||
<div class="star"></div>
|
||||
<div class="star"></div>
|
||||
<div class="star"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="comment_advice">
|
||||
<a href="#reviews" class="read_comment" id="read_comment">
|
||||
<i class="material-icons comments" aria-hidden="true"></i>
|
||||
Lire les avis
|
||||
</a>
|
||||
<a href="#" class="write_comment" data-toggle="modal" data-target="#new_comment_form">
|
||||
<i class="material-icons comments" aria-hidden="true"></i>
|
||||
Ecrire une critique
|
||||
</a>
|
||||
</div>
|
||||
<span>0 review</span>
|
||||
</div>
|
||||
|
||||
<div class="product-price-and-shipping">
|
||||
<span class="regular-price">16,51 $</span>
|
||||
<span class="discount-percentage discount-product">-20%</span>
|
||||
<span itemprop="price" class="price">13,21 $</span>
|
||||
</div>
|
||||
|
||||
<div class="highlighted-informations hidden-sm-down">
|
||||
<div class="variant-links">
|
||||
<a href="fr/tshirts/1-3-faded-short-sleeves-tshirt.html#/2-taille-m/13-couleur-orange" class="color" title="Orange" style="background-color: #F39C11">
|
||||
<span class="sr-only">Orange</span>
|
||||
</a>
|
||||
<a href="fr/tshirts/1-2-faded-short-sleeves-tshirt.html#/1-taille-s/14-couleur-bleu" class="color" title="Bleu" style="background-color: #5D9CEC">
|
||||
<span class="sr-only">Bleu</span>
|
||||
</a>
|
||||
<span class="js-count count"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
18
resources/views/shop/_partials/search.twig
Normal file
18
resources/views/shop/_partials/search.twig
Normal file
@@ -0,0 +1,18 @@
|
||||
<!-- Block search module TOP -->
|
||||
<div id="_desktop_seach_widget">
|
||||
<div id="search_widget" class="search-widget" data-search-controller-url="//demo.ishithemes.comfr/recherche">
|
||||
<div class="search-menu-icon">
|
||||
<span class="search-logo"> </span>
|
||||
<!-- <i class="material-icons d-inline"></i> -->
|
||||
</div>
|
||||
<form method="get" action="//demo.ishithemes.comfr/recherche" class="hide">
|
||||
<input type="hidden" name="controller" value="search">
|
||||
<input type="text" name="s" value="" placeholder="Rechercher">
|
||||
<button type="submit">
|
||||
<span>Rechercher</span>
|
||||
<i class="material-icons search"></i>
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /Block search module TOP -->
|
||||
104
resources/views/shop/_partials/sections.twig
Normal file
104
resources/views/shop/_partials/sections.twig
Normal file
@@ -0,0 +1,104 @@
|
||||
<div class="menu js-top-menu hidden-sm-down" id="_desktop_top_menu">
|
||||
|
||||
<ul class="top-menu" id="top-menu" data-depth="0">
|
||||
<li class="category" id="category-3">
|
||||
<a class="dropdown-item" href="fr/3-women" data-depth="0">
|
||||
<span class="float-xs-right hidden-lg-up">
|
||||
<span data-target="#top_sub_menu_74053" data-toggle="collapse" class="navbar-toggler collapse-icons">
|
||||
<i class="material-icons add"></i>
|
||||
<i class="material-icons remove"></i>
|
||||
</span>
|
||||
</span>
|
||||
Women
|
||||
</a>
|
||||
<div class="popover sub-menu js-sub-menu collapse" id="top_sub_menu_74053">
|
||||
<ul class="top-menu" data-depth="1">
|
||||
<li class="category" id="category-4">
|
||||
<a class="dropdown-item dropdown-submenu" href="fr/4-tops" data-depth="1">
|
||||
<span class="float-xs-right hidden-lg-up">
|
||||
<span data-target="#top_sub_menu_37104" data-toggle="collapse" class="navbar-toggler collapse-icons">
|
||||
<i class="material-icons add"></i>
|
||||
<i class="material-icons remove"></i>
|
||||
</span>
|
||||
</span>
|
||||
Tops
|
||||
</a>
|
||||
<div class="collapse" id="top_sub_menu_37104">
|
||||
<ul class="top-menu" data-depth="2">
|
||||
<li class="category" id="category-5">
|
||||
<a class="dropdown-item" href="fr/5-tshirts" data-depth="2">
|
||||
T-shirts
|
||||
</a>
|
||||
</li>
|
||||
<li class="category" id="category-6">
|
||||
<a class="dropdown-item" href="fr/6-top" data-depth="2">
|
||||
Tops
|
||||
</a>
|
||||
</li>
|
||||
<li class="category" id="category-7">
|
||||
<a class="dropdown-item" href="fr/7-blouses" data-depth="2">
|
||||
Blouses
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
<li class="category" id="category-8">
|
||||
<a class="dropdown-item dropdown-submenu" href="fr/8-dresses" data-depth="1">
|
||||
<span class="float-xs-right hidden-lg-up">
|
||||
<span data-target="#top_sub_menu_96802" data-toggle="collapse" class="navbar-toggler collapse-icons">
|
||||
<i class="material-icons add"></i>
|
||||
<i class="material-icons remove"></i>
|
||||
</span>
|
||||
</span>
|
||||
Dresses
|
||||
</a>
|
||||
<div class="collapse" id="top_sub_menu_96802">
|
||||
<ul class="top-menu" data-depth="2">
|
||||
<li class="category" id="category-9">
|
||||
<a class="dropdown-item" href="fr/9-casual-dresses" data-depth="2">
|
||||
Casual Dresses
|
||||
</a>
|
||||
</li>
|
||||
<li class="category" id="category-10">
|
||||
<a class="dropdown-item" href="fr/10-evening-dresses" data-depth="2">
|
||||
Evening Dresses
|
||||
</a>
|
||||
</li>
|
||||
<li class="category" id="category-11">
|
||||
<a class="dropdown-item" href="fr/11-summer-dresses" data-depth="2">
|
||||
Summer Dresses
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<img class="category-image" src="img/c/3-0_thumb.jpg" alt="Women" title="Women">
|
||||
</div>
|
||||
</li>
|
||||
<li class="category" id="category-12">
|
||||
<a class="dropdown-item" href="fr/12-outfits" data-depth="0">
|
||||
Outfits
|
||||
</a>
|
||||
</li>
|
||||
<li class="category" id="category-13">
|
||||
<a class="dropdown-item" href="fr/13-accessories" data-depth="0">
|
||||
Accessories
|
||||
</a>
|
||||
</li>
|
||||
<li class="cms-page" id="cms-page-1">
|
||||
<a class="dropdown-item" href="fr/content/1-delivery" data-depth="0">
|
||||
Delivery
|
||||
</a>
|
||||
</li>
|
||||
<li class="cms-page" id="cms-page-4">
|
||||
<a class="dropdown-item" href="fr/content/4-about-us" data-depth="0">
|
||||
About us
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
|
||||
49
resources/views/shop/_partials/services.twig
Normal file
49
resources/views/shop/_partials/services.twig
Normal file
@@ -0,0 +1,49 @@
|
||||
<div id="ishiservices" class="container clearfix">
|
||||
<h2 class="home-title">Nos services</h2>
|
||||
<div id="ishiservices-content" class="row">
|
||||
<div class="services support col-lg-3 col-sm-6 col-xs-12">
|
||||
<a href="#">
|
||||
<div class="service-content">
|
||||
<div class="service-img" style="background-image: url(modules/ishiservicesblock/views/img/serviceimg-1.png);"></div>
|
||||
<div class="service-block">
|
||||
<div class="service-title">Support gratuit</div>
|
||||
<div class="service-desc">Lorem ipsum is Dolor</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="services shipping col-lg-3 col-sm-6 col-xs-12">
|
||||
<a href="#">
|
||||
<div class="service-content">
|
||||
<div class="service-img" style="background-image: url(modules/ishiservicesblock/views/img/serviceimg-2.png)" ;=""></div>
|
||||
<div class="service-block">
|
||||
<div class="service-title">Remboursement</div>
|
||||
<div class="service-desc">Lorem ipsum is Dolor</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="services money-back col-lg-3 col-sm-6 col-xs-12">
|
||||
<a href="#">
|
||||
<div class="service-content">
|
||||
<div class="service-img" style="background-image: url(modules/ishiservicesblock/views/img/serviceimg-3.png)" ;=""></div>
|
||||
<div class="service-block">
|
||||
<div class="service-title">Retour facile</div>
|
||||
<div class="service-desc">Lorem ipsum is Dolor</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="services big-saving col-lg-3 col-sm-6 col-xs-12">
|
||||
<a href="#">
|
||||
<div class="service-content">
|
||||
<div class="service-img" style="background-image: url(modules/ishiservicesblock/views/img/serviceimg-4.png)" ;=""></div>
|
||||
<div class="service-block">
|
||||
<div class="service-title">Remboursement</div>
|
||||
<div class="service-desc">Lorem ipsum is Dolor</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
12
resources/views/shop/_partials/slider.twig
Normal file
12
resources/views/shop/_partials/slider.twig
Normal file
@@ -0,0 +1,12 @@
|
||||
<div id="ishislider" class="ishislider-container owl-carousel" data-interval="5000" data-pause="hover">
|
||||
<div class="item">
|
||||
<a href="#">
|
||||
<img src="modules/ishislider/views/img/slide-1.jpg" alt="Banner Legend - 1" title="Banner Legend - 1" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="item">
|
||||
<a href="#">
|
||||
<img src="modules/ishislider/views/img/slide-2.jpg" alt="Banner Legend - 2" title="Banner Legend - 2" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
85
resources/views/shop/_partials/special-product.twig
Normal file
85
resources/views/shop/_partials/special-product.twig
Normal file
@@ -0,0 +1,85 @@
|
||||
<div class="owl-item active" style="width: 300px;">
|
||||
<div class="item " data-id-product="5" data-id-product-attribute="19" itemscope="" itemtype="http://schema.org/Product">
|
||||
<article class="product-miniature js-product-miniature" data-id-product="5" data-id-product-attribute="19" itemscope="" itemtype="http://schema.org/Product">
|
||||
<div class="product-container">
|
||||
<div class="thumbnail-container">
|
||||
<div class="thumbnail-inner">
|
||||
<a href="fr/summer-dresses/5-printed-summer-dress.html" class="thumbnail product-thumbnail">
|
||||
<img src="2-home_default/printed-summer-dress.jpg" alt="Eled doming deserunt" data-full-size-image-url="2-large_default/printed-summer-dress.jpg">
|
||||
<img class="product-img-extra change" src="3-home_default/printed-summer-dress.jpg">
|
||||
</a>
|
||||
<div class="thumbnail-buttons">
|
||||
<div class="quickview-btn">
|
||||
<a href="#" class="quick-view" data-link-action="quickview">
|
||||
<i class="material-icons visibility"></i>
|
||||
<span class="lblquickview">Aperçu rapide</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="cart-btn">
|
||||
<form action="fr/panier" method="post">
|
||||
<input class="carttoken" type="hidden" name="token" value="3d2187fdc78a54510e1e1670c3ff42b0">
|
||||
<input type="hidden" name="id_product" value="5">
|
||||
<input type="hidden" name="id_customization" value="0">
|
||||
<input type="hidden" name="qty" value="1">
|
||||
<a data-button-action="add-to-cart" class="btn btn-primary ajax_add_to_cart_button add-to-cart">
|
||||
<i class="material-icons shopping-cart"></i>
|
||||
<span class="lblcart">Ajouter au panier</span>
|
||||
</a>
|
||||
</form>
|
||||
</div>
|
||||
<div class="wishlist-btn">
|
||||
<a id="wishlist_button" href="#" onclick="WishlistCart('wishlist_block_list', 'add', 5, 0, 1); return false;" title="Add to my wishlist">
|
||||
<span class="lblwishlist"> Add to wishlist</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="product-flags">
|
||||
<li class="discount">-5%</li>
|
||||
<li class="new">Nouveau</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="product-description">
|
||||
<h3 class="h3 product-title" itemprop="name">
|
||||
<a href="fr/summer-dresses/5-printed-summer-dress.html">Eled doming deserunt</a>
|
||||
</h3>
|
||||
<div class="product-comments">
|
||||
<div class="star_content">
|
||||
<div class="star"></div>
|
||||
<div class="star"></div>
|
||||
<div class="star"></div>
|
||||
<div class="star"></div>
|
||||
<div class="star"></div>
|
||||
</div>
|
||||
<div class="comment_advice">
|
||||
<a href="#reviews" class="read_comment" id="read_comment"><i class="material-icons comments" aria-hidden="true"></i>Lire les avis</a>
|
||||
<a href="#" class="write_comment" data-toggle="modal" data-target="#new_comment_form"><i class="material-icons comments" aria-hidden="true"></i>Ecrire une critique</a>
|
||||
</div>
|
||||
<span>0 review</span>
|
||||
</div>
|
||||
<div class="product-price-and-shipping">
|
||||
<span class="regular-price">30,50 $</span>
|
||||
<span class="discount-percentage discount-product">-5%</span>
|
||||
<span itemprop="price" class="price">28,98 $</span>
|
||||
</div>
|
||||
<div class="highlighted-informations hidden-sm-down">
|
||||
<div class="variant-links">
|
||||
<a href="fr/summer-dresses/5-22-printed-summer-dress.html#/1-taille-s/11-couleur-noir" class="color" title="Noir" style="background-color: #434A54">
|
||||
<span class="sr-only">Noir</span>
|
||||
</a>
|
||||
<a href="fr/summer-dresses/5-21-printed-summer-dress.html#/1-taille-s/13-couleur-orange" class="color" title="Orange" style="background-color: #F39C11">
|
||||
<span class="sr-only">Orange</span>
|
||||
</a>
|
||||
<a href="fr/summer-dresses/5-20-printed-summer-dress.html#/1-taille-s/14-couleur-bleu" class="color" title="Bleu" style="background-color: #5D9CEC">
|
||||
<span class="sr-only">Bleu</span>
|
||||
</a>
|
||||
<a href="fr/summer-dresses/5-23-printed-summer-dress.html#/2-taille-m/16-couleur-jaune" class="color" title="Jaune" style="background-color: #F1C40F">
|
||||
<span class="sr-only">Jaune</span>
|
||||
</a>
|
||||
<span class="js-count count"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
21
resources/views/shop/_partials/special-products.twig
Normal file
21
resources/views/shop/_partials/special-products.twig
Normal file
@@ -0,0 +1,21 @@
|
||||
<div id="ishispecialproducts" class="clearfix container">
|
||||
<div class="products_block_inner">
|
||||
<h2 class="home-title">Produits speciaux</h2>
|
||||
<!-- Custom start -->
|
||||
<!-- Custom End -->
|
||||
<div class="block_content row">
|
||||
<div id="ishispecialproducts-caraousel" class="owl-carousel products owl-loaded owl-drag">
|
||||
<div class="owl-stage-outer">
|
||||
<div class="owl-stage" style="transform: translate3d(0px, 0px, 0px); transition: all 0s ease 0s; width: 2100px;">
|
||||
{{ include ("shop._partials.special-product")}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="owl-nav">
|
||||
<div class="owl-prev"><i class="material-icons"></i></div>
|
||||
<div class="owl-next"><i class="material-icons"></i></div>
|
||||
</div>
|
||||
<div class="owl-dots disabled"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
61
resources/views/shop/_partials/testimonials.twig
Normal file
61
resources/views/shop/_partials/testimonials.twig
Normal file
@@ -0,0 +1,61 @@
|
||||
<div id="ishitestimonials">
|
||||
<div class="ttback-img" style="background: url(modules/ishitestimonials/views/img/parallax.png );">
|
||||
<div id="ishitestimonials-carousel" class="owl-carousel container owl-loaded owl-drag">
|
||||
<div class="owl-stage-outer">
|
||||
<div class="owl-stage" style="transform: translate3d(-2400px, 0px, 0px); transition: all 0.25s ease 0s; width: 3600px;">
|
||||
<div class="owl-item" style="width: 1200px;">
|
||||
<div id="ishitestimonials_1" class="item">
|
||||
<div class="ishitestimonials-container">
|
||||
<div class="testimonial-img">
|
||||
<img src="modules/ishitestimonials/views/img/testimonial-1.png" alt="Meck Jeckno">
|
||||
</div>
|
||||
|
||||
<span class="user-name">Meck Jeckno</span>
|
||||
<div class="user-description">
|
||||
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean Aenean massa. Cum sociis natoque. Lorem ipsum dolor sit amet, consectetuer Cum sociis natoque Anema.
|
||||
</div>
|
||||
<div class="user-info">
|
||||
<span class="user-designation">Designer / Devloper</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="owl-item" style="width: 1200px;">
|
||||
<div id="ishitestimonials_2" class="item">
|
||||
<div class="ishitestimonials-container">
|
||||
<div class="testimonial-img">
|
||||
<img src="modules/ishitestimonials/views/img/testimonial-2.png" alt="Meck Jeckno">
|
||||
</div>
|
||||
|
||||
<span class="user-name">Meck Jeckno</span>
|
||||
<div class="user-description">
|
||||
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean Aenean massa. Cum sociis natoque. Lorem ipsum dolor sit amet, consectetuer Cum sociis natoque Anema.
|
||||
</div>
|
||||
<div class="user-info">
|
||||
<span class="user-designation">Designer / Devloper</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="owl-item active" style="width: 1200px;">
|
||||
<div id="ishitestimonials_3" class="item">
|
||||
<div class="ishitestimonials-container">
|
||||
<div class="testimonial-img">
|
||||
<img src="modules/ishitestimonials/views/img/testimonial-3.png" alt="Meck Jeckno">
|
||||
</div>
|
||||
|
||||
<span class="user-name">Meck Jeckno</span>
|
||||
<div class="user-description">
|
||||
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean Aenean massa. Cum sociis natoque. Lorem ipsum dolor sit amet, consectetuer Cum sociis natoque Anema.
|
||||
</div>
|
||||
<div class="user-info">
|
||||
<span class="user-designation">Designer / Devloper</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
49
resources/views/shop/_partials/wrapper.twig
Normal file
49
resources/views/shop/_partials/wrapper.twig
Normal file
@@ -0,0 +1,49 @@
|
||||
<section id="wrapper">
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
|
||||
|
||||
|
||||
<div id="content-wrapper" class="col-xs-12">
|
||||
|
||||
|
||||
|
||||
<section id="main">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<section id="content" class="page-home">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
<footer class="page-footer">
|
||||
|
||||
<!-- Footer content -->
|
||||
|
||||
</footer>
|
||||
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
@@ -0,0 +1,30 @@
|
||||
<div class="row">
|
||||
<div class="col-md-3 col-sm-6 col-xs-12">
|
||||
<a href="{!! route('Shop.Admin.Orders.index') !!}">
|
||||
@include('shop.admin.Dashboard.components.infobox', ['count' => (isset($nb_lots_envente)) ? $nb_lots_envente : 0, 'class' => 'bg-aqua', 'icon' => 'fa-building-o', 'text' => 'Lots disponibles'])
|
||||
</a>
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
<div class="col-md-3 col-sm-6 col-xs-12">
|
||||
<a href="{!! route('Shop.Admin.Invoices.index') !!}">
|
||||
@include('shop.admin.Dashboard.components.infobox', ['count' => (isset($nb_lots_optionne)) ? $nb_lots_optionne : 0, 'class' => 'bg-red', 'icon' => 'fa-clock-o', 'text' => 'Options'])
|
||||
</a>
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
|
||||
<!-- fix for small devices only -->
|
||||
<div class="clearfix visible-sm-block"></div>
|
||||
|
||||
<div class="col-md-3 col-sm-6 col-xs-12">
|
||||
<a href="{!!route('Shop.Admin.Orders.index') !!}">
|
||||
@include('shop.admin.Dashboard.components.infobox', ['count' => (isset($nb_dossiers_encours)) ? $nb_dossiers_encours : 0, 'class' => 'bg-yellow', 'icon' => 'fa-hourglass-start', 'text' => 'Dossiers en cours'])
|
||||
</a>
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
<div class="col-md-3 col-sm-6 col-xs-12">
|
||||
<a href="{!! route('Shop.Admin.Orders.index') !!}">
|
||||
@include('shop.admin.Dashboard.components.infobox', ['count' => (isset($nb_ventes)) ? $nb_ventes : 0, 'class' => 'bg-green', 'icon' => 'fa-check-square-o', 'text' => 'Ventes'])
|
||||
</a>
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
@@ -0,0 +1,38 @@
|
||||
<div class="row">
|
||||
<div class="col-sm-3 col-xs-6">
|
||||
<div class="description-block border-right">
|
||||
<span class="description-percentage text-green"><i class="fa fa-caret-up"></i> 17%</span>
|
||||
<h5 class="description-header">35 210.43 €</h5>
|
||||
<span class="description-text">TOTAL VENTE</span>
|
||||
</div>
|
||||
<!-- /.description-block -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
<div class="col-sm-3 col-xs-6">
|
||||
<div class="description-block border-right">
|
||||
<span class="description-percentage text-yellow"><i class="fa fa-caret-left"></i> 0%</span>
|
||||
<h5 class="description-header">10 390.90 €</h5>
|
||||
<span class="description-text">PANIER MOYEN</span>
|
||||
</div>
|
||||
<!-- /.description-block -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
<div class="col-sm-3 col-xs-6">
|
||||
<div class="description-block border-right">
|
||||
<span class="description-percentage text-green"><i class="fa fa-caret-up"></i> 20%</span>
|
||||
<h5 class="description-header">248</h5>
|
||||
<span class="description-text">NB CLIENTS</span>
|
||||
</div>
|
||||
<!-- /.description-block -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
<div class="col-sm-3 col-xs-6">
|
||||
<div class="description-block">
|
||||
<span class="description-percentage text-red"><i class="fa fa-caret-down"></i> 18%</span>
|
||||
<h5 class="description-header">1200</h5>
|
||||
<span class="description-text">NB PRODUITS</span>
|
||||
</div>
|
||||
<!-- /.description-block -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
@@ -0,0 +1,24 @@
|
||||
<!-- Info boxes -->
|
||||
<div class="row">
|
||||
<div class="col-md-3 col-sm-6 col-xs-12">
|
||||
@include('modules.Dashboard.partials.tile1')
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
<div class="col-md-3 col-sm-6 col-xs-12">
|
||||
@include('modules.Dashboard.partials.tile2')
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
|
||||
<!-- fix for small devices only -->
|
||||
<div class="clearfix visible-sm-block"></div>
|
||||
|
||||
<div class="col-md-3 col-sm-6 col-xs-12">
|
||||
@include('modules.Dashboard.partials.tile3')
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
<div class="col-md-3 col-sm-6 col-xs-12">
|
||||
@include('modules.Dashboard.partials.tile4')
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
@@ -0,0 +1,66 @@
|
||||
<!-- USERS LIST -->
|
||||
<div class="box box-danger">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">Utilisateurs</h3>
|
||||
|
||||
<div class="box-tools pull-right">
|
||||
<span class="label label-danger">8 Nouveaux</span>
|
||||
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
|
||||
</button>
|
||||
<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.box-header -->
|
||||
<div class="box-body no-padding">
|
||||
<ul class="users-list clearfix">
|
||||
<li>
|
||||
<img src="/img/user1-128x128.jpg" alt="User Image">
|
||||
<a class="users-list-name" href="#">Alexander Pierce</a>
|
||||
<span class="users-list-date">Aujourd'hui</span>
|
||||
</li>
|
||||
<li>
|
||||
<img src="/img/user8-128x128.jpg" alt="User Image">
|
||||
<a class="users-list-name" href="#">Norman</a>
|
||||
<span class="users-list-date">Hier</span>
|
||||
</li>
|
||||
<li>
|
||||
<img src="/img/user7-128x128.jpg" alt="User Image">
|
||||
<a class="users-list-name" href="#">Jane</a>
|
||||
<span class="users-list-date">12 Jan</span>
|
||||
</li>
|
||||
<li>
|
||||
<img src="/img/user6-128x128.jpg" alt="User Image">
|
||||
<a class="users-list-name" href="#">John</a>
|
||||
<span class="users-list-date">12 Jan</span>
|
||||
</li>
|
||||
<li>
|
||||
<img src="/img/user2-160x160.jpg" alt="User Image">
|
||||
<a class="users-list-name" href="#">Alexander</a>
|
||||
<span class="users-list-date">13 Jan</span>
|
||||
</li>
|
||||
<li>
|
||||
<img src="/img/user5-128x128.jpg" alt="User Image">
|
||||
<a class="users-list-name" href="#">Sarah</a>
|
||||
<span class="users-list-date">14 Jan</span>
|
||||
</li>
|
||||
<li>
|
||||
<img src="/img/user4-128x128.jpg" alt="User Image">
|
||||
<a class="users-list-name" href="#">Nora</a>
|
||||
<span class="users-list-date">15 Jan</span>
|
||||
</li>
|
||||
<li>
|
||||
<img src="/img/user3-128x128.jpg" alt="User Image">
|
||||
<a class="users-list-name" href="#">Nadia</a>
|
||||
<span class="users-list-date">15 Jan</span>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- /.users-list -->
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
<div class="box-footer text-center">
|
||||
<a href="javascript:void(0)" class="uppercase">Voir tous les utilisateurs</a>
|
||||
</div>
|
||||
<!-- /.box-footer -->
|
||||
</div>
|
||||
<!--/.box -->
|
||||
@@ -0,0 +1,43 @@
|
||||
<!-- TABLE: LATEST ORDERS -->
|
||||
<div class="box box-info">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">Derniers dossiers</h3>
|
||||
|
||||
<div class="box-tools pull-right">
|
||||
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
|
||||
</button>
|
||||
<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.box-header -->
|
||||
<div class="box-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table no-margin">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Résidence</th>
|
||||
<th>Lot</th>
|
||||
<th>Prix</th>
|
||||
<th>Vendeur</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><a href="pages/examples/invoice.html">Résidence</a></td>
|
||||
<td>Lot</td>
|
||||
<td><span class="label label-success">Prix</span></td>
|
||||
<td>Vendeur</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- /.table-responsive -->
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
<div class="box-footer clearfix">
|
||||
<a href="javascript:void(0)" class="btn btn-sm btn-info btn-flat pull-left">Nouveau dossier</a>
|
||||
<a href="javascript:void(0)" class="btn btn-sm btn-default btn-flat pull-right">Voir tous les dossiers</a>
|
||||
</div>
|
||||
<!-- /.box-footer -->
|
||||
</div>
|
||||
<!-- /.box -->
|
||||
@@ -0,0 +1,23 @@
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-8">
|
||||
@include('shop.admin.Dashboard._partials.salesByPeriod')
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
@include('shop.admin.Dashboard._partials.stock')
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
@include('shop.admin.Dashboard._partials.latest_orders')
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
@include('shop.admin.Dashboard._partials.stats_sections')
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,40 @@
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">Evolution du CA</h3>
|
||||
|
||||
<div class="box-tools pull-right">
|
||||
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn btn-box-tool dropdown-toggle" data-toggle="dropdown"><i class="fa fa-wrench"></i></button>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
<li><a href="#">Par semaine</a></li>
|
||||
<li><a href="#">Par mois</a></li>
|
||||
<li class="divider"></li>
|
||||
<li><a href="#">Autre chose</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.box-header -->
|
||||
<div class="box-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
@include('shop.admin.Dashboard.components.chart')
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
</div>
|
||||
<!-- ./box-body -->
|
||||
<div class="box-footer">
|
||||
@include('shop.admin.Dashboard._partials.evolutions')
|
||||
</div>
|
||||
<!-- /.box-footer -->
|
||||
</div>
|
||||
<!-- /.box -->
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
</div>
|
||||
<!-- /.row -->
|
||||
@@ -0,0 +1,7 @@
|
||||
@include('shop.admin.Dashboard.components.infobox2', ['count' => (isset($nb_lots_optionne)) ? $nb_lots_optionne : 0, 'class' => 'bg-aqua', 'icon' => 'fa-building-o', 'text' => 'Lots optionnés', 'percent' => 0 ])
|
||||
|
||||
@include('shop.admin.Dashboard.components.infobox2', ['count' => (isset($montant_options_encours)) ? $montant_options_encours : 0, 'class' => 'bg-red', 'icon' => 'fa-clock-o', 'text' => 'Options En cours', 'percent' => 10 ])
|
||||
|
||||
@include('shop.admin.Dashboard.components.infobox2', ['count' => (isset($montant_dossiers_encours)) ? $montant_dossiers_encours : 0, 'class' => 'bg-yellow', 'icon' => 'fa-hourglass-start', 'text' => 'Dossiers en cours', 'percent' => 20 ])
|
||||
|
||||
@include('shop.admin.Dashboard.components.infobox2', ['count' => (isset($montant_ventes)) ? $montant_ventes : 0, 'class' => 'bg-green', 'icon' => 'fa-check-square-o', 'text' => 'Ventes', 'percent' => 30 ])
|
||||
@@ -0,0 +1,20 @@
|
||||
<div class="pad box-pane-right bg-green" style="min-height: 280px">
|
||||
|
||||
<div class="description-block margin-bottom">
|
||||
<div class="sparkbar pad" data-color="#fff"><canvas width="34" height="30" style="display: inline-block; width: 34px; height: 30px; vertical-align: top;"></canvas></div>
|
||||
<h5 class="description-header">{{ $nb_residences }}</h5>
|
||||
<span class="description-text">Résidences</span>
|
||||
</div>
|
||||
|
||||
<div class="description-block margin-bottom">
|
||||
<div class="sparkbar pad" data-color="#fff"><canvas width="34" height="30" style="display: inline-block; width: 34px; height: 30px; vertical-align: top;"></canvas></div>
|
||||
<h5 class="description-header">{{ $nb_lots }}</h5>
|
||||
<span class="description-text">Lots</span>
|
||||
</div>
|
||||
|
||||
<div class="description-block">
|
||||
<div class="sparkbar pad" data-color="#fff"><canvas width="34" height="30" style="display: inline-block; width: 34px; height: 30px; vertical-align: top;"></canvas></div>
|
||||
<h5 class="description-header">{{ $lots_percent }} %</h5>
|
||||
<span class="description-text">En cours</span>
|
||||
</div>
|
||||
</div>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user