This commit is contained in:
Kevin Adametz 2024-08-05 12:05:24 +02:00
parent 04d677d37a
commit bfa3bb1df4
1191 changed files with 637397 additions and 10619 deletions

View file

@ -21,9 +21,50 @@
Subdomains prüfen SSL/Aktiv
</h4>
<div class="card mb-4">
@if(count($dobbleDomains)>0)
{!! Form::open(['url' => route('sysadmin_tool_store', ['domainssl']), 'class' => '']) !!}
<div class="card-body">
<div class="card-datatable table-responsive">
<table class="datatables-style table table-striped table-bordered">
<thead>
<tr>
<th style="max-width: 60px;">ID</th>
<th style="max-width: 60px;">User-ID</th>
<th>SubDomain</th>
<th>#</th>
</tr>
</thead>
<tbody>
@foreach($dobbleDomains as $userId=>$domains)
@foreach($domains as $domainId=>$slug)
<tr>
<td>{{ $domainId }}</td>
<td>{{ $userId }}</td>
<td><a href="{{ $slug }}" target="_blank">{{ $slug }}</a></td>
<td>
<button type="submit" class="btn btn-warning btn-xs" name="delete_user_shop" value="{{ $domainId }}"
onclick="return confirm('Shop {{ $slug }} wirklich löschen?');"><i class="ion"></i>Shop löschen</button>
</td>
</tr>
@endforeach
@endforeach
</tbody>
</table>
</div>
</div>
{!! Form::close() !!}
@endif
@if(count($SubDomains)>0)
{!! Form::open(['url' => route('sysadmin_tool_store', ['domainssl']), 'class' => '']) !!}
<div class="card-body">
@ -40,8 +81,7 @@
@foreach($SubDomains as $SubDomain=>$ssl)
<tr>
<td><a href="{{ $SubDomain }}" target="_blank">{{ $SubDomain }}</a></td>
<td>{{ $ssl }}</td>
<td>@if(!is_array($ssl)){{ $ssl }}@endif</td>
<td>
<button type="submit" class="btn btn-danger btn-xs" name="delete_sub_kas" value="{{ $SubDomain }}"><i class="ion"></i> löschen</button>
</td>
@ -71,7 +111,7 @@
<th>Sub</th>
<th>SSL</th>
<th>#</th>
<th>PHP</th>
<th>seit</th>
<th>Datum</th>
<th>Erreichbar</th>
@ -93,6 +133,7 @@
<td> {!! get_active_badge($value->hasSubdomain) !!} </td>
<td> {!! get_active_badge($value->hasSSL) !!} </td>
<td><button type="submit" class="btn btn-success btn-xs" name="update_ssl" value="{{ $value->id }}"><i class="ion"></i>update</button></td>
<td> {!! $value->PHPversion !!} </td>
<td>{{ $value->getActiveDateFormatSmall() }}</td>
<td>
@ -168,23 +209,20 @@
</td>
<td>
@if(!$value->user || !$value->user->payment_shop || !$value->user->isActiveShop())
<button type="submit" class="btn btn-danger btn-xs" name="delete_user_shop" value="{{ $value->id }}"><i class="ion"></i>Shop löschen</button>
<button type="submit" class="btn btn-danger btn-xs" name="delete_user_shop" value="{{ $value->id }}"><i class="ion"></i>Shop löschen</button>
@else
<button type="submit" class="btn btn-warning btn-xs" name="delete_user_shop" value="{{ $value->id }}"
onclick="return confirm('Shop {{ $value->slug }}.mivita.care wirklich löschen?');"><i class="ion"></i>Shop löschen</button>
@endif
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
{!! Form::close() !!}
@endif
</div>
@endsection

View file

@ -45,16 +45,17 @@
parallelUploads: 1,
maxFilesize: 32,
addRemoveLinks: true,
dictDefaultMessage: 'Hier klicken, oder Datei hier reinziehen (Drag&Drop)',
dictFallbackMessage: 'Dein Browser unterstützt Drag&Drop Dateiuploads nicht',
dictFallbackText: 'Benutze das Formular um Deine Dateien hochzuladen',
dictFileTooBig: "Die Datei ist zu groß. Die maximale Dateigröße beträgt 32 MB",
dictInvalidFileType: 'Eine Datei dieses Typs kann nicht hochgeladen werden',
dictResponseError: "Der Server hat ihre Anfrage mit Status error abgelehnt",
dictCancelUpload: 'Hochladen abbrechen',
dictDefaultMessage: "{{ __('actions.dictDefaultMessage') }}",
dictFallbackMessage: "{{ __('actions.dictFallbackMessage') }}",
dictFallbackText:"{{ __('actions.dictFallbackText') }}",
dictFileTooBig: "{{ __('actions.dictFileTooBig') }}",
dictInvalidFileType: "{{ __('actions.dictInvalidFileType') }}",
dictResponseError: "{{ __('actions.dictResponseError') }}",
dictCancelUpload: "{{ __('actions.dictCancelUpload') }}",
dictCancelUploadConfirmation: null,
dictRemoveFile: 'Datei entfernen',
dictMaxFilesExceeded: 'Du kannst keine weiteren Dateien mehr hochladen',
dictRemoveFile: "{{ __('actions.dictRemoveFile') }}",
dictMaxFilesExceeded: "{{ __('actions.dictMaxFilesExceeded') }}",
acceptedFiles: "image/jpeg,image/pjpeg,image/png,image/gif,application/pdf,text/plain",
// The setting up of the dropzone
init:function() {
console.log("init");

View file

@ -22,13 +22,13 @@
<table class="datatables-style table table-striped table-bordered">
<thead>
<tr>
<th>{{__('Vorname')}}</th>
<th>{{__('Nachname') }}</th>
<th>{{__('First name')}}</th>
<th>{{__('Last name') }}</th>
<th>{{__('E-Mail') }}</th>
<th>{{__('Betrag') }}</th>
<th>{{__('Datum') }}</th>
<th>{{__('Order')}}</th>
<th>{{__('Status')}}</th>
<th>{{__('tables.status')}}</th>
</tr>
</thead>
<tbody>
@ -40,7 +40,7 @@
<td>{{ $value->getFormattedTotalShipping()."" }}</td>
<td>{{ $value->created_at->format("d.m.Y") }}</td>
<td>@foreach($value->shopping_order_items as $shopping_order_item)
{{ $shopping_order_item->product->name }}<br>
{{ $shopping_order_item->product->getLang('name') }}<br>
@endforeach
</td>