2020-05-29 23:20:39 +00:00
|
|
|
@extends('adminlte::page')
|
|
|
|
|
2020-09-01 11:43:39 +00:00
|
|
|
@section('title', config('app.name') . ' | ' . __('messages.devoptions'))
|
2020-05-29 23:20:39 +00:00
|
|
|
|
|
|
|
@section('content_header')
|
|
|
|
|
2020-09-01 11:43:39 +00:00
|
|
|
<h4>{{__('messages.adm')}} / {{__('messages.devtools')}}</h4>
|
2020-05-29 23:20:39 +00:00
|
|
|
|
|
|
|
@stop
|
|
|
|
|
|
|
|
@section('js')
|
|
|
|
<x-global-errors></x-global-errors>
|
|
|
|
@stop
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
2020-09-01 11:43:39 +00:00
|
|
|
<x-modal id="confirmForceEventDispatch" modal-label="confirmForceEventDispatch" modal-title="{{__('messages.choose_app')}}" include-close-button="true">
|
2020-05-29 23:20:39 +00:00
|
|
|
|
2020-09-01 11:43:39 +00:00
|
|
|
<p>{{__('messages.forceeval')}}</p>
|
2020-05-29 23:20:39 +00:00
|
|
|
<form method="POST" id="forceEval" action="{{route('devToolsForceVoteCount')}}">
|
|
|
|
@csrf
|
|
|
|
<select name="application" class="custom-select">
|
|
|
|
@if(!$applications->isEmpty())
|
|
|
|
@foreach($applications as $application)
|
|
|
|
|
2020-09-01 11:43:39 +00:00
|
|
|
<option value="{{$application->id}}">{{__('messages.appid')}} {{$application->id}} ({{$application->user->name}})</option>
|
2020-05-29 23:20:39 +00:00
|
|
|
|
|
|
|
@endforeach
|
|
|
|
@else
|
2020-09-01 11:43:39 +00:00
|
|
|
<option value="null" disabled>{{__('messages.no_valid_app')}}</option>
|
2020-05-29 23:20:39 +00:00
|
|
|
@endif
|
|
|
|
</select>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<x-slot name="modalFooter">
|
2020-09-01 11:43:39 +00:00
|
|
|
<button type="button" class="btn btn-danger" onclick="document.getElementById('forceEval').submit()">{{__('messages.dispatch_event')}}</button>
|
2020-05-29 23:20:39 +00:00
|
|
|
</x-slot>
|
|
|
|
|
|
|
|
</x-modal>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col">
|
|
|
|
|
|
|
|
<div class="alert alert-warning">
|
|
|
|
|
2020-09-01 11:43:39 +00:00
|
|
|
<i class="fa fa-exclamation-triangle"></i> <b>{{__('messages.warn')}}</b>
|
|
|
|
<p>{{__('messages.devtools_warn')}}</p>
|
2020-05-29 23:20:39 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div class="col">
|
|
|
|
|
2020-09-03 01:58:30 +00:00
|
|
|
<x-card id="tools" card-title="{{__('messages.devtools_evn')}}" footer-style="text-center">
|
2020-05-29 23:20:39 +00:00
|
|
|
|
|
|
|
<x-slot name="cardHeader">
|
|
|
|
|
|
|
|
</x-slot>
|
2020-09-01 11:43:39 +00:00
|
|
|
<button type="button" class="btn btn-danger" onclick="$('#confirmForceEventDispatch').modal('show')">{{__('messages.override_votes')}}</button>
|
|
|
|
<button type="button" class="btn btn-warning ml-3">{{__('messages.artisan_evaluate')}}</button>
|
2020-05-29 23:20:39 +00:00
|
|
|
|
|
|
|
<x-slot name="cardFooter">
|
2020-09-01 11:43:39 +00:00
|
|
|
<p class="text-muted"> .</p>
|
2020-05-29 23:20:39 +00:00
|
|
|
</x-slot>
|
|
|
|
</x-card>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|
2020-07-16 05:46:20 +00:00
|
|
|
|
|
|
|
@section('footer')
|
|
|
|
@include('breadcrumbs.dashboard.footer')
|
|
|
|
@stop
|