Verbesserungen i80n, Bugfixes, uvm
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
@php use App\Models\ChaosEvents; @endphp
|
||||
@extends('layout.app')
|
||||
@section('scripts')
|
||||
<script>
|
||||
const i18n = {
|
||||
common: {
|
||||
error_occurred: "{{ __('app.common.error_occurred') }}"
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<script src="{{ asset('/js/preapplication/preapplication.js') }}"></script>
|
||||
@endsection
|
||||
|
||||
@@ -11,32 +18,42 @@
|
||||
|
||||
@forelse (ChaosEvents::getActiveEvents() as $event)
|
||||
<div class="eingabemaske">
|
||||
<select name="event" id="eventSelect">
|
||||
<option value="{{ $event->id }}">{{ $event->name }}</option>
|
||||
</select>
|
||||
<br/>
|
||||
|
||||
<label for="passport_type">{{ __('app.preapplication.passport_type') }}</label>
|
||||
<select name="passport_type" id="passport_type">
|
||||
<option value="d">{{ __('app.preapplication.passport.standard') }}</option>
|
||||
<option value="k">{{ __('app.preapplication.passport.kid') }}</option>
|
||||
</select>
|
||||
<br/>
|
||||
|
||||
<label for="mail">{{ __('app.preapplication.mail') }}:</label>
|
||||
<input type="text" id="mail" name="mail" placeholder="{{ __('app.preapplication.mail') }}" required>
|
||||
<br/>
|
||||
<label for="firstname">{{ __('app.preapplication.firstname') }}:</label>
|
||||
<input type="text" id="firstname" name="firstname" placeholder="{{ __('app.preapplication.firstname') }}"
|
||||
required>
|
||||
<br/>
|
||||
<label for="lastname">{{ __('app.preapplication.lastname') }}:</label>
|
||||
<input type="text" id="lastname" name="lastname" placeholder="{{ __('app.preapplication.lastname') }}">
|
||||
<br/>
|
||||
<label for="location">{{ __('app.preapplication.location') }}:</label>
|
||||
<input type="text" id="location" name="location" placeholder="{{ __('app.preapplication.location') }}">
|
||||
<br /><br />
|
||||
<table class="eingabetabelle">
|
||||
<tr>
|
||||
<td>{{ __('app.preapplication.region') }}:</td>
|
||||
<td><select name="district_region" id="district_region">
|
||||
<option value="{{ $event->id }}">{{ $event->name }} ({{ $event->from_date_visible->format('Y-m-d') }} - {{ $event->to_date_visible->format('Y-m-d') }})</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('app.preapplication.passport_type') }}:</td>
|
||||
<td>
|
||||
<select name="passport_type" id="passport_type">
|
||||
<option value="d">{{ __('app.preapplication.passport.standard') }}</option>
|
||||
<option value="k">{{ __('app.preapplication.passport.kid') }}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('app.preapplication.mail') }}:</td>
|
||||
<td><input type="text" id="mail" name="mail" placeholder="{{ __('app.preapplication.mail') }}" required></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('app.preapplication.firstname') }}:</td>
|
||||
<td><input type="text" id="firstname" name="firstname" placeholder="{{ __('app.preapplication.firstname') }}" required></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('app.preapplication.lastname') }}:</td>
|
||||
<td><input type="text" id="lastname" name="lastname" placeholder="{{ __('app.preapplication.lastname') }}" required></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ __('app.preapplication.location') }}:</td>
|
||||
<td><input type="text" id="location" name="location" placeholder="{{ __('app.preapplication.location') }}" required></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<button id="apply" onclick="vorantragAbschicken()">{{ __('app.preapplication.apply') }}</button>
|
||||
|
||||
</div>
|
||||
|
||||
@empty
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
@extends('layout.app')
|
||||
@section('scripts')
|
||||
<script>
|
||||
const i18n = {
|
||||
common: {
|
||||
error_occurred: "{{ __('app.common.error_occurred') }}"
|
||||
},
|
||||
blog: {
|
||||
confirm_save: "{{ __('app.blog.confirm_save') }}",
|
||||
confirm_delete: "{{ __('app.blog.confirm_delete') }}"
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<link rel="stylesheet" href="{{ asset("css/blog/edit.css") . "?rnd=" . rand(0, 1000000000) }}">
|
||||
<script src="{{ asset('/js/blog/blog.js') }}"></script>
|
||||
@endsection
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
|
||||
@endauth
|
||||
</ul>
|
||||
<br /><br /><br /><br />
|
||||
<br />
|
||||
<a href="https://chaos.social/@c3gov" rel="me"><img src="{{ asset("Bilder/fedicsgovnetscape.png") }}"
|
||||
onmouseover="{ this.src = '{{ asset("Bilder/fedicsgovnetscapepress.png") }}' }"
|
||||
onmouseout="{ this.src = '{{ asset("Bilder/fedicsgovnetscape.png") }}' }" alt="C3Gov on Fediverse"></a>
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
@extends('layout.app')
|
||||
@section('scripts')
|
||||
<script>
|
||||
const i18n = {
|
||||
common: {
|
||||
error_occurred: "{{ __('app.common.error_occurred') }}",
|
||||
not_permitted: "{{ __('app.common.not_permitted') }}"
|
||||
},
|
||||
login: {
|
||||
login_success: "{{ __('app.login.login_success') }}"
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<script src="{{ asset("js/intern.js") }}"></script>
|
||||
<script src="{{ asset("js/login/login.js") }}"></script>
|
||||
@endsection
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
@extends('layout.app')
|
||||
@section('scripts')
|
||||
<script>
|
||||
const i18n = {
|
||||
common: {
|
||||
error_occurred: "{{ __('app.common.error_occurred') }}",
|
||||
not_permitted: "{{ __('app.common.not_permitted') }}"
|
||||
},
|
||||
login: {
|
||||
password_mismatch: "{{ __('app.login.password_mismatch') }}",
|
||||
registration_success: "{{ __('app.login.registration_success') }}"
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<script src="{{ asset("js/intern.js") }}"></script>
|
||||
<script src="{{ asset("js/login/registrieren.js") }}"></script>
|
||||
@endsection
|
||||
|
||||
@@ -1,6 +1,17 @@
|
||||
@php use App\Models\TickerMessages; @endphp
|
||||
@extends('layout.app')
|
||||
@section('scripts')
|
||||
<script>
|
||||
const i18n = {
|
||||
common: {
|
||||
error_occurred: "{{ __('app.common.error_occurred') }}"
|
||||
},
|
||||
ticker: {
|
||||
delete_success: "{{ __('app.ticker.delete_success') }}",
|
||||
insert_success: "{{ __('app.ticker.insert_success') }}"
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<link rel="stylesheet" href="{{ asset("css/ticker/ticker.css") }}">
|
||||
<script src="{{ asset("js/intern.js") }}"></script>
|
||||
<script src="{{ asset("js/ticker/edit.js") }}"></script>
|
||||
|
||||
Reference in New Issue
Block a user