08 2024
This commit is contained in:
parent
04d677d37a
commit
bfa3bb1df4
1191 changed files with 637397 additions and 10619 deletions
|
|
@ -9,36 +9,43 @@
|
|||
<div class="form-group">
|
||||
<label class="custom-control custom-checkbox float-right">
|
||||
{!! Form::checkbox('active', 1, $user->shop->active, ['class'=>'custom-control-input']) !!}
|
||||
<span class="custom-control-label">{{__('aktiv')}}</span>
|
||||
<span class="custom-control-label">{{__('activ')}}</span>
|
||||
</label>
|
||||
<label class="form-label" for="title">{{ __('shop_title') }}</label>
|
||||
{{ Form::text('title', $user->shop->title, array('placeholder'=>__('shop_title'), 'class'=>'form-control', 'id'=>'title')) }}
|
||||
<small class="form-text text-muted">{{ __('shop_title_help') }}</small>
|
||||
|
||||
|
||||
<label class="form-label" for="title">{{ __('shop.shop_title') }}</label>
|
||||
{{ Form::text('title', $user->shop->title, array('placeholder'=>__('shop.shop_title'), 'class'=>'form-control', 'id'=>'title')) }}
|
||||
<small class="form-text text-muted">{{ __('shop.shop_title_help') }}</small>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="contact">{{ __('shop.shop_contact') }} | <strong style="text-transform: uppercase"> {{ __('website.language') }} {{ \App::getLocale() }}</strong></label>
|
||||
{{ Form::textarea('contact', $user->shop->getLang('contact', false) , array('placeholder'=>__('shop.shop_contact'), 'class'=>'form-control', 'id'=>'contact', 'rows'=>4)) }}
|
||||
<small class="form-text text-muted">{{ __('shop.shop_contact_help') }}</small>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="contact">{{ __('shop_contact') }}</label>
|
||||
{{ Form::textarea('contact', $user->shop->contact , array('placeholder'=>__('shop_contact'), 'class'=>'form-control', 'id'=>'contact', 'rows'=>4)) }}
|
||||
<small class="form-text text-muted">{{ __('shop_contact_help') }}</small>
|
||||
<label class="form-label" for="accessibility">{{ __('shop.shop_accessibility') }} | <strong style="text-transform: uppercase"> {{ __('website.language') }} {{ \App::getLocale() }}</strong></label>
|
||||
{{ Form::textarea('accessibility', $user->shop->getLang('accessibility', false), array('placeholder'=>__('shop.shop_accessibility'), 'class'=>'form-control', 'id'=>'accessibility', 'rows'=>2)) }}
|
||||
<small class="form-text text-muted">{{ __('shop.shop_accessibility_help') }}</small>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="accessibility">{{ __('shop_accessibility') }}</label>
|
||||
{{ Form::textarea('accessibility', $user->shop->accessibility , array('placeholder'=>__('shop_accessibility'), 'class'=>'form-control', 'id'=>'accessibility', 'rows'=>2)) }}
|
||||
<small class="form-text text-muted">{{ __('shop_accessibility_help') }}</small>
|
||||
<label class="form-label" for="about">{{ __('shop.shop_about') }} | <strong style="text-transform: uppercase"> {{ __('website.language') }} {{ \App::getLocale() }}</strong></label>
|
||||
{{ Form::textarea('about', $user->shop->getLang('about', false) , array('placeholder'=>'', 'class'=>'form-control', 'id'=>'about', 'rows'=>2)) }}
|
||||
<small class="form-text text-muted">{{ __('shop.shop_about_help') }}</small>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="about">{{ __('shop_about') }}</label>
|
||||
{{ Form::textarea('about', $user->shop->about , array('placeholder'=>'', 'class'=>'form-control', 'id'=>'about', 'rows'=>2)) }}
|
||||
<small class="form-text text-muted">{{ __('shop_about_help') }}</small>
|
||||
<div class="text-right mt-0 mb-2">
|
||||
<a href="{{ route('user_shop_translate') }}" class="btn btn-sm btn-primary">{{ __('navigation.translate') }}</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="text-left mt-0 mb-2">
|
||||
<button type="submit" class="btn btn-secondary">{{ __('save') }}</button>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
|
||||
|
||||
{!! Form::close() !!}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- / Description -->
|
||||
|
|
@ -47,16 +54,16 @@
|
|||
|
||||
<!-- Project details -->
|
||||
<div class="card mb-4">
|
||||
<h5 class="card-header">{{ __('Shop details') }}</h5>
|
||||
<h5 class="card-header">{{ __('shop.Shop details') }}</h5>
|
||||
<ul class="list-group list-group-flush">
|
||||
<li class="list-group-item d-flex justify-content-between align-items-center">
|
||||
<div class="text-muted">{{ __('name') }}</div>
|
||||
<div class="text-muted">{{ __('shop.name') }}</div>
|
||||
<div>
|
||||
{{ $user->shop->name }}
|
||||
</div>
|
||||
</li>
|
||||
<li class="list-group-item d-flex justify-content-between align-items-center">
|
||||
<div class="text-muted">{{ __('Domain') }}</div>
|
||||
<div class="text-muted">{{ __('shop.domain') }}</div>
|
||||
<div>
|
||||
<a href="{{ $user->shop->getSubdomain(false) }}" target="_blank">{{ $user->shop->getSubdomain(false) }}
|
||||
</a>
|
||||
|
|
@ -66,31 +73,31 @@
|
|||
<div class="text-muted">{{ __('Status') }}</div>
|
||||
<div class="text-right">
|
||||
@if($user->shop->getSubdomainStatus())
|
||||
<span class="badge badge-pill badge-success"><i class="fa fa-check"> {{ __('available') }} </i> DNS</span><br>
|
||||
<span class="badge badge-pill badge-success"><i class="fa fa-check"> {{ __('shop.available') }} </i> DNS</span><br>
|
||||
@else
|
||||
<span class="badge badge-pill badge-danger"><i class="fa fa-times"> {{ __('not available') }} </i> DNS</span>
|
||||
<span class="badge badge-pill badge-danger"><i class="fa fa-times"> {{ __('shop.not_available') }} </i> DNS</span>
|
||||
@endif
|
||||
|
||||
@if($user->shop->getSubdomainAvailable())
|
||||
<span class="badge badge-pill badge-success"><i class="fa fa-check"> {{ __('available') }} </i>
|
||||
<span class="badge badge-pill badge-success"><i class="fa fa-check"> {{ __('shop.available') }} </i>
|
||||
@if($user->shop->getSubdomainSslSin()) HTTPS @else HTTP @endif
|
||||
</span>
|
||||
@else
|
||||
<span class="badge badge-pill badge-danger"><i class="fa fa-times"> {{ __('not available') }} </i> HTTP </span>
|
||||
<span class="badge badge-pill badge-danger"><i class="fa fa-times"> {{ __('shop.not_available') }} </i> HTTP </span>
|
||||
@endif
|
||||
|
||||
@if($user->shop->getSubdomainSslSinActive())
|
||||
<span class="badge badge-pill badge-success"><i class="fa fa-check"> {{ __('available') }} </i> SSL
|
||||
<span class="badge badge-pill badge-success"><i class="fa fa-check"> {{ __('shop.available') }} </i> SSL
|
||||
</span>
|
||||
@else
|
||||
<span class="badge badge-pill badge-danger"><i class="fa fa-times"> {{ __('not available') }} </i> SSL </span>
|
||||
<span class="badge badge-pill badge-danger"><i class="fa fa-times"> {{ __('shop.not_available') }} </i> SSL </span>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</li>
|
||||
@if(!$user->shop->getSubdomainStatus() || !$user->shop->getSubdomainAvailable() || !$user->shop->getSubdomainSslSinActive())
|
||||
<li class="list-group-item d-flex justify-content-between align-items-center">
|
||||
<p class="text-danger">{{ __('not available copy') }}
|
||||
<p class="text-danger">{{ __('shop.not_available_copy') }}
|
||||
<a href="" class="btn icon-btn btn-xs btn-outline-primary">
|
||||
<span class="lnr lnr-redo"></span>
|
||||
</a>
|
||||
|
|
@ -99,7 +106,7 @@
|
|||
</li>
|
||||
@endif
|
||||
<li class="list-group-item d-flex justify-content-between align-items-center">
|
||||
<div class="text-muted">{{ __('active since') }}</div>
|
||||
<div class="text-muted">{{ __('shop.active_since') }}</div>
|
||||
<div>
|
||||
<strong>{{ $user->shop->getActiveDateFormat() }}</strong>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
|
||||
|
||||
<h5 class="card-header">{{ __('shop image') }}<br><small>{{ __('shop image copy') }}</small>
|
||||
<h5 class="card-header">{{ __('shop.shop_image') }}<br><small>{{ __('shop.shop_image_copy') }}</small>
|
||||
</h5>
|
||||
<div class="card-body p-3">
|
||||
<style>
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
<div class="text-center">
|
||||
<img class="img-fluid" style="margin: 0 auto;" alt="" src="{{ url($user->shop->getImage()) }}">
|
||||
<br><br>
|
||||
<a href="{{ route('user_shop_delete_image') }}" class="btn btn-danger" onclick="return confirm('Bild wirklich löschen?');"><i class="fa fa-trash"></i></a>
|
||||
<a href="{{ route('user_shop_delete_image') }}" class="btn btn-danger" onclick="return confirm('{{ __('actions.really_delete_picture') }}');"><i class="fa fa-trash"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
@else
|
||||
|
|
@ -32,25 +32,25 @@
|
|||
@csrf
|
||||
<div class="slim_holder text-center">
|
||||
<div class="slim" style="margin:20px auto;"
|
||||
data-label='<span class="text-green">Foto-Upload</span><br>(Datei suchen oder Drag & Drop)'
|
||||
data-label='<span class="text-green">{{ __('actions.upload_photo') }}</span><br>({{ __('actions.search_file_or_drag_drop') }})'
|
||||
data-fetcher="fetch.php"
|
||||
data-size="400,400"
|
||||
data-size="600,800"
|
||||
data-min-size="200,200"
|
||||
data-max-file-size="10"
|
||||
data-status-image-too-small="Bild zu klein<br>min. $0 Pixel"
|
||||
data-status-file-type="Ungültige Datei<br>bitte nur: $0"
|
||||
data-status-file-size="Die Datei ist zu groß<br>max. $0 MB"
|
||||
data-button-confirm-label="bestätigen"
|
||||
data-button-cancel-label="abbrechen"
|
||||
data-button-confirm-title="bestätigen"
|
||||
data-button-cancel-title="abbrechen"
|
||||
data-button-rotate-title="drehen"
|
||||
data-ratio="1:1">
|
||||
data-status-image-too-small="{{ __('actions.image_too_small') }}"
|
||||
data-status-file-type="{{ __('actions.invalid_file') }}"
|
||||
data-status-file-size="{{ __('actions.file_is_too_big') }}"
|
||||
data-button-confirm-label="{{ __('actions.confirm') }}"
|
||||
data-button-cancel-label="{{ __('actions.cancel') }}"
|
||||
data-button-confirm-title="{{ __('actions.confirm') }}"
|
||||
data-button-cancel-title="{{ __('actions.cancel') }}"
|
||||
data-button-rotate-title="{{ __('actions.rotate') }}"
|
||||
data-ratio="3:4">
|
||||
<input type="file" name="images[]" required />
|
||||
</div>
|
||||
|
||||
<br>
|
||||
<button class="btn btn-primary" type="submit">Bild speichern</button>
|
||||
<button class="btn btn-primary" type="submit">{{ __('actions.save_image') }}</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,14 +1,7 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5 class="card-header">{{ __('shop on site') }}<br><small>{{ __('shop on site copy') }}</small>
|
||||
<h5 class="card-header">
|
||||
{{ __('shop.shop_on_site') }}<br>
|
||||
<small>{{ __('shop.shop_on_site_copy') }}</small>
|
||||
</h5>
|
||||
<div class="card-body p-3">
|
||||
<style>
|
||||
|
|
@ -29,7 +22,7 @@
|
|||
<div class="col-6 col-md-4 text-center" style="border: 1px solid #eee;">
|
||||
<img class="img-fluid" alt="" src="{{ route('user_shop_image', [$image->slug]) }}">
|
||||
<br>
|
||||
<a href="{{ route('user_shop_on_site_delete_image', [$image->id, $user->shop->id]) }}" class="btn btn-sm btn-danger mt-2 mb-2" onclick="return confirm('Bild wirklich löschen?');"><i class="fa fa-trash"></i></a>
|
||||
<a href="{{ route('user_shop_on_site_delete_image', [$image->id, $user->shop->id]) }}" class="btn btn-sm btn-danger mt-2 mb-2" onclick="return confirm('{{ __('actions.really_delete_picture') }}');"><i class="fa fa-trash"></i></a>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
|
|
@ -42,25 +35,25 @@
|
|||
<input type="hidden" name="user_shop_id" value="{{$user->shop->id}}">
|
||||
<div class="slim_holder text-center">
|
||||
<div class="slim" style="margin:20px auto;"
|
||||
data-label='<span class="text-green">Foto-Upload</span><br>(Datei suchen oder Drag & Drop)'
|
||||
data-label='<span class="text-green">{{ __('actions.upload_photo') }}</span><br>({{ __('actions.search_file_or_drag_drop') }})'
|
||||
data-fetcher="fetch.php"
|
||||
data-size="600,800"
|
||||
data-min-size="200,200"
|
||||
data-max-file-size="10"
|
||||
data-status-image-too-small="Bild zu klein<br>min. $0 Pixel"
|
||||
data-status-file-type="Ungültige Datei<br>bitte nur: $0"
|
||||
data-status-file-size="Die Datei ist zu groß<br>max. $0 MB"
|
||||
data-button-confirm-label="bestätigen"
|
||||
data-button-cancel-label="abbrechen"
|
||||
data-button-confirm-title="bestätigen"
|
||||
data-button-cancel-title="abbrechen"
|
||||
data-button-rotate-title="drehen"
|
||||
="{{ __('actions.image_too_small') }}"
|
||||
data-status-file-type="{{ __('actions.invalid_file') }}"
|
||||
data-status-file-size="{{ __('actions.file_is_too_big') }}"
|
||||
data-button-confirm-label="{{ __('actions.confirm') }}"
|
||||
data-button-cancel-label="{{ __('actions.cancel') }}"
|
||||
data-button-confirm-title="{{ __('actions.confirm') }}"
|
||||
data-button-cancel-title="{{ __('actions.cancel') }}"
|
||||
data-button-rotate-title="{{ __('actions.rotate') }}"
|
||||
data-ratio="3:4">
|
||||
<input type="file" name="images[]" required />
|
||||
</div>
|
||||
|
||||
<br>
|
||||
<button class="btn btn-primary" type="submit">Bild speichern</button>
|
||||
<button class="btn btn-primary" type="submit">{{ __('actions.save_image') }}</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
@ -72,7 +65,7 @@
|
|||
<div class="col-6 col-md-4 text-center" style="border: 1px solid #eee;">
|
||||
<img class="img-fluid" alt="" src="{{ route('user_shop_image', [$image->slug]) }}">
|
||||
<br>
|
||||
<a href="{{ route('user_shop_on_site_delete_image', [$image->id, $user->shop->id]) }}" class="btn btn-sm btn-danger mt-2 mb-2" onclick="return confirm('Bild wirklich löschen?');"><i class="fa fa-trash"></i></a>
|
||||
<a href="{{ route('user_shop_on_site_delete_image', [$image->id, $user->shop->id]) }}" class="btn btn-sm btn-danger mt-2 mb-2" onclick="return confirm('{{ __('actions.really_delete_picture') }}');"><i class="fa fa-trash"></i></a>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<div class="card-body" style="background: #fff; border: 1px solid rgba(24, 28, 33, 0.06);">
|
||||
<h4>{{ __('open your shop') }}</h4>
|
||||
<h4>{{ __('shop.open_your_shop') }}</h4>
|
||||
|
||||
{!! Form::open(['url' => route('user_shop_register_form'), 'class' => 'form-horizontal' , 'id'=>'data-shop-form-validations']) !!}
|
||||
@php
|
||||
|
|
@ -27,33 +27,33 @@
|
|||
|
||||
|
||||
<p class="mt-2">
|
||||
Wähle das Präfix Deines Shopnamens - z. B. vorname(.mivita.care) - Du musst nicht "mivita.care" eingeben. Wähle einen kurzen und prägnanten Namen, damit Du diese URL auch auf kleinen Werbemitteln unterbringen kannst. Achte auch darauf, dass Du keine Markenrechte Dritter verletzt. Dafür kann MIVITA keine Haftung übernehmen. Daher versucht Phantasiebegriffe zu vermeiden, es sei denn Du hast sie als Marke angemeldet.
|
||||
{{ __('shop.open_copy_1') }}
|
||||
<br><br>
|
||||
Deine Internetadresse kann später mit „www.“ und ohne aufgerufen werden.
|
||||
{{ __('shop.open_copy_2') }}
|
||||
<br><br>
|
||||
<strong>WICHTIGER HINWEIS:</strong>
|
||||
Aus Deinem Shop-Namen wird die Internet-Adresse (Domain) erstellt, mit der Dein Shop aufgerufen werden kann. Wähle Deinen Shop-Namen sorgfältig aus. Dieser ist nur durch die IT änderbar und wir müssten eine Aufwandsentschädigung von 59,50 € erheben.
|
||||
<strong>{{ __('shop.open_note_hl') }}</strong><br>
|
||||
{{ __('shop.open_note_1') }}
|
||||
</p>
|
||||
<div class="form-group">
|
||||
<div class="input-group mt-2 mb-2 ">
|
||||
{{ Form::text('user_shop_name', old('user_shop_name'), array('placeholder'=>__('Your Shop Name'), 'class'=>'form-control'.$shop_name_form_control.($errors->has('user_shop_name') ? ' is-invalid' : ''), 'id'=>'user_shop_name', 'tabindex' => 2)) }}
|
||||
{{ Form::text('user_shop_name', old('user_shop_name'), array('placeholder'=>__('shop.your_shop_name'), 'class'=>'form-control'.$shop_name_form_control.($errors->has('user_shop_name') ? ' is-invalid' : ''), 'id'=>'user_shop_name', 'tabindex' => 2)) }}
|
||||
<span class="input-group-append">
|
||||
<button class="btn {{ $shop_name_btn_color }}" type="submit" name="shop_submit" value="check"><i class="fa {{ $shop_name_fa }}"></i> prüfen!</button>
|
||||
<button class="btn {{ $shop_name_btn_color }}" type="submit" name="shop_submit" value="check"><i class="fa {{ $shop_name_fa }}"></i> {{ __('shop.check') }}!</button>
|
||||
</span>
|
||||
</div>
|
||||
@if ($errors->has('user_shop_name'))
|
||||
<span class="invalid-feedback" style="display: inline-block;">
|
||||
<strong>{{ $errors->first('user_shop_name') }}</strong>
|
||||
</span>
|
||||
<strong>{{ $errors->first('user_shop_name') }}</strong>
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
||||
<div class="from-group mt-2 mb-2 ">
|
||||
{{ Form::text('preview_user_shop_name', '', array('placeholder'=>__('Vorschau Shop-Internet Adresse'), 'class'=>'form-control', 'id'=>'preview_user_shop_name', 'readonly')) }}
|
||||
{{ Form::text('preview_user_shop_name', '', array('placeholder'=>__('shop.preview_shop_internet_address'), 'class'=>'form-control', 'id'=>'preview_user_shop_name', 'readonly')) }}
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="custom-control custom-checkbox m-0">
|
||||
<input type="checkbox" class="custom-control-input {{ $errors->has('user_shop_active') ? 'is-invalid' : '' }}" name="user_shop_active" id="user_shop_active" tabindex = "1">
|
||||
<span class="custom-control-label">{!! __('Declaration of shop') !!}</span>
|
||||
<span class="custom-control-label">{!! __('shop.declaration_of_shop') !!}</span>
|
||||
|
||||
</label>
|
||||
@if ($errors->has('user_shop_active'))
|
||||
|
|
@ -64,7 +64,7 @@
|
|||
</div>
|
||||
<hr>
|
||||
<div class="text-left mt-3">
|
||||
<button type="submit" class="btn btn-secondary" name="shop_submit" value="action">{{__('akzeptieren und weiter') }}</button>
|
||||
<button type="submit" class="btn btn-secondary" name="shop_submit" value="action">{{__('shop.accept_and_next') }}</button>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
@ -75,23 +75,25 @@
|
|||
<script type="application/javascript">
|
||||
|
||||
$( document ).ready(function() {
|
||||
$.extend($.validator.messages, {
|
||||
required: "Dieses Feld ist ein Pflichtfeld.",
|
||||
maxlength: $.validator.format("Gib bitte maximal {0} Zeichen ein."),
|
||||
minlength: $.validator.format("Gib bitte mindestens {0} Zeichen ein."),
|
||||
rangelength: $.validator.format("Gib bitte mindestens {0} und maximal {1} Zeichen ein."),
|
||||
email: "Gib bitte eine gültige E-Mail Adresse ein.",
|
||||
url: "Gib bitte eine gültige URL ein.",
|
||||
date: "Bitte gib ein gültiges Datum ein.",
|
||||
number: "Gib bitte eine Nummer ein.",
|
||||
digits: "Gib bitte nur Ziffern ein.",
|
||||
equalTo: "Bitte denselben Wert wiederholen.",
|
||||
range: $.validator.format("Gib bitte einen Wert zwischen {0} und {1} ein."),
|
||||
max: $.validator.format("Gib bitte einen Wert kleiner oder gleich {0} ein."),
|
||||
min: $.validator.format("Gib bitte einen Wert größer oder gleich {0} ein."),
|
||||
creditcard: "Gib bitte eine gültige Kreditkarten-Nummer ein."
|
||||
|
||||
$.extend( $.validator.messages, {
|
||||
required: "{{__('account.validator_required')}}",
|
||||
maxlength: $.validator.format( "{{__('account.validator_maxlength')}}" ),
|
||||
minlength: $.validator.format( "{{__('account.validator_minlength')}}" ),
|
||||
rangelength: $.validator.format( "{{__('account.validator_rangelength')}}" ),
|
||||
email: "{{__('account.validator_email')}}",
|
||||
url: "{{__('account.validator_url')}}",
|
||||
date: "{{__('account.validator_date')}}",
|
||||
number: "{{__('account.validator_number')}}",
|
||||
digits: "{{__('account.validator_digits')}}",
|
||||
equalTo: "{{__('account.validator_equalTo')}}",
|
||||
range: $.validator.format( "{{__('account.validator_range')}}" ),
|
||||
max: $.validator.format( "{{__('account.validator_max')}}" ),
|
||||
min: $.validator.format( "{{__('account.validator_min')}}" ),
|
||||
creditcard: "{{__('account.validator_creditcard')}}"
|
||||
});
|
||||
|
||||
|
||||
// Set up validator
|
||||
var message = 'Default error message';
|
||||
$('#data-shop-form-validations').validate({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue