Compare commits
67 Commits
a2751d4776
...
develop
| Author | SHA1 | Date | |
|---|---|---|---|
|
001fe26085
|
|||
|
be53fe6a65
|
|||
|
c3bb3c56b9
|
|||
| 5c45cbab8b | |||
| 1df2ed4e04 | |||
| fd8ef94bb6 | |||
| b69e0c36e0 | |||
| 856f082bea | |||
|
9685ec3efc
|
|||
|
6d1286057a
|
|||
|
dc7cb715cc
|
|||
|
a1e9aa6b8a
|
|||
|
59305be5a6
|
|||
|
1019ef076d
|
|||
|
ac6c1cee80
|
|||
|
222dc6d274
|
|||
|
b48c689d31
|
|||
|
9cac0294cd
|
|||
|
3e5c99c3dd
|
|||
|
77b14e753e
|
|||
|
02684d2063
|
|||
| 7b37f66e86 | |||
| 15a1ea61c6 | |||
| 67ed8f6059 | |||
|
2abcf6be4f
|
|||
|
0ba3158bb4
|
|||
| 6706c7e764 | |||
|
43fd3b3b96
|
|||
|
e9213dfe18
|
|||
|
d93d3bd1d1
|
|||
|
b34bfb0a47
|
|||
|
4c94066bf9
|
|||
|
e5d970333f
|
|||
|
1a7c94ebf3
|
|||
|
aa47532e5f
|
|||
|
44eb81e99a
|
|||
| 7c3da000f9 | |||
| 04cdf3d307 | |||
|
e7adae9762
|
|||
|
7729aba416
|
|||
|
429bdcb124
|
|||
|
a99b8eb9c1
|
|||
| ba2dcb98e2 | |||
| 8f23a058dd | |||
| b33532cfcf | |||
| 58ed95abbf | |||
|
21683284b0
|
|||
|
fa74c4834f
|
|||
|
edfb2583fc
|
|||
|
e6a92213ea
|
|||
|
9bbe92d8ee
|
|||
|
f3cb4c2a5f
|
|||
| 0c2a439363 | |||
| 75f934028b | |||
|
ff25a01b8f
|
|||
|
79414e3d4a
|
|||
|
351c73778a
|
|||
| b0d7b97c46 | |||
| 2baa0dfccd | |||
|
60ef833d0a
|
|||
|
91554516d3
|
|||
|
7bf444123d
|
|||
|
ae9592902c
|
|||
|
8b39cb4dbc
|
|||
|
87c7193686
|
|||
|
58472b28ca
|
|||
|
122af4aa54
|
@@ -1,3 +1,3 @@
|
||||
[submodule "resources/docs"]
|
||||
path = resources/docs
|
||||
[submodule "public/Dokumente"]
|
||||
path = public/Dokumente
|
||||
url = ssh://git@git.chaospott.de:2222/c3gov/docs.git
|
||||
|
||||
@@ -1,58 +1 @@
|
||||
<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400" alt="Laravel Logo"></a></p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://github.com/laravel/framework/actions"><img src="https://github.com/laravel/framework/workflows/tests/badge.svg" alt="Build Status"></a>
|
||||
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/dt/laravel/framework" alt="Total Downloads"></a>
|
||||
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/v/laravel/framework" alt="Latest Stable Version"></a>
|
||||
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/l/laravel/framework" alt="License"></a>
|
||||
</p>
|
||||
|
||||
## About Laravel
|
||||
|
||||
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
|
||||
|
||||
- [Simple, fast routing engine](https://laravel.com/docs/routing).
|
||||
- [Powerful dependency injection container](https://laravel.com/docs/container).
|
||||
- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage.
|
||||
- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent).
|
||||
- Database agnostic [schema migrations](https://laravel.com/docs/migrations).
|
||||
- [Robust background job processing](https://laravel.com/docs/queues).
|
||||
- [Real-time event broadcasting](https://laravel.com/docs/broadcasting).
|
||||
|
||||
Laravel is accessible, powerful, and provides tools required for large, robust applications.
|
||||
|
||||
## Learning Laravel
|
||||
|
||||
Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.
|
||||
|
||||
In addition, [Laracasts](https://laracasts.com) contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.
|
||||
|
||||
You can also watch bite-sized lessons with real-world projects on [Laravel Learn](https://laravel.com/learn), where you will be guided through building a Laravel application from scratch while learning PHP fundamentals.
|
||||
|
||||
## Agentic Development
|
||||
|
||||
Laravel's predictable structure and conventions make it ideal for AI coding agents like Claude Code, Cursor, and GitHub Copilot. Install [Laravel Boost](https://laravel.com/docs/ai) to supercharge your AI workflow:
|
||||
|
||||
```bash
|
||||
composer require laravel/boost --dev
|
||||
|
||||
php artisan boost:install
|
||||
```
|
||||
|
||||
Boost provides your agent 15+ tools and skills that help agents build Laravel applications while following best practices.
|
||||
|
||||
## Contributing
|
||||
|
||||
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).
|
||||
|
||||
## Code of Conduct
|
||||
|
||||
In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).
|
||||
|
||||
## Security Vulnerabilities
|
||||
|
||||
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed.
|
||||
|
||||
## License
|
||||
|
||||
The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
|
||||
# C3Gov Website
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
namespace App\Console\Commands;
|
||||
|
||||
use App\Models\RegisterToken;
|
||||
use Illuminate\Console\Attributes\Description;
|
||||
use Illuminate\Console\Attributes\Signature;
|
||||
use Illuminate\Console\Command;
|
||||
use Nette\Utils\Random;
|
||||
|
||||
#[Signature('app:generate-register-token')]
|
||||
#[Description('Generate a register token for the internal authentication platform.')]
|
||||
class GenerateRegisterToken extends Command
|
||||
{
|
||||
/**
|
||||
* Execute the console command.
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$newToken = Random::generate(12, "0-9A-Z");
|
||||
|
||||
try {
|
||||
$rt = new RegisterToken;
|
||||
$rt->token = $newToken;
|
||||
$rt->save();
|
||||
} catch (\ErrorException $e) {
|
||||
$this->error($e->getMessage());
|
||||
return 1;
|
||||
}
|
||||
|
||||
$this->info("Register token generated: \n" . $newToken);
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\Blog;
|
||||
use Illuminate\Database\QueryException;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\App;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
|
||||
class BlogController extends Controller
|
||||
{
|
||||
|
||||
public function addBlog(Request $request){
|
||||
if(Auth::check()){
|
||||
try {
|
||||
$blog = new Blog();
|
||||
$blog->published_by = Auth::user()->id;
|
||||
$blog->language = $request->input('language');
|
||||
$blog->title = $request->input('title');
|
||||
$blog->body = $request->input('body');
|
||||
$blog->published = "1";
|
||||
$blog->created_at = now();
|
||||
$blog->updated_at = now();
|
||||
$blog->save();
|
||||
return ['messageStatus' => 'success', 'errorMessage' => ''];
|
||||
} catch (\Illuminate\Database\QueryException $e) {
|
||||
return ['messageStatus' => 'danger', 'errorMessage' => __("controller_messages.BlogController.error_occurred", ["error" => $e->getMessage()])];
|
||||
}
|
||||
}
|
||||
abort(404);
|
||||
}
|
||||
|
||||
public function editBlog(Request $request){
|
||||
if(Auth::check()){
|
||||
try {
|
||||
$blog = Blog::find($request->input('id'));
|
||||
$blog->title = $request->input('title');
|
||||
$blog->body = $request->input('body');
|
||||
$blog->language = $request->input('language');
|
||||
$blog->published = $request->input('published');
|
||||
$blog->published_by = Auth::user()->id;
|
||||
$blog->save();
|
||||
return ['messageStatus' => 'success', 'errorMessage' => ''];
|
||||
} catch (\Illuminate\Database\QueryException $e) {
|
||||
return ['messageStatus' => 'failure', 'errorMessage' => __("controller_messages.BlogController.error_occurred", ["error" => $e->getMessage()])];
|
||||
}
|
||||
}
|
||||
abort(404);
|
||||
}
|
||||
|
||||
public function deleteBlog(Request $request){
|
||||
if(Auth::check()){
|
||||
try {
|
||||
$blog = Blog::find($request->input('id'));
|
||||
if ($blog) {
|
||||
$blog->delete();
|
||||
}
|
||||
return ['messageStatus' => 'success', 'errorMessage' => ''];
|
||||
} catch(\Exception $e){
|
||||
return ['messageStatus' => 'failure', 'errorMessage' => __("controller_messages.BlogController.error_occurred", ["error" => $e->getMessage()])];
|
||||
}
|
||||
}
|
||||
abort(404);
|
||||
}
|
||||
|
||||
|
||||
public static function blogPaginated(){
|
||||
return Blog::where('language', App::getLocale())->where('published', 1)->orderBy('id', 'desc')->paginate(5);
|
||||
}
|
||||
|
||||
public static function blogPaginatedEdit(){
|
||||
return Blog::orderBy('id', 'desc')->paginate(5);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\ChaosEvents;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
|
||||
class EventController extends Controller
|
||||
{
|
||||
public static function eventsPaginated(){
|
||||
return ChaosEvents::paginate(10);
|
||||
}
|
||||
|
||||
public function addEvent(Request $request) {
|
||||
if(Auth::check()){
|
||||
$name = $request->input('name');
|
||||
$shortname = $request->input('shortname');
|
||||
$from_date_internal = $request->input('from_date_internal');
|
||||
$to_date_internal = $request->input('to_date_internal');
|
||||
$from_date_visible = $request->input('from_date_visible');
|
||||
$to_date_visible = $request->input('to_date_visible');
|
||||
$active = $request->input('active');
|
||||
|
||||
try {
|
||||
|
||||
$event = new ChaosEvents();
|
||||
$event->name = $name;
|
||||
$event->shortname = $shortname;
|
||||
$event->from_date_internal = $from_date_internal;
|
||||
$event->to_date_internal = $to_date_internal;
|
||||
$event->from_date_visible = $from_date_visible;
|
||||
$event->to_date_visible = $to_date_visible;
|
||||
$event->active = $active;
|
||||
|
||||
$event->save();
|
||||
return ['messageStatus' => 'success', 'errorMessage' => ''];
|
||||
} catch (\Illuminate\Database\QueryException $e) {
|
||||
return ['messageStatus' => 'failure', 'errorMessage' => __("controller_messages.EventController.error_occurred", ["error" => $e->getMessage()])];
|
||||
}
|
||||
}
|
||||
abort(404);
|
||||
}
|
||||
|
||||
public function deleteEvent(Request $request) {
|
||||
if(Auth::check()){
|
||||
try {
|
||||
$event = ChaosEvents::find($request->input('id'));
|
||||
if ($event) {
|
||||
$event->delete();
|
||||
return ['messageStatus' => 'success', 'errorMessage' => ''];
|
||||
} else {
|
||||
return ['messageStatus' => 'failure', 'errorMessage' => __("controller_messages.EventController.error_occurred", ["error" => "Event not found"])];
|
||||
}
|
||||
} catch (\Illuminate\Database\QueryException $e) {
|
||||
return ['messageStatus' => 'failure', 'errorMessage' => __("controller_messages.EventController.error_occurred", ["error" => $e->getMessage()])];
|
||||
}
|
||||
}
|
||||
abort(404);
|
||||
}
|
||||
|
||||
public function setActivity(Request $request) {
|
||||
if(Auth::check()) {
|
||||
try {
|
||||
$event = ChaosEvents::find($request->input('id'));
|
||||
if ($event) {
|
||||
$event->active = $request->input('active');
|
||||
$event->save();
|
||||
return ['messageStatus' => 'success', 'errorMessage' => ''];
|
||||
} else {
|
||||
return ['messageStatus' => 'failure', 'errorMessage' => __("controller_messages.EventController.error_occurred", ["error" => "Event not found"])];
|
||||
}
|
||||
} catch (\Illuminate\Database\QueryException $e) {
|
||||
return ['messageStatus' => 'failure', 'errorMessage' => __("controller_messages.EventController.error_occurred", ["error" => $e->getMessage()])];
|
||||
}
|
||||
}
|
||||
abort(404);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\RegisterToken;
|
||||
use App\Models\User;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
class LoginController extends Controller
|
||||
{
|
||||
//
|
||||
public function register(Request $request){
|
||||
// messageStatus success|failure|not permitted
|
||||
|
||||
|
||||
$json = ["messageStatus" => "failure", "errorMessage" => __("controller_messages.LoginController.unknown_error")];
|
||||
|
||||
$mail = $request->input('mail');
|
||||
$username = $request->input('username');
|
||||
$password = Hash::make($request->input('password'));
|
||||
$token = $request->input('token');
|
||||
|
||||
if(preg_match('/@c3gov\.de$/', $mail) != 1){
|
||||
return ["messageStatus" => "not permitted", "errorMessage" => __("controller_messages.LoginController.not_permitted")];
|
||||
}
|
||||
|
||||
$rt = RegisterToken::where('token', $token)->first();
|
||||
if($rt) {
|
||||
$u = User::whereEmail($mail)->first();
|
||||
if($u) {
|
||||
return ["messageStatus" => "failure", "errorMessage" => __("controller_messages.LoginController.email_in_use")];
|
||||
}
|
||||
try {
|
||||
$u = new User();
|
||||
$u->name = $username;
|
||||
$u->email = $mail;
|
||||
$u->email_verified_at = now();
|
||||
$u->password = $password;
|
||||
$u->save();
|
||||
|
||||
$rt->delete();
|
||||
} catch (\Exception $e) {
|
||||
return ["messageStatus" => "failure", "errorMessage" => __("controller_messages.LoginController.unknown_error_with_details", ["error" => $e->getMessage()])];
|
||||
}
|
||||
} else {
|
||||
return ["messageStatus" => "failure", "errorMessage" => __("controller_messages.LoginController.invalid_token")];
|
||||
}
|
||||
|
||||
return ["messageStatus" => "success", "errorMessage" => ""];
|
||||
}
|
||||
|
||||
public function login(Request $request){
|
||||
$mail = $request->input('mail');
|
||||
$password = $request->input('password');
|
||||
|
||||
$u = User::whereEmail($mail)->first();
|
||||
if($u){
|
||||
$u_pw = $u->password;
|
||||
|
||||
if(Hash::check($password, $u_pw)){
|
||||
Auth::login($u);
|
||||
return ["messageStatus" => "success", "errorMessage" => ""];
|
||||
} else {
|
||||
return ["messageStatus" => "failure", "errorMessage" => __("controller_messages.LoginController.wrong_credentials")];
|
||||
}
|
||||
} else {
|
||||
return ["messageStatus" => "failure", "errorMessage" => __("controller_messages.LoginController.wrong_credentials")];
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,195 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App;
|
||||
use App\Mail\PreApplicationMail;
|
||||
use App\Models\ChaosEvents;
|
||||
use App\Models\PreApplications;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Carbon;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Illuminate\Support\Facades\Mail;
|
||||
use Dompdf\Dompdf;
|
||||
|
||||
class PreApplicationController extends Controller
|
||||
{
|
||||
|
||||
private function generateReferenceNumber($eventId, $passportType, $firstName){
|
||||
$reference_number = null;
|
||||
|
||||
$ce = ChaosEvents::find($eventId);
|
||||
$free_reference_number = false;
|
||||
$counter = 1;
|
||||
while(!$free_reference_number){
|
||||
$reference_number = $ce->shortname . strtoupper($passportType) . '-' . strtoupper($firstName[0]) . Carbon::now()->format('ymd') . sprintf("%04d", $counter++);
|
||||
$free_reference_number = !PreApplications::where('reference_number', $reference_number)->exists();
|
||||
}
|
||||
return $reference_number;
|
||||
}
|
||||
|
||||
public function send(Request $request){
|
||||
$event = $request->input('district_region');
|
||||
|
||||
$ce = ChaosEvents::where('id', $event)->where('to_date_internal', '>=', today())->where('from_date_internal', '<=', today())->first();
|
||||
if($ce){
|
||||
|
||||
$passport_type = $request->input('passport_type');
|
||||
if(!in_array($passport_type, ['d', 'k'])){
|
||||
return ["messageStatus" => "failure", "errorMessage" => __("controller_messages.PreApplicationController.wrong_passport_type")];
|
||||
}
|
||||
|
||||
$first_name = $request->input('first_name');
|
||||
$last_name = $request->input('last_name');
|
||||
$location = $request->input('location');
|
||||
|
||||
$email = $request->input('mail');
|
||||
|
||||
if(!filter_var($email, FILTER_VALIDATE_EMAIL)){
|
||||
return ["messageStatus" => "failure", "errorMessage" => __("controller_messages.PreApplicationController.invalid_email_format")];
|
||||
}
|
||||
|
||||
switch($passport_type){
|
||||
case 'd':
|
||||
$max_characters = 17;
|
||||
break;
|
||||
case 'k':
|
||||
$max_characters = 25;
|
||||
break;
|
||||
default:
|
||||
$max_characters = 0;
|
||||
}
|
||||
|
||||
$fn = preg_match('/^[a-zA-Z0-9\s]{1,' . $max_characters . '}$/', $first_name);
|
||||
$ln = preg_match('/^[a-zA-Z0-9\s]{,' . $max_characters . '}$/', $last_name);
|
||||
$loc = preg_match('/^[a-zA-Z0-9\s]{,' . $max_characters . '}$/', $location);
|
||||
|
||||
//Log::debug('fn: ' . var_export($fn, true) . ' ln: ' . var_export($ln, true) . ' loc: ' . var_export($loc, true) . '');
|
||||
|
||||
if($fn && $ln && $loc){
|
||||
try{
|
||||
$pa = new PreApplications();
|
||||
$pa->first_name = $first_name;
|
||||
$pa->last_name = $last_name;
|
||||
$pa->location = $location;
|
||||
$pa->passport_type = $passport_type;
|
||||
$pa->reference_number = $this->generateReferenceNumber($event, $passport_type, $first_name);
|
||||
$pa->event_id = $event;
|
||||
$pa->email = $email;
|
||||
$pa->save();
|
||||
} catch(\Exception $e){
|
||||
return ["messageStatus" => "failure", "errorMessage" => __("controller_messages.PreApplicationController.already_submitted")];
|
||||
}
|
||||
|
||||
Mail::to($email)
|
||||
->send(new PreApplicationMail($pa, App::getLocale()));
|
||||
|
||||
return ["messageStatus" => "success", "errorMessage" => __('controller_messages.PreApplicationController.success')];
|
||||
} else {
|
||||
return ["messageStatus" => "failure", "errorMessage" => __("controller_messages.PreApplicationController.invalid_characters")];
|
||||
}
|
||||
}
|
||||
return ["messageStatus" => "failure", "errorMessage" => __("controller_messages.PreApplicationController.event_not_found")];
|
||||
}
|
||||
|
||||
public static function applicationsPaginated(){
|
||||
return PreApplications::paginate(50);
|
||||
}
|
||||
|
||||
public function addApplication(Request $request){
|
||||
if(Auth::check()){
|
||||
try {
|
||||
$pa = new PreApplications();
|
||||
$pa->first_name = $request->input('first_name');
|
||||
$pa->last_name = $request->input('last_name');
|
||||
$pa->location = $request->input('location');
|
||||
$pa->notes = $request->input('notes');
|
||||
$pa->passport_type = $request->input('passport_type');
|
||||
$pa->event_id = $request->input('district_region');
|
||||
$pa->email = $request->input('mail');
|
||||
|
||||
$pa->reference_number = $this->generateReferenceNumber($request->input('district_region'), $request->input('passport_type'), $request->input('first_name'));
|
||||
|
||||
$pa->save();
|
||||
return ["messageStatus" => "success", "errorMessage" => ""];
|
||||
}
|
||||
catch(\Exception $e){
|
||||
return ["messageStatus" => "failure", "errorMessage" => $e->getMessage()];
|
||||
}
|
||||
}
|
||||
abort(404);
|
||||
}
|
||||
|
||||
public function deleteApplication(Request $request){
|
||||
if(Auth::check()){
|
||||
try {
|
||||
$pa = PreApplications::find($request->input('id'));
|
||||
if ($pa) {
|
||||
$pa->delete();
|
||||
return ["messageStatus" => "success", "errorMessage" => ""];
|
||||
} else {
|
||||
return ["messageStatus" => "failure", "errorMessage" => __("controller_messages.PreApplicationController.application_not_found")];
|
||||
}
|
||||
} catch(\Exception $e){
|
||||
return ["messageStatus" => "failure", "errorMessage" => $e->getMessage()];
|
||||
}
|
||||
}
|
||||
abort(404);
|
||||
}
|
||||
|
||||
public function editApplication(Request $request){
|
||||
if(Auth::check()){
|
||||
try {
|
||||
$pa = PreApplications::find($request->input('id'));
|
||||
if ($pa) {
|
||||
$pa->first_name = $request->input('first_name');
|
||||
$pa->last_name = $request->input('last_name');
|
||||
$pa->location = $request->input('location');
|
||||
$pa->notes = $request->input('notes');
|
||||
$pa->email = $request->input('mail');
|
||||
$pa->passport_type = $request->input('passport_type');
|
||||
$pa->save();
|
||||
return ["messageStatus" => "success", "errorMessage" => ""];
|
||||
}
|
||||
return ["messageStatus" => "failure", "errorMessage" => __("controller_messages.PreApplicationController.application_not_found")];
|
||||
} catch(\Exception $e){
|
||||
return ["messageStatus" => "failure", "errorMessage" => $e->getMessage()];
|
||||
}
|
||||
}
|
||||
abort(404);
|
||||
}
|
||||
|
||||
public function generatePDF(Request $request){
|
||||
if(Auth::check()){
|
||||
if(!$request->has('event_id')){
|
||||
return ["messageStatus" => "failure", "errorMessage" => __("controller_messages.PreApplicationController.event_id_missing")];
|
||||
}
|
||||
|
||||
$event = ChaosEvents::find($request->input('event_id'));
|
||||
|
||||
if(!$event){
|
||||
return ["messageStatus" => "failure", "errorMessage" => __("controller_messages.PreApplicationController.event_not_found")];
|
||||
}
|
||||
if($event->active == 0 || $event->to_date_internal < today()){
|
||||
return ["messageStatus" => "failure", "errorMessage" => __("controller_messages.PreApplicationController.event_not_active")];
|
||||
}
|
||||
|
||||
|
||||
$options = new \Dompdf\Options();
|
||||
$options->set('isRemoteEnabled', true);
|
||||
$options->set('isHtml5ParserEnabled', true);
|
||||
$options->set('chroot', public_path());
|
||||
$dompdf = new Dompdf($options);
|
||||
$dompdf->setPaper('A4', 'portrait');
|
||||
|
||||
$applications = PreApplications::where('event_id', $request->input('event_id'))->get();
|
||||
$dompdf->loadHtml(view('pdf.pre_application', ['applications' => $applications, 'event' => $event]));
|
||||
|
||||
$dompdf->render();
|
||||
|
||||
$dompdf->stream('Voranträge_' . $event->shortname . '_' . $event->from_date_visible->format('Y') . '.pdf', ['Attachment' => 0]);
|
||||
exit;
|
||||
}
|
||||
abort(404);
|
||||
}
|
||||
}
|
||||
@@ -5,15 +5,55 @@ namespace App\Http\Controllers;
|
||||
use App\Models\TickerMessages;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\App;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
|
||||
class TickerController extends Controller
|
||||
{
|
||||
public function deleteTicker(Request $request){
|
||||
if(Auth::check()){
|
||||
$toDelete = $request->input('delete')[0];
|
||||
try{
|
||||
foreach($toDelete as $item){
|
||||
$ticker = TickerMessages::find($item);
|
||||
$ticker->delete();
|
||||
}
|
||||
return ["messageStatus" => "success", "errorMessage" => ""];
|
||||
} catch(\Exception $e){
|
||||
return ["messageStatus" => "failure", "errorMessage" => __("controller_messages.TickerController.error_occurred", ["error" => $e->getMessage()])];
|
||||
}
|
||||
|
||||
}
|
||||
abort(404);
|
||||
}
|
||||
|
||||
public function addTicker(Request $request){
|
||||
if(Auth::check()){
|
||||
$toAdd = $request->input('insert');
|
||||
$lang = $request->input('lang');
|
||||
|
||||
try {
|
||||
$ticker = new TickerMessages();
|
||||
$ticker->message = $toAdd;
|
||||
$ticker->language = $lang;
|
||||
$ticker->save();
|
||||
return ["messageStatus" => "success", "errorMessage" => ""];
|
||||
} catch(\Exception $e){
|
||||
return ["messageStatus" => "failure", "errorMessage" => __("controller_messages.TickerController.error_occurred", ["error" => $e->getMessage()])];
|
||||
}
|
||||
}
|
||||
abort(404);
|
||||
}
|
||||
|
||||
public static function getTicker(){
|
||||
$t = "";
|
||||
foreach(TickerMessages::getMessages(App::getLocale())->get() as $message){
|
||||
$t .= " -- " . $message->message;
|
||||
$t .= " -- $message->message";
|
||||
}
|
||||
|
||||
if(!empty($t)){
|
||||
$t .= " -- ";
|
||||
}
|
||||
|
||||
return $t;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,27 +4,95 @@ namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\App;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
|
||||
class WebsiteController extends Controller
|
||||
{
|
||||
|
||||
public function __construct(){
|
||||
$this->setLang($_COOKIE['lang'] ?? 'de');
|
||||
}
|
||||
|
||||
private function setLang($lang)
|
||||
{
|
||||
if (! in_array($lang, ['de', 'en'])) {
|
||||
$lang = 'de';
|
||||
}
|
||||
|
||||
App::setLocale($lang);
|
||||
}
|
||||
|
||||
//
|
||||
public function index(Request $request){
|
||||
|
||||
|
||||
return view('layout.app', ['page' => 'content.index']);
|
||||
public function index(Request $request)
|
||||
{
|
||||
return view('content.index');
|
||||
}
|
||||
|
||||
public function about(Request $request){
|
||||
return view('content.about');
|
||||
}
|
||||
|
||||
public function documents(Request $request){
|
||||
return view('content.documents');
|
||||
}
|
||||
|
||||
public function contact(Request $request){
|
||||
return view('content.contact');
|
||||
}
|
||||
|
||||
public function faq(Request $request){
|
||||
return view('content.faq');
|
||||
}
|
||||
|
||||
public function imprint(Request $request){
|
||||
return view('content.imprint');
|
||||
}
|
||||
|
||||
public function news(Request $request){
|
||||
return view('content.news', ['blogs' => BlogController::blogPaginated(App::getLocale(), true)]);
|
||||
}
|
||||
|
||||
public function services(Request $request){
|
||||
return view('content.services');
|
||||
}
|
||||
|
||||
public function apply(Request $request){
|
||||
return view('application.apply');
|
||||
}
|
||||
|
||||
|
||||
// C3Gov-Stuffs
|
||||
|
||||
public function showRegister()
|
||||
{
|
||||
return view('login.register');
|
||||
}
|
||||
|
||||
public function showLogin()
|
||||
{
|
||||
return view('login.login');
|
||||
}
|
||||
|
||||
public function editTicker(){
|
||||
if(Auth::check()){
|
||||
return view('ticker.edit');
|
||||
}
|
||||
abort(404);
|
||||
}
|
||||
|
||||
public function editNews(){
|
||||
if(Auth::check()){
|
||||
return response()
|
||||
->view('blog.edit', ['blogs' => BlogController::blogPaginatedEdit()])
|
||||
->header('Cache-Control', 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
|
||||
}
|
||||
abort(404);
|
||||
}
|
||||
|
||||
public function editApplications(){
|
||||
if(Auth::check()){
|
||||
return response()
|
||||
->view('application.edit', ['applications' => PreApplicationController::applicationsPaginated()])
|
||||
->header('Cache-Control', 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
|
||||
}
|
||||
abort(404);
|
||||
}
|
||||
|
||||
public function editEvents(){
|
||||
if(Auth::check()){
|
||||
return response()
|
||||
->view('events.edit', ['events' => EventController::eventsPaginated()])
|
||||
->header('Cache-Control', 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
|
||||
}
|
||||
abort(404);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Middleware;
|
||||
|
||||
use Illuminate\Foundation\Http\Middleware\PreventRequestForgery as Middleware;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class ForceCsrfOnLocalhost extends Middleware
|
||||
{
|
||||
/**
|
||||
* Determine if the request has a valid origin based on the Sec-Fetch-Site header.
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @return bool
|
||||
*/
|
||||
protected function hasValidOrigin($request)
|
||||
{
|
||||
// If it's localhost, we want to skip origin verification and fall back to token verification
|
||||
if ($this->isLocalhost($request)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return parent::hasValidOrigin($request);
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine if the request is from localhost.
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @return bool
|
||||
*/
|
||||
protected function isLocalhost($request)
|
||||
{
|
||||
$host = $request->getHost();
|
||||
|
||||
return in_array($host, ['localhost', '127.0.0.1', '::1']) || str_ends_with($host, '.localhost');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Middleware;
|
||||
|
||||
use Closure;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\App;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
|
||||
class SetLocale
|
||||
{
|
||||
/**
|
||||
* Handle an incoming request.
|
||||
*
|
||||
* @param \Closure(\Illuminate\Http\Request): (\Symfony\Component\HttpFoundation\Response) $next
|
||||
*/
|
||||
public function handle(Request $request, Closure $next): Response
|
||||
{
|
||||
$lang = $request->cookie('lang', 'de');
|
||||
if (!in_array($lang, ['de', 'en'])) {
|
||||
$lang = 'de';
|
||||
}
|
||||
|
||||
App::setLocale($lang);
|
||||
|
||||
return $next($request);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
namespace App\Mail;
|
||||
|
||||
use AllowDynamicProperties;
|
||||
use App;
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Mail\Mailable;
|
||||
use Illuminate\Mail\Mailables\Attachment;
|
||||
use Illuminate\Mail\Mailables\Content;
|
||||
use Illuminate\Mail\Mailables\Envelope;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class PreApplicationMail extends Mailable
|
||||
{
|
||||
use Queueable, SerializesModels;
|
||||
|
||||
/**
|
||||
* Create a new message instance.
|
||||
*/
|
||||
public function __construct(protected App\Models\PreApplications $pa, protected string $lang = 'de')
|
||||
{
|
||||
//
|
||||
$this->locale($this->lang);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the message envelope.
|
||||
*/
|
||||
public function envelope(): Envelope
|
||||
{
|
||||
return new Envelope(
|
||||
subject: __('mail.preapplication.subject'),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the message content definition.
|
||||
*/
|
||||
public function content(): Content
|
||||
{
|
||||
return new Content(
|
||||
view: 'mail.preapplication',
|
||||
with: ['pa' => $this->pa],
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the attachments for the message.
|
||||
*
|
||||
* @return array<int, Attachment>
|
||||
*/
|
||||
public function attachments(): array
|
||||
{
|
||||
$langFb = match ($this->locale) {
|
||||
'de' => 'dk',
|
||||
'en' => 'ek',
|
||||
default => 'dk',
|
||||
};
|
||||
|
||||
$langDonation = match ($this->locale) {
|
||||
'de' => '',
|
||||
'en' => '_en',
|
||||
};
|
||||
|
||||
return [
|
||||
Attachment::fromPath(public_path('Dokumente/c3gov_fb5' . $langFb . '.pdf'))
|
||||
->withMime('application/pdf'),
|
||||
Attachment::fromPath(public_path('Dokumente/C3GovSpGV' . $langDonation . '.pdf'))
|
||||
->withMime('application/pdf'),
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Blog extends Model
|
||||
{
|
||||
//
|
||||
protected $table = 'blogs';
|
||||
|
||||
public function byUser(): \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
{
|
||||
return $this->belongsTo('App\Models\User', 'published_by', 'id');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ChaosEvents extends Model
|
||||
{
|
||||
protected $table = 'chaos_events';
|
||||
|
||||
protected function casts(): array
|
||||
{
|
||||
return [
|
||||
'from_date_internal' => 'date',
|
||||
'to_date_internal' => 'date',
|
||||
'from_date_visible' => 'date',
|
||||
'to_date_visible' => 'date',
|
||||
];
|
||||
}
|
||||
|
||||
public function preApplications() {
|
||||
return $this->hasMany('App\Models\PreApplications', 'event_id');
|
||||
}
|
||||
|
||||
public static function getActiveEvents(){
|
||||
return self::where('active', 1)->where('to_date_internal', '>=', today())
|
||||
->where('from_date_internal', '<=', today())->orderBy('to_date_internal')->get();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class PreApplications extends Model
|
||||
{
|
||||
protected $table = 'pre_applications';
|
||||
|
||||
public function event(): \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
{
|
||||
return $this->belongsTo('App\Models\ChaosEvents','event_id');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|RegisterToken newModelQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|RegisterToken newQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|RegisterToken query()
|
||||
* @mixin \Eloquent
|
||||
*/
|
||||
class RegisterToken extends Model
|
||||
{
|
||||
protected $table = 'register_tokens';
|
||||
protected $primaryKey = 'token';
|
||||
public $incrementing = false;
|
||||
public $timestamps = false;
|
||||
}
|
||||
@@ -4,6 +4,22 @@ namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* @property int $id
|
||||
* @property string $language
|
||||
* @property string $message
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|TickerMessages newModelQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|TickerMessages newQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|TickerMessages query()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|TickerMessages whereCreatedAt($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|TickerMessages whereId($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|TickerMessages whereLanguage($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|TickerMessages whereMessage($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|TickerMessages whereUpdatedAt($value)
|
||||
* @mixin \Eloquent
|
||||
*/
|
||||
class TickerMessages extends Model
|
||||
{
|
||||
//
|
||||
|
||||
@@ -10,6 +10,31 @@ use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Foundation\Auth\User as Authenticatable;
|
||||
use Illuminate\Notifications\Notifiable;
|
||||
|
||||
/**
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property string $email
|
||||
* @property \Illuminate\Support\Carbon|null $email_verified_at
|
||||
* @property string $password
|
||||
* @property string|null $remember_token
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
* @property-read \Illuminate\Notifications\DatabaseNotificationCollection<int, \Illuminate\Notifications\DatabaseNotification> $notifications
|
||||
* @property-read int|null $notifications_count
|
||||
* @method static \Database\Factories\UserFactory factory($count = null, $state = [])
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|User newModelQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|User newQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|User query()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|User whereCreatedAt($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|User whereEmail($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|User whereEmailVerifiedAt($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|User whereId($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|User whereName($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|User wherePassword($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|User whereRememberToken($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|User whereUpdatedAt($value)
|
||||
* @mixin \Eloquent
|
||||
*/
|
||||
#[Fillable(['name', 'email', 'password'])]
|
||||
#[Hidden(['password', 'remember_token'])]
|
||||
class User extends Authenticatable
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
use Illuminate\Foundation\Application;
|
||||
use Illuminate\Foundation\Configuration\Exceptions;
|
||||
use Illuminate\Foundation\Configuration\Middleware;
|
||||
use Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance;
|
||||
|
||||
return Application::configure(basePath: dirname(__DIR__))
|
||||
->withRouting(
|
||||
@@ -11,7 +12,10 @@ return Application::configure(basePath: dirname(__DIR__))
|
||||
health: '/up',
|
||||
)
|
||||
->withMiddleware(function (Middleware $middleware): void {
|
||||
//
|
||||
$middleware->web(replace: [
|
||||
\Illuminate\Foundation\Http\Middleware\PreventRequestForgery::class => \App\Http\Middleware\ForceCsrfOnLocalhost::class,
|
||||
]);
|
||||
$middleware->append(\App\Http\Middleware\SetLocale::class);
|
||||
})
|
||||
->withExceptions(function (Exceptions $exceptions): void {
|
||||
//
|
||||
|
||||
@@ -10,10 +10,12 @@
|
||||
"license": "MIT",
|
||||
"require": {
|
||||
"php": "^8.3",
|
||||
"dompdf/dompdf": "v3.1.5",
|
||||
"laravel/framework": "^13.0",
|
||||
"laravel/tinker": "^3.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"barryvdh/laravel-ide-helper": "^3.7",
|
||||
"fakerphp/faker": "^1.23",
|
||||
"laravel/pail": "^1.2.5",
|
||||
"laravel/pint": "^1.27",
|
||||
@@ -47,6 +49,11 @@
|
||||
"Composer\\Config::disableProcessTimeout",
|
||||
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1 --timeout=0\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite --kill-others"
|
||||
],
|
||||
"dev-bind": [
|
||||
"Composer\\Config::disableProcessTimeout",
|
||||
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve --host=0.0.0.0\" \"php artisan queue:listen --tries=1 --timeout=0\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite --kill-others"
|
||||
],
|
||||
|
||||
"test": [
|
||||
"@php artisan config:clear --ansi",
|
||||
"@php artisan test"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "91e8e1dfc8379caaf1c302443d694dfa",
|
||||
"content-hash": "574a1d636a4f2db2df7b156d94d141bb",
|
||||
"packages": [
|
||||
{
|
||||
"name": "brick/math",
|
||||
@@ -377,6 +377,161 @@
|
||||
],
|
||||
"time": "2024-02-05T11:56:58+00:00"
|
||||
},
|
||||
{
|
||||
"name": "dompdf/dompdf",
|
||||
"version": "v3.1.5",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/dompdf/dompdf.git",
|
||||
"reference": "f11ead23a8a76d0ff9bbc6c7c8fd7e05ca328496"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/dompdf/dompdf/zipball/f11ead23a8a76d0ff9bbc6c7c8fd7e05ca328496",
|
||||
"reference": "f11ead23a8a76d0ff9bbc6c7c8fd7e05ca328496",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"dompdf/php-font-lib": "^1.0.0",
|
||||
"dompdf/php-svg-lib": "^1.0.0",
|
||||
"ext-dom": "*",
|
||||
"ext-mbstring": "*",
|
||||
"masterminds/html5": "^2.0",
|
||||
"php": "^7.1 || ^8.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"ext-gd": "*",
|
||||
"ext-json": "*",
|
||||
"ext-zip": "*",
|
||||
"mockery/mockery": "^1.3",
|
||||
"phpunit/phpunit": "^7.5 || ^8 || ^9 || ^10 || ^11",
|
||||
"squizlabs/php_codesniffer": "^3.5",
|
||||
"symfony/process": "^4.4 || ^5.4 || ^6.2 || ^7.0"
|
||||
},
|
||||
"suggest": {
|
||||
"ext-gd": "Needed to process images",
|
||||
"ext-gmagick": "Improves image processing performance",
|
||||
"ext-imagick": "Improves image processing performance",
|
||||
"ext-zlib": "Needed for pdf stream compression"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Dompdf\\": "src/"
|
||||
},
|
||||
"classmap": [
|
||||
"lib/"
|
||||
]
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"LGPL-2.1"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "The Dompdf Community",
|
||||
"homepage": "https://github.com/dompdf/dompdf/blob/master/AUTHORS.md"
|
||||
}
|
||||
],
|
||||
"description": "DOMPDF is a CSS 2.1 compliant HTML to PDF converter",
|
||||
"homepage": "https://github.com/dompdf/dompdf",
|
||||
"support": {
|
||||
"issues": "https://github.com/dompdf/dompdf/issues",
|
||||
"source": "https://github.com/dompdf/dompdf/tree/v3.1.5"
|
||||
},
|
||||
"time": "2026-03-03T13:54:37+00:00"
|
||||
},
|
||||
{
|
||||
"name": "dompdf/php-font-lib",
|
||||
"version": "1.0.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/dompdf/php-font-lib.git",
|
||||
"reference": "a6e9a688a2a80016ac080b97be73d3e10c444c9a"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/dompdf/php-font-lib/zipball/a6e9a688a2a80016ac080b97be73d3e10c444c9a",
|
||||
"reference": "a6e9a688a2a80016ac080b97be73d3e10c444c9a",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"ext-mbstring": "*",
|
||||
"php": "^7.1 || ^8.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^7.5 || ^8 || ^9 || ^10 || ^11 || ^12"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"FontLib\\": "src/FontLib"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"LGPL-2.1-or-later"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "The FontLib Community",
|
||||
"homepage": "https://github.com/dompdf/php-font-lib/blob/master/AUTHORS.md"
|
||||
}
|
||||
],
|
||||
"description": "A library to read, parse, export and make subsets of different types of font files.",
|
||||
"homepage": "https://github.com/dompdf/php-font-lib",
|
||||
"support": {
|
||||
"issues": "https://github.com/dompdf/php-font-lib/issues",
|
||||
"source": "https://github.com/dompdf/php-font-lib/tree/1.0.2"
|
||||
},
|
||||
"time": "2026-01-20T14:10:26+00:00"
|
||||
},
|
||||
{
|
||||
"name": "dompdf/php-svg-lib",
|
||||
"version": "1.0.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/dompdf/php-svg-lib.git",
|
||||
"reference": "8259ffb930817e72b1ff1caef5d226501f3dfeb1"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/dompdf/php-svg-lib/zipball/8259ffb930817e72b1ff1caef5d226501f3dfeb1",
|
||||
"reference": "8259ffb930817e72b1ff1caef5d226501f3dfeb1",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"ext-mbstring": "*",
|
||||
"php": "^7.1 || ^8.0",
|
||||
"sabberworm/php-css-parser": "^8.4 || ^9.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^7.5 || ^8 || ^9 || ^10 || ^11"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Svg\\": "src/Svg"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"LGPL-3.0-or-later"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "The SvgLib Community",
|
||||
"homepage": "https://github.com/dompdf/php-svg-lib/blob/master/AUTHORS.md"
|
||||
}
|
||||
],
|
||||
"description": "A library to read, parse and export to PDF SVG files.",
|
||||
"homepage": "https://github.com/dompdf/php-svg-lib",
|
||||
"support": {
|
||||
"issues": "https://github.com/dompdf/php-svg-lib/issues",
|
||||
"source": "https://github.com/dompdf/php-svg-lib/tree/1.0.2"
|
||||
},
|
||||
"time": "2026-01-02T16:01:13+00:00"
|
||||
},
|
||||
{
|
||||
"name": "dragonmantank/cron-expression",
|
||||
"version": "v3.6.0",
|
||||
@@ -2022,6 +2177,73 @@
|
||||
],
|
||||
"time": "2026-03-08T20:05:35+00:00"
|
||||
},
|
||||
{
|
||||
"name": "masterminds/html5",
|
||||
"version": "2.10.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Masterminds/html5-php.git",
|
||||
"reference": "fcf91eb64359852f00d921887b219479b4f21251"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/Masterminds/html5-php/zipball/fcf91eb64359852f00d921887b219479b4f21251",
|
||||
"reference": "fcf91eb64359852f00d921887b219479b4f21251",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"ext-dom": "*",
|
||||
"php": ">=5.3.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.8.35 || ^5.7.21 || ^6 || ^7 || ^8 || ^9"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "2.7-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Masterminds\\": "src"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Matt Butcher",
|
||||
"email": "technosophos@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "Matt Farina",
|
||||
"email": "matt@mattfarina.com"
|
||||
},
|
||||
{
|
||||
"name": "Asmir Mustafic",
|
||||
"email": "goetas@gmail.com"
|
||||
}
|
||||
],
|
||||
"description": "An HTML5 parser and serializer.",
|
||||
"homepage": "http://masterminds.github.io/html5-php",
|
||||
"keywords": [
|
||||
"HTML5",
|
||||
"dom",
|
||||
"html",
|
||||
"parser",
|
||||
"querypath",
|
||||
"serializer",
|
||||
"xml"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/Masterminds/html5-php/issues",
|
||||
"source": "https://github.com/Masterminds/html5-php/tree/2.10.0"
|
||||
},
|
||||
"time": "2025-07-25T09:04:22+00:00"
|
||||
},
|
||||
{
|
||||
"name": "monolog/monolog",
|
||||
"version": "3.10.0",
|
||||
@@ -3297,6 +3519,86 @@
|
||||
},
|
||||
"time": "2025-12-14T04:43:48+00:00"
|
||||
},
|
||||
{
|
||||
"name": "sabberworm/php-css-parser",
|
||||
"version": "v9.3.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/MyIntervals/PHP-CSS-Parser.git",
|
||||
"reference": "88dbd0f7f91abbfe4402d0a3071e9ff4d81ed949"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/MyIntervals/PHP-CSS-Parser/zipball/88dbd0f7f91abbfe4402d0a3071e9ff4d81ed949",
|
||||
"reference": "88dbd0f7f91abbfe4402d0a3071e9ff4d81ed949",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"ext-iconv": "*",
|
||||
"php": "^7.2.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
|
||||
"thecodingmachine/safe": "^1.3 || ^2.5 || ^3.4"
|
||||
},
|
||||
"require-dev": {
|
||||
"php-parallel-lint/php-parallel-lint": "1.4.0",
|
||||
"phpstan/extension-installer": "1.4.3",
|
||||
"phpstan/phpstan": "1.12.32 || 2.1.32",
|
||||
"phpstan/phpstan-phpunit": "1.4.2 || 2.0.8",
|
||||
"phpstan/phpstan-strict-rules": "1.6.2 || 2.0.7",
|
||||
"phpunit/phpunit": "8.5.52",
|
||||
"rawr/phpunit-data-provider": "3.3.1",
|
||||
"rector/rector": "1.2.10 || 2.2.8",
|
||||
"rector/type-perfect": "1.0.0 || 2.1.0",
|
||||
"squizlabs/php_codesniffer": "4.0.1",
|
||||
"thecodingmachine/phpstan-safe-rule": "1.2.0 || 1.4.1"
|
||||
},
|
||||
"suggest": {
|
||||
"ext-mbstring": "for parsing UTF-8 CSS"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "9.4.x-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"files": [
|
||||
"src/Rule/Rule.php",
|
||||
"src/RuleSet/RuleContainer.php"
|
||||
],
|
||||
"psr-4": {
|
||||
"Sabberworm\\CSS\\": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Raphael Schweikert"
|
||||
},
|
||||
{
|
||||
"name": "Oliver Klee",
|
||||
"email": "github@oliverklee.de"
|
||||
},
|
||||
{
|
||||
"name": "Jake Hotson",
|
||||
"email": "jake.github@qzdesign.co.uk"
|
||||
}
|
||||
],
|
||||
"description": "Parser for CSS Files written in PHP",
|
||||
"homepage": "https://www.sabberworm.com/blog/2010/6/10/php-css-parser",
|
||||
"keywords": [
|
||||
"css",
|
||||
"parser",
|
||||
"stylesheet"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/MyIntervals/PHP-CSS-Parser/issues",
|
||||
"source": "https://github.com/MyIntervals/PHP-CSS-Parser/tree/v9.3.0"
|
||||
},
|
||||
"time": "2026-03-03T17:31:43+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/clock",
|
||||
"version": "v8.0.0",
|
||||
@@ -5666,6 +5968,149 @@
|
||||
],
|
||||
"time": "2026-02-15T10:53:29+00:00"
|
||||
},
|
||||
{
|
||||
"name": "thecodingmachine/safe",
|
||||
"version": "v3.4.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/thecodingmachine/safe.git",
|
||||
"reference": "705683a25bacf0d4860c7dea4d7947bfd09eea19"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/thecodingmachine/safe/zipball/705683a25bacf0d4860c7dea4d7947bfd09eea19",
|
||||
"reference": "705683a25bacf0d4860c7dea4d7947bfd09eea19",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "^8.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"php-parallel-lint/php-parallel-lint": "^1.4",
|
||||
"phpstan/phpstan": "^2",
|
||||
"phpunit/phpunit": "^10",
|
||||
"squizlabs/php_codesniffer": "^3.2"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"files": [
|
||||
"lib/special_cases.php",
|
||||
"generated/apache.php",
|
||||
"generated/apcu.php",
|
||||
"generated/array.php",
|
||||
"generated/bzip2.php",
|
||||
"generated/calendar.php",
|
||||
"generated/classobj.php",
|
||||
"generated/com.php",
|
||||
"generated/cubrid.php",
|
||||
"generated/curl.php",
|
||||
"generated/datetime.php",
|
||||
"generated/dir.php",
|
||||
"generated/eio.php",
|
||||
"generated/errorfunc.php",
|
||||
"generated/exec.php",
|
||||
"generated/fileinfo.php",
|
||||
"generated/filesystem.php",
|
||||
"generated/filter.php",
|
||||
"generated/fpm.php",
|
||||
"generated/ftp.php",
|
||||
"generated/funchand.php",
|
||||
"generated/gettext.php",
|
||||
"generated/gmp.php",
|
||||
"generated/gnupg.php",
|
||||
"generated/hash.php",
|
||||
"generated/ibase.php",
|
||||
"generated/ibmDb2.php",
|
||||
"generated/iconv.php",
|
||||
"generated/image.php",
|
||||
"generated/imap.php",
|
||||
"generated/info.php",
|
||||
"generated/inotify.php",
|
||||
"generated/json.php",
|
||||
"generated/ldap.php",
|
||||
"generated/libxml.php",
|
||||
"generated/lzf.php",
|
||||
"generated/mailparse.php",
|
||||
"generated/mbstring.php",
|
||||
"generated/misc.php",
|
||||
"generated/mysql.php",
|
||||
"generated/mysqli.php",
|
||||
"generated/network.php",
|
||||
"generated/oci8.php",
|
||||
"generated/opcache.php",
|
||||
"generated/openssl.php",
|
||||
"generated/outcontrol.php",
|
||||
"generated/pcntl.php",
|
||||
"generated/pcre.php",
|
||||
"generated/pgsql.php",
|
||||
"generated/posix.php",
|
||||
"generated/ps.php",
|
||||
"generated/pspell.php",
|
||||
"generated/readline.php",
|
||||
"generated/rnp.php",
|
||||
"generated/rpminfo.php",
|
||||
"generated/rrd.php",
|
||||
"generated/sem.php",
|
||||
"generated/session.php",
|
||||
"generated/shmop.php",
|
||||
"generated/sockets.php",
|
||||
"generated/sodium.php",
|
||||
"generated/solr.php",
|
||||
"generated/spl.php",
|
||||
"generated/sqlsrv.php",
|
||||
"generated/ssdeep.php",
|
||||
"generated/ssh2.php",
|
||||
"generated/stream.php",
|
||||
"generated/strings.php",
|
||||
"generated/swoole.php",
|
||||
"generated/uodbc.php",
|
||||
"generated/uopz.php",
|
||||
"generated/url.php",
|
||||
"generated/var.php",
|
||||
"generated/xdiff.php",
|
||||
"generated/xml.php",
|
||||
"generated/xmlrpc.php",
|
||||
"generated/yaml.php",
|
||||
"generated/yaz.php",
|
||||
"generated/zip.php",
|
||||
"generated/zlib.php"
|
||||
],
|
||||
"classmap": [
|
||||
"lib/DateTime.php",
|
||||
"lib/DateTimeImmutable.php",
|
||||
"lib/Exceptions/",
|
||||
"generated/Exceptions/"
|
||||
]
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"description": "PHP core functions that throw exceptions instead of returning FALSE on error",
|
||||
"support": {
|
||||
"issues": "https://github.com/thecodingmachine/safe/issues",
|
||||
"source": "https://github.com/thecodingmachine/safe/tree/v3.4.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
"url": "https://github.com/OskarStark",
|
||||
"type": "github"
|
||||
},
|
||||
{
|
||||
"url": "https://github.com/shish",
|
||||
"type": "github"
|
||||
},
|
||||
{
|
||||
"url": "https://github.com/silasjoisten",
|
||||
"type": "github"
|
||||
},
|
||||
{
|
||||
"url": "https://github.com/staabm",
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2026-02-04T18:08:13+00:00"
|
||||
},
|
||||
{
|
||||
"name": "tijsverkoyen/css-to-inline-styles",
|
||||
"version": "v2.4.0",
|
||||
@@ -5881,6 +6326,153 @@
|
||||
}
|
||||
],
|
||||
"packages-dev": [
|
||||
{
|
||||
"name": "barryvdh/laravel-ide-helper",
|
||||
"version": "v3.7.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/barryvdh/laravel-ide-helper.git",
|
||||
"reference": "ad7e37676f1ff985d55ef1b6b96a0c0a40f2609a"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/barryvdh/laravel-ide-helper/zipball/ad7e37676f1ff985d55ef1b6b96a0c0a40f2609a",
|
||||
"reference": "ad7e37676f1ff985d55ef1b6b96a0c0a40f2609a",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"barryvdh/reflection-docblock": "^2.4",
|
||||
"composer/class-map-generator": "^1.0",
|
||||
"ext-json": "*",
|
||||
"illuminate/console": "^11.15 || ^12 || ^13.0",
|
||||
"illuminate/database": "^11.15 || ^12 || ^13.0",
|
||||
"illuminate/filesystem": "^11.15 || ^12 || ^13.0",
|
||||
"illuminate/support": "^11.15 || ^12 || ^13.0",
|
||||
"php": "^8.2"
|
||||
},
|
||||
"require-dev": {
|
||||
"ext-pdo_sqlite": "*",
|
||||
"friendsofphp/php-cs-fixer": "^3",
|
||||
"illuminate/config": "^11.15 || ^12 || ^13.0",
|
||||
"illuminate/view": "^11.15 || ^12 || ^13.0",
|
||||
"larastan/larastan": "^3.1",
|
||||
"mockery/mockery": "^1.4",
|
||||
"orchestra/testbench": "^9.2 || ^10 || ^11.0",
|
||||
"phpstan/phpstan-phpunit": "^2.0",
|
||||
"phpunit/phpunit": "^10.5 || ^11.5.3 || ^12.5.12",
|
||||
"spatie/phpunit-snapshot-assertions": "^4 || ^5",
|
||||
"vlucas/phpdotenv": "^5"
|
||||
},
|
||||
"suggest": {
|
||||
"illuminate/events": "Required for automatic helper generation (^6|^7|^8|^9|^10|^11)."
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"Barryvdh\\LaravelIdeHelper\\IdeHelperServiceProvider"
|
||||
]
|
||||
},
|
||||
"branch-alias": {
|
||||
"dev-master": "3.6-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Barryvdh\\LaravelIdeHelper\\": "src"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Barry vd. Heuvel",
|
||||
"email": "barryvdh@gmail.com"
|
||||
}
|
||||
],
|
||||
"description": "Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.",
|
||||
"keywords": [
|
||||
"autocomplete",
|
||||
"codeintel",
|
||||
"dev",
|
||||
"helper",
|
||||
"ide",
|
||||
"laravel",
|
||||
"netbeans",
|
||||
"phpdoc",
|
||||
"phpstorm",
|
||||
"sublime"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/barryvdh/laravel-ide-helper/issues",
|
||||
"source": "https://github.com/barryvdh/laravel-ide-helper/tree/v3.7.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
"url": "https://fruitcake.nl",
|
||||
"type": "custom"
|
||||
},
|
||||
{
|
||||
"url": "https://github.com/barryvdh",
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2026-03-17T14:12:51+00:00"
|
||||
},
|
||||
{
|
||||
"name": "barryvdh/reflection-docblock",
|
||||
"version": "v2.4.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/barryvdh/ReflectionDocBlock.git",
|
||||
"reference": "4f5ba70c30c81f2ce03a16a9965832cfcc31ed3b"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/barryvdh/ReflectionDocBlock/zipball/4f5ba70c30c81f2ce03a16a9965832cfcc31ed3b",
|
||||
"reference": "4f5ba70c30c81f2ce03a16a9965832cfcc31ed3b",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=7.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^8.5.14|^9"
|
||||
},
|
||||
"suggest": {
|
||||
"dflydev/markdown": "~1.0",
|
||||
"erusev/parsedown": "~1.0"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "2.3.x-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-0": {
|
||||
"Barryvdh": [
|
||||
"src/"
|
||||
]
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Mike van Riel",
|
||||
"email": "mike.vanriel@naenius.com"
|
||||
}
|
||||
],
|
||||
"support": {
|
||||
"source": "https://github.com/barryvdh/ReflectionDocBlock/tree/v2.4.1"
|
||||
},
|
||||
"time": "2026-03-05T20:09:01+00:00"
|
||||
},
|
||||
{
|
||||
"name": "brianium/paratest",
|
||||
"version": "v7.19.2",
|
||||
@@ -5974,6 +6566,154 @@
|
||||
],
|
||||
"time": "2026-03-09T14:33:17+00:00"
|
||||
},
|
||||
{
|
||||
"name": "composer/class-map-generator",
|
||||
"version": "1.7.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/composer/class-map-generator.git",
|
||||
"reference": "8f5fa3cc214230e71f54924bd0197a3bcc705eb1"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/composer/class-map-generator/zipball/8f5fa3cc214230e71f54924bd0197a3bcc705eb1",
|
||||
"reference": "8f5fa3cc214230e71f54924bd0197a3bcc705eb1",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"composer/pcre": "^2.1 || ^3.1",
|
||||
"php": "^7.2 || ^8.0",
|
||||
"symfony/finder": "^4.4 || ^5.3 || ^6 || ^7 || ^8"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpstan/phpstan": "^1.12 || ^2",
|
||||
"phpstan/phpstan-deprecation-rules": "^1 || ^2",
|
||||
"phpstan/phpstan-phpunit": "^1 || ^2",
|
||||
"phpstan/phpstan-strict-rules": "^1.1 || ^2",
|
||||
"phpunit/phpunit": "^8",
|
||||
"symfony/filesystem": "^5.4 || ^6 || ^7 || ^8"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "1.x-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Composer\\ClassMapGenerator\\": "src"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Jordi Boggiano",
|
||||
"email": "j.boggiano@seld.be",
|
||||
"homepage": "https://seld.be"
|
||||
}
|
||||
],
|
||||
"description": "Utilities to scan PHP code and generate class maps.",
|
||||
"keywords": [
|
||||
"classmap"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/composer/class-map-generator/issues",
|
||||
"source": "https://github.com/composer/class-map-generator/tree/1.7.1"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
"url": "https://packagist.com",
|
||||
"type": "custom"
|
||||
},
|
||||
{
|
||||
"url": "https://github.com/composer",
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2025-12-29T13:15:25+00:00"
|
||||
},
|
||||
{
|
||||
"name": "composer/pcre",
|
||||
"version": "3.3.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/composer/pcre.git",
|
||||
"reference": "b2bed4734f0cc156ee1fe9c0da2550420d99a21e"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/composer/pcre/zipball/b2bed4734f0cc156ee1fe9c0da2550420d99a21e",
|
||||
"reference": "b2bed4734f0cc156ee1fe9c0da2550420d99a21e",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "^7.4 || ^8.0"
|
||||
},
|
||||
"conflict": {
|
||||
"phpstan/phpstan": "<1.11.10"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpstan/phpstan": "^1.12 || ^2",
|
||||
"phpstan/phpstan-strict-rules": "^1 || ^2",
|
||||
"phpunit/phpunit": "^8 || ^9"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"phpstan": {
|
||||
"includes": [
|
||||
"extension.neon"
|
||||
]
|
||||
},
|
||||
"branch-alias": {
|
||||
"dev-main": "3.x-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Composer\\Pcre\\": "src"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Jordi Boggiano",
|
||||
"email": "j.boggiano@seld.be",
|
||||
"homepage": "http://seld.be"
|
||||
}
|
||||
],
|
||||
"description": "PCRE wrapping library that offers type-safe preg_* replacements.",
|
||||
"keywords": [
|
||||
"PCRE",
|
||||
"preg",
|
||||
"regex",
|
||||
"regular expression"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/composer/pcre/issues",
|
||||
"source": "https://github.com/composer/pcre/tree/3.3.2"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
"url": "https://packagist.com",
|
||||
"type": "custom"
|
||||
},
|
||||
{
|
||||
"url": "https://github.com/composer",
|
||||
"type": "github"
|
||||
},
|
||||
{
|
||||
"url": "https://tidelift.com/funding/github/packagist/composer/composer",
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2024-11-12T16:29:46+00:00"
|
||||
},
|
||||
{
|
||||
"name": "doctrine/deprecations",
|
||||
"version": "1.1.6",
|
||||
|
||||
@@ -65,7 +65,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'timezone' => 'UTC',
|
||||
'timezone' => 'Europe/Berlin',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('register_tokens', function (Blueprint $table) {
|
||||
$table->string('token')->primary();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('register_tokens');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('blogs', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->unsignedBigInteger('published_by');
|
||||
$table->foreign('published_by')->references('id')->on('users');
|
||||
$table->string('language');
|
||||
$table->string('title');
|
||||
$table->text('body');
|
||||
$table->boolean('published')->default(false);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('blogs');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('chaos_events', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name');
|
||||
$table->string('shortname');
|
||||
$table->date('from_date_internal');
|
||||
$table->date('to_date_internal');
|
||||
$table->date('from_date_visible');
|
||||
$table->date('to_date_visible');
|
||||
$table->boolean('active')->default(false);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('chaos_events');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('pre_applications', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('reference_number')->unique();
|
||||
$table->string('email')->unique();
|
||||
$table->string('passport_type');
|
||||
$table->bigInteger('event_id')->unsigned();
|
||||
$table->foreign('event_id')->references('id')->on('chaos_events')->onDelete('cascade');
|
||||
$table->string('first_name');
|
||||
$table->string('last_name')->nullable();
|
||||
$table->string('location')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('pre_applications');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('pre_applications', function (Blueprint $table) {
|
||||
$table->text('notes')->nullable()->before('created_at');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('pre_applications', function (Blueprint $table) {
|
||||
$table->dropColumn('notes');
|
||||
});
|
||||
}
|
||||
};
|
||||
@@ -2,8 +2,14 @@
|
||||
|
||||
return [
|
||||
'subtitle' => 'Ihr Amt für Reisepass-Angelegenheiten in der Bezirksregion CCC.',
|
||||
'logo' => 'Offizielles Logo des c3gov',
|
||||
'banner' => 'Banner. Abgebildet ist die c3gov-Verwaltungsvorschrift, ein Junghacker*innen-Pass und ein Hacker*innen-Reisepass.',
|
||||
'logo' => 'Offizielles Logo des C3Gov',
|
||||
'banner' => 'Banner. Abgebildet ist die C3Gov-Verwaltungsvorschrift, ein Junghacker*innen-Pass und ein Hacker*innen-Reisepass.',
|
||||
'fediverse' => 'C3Gov im Fediversum',
|
||||
'signed_in_as' => 'Angemeldet als:',
|
||||
'guest' => 'Gastkonto',
|
||||
'news_alt' => 'Neuigkeiten',
|
||||
'progress_flag' => 'LGBTQIA+ Progress-Flagge',
|
||||
'lead_by' => 'Eine von Transgender-Wesen geführte Bezirksregierungsbehörde',
|
||||
'language' => [
|
||||
'en' => 'English',
|
||||
'de' => 'Deutsch',
|
||||
@@ -11,8 +17,242 @@ return [
|
||||
'nav' => [
|
||||
'about' => 'Über uns',
|
||||
'services' => 'Dienstleistungen',
|
||||
'documents' => 'Dokumente',
|
||||
'news' => 'Neuigkeiten',
|
||||
'contact' => 'Kontakt',
|
||||
'imprint' => 'Impressum',
|
||||
'apply' => 'Jetzt beantragen',
|
||||
'editTicker' => 'Ticker bearbeiten',
|
||||
'editNews' => 'Neuigkeiten bearbeiten',
|
||||
'editApplications' => 'Anträge bearbeiten',
|
||||
'events' => 'C3Gov-Termine',
|
||||
'logout' => 'Abmelden',
|
||||
'login' => 'Anmelden',
|
||||
'register' => 'Registrieren'
|
||||
],
|
||||
'index' => [
|
||||
'welcome' => 'Willkommen auf der Internetpräsenz des C3Gov'
|
||||
],
|
||||
'about' => [
|
||||
'subtitle' => 'Unbeschwertes Einreisen in die stationären sowie temporären CCC Bezirksregionen',
|
||||
'text1' => 'Das C3Gov bietet Ihnen die Ausstellung unserer zertifizierten Reisepässe an, mit denen Sie unbeschwert in die Botschaften [Hackspaces] sowie temporär bestehenden Bezirksregionen des CCC einreisen und Ihren Aufenthalt verifizieren lassen können.',
|
||||
'text2' => 'Unser Team setzt bei dem Ausstellen auf hochqualitative Stempel und neuste Technik. Ob Hacker*innen-Reisepass oder Junghackerpass - unser stets motiviertes Team hilft Ihnen gerne weiter.',
|
||||
'text3' => 'Jetzt neu',
|
||||
'text4' => 'Um unsere Internetpräsenz zu erweitern, können Sie uns jetzt auch im Fediversum besuchen.',
|
||||
'text5' => 'Klicken Sie dafür auf diesen Verweis:',
|
||||
'insertvideo' => '*Hier Werbefilm einfügen*'
|
||||
],
|
||||
'documents' => [
|
||||
'description' => 'Hier finden Sie sowohl unsere Verwaltungsvorschrift und deren Anlagen, sowie jegliche Formblätter für die Ausstellung von Reisepässen.',
|
||||
'verwaltungsvorschrift' => 'Verwaltungsvorschrift',
|
||||
'donation' => 'Spendengebührenverordnung',
|
||||
'fb1' => [
|
||||
'name' => 'Formblatt 1',
|
||||
'description' => 'Antrag auf Erstausstellung eines Hacker*innen-Reisepasses'
|
||||
],
|
||||
'fb1k' => [
|
||||
'name' => 'Formblatt 1k',
|
||||
'description' => 'Antrag auf Erstausstellung eines Junghackerpasses'
|
||||
],
|
||||
'fb2' => [
|
||||
'name' => 'Formblatt 2',
|
||||
'description' => 'Antrag auf Ersatz- oder Zweitausstellungen eines Hacker*innen-Reisepasses'
|
||||
],
|
||||
'fb2k' => [
|
||||
'name' => 'Formblatt 2k',
|
||||
'description' => 'Antrag auf Ersatz- oder Zweitausstellungen eines Junghackerpasses'
|
||||
],
|
||||
'fb3' => [
|
||||
'name' => 'Formblatt 3',
|
||||
'description' => 'Antrag auf Nachlegitimisierung eines Reisepasses durch das C3Gov'
|
||||
],
|
||||
'fb5' => [
|
||||
'name' => 'Formblatt 5',
|
||||
'description' => 'Voranmeldung zur Beantragung eines Reisepasses'
|
||||
],
|
||||
'fb7' => [
|
||||
'name' => 'Formblatt 7',
|
||||
'description' => 'Beschwerdeformular nach §7 Abs. 2 C3GovVerwV'
|
||||
]
|
||||
],
|
||||
'services' => [
|
||||
'title' => 'Unsere Dienstleistungen im Überblick',
|
||||
'alt' => [
|
||||
'first_issue' => 'Erstausstellung eines Reisepasses',
|
||||
'rejected' => 'Abgelehnter Antrag',
|
||||
'replacement' => 'Ersatzpass',
|
||||
'stamps' => 'Offizielle Stempel',
|
||||
],
|
||||
'topic1' => [
|
||||
'title' => 'Ausstellung von Reisepässen',
|
||||
'content' => 'Unser Team kümmert sich um die Ausstellung der Reisepässe.
|
||||
<br />Die Pässe werden durch neuste Technik automatisch bedruckt und mit Ihren Angaben versehen.
|
||||
<br />Um die Echtheit des Passes zu verifizieren, erhält jeder Pass eine Sicherheitsnummer und wird letztendlich abgestempelt.
|
||||
<br />Folgende Formate stehen Ihnen zur Verfügung:
|
||||
<ul><li>Hacker*innen-Reisepass</li>
|
||||
<li>Junghackerpass</li></ul>'
|
||||
],
|
||||
'topic2' => [
|
||||
'title' => 'Nachträgliche Verifizierung der Reisepässe',
|
||||
'content' => 'Sie besitzen bereits ein Reisedokument, welches jedoch noch nicht verifiziert wurde?
|
||||
<br />Wir gehen mit Ihnen die nötigen Schritte durch, um Ihren Pass zu legitimisieren.
|
||||
<br />Völlig unkompliziert.'
|
||||
],
|
||||
'topic3' => [
|
||||
'title' => 'Zweitausstellung bei Verlust oder maximaler Auslastung Ihres Reisepasses',
|
||||
'content' => 'Sollten Sie Ihren Reisepass verlieren oder sollte der Reisepass seine maximle Kapazität ausgereizt haben,
|
||||
<br />stellen wir Ihnen gerne ein Ersatzdomument aus.
|
||||
<br />Leider können Stempel vorheriger Besuche der Botschaften [Hackspaces] des CCC nicht ersetzt werden.'
|
||||
],
|
||||
'topic4' => [
|
||||
'title' => 'Anwesenheitsbestätigung',
|
||||
'content' => 'Sollten Sie eine Bestätigung Ihres Besuchs benötigen, stellen wir Ihnen diese selbstverständlich in Papierform aus.'
|
||||
]
|
||||
],
|
||||
'faq' => [
|
||||
'title' => 'Häufig gestellte Fragen',
|
||||
'q1' => 'Was stellt ihr eigentlich dar?',
|
||||
'a1' => 'Wir stellen durch gelebte Bürokratie Hacker*innen-Reisepässe aus. Manche würden dies als ein Rollenspiel betrachten,
|
||||
aber in unserer C3Gov-Verwaltungsvorschrift stehen keine Informationen bezüglich Rollen, die spielen.',
|
||||
'q2' => 'Wo kann ich mit diesen Reisepässen einreisen?',
|
||||
'a2' => 'Mit den vom C3Gov ausgestellten Reisepässen können Sie problemlos in die Bezirksregion des CCC und dessen Botschaften einreisen.',
|
||||
'q3' => 'Wozu dienen diese Reisepässe noch?',
|
||||
'a3' => 'Die Reisepässe stellen eine bequeme Möglichkeit dar, Ihren Aufenthalt in der Bezirksregion des CCC und dessen Botschaften festzuhalten.
|
||||
Sie können Ihren Aufenthalt durch Stempel oder Sticker der jeweiligen Botschaften bestätigen lassen.',
|
||||
'q4' => 'Gibt es nur diesen einen Reisepass?',
|
||||
'a4' => 'Wir bieten den Hacker*innen-Reisepass sowie den Junghackerpass an. Letzteres jedoch nur in der deutschen Ausgabe.',
|
||||
'q5' => 'Wie kann ich einen Hacker*innen-Reisepass beantragen?',
|
||||
'a5_1' => 'Klicken Sie auf',
|
||||
'a5_2' => 'diesen Verweis',
|
||||
'a5_3' => 'oder auf "Jetzt beantragen" in der Navigationsleiste oder auf die riesige
|
||||
leuchtende Schaltfläche auf der Startseite. Dort befolgen Sie einfach die Anweisungen.'
|
||||
],
|
||||
'imprint' => [
|
||||
'title' => 'Impressum',
|
||||
'alt' => 'Ernsthaftigkeit',
|
||||
'content' => 'Hiermit weisen wir darauf hin, dass es sich bei dieser Plattform um ein Projekt des Chaos Computer Club Essen handelt, welche keine rechtlich geltenden Dokumente ausstellt.
|
||||
<br />Es handelt sich weder um echte Dienstleistungen im gewerblichen Sinne, noch um geschäftsmäßige Dienste.
|
||||
<br />Aus diesem Grund entfällt die Impressumspflicht.
|
||||
<br /><br />Dennoch geben wir freiwillig Kontaktinformationen an:'
|
||||
],
|
||||
'contact' => [
|
||||
'title' => 'Kontakt',
|
||||
'alt' => 'Kontakt',
|
||||
'content' => 'Wenn Sie Fragen haben, kontaktieren Sie uns:',
|
||||
'fediverse' => 'Fediversum:',
|
||||
'email' => 'Elektronische Postadresse:',
|
||||
'phone' => 'Telefon/Fax:'
|
||||
],
|
||||
'preapplication' => [
|
||||
'title' => 'Vorantrag auf Reisepass gem. § 5 C3GovVerwV',
|
||||
'content' => 'Bitte wählen Sie eine (temporäre) Bezirksregion aus, um Ihren Vorantrag auf einen Reisepass zu stellen.
|
||||
<br />Nachdem Sie den Vorantrag abgeschickt haben, erhalten Sie eine Bestätigung via elektronischer Post.',
|
||||
'noevent' => 'Es sind derzeit keine Termine verfügbar.',
|
||||
'region' => 'Bezirksregion',
|
||||
'time_ends' => 'Frist endet am',
|
||||
'passport_type' => 'Reisepass-Typ',
|
||||
'passport' => [
|
||||
'standard' => 'Hacker*innen-Reisepass',
|
||||
'kid' => 'Junghackerpass',
|
||||
],
|
||||
'mail' => 'Elektronische Postadresse',
|
||||
'firstname' => 'Vorname (Nick)',
|
||||
'lastname' => 'Nachname (optional)',
|
||||
'location' => 'Hackspace / Ort (optional)',
|
||||
'notes' => 'Notizen',
|
||||
'reference_number' => 'Bearbeitungsnummer',
|
||||
'created_at' => 'Eingereicht am',
|
||||
'actions' => 'Aktionen',
|
||||
'apply' => 'Vorantrag abschicken',
|
||||
'edit' => [
|
||||
'title' => 'Anträge bearbeiten',
|
||||
'description' => 'Hier können Sie Anträge bearbeiten oder löschen.',
|
||||
'add' => 'Antrag hinzufügen',
|
||||
'save' => 'Speichern',
|
||||
'delete' => 'Löschen',
|
||||
'generated' => 'Wird generiert',
|
||||
'download' => [
|
||||
'title' => 'Voranträge herunterladen',
|
||||
'description' => 'Hier können Sie alle Voranträge eines Bezirksregion-Termines als PDF herunterladen.',
|
||||
'button' => 'PDF generieren'
|
||||
]
|
||||
]
|
||||
],
|
||||
'common' => [
|
||||
'error_occurred' => 'Es ist ein Fehler geschehen: ',
|
||||
'not_permitted' => 'Sie sind nicht berechtigt diese Funktion zu nutzen.',
|
||||
],
|
||||
'login' => [
|
||||
'password_mismatch' => 'Ihr Kennwort stimmt nicht überein.',
|
||||
'registration_success' => 'Sie wurden erfolgreich registriert.',
|
||||
'login_success' => 'Sie wurden erfolgreich angemeldet.',
|
||||
'title' => 'Anmelden',
|
||||
'please_login' => 'Bitte melden Sie sich gefälligst an!',
|
||||
'email' => 'Elektronische Postadresse:',
|
||||
'email_title' => 'Nur echte Adressen der elektronischen Post verwenden!',
|
||||
'password' => 'Kennwort:',
|
||||
'logged_in' => 'Sie sind angemeldet.',
|
||||
'logout' => 'Abmelden',
|
||||
'register_title' => 'Registrieren',
|
||||
'please_register' => 'Bitte registrieren Sie sich.',
|
||||
'username' => 'Name/Nick:',
|
||||
'password_repeat' => 'Kennwort wiederholen:',
|
||||
'registration_token' => 'Registrierungsnummer:',
|
||||
],
|
||||
'blog' => [
|
||||
'confirm_save' => 'Eintrag wirklich speichern?',
|
||||
'confirm_delete' => 'Eintrag wirklich löschen?',
|
||||
'add_post' => 'Post hinzufügen',
|
||||
'edit_delete_posts' => 'Posts ändern/löschen',
|
||||
'published' => 'Veröffentlichen?',
|
||||
'language' => 'Sprache',
|
||||
'title' => 'Titel',
|
||||
'content' => 'Inhalt',
|
||||
'add' => 'Hinzufügen',
|
||||
'save' => 'Speichern',
|
||||
'delete' => 'Löschen',
|
||||
'created_by' => 'Erstellt von',
|
||||
'created_at' => 'Erstellt am',
|
||||
'updated_at' => 'Verändert am',
|
||||
'title_placeholder' => 'Titel eingeben...',
|
||||
'content_placeholder' => 'Text/HTML eingeben...',
|
||||
],
|
||||
'ticker' => [
|
||||
'title' => 'Ticker bearbeiten',
|
||||
'description' => 'Hier kann der Ticker verändert werden.',
|
||||
'active_messages' => 'Aktive Tickernachrichten:',
|
||||
'delete_selected' => 'Ausgewählte Tickernachricht löschen',
|
||||
'create_message' => 'Tickernachricht erstellen:',
|
||||
'add' => 'Tickernachricht hinzufügen',
|
||||
'delete_success' => 'Löschen erfolgreich!',
|
||||
'insert_success' => 'Einfügen erfolgreich!',
|
||||
],
|
||||
'events' => [
|
||||
'description' => 'Hier können Sie Termine hinzufügen oder löschen.',
|
||||
'add' => 'Termin hinzufügen',
|
||||
'delete' => 'Termin löschen',
|
||||
'active' => 'Termin aktiviert (sichtbar)',
|
||||
'name' => 'Terminname',
|
||||
'list' => 'Termine',
|
||||
'setActivity' => 'Aktiv-Status ändern',
|
||||
'shortname' => 'Namenscode',
|
||||
'from_date_internal' => 'Fristanfang',
|
||||
'to_date_internal' => 'Fristende',
|
||||
'from_date_visible' => 'Terminstart',
|
||||
'to_date_visible' => 'Terminende',
|
||||
],
|
||||
'errors' => [
|
||||
'403' => [
|
||||
'title' => '403 - Kein Zutritt',
|
||||
'message' => 'Sie haben keine Berechtigung, diesen Bereich zu betreten. Bitte legitimieren Sie sich ordnungsgemäß.',
|
||||
],
|
||||
'404' => [
|
||||
'title' => '404 - Dokument nicht auffindbar',
|
||||
'message' => 'Das von Ihnen gesuchte Dokument oder die Seite konnte in unseren Archiven nicht gefunden werden.',
|
||||
],
|
||||
'500' => [
|
||||
'title' => '500 - Interner Behördenfehler',
|
||||
'message' => 'Es ist ein unerwarteter Fehler in der Bearbeitung aufgetreten. Bitte versuchen Sie es später erneut.',
|
||||
],
|
||||
]
|
||||
];
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'LoginController' => [
|
||||
'not_permitted' => 'Diese Aktion ist nicht zugelassen.',
|
||||
'email_in_use' => 'Diese elektronische Postadresse wird bereits verwendet.',
|
||||
'invalid_token' => 'Machen Sie die Musik aus.',
|
||||
'wrong_credentials' => 'Falsch. Einfach nur falsch.',
|
||||
'unknown_error' => 'Ein unbekannter Fehler ist aufgetreten.',
|
||||
'unknown_error_with_details' => 'Ein unbekannter Fehler ist aufgetreten: :error',
|
||||
],
|
||||
'PreApplicationController' => [
|
||||
'success' => 'Antrag erfolgreich abgeschickt. Bitte überprüfen Sie Ihr elektronisches Postfach.',
|
||||
'already_submitted' => 'Sie haben bereits einen Antrag abgeschickt.',
|
||||
'wrong_passport_type' => 'Falscher Reisepass-Typ',
|
||||
'invalid_email_format' => 'Ungültiges E-Mail-Format',
|
||||
'failed_to_process' => 'Fehler beim Verarbeiten des Antrages: :error',
|
||||
'invalid_characters' => 'Ungültige Zeichen im Namen oder Ort',
|
||||
'event_not_found' => 'Chaos-Event nicht gefunden',
|
||||
'application_not_found' => 'Antrag nicht gefunden',
|
||||
],
|
||||
'BlogController' => [
|
||||
'error_occurred' => 'Ein Fehler ist beim Verarbeiten des Blogs aufgetreten: :error',
|
||||
],
|
||||
'TickerController' => [
|
||||
'error_occurred' => 'Ein Fehler ist beim Verarbeiten des Tickers aufgetreten: :error',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'preapplication' => [
|
||||
'subject' => 'Ihr Vorantrag auf einen Reisepass',
|
||||
'body1' => "Hallo,<br /><br />Ihr Vorantrag wurde erfolgreich eingereicht.<br />Ihre Bearbeitungsnummer lautet: ",
|
||||
'body2' => "<br /><br />Folgende Daten wurden übermittelt:<br />",
|
||||
'body3' => "<br /><br />Bitte heben Sie diese E-Mail unbedingt auf.<br />Wenn möglich, drucken Sie das Formblatt 5, welches sich im E-Mail-Anhang befindet, aus. Tragen Sie Ihre Bearbeitungsnummer ein und bringen Sie es bei Abholung mit.",
|
||||
'body4' => "<br /><br />Wir bitten ebenfalls um die Beachtung der Spendengebührenverordnung, welche sich ebenfalls im Anhang befindet.",
|
||||
'signature' => "Mit freundlichen Grüßen,<br /><br /><br />Ihr C3Gov - Ihre Behörde in der Bezirksregion CCC"
|
||||
]
|
||||
];
|
||||
@@ -2,8 +2,14 @@
|
||||
|
||||
return [
|
||||
'subtitle' => 'Your office for passport document affairs within the district region CCC.',
|
||||
'logo' => 'Official logo of the c3gov',
|
||||
'banner' => 'Banner. The c3gov laws are seen on a sheet of paper, and two different hacker passports.',
|
||||
'logo' => 'Official logo of the C3Gov',
|
||||
'banner' => 'Banner. The C3Gov laws are seen on a sheet of paper, and two different hacker passports.',
|
||||
'fediverse' => 'C3Gov on Fediverse',
|
||||
'signed_in_as' => 'Signed in as:',
|
||||
'guest' => 'Guest account',
|
||||
'news_alt' => 'News',
|
||||
'progress_flag' => 'LGBTQIA+ Progress Flag',
|
||||
'lead_by' => 'A district government authority run by transgender beings',
|
||||
'language' => [
|
||||
'en' => 'English',
|
||||
'de' => 'Deutsch',
|
||||
@@ -11,8 +17,242 @@ return [
|
||||
'nav' => [
|
||||
'about' => 'About us',
|
||||
'services' => 'Services',
|
||||
'imprint' => 'Imprint',
|
||||
'contact' => 'Contact',
|
||||
'news' => 'News',
|
||||
'documents' => 'Documents',
|
||||
'contact' => 'Contact',
|
||||
'imprint' => 'Imprint',
|
||||
'apply' => 'Apply now',
|
||||
'editTicker' => 'Edit ticker',
|
||||
'editNews' => 'Edit news',
|
||||
'editApplications' => 'Edit applications',
|
||||
'events' => 'C3Gov appointments',
|
||||
'logout' => 'Logout',
|
||||
'login' => 'Log in',
|
||||
'register' => 'Register'
|
||||
],
|
||||
'index' => [
|
||||
'welcome' => 'Welcome to the Internet presence of the C3Gov'
|
||||
],
|
||||
'about' => [
|
||||
'subtitle' => 'Hassle-Free Entry into CCC\'s Permanent and Temporary District Regions',
|
||||
'text1' => 'C3Gov offers you the issuance of our certified travel documents, which allow you to enter the CCC\'s permanent and temporary district regions hassle-free and have your stay verified.',
|
||||
'text2' => 'Our team uses high-quality stamps and the latest technology when issuing these documents.',
|
||||
'text3' => 'NEW!!!',
|
||||
'text4' => 'To expand our online presence, you can now also visit us on the Fediverse.',
|
||||
'text5' => 'To do so, click on this link:',
|
||||
'insertvideo' => '*Insert promotional video here*'
|
||||
],
|
||||
'documents' => [
|
||||
'description' => 'Here you can find our administration regulations and their attachments as well as any forms concerning the issuance of travel documents.',
|
||||
'verwaltungsvorschrift' => 'Administration Regulations',
|
||||
'donation' => 'Donation Fee Regulations',
|
||||
'fb1' => [
|
||||
'name' => 'Form 1',
|
||||
'description' => 'Application for the initial issuance of a hacker passport'
|
||||
],
|
||||
'fb1k' => [
|
||||
'name' => 'Form 1k',
|
||||
'description' => 'Antrag auf Erstausstellung eines Junghacker*innen-Reisepasses'
|
||||
],
|
||||
'fb2' => [
|
||||
'name' => 'Form 2',
|
||||
'description' => 'Application for the replacement or reissuance of a hacker passport'
|
||||
],
|
||||
'fb2k' => [
|
||||
'name' => 'Form 2k (German only!)',
|
||||
'description' => 'Antrag auf Ersatz- oder Zweitausstellungen eines Junghacker*innen-Reisepasses'
|
||||
],
|
||||
'fb3' => [
|
||||
'name' => 'Form 3',
|
||||
'description' => 'Application for the retroactive validation of a hacker passport'
|
||||
],
|
||||
'fb5' => [
|
||||
'name' => 'Form 5',
|
||||
'description' => 'Pre-registration for a passport application'
|
||||
],
|
||||
'fb7' => [
|
||||
'name' => 'Form 7',
|
||||
'description' => 'Complaint Form in accordance with §7 (2) C3GovVerwV'
|
||||
]
|
||||
],
|
||||
'services' => [
|
||||
'title' => 'Our Services',
|
||||
'alt' => [
|
||||
'first_issue' => 'First issue of a passport',
|
||||
'rejected' => 'Rejected application',
|
||||
'replacement' => 'Replacement passport',
|
||||
'stamps' => 'Official stamps',
|
||||
],
|
||||
'topic1' => [
|
||||
'title' => 'Issuance of Hacker Passports',
|
||||
'content' => 'Our team handles the issuance of travel documents.
|
||||
<br />The passports are automatically printed using the latest technology - personalised with your details.
|
||||
<br />To verify the authenticity of the passport, each one is assigned a security number and finally stamped.
|
||||
<br />The following formats are available:
|
||||
<ul><li>Hacker Passport</li>
|
||||
<li>Junghackerpass [German only]</li></ul>'
|
||||
],
|
||||
'topic2' => [
|
||||
'title' => 'Retrospective Verification of Passports',
|
||||
'content' => 'Do you already have a passport that has not yet been verified?
|
||||
<br />We will guide you through the necessary steps to validate your passport.
|
||||
<br />Simple and clean.'
|
||||
],
|
||||
'topic3' => [
|
||||
'title' => 'Replacement Passport issued in the Event of Loss or when your Passport is full',
|
||||
'content' => 'Should you lose your passport or should your passport have reached its maximum capacity,
|
||||
<br />we will be happy to issue you with a replacement document.
|
||||
<br />Unfortunately, stamps from previous visits to the CCC\'s embassies [hackspaces] cannot be replaced.'
|
||||
],
|
||||
'topic4' => [
|
||||
'title' => 'Certification of Attendance',
|
||||
'content' => 'Should you require certification of your visit, we will of course provide you with an official document.'
|
||||
]
|
||||
],
|
||||
'faq' => [
|
||||
'title' => 'Frequently Asked Questions',
|
||||
'q1' => 'What exactly do you do?',
|
||||
'a1' => 'We issue hacker passports through the practice of bureaucracy. Some might view this as a role-playing game,
|
||||
but our C3Gov administrative regulations contain no information regarding roles which are playing.',
|
||||
'q2' => 'Where can I enter with these passports?',
|
||||
'a2' => 'With the passports issued by C3Gov, you can easily enter the CCC district region and its embassies.',
|
||||
'q3' => 'What else are these passports used for?',
|
||||
'a3' => 'The passports provide a convenient way to document your stay in the CCC district region and its embassies.
|
||||
You can have your stay confirmed with stamps or stickers from the respective embassies.',
|
||||
'q4' => 'Is this the only passport available?',
|
||||
'a4' => 'We offer the Hacker Passport and the Young Hacker Passport. The latter, however, is only available in the German edition.',
|
||||
'q5' => 'How can I apply for a Hacker Passport?',
|
||||
'a5_1' => 'Click on',
|
||||
'a5_2' => 'this link',
|
||||
'a5_3' => ', or on “Apply Now” in the navigation bar, or on the large
|
||||
glowing button on the homepage. There, simply follow the instructions.'
|
||||
],
|
||||
'imprint' => [
|
||||
'title' => 'Imprint',
|
||||
'alt' => 'Serious business',
|
||||
'content' => 'We hereby inform you that this platform is a project of the Chaos Computer Club Essen and does not issue any legally binding documents.
|
||||
<br />It does not constitute genuine commercial services or business-related services.
|
||||
<br />Therefore, the legal requirement to provide an imprint does not apply.
|
||||
<br /><br />However, we are happy to provide you with contact information:'
|
||||
],
|
||||
'contact' => [
|
||||
'title' => 'Contact',
|
||||
'alt' => 'Contact',
|
||||
'content' => 'If you have any questions, please contact us:',
|
||||
'fediverse' => 'Fediverse:',
|
||||
'email' => 'Electronic mail address:',
|
||||
'phone' => 'Telephone/Fax:'
|
||||
],
|
||||
'preapplication' => [
|
||||
'title' => 'Pre-application for Passport according to § 5 C3GovVerwV',
|
||||
'content' => 'Please select a (temporary) district region to submit your pre-application for a passport.
|
||||
<br />After you have submitted the pre-application, you will receive a confirmation by e-mail.',
|
||||
'noevent' => 'Currently, there are no open appointment slots available.',
|
||||
'region' => 'District region',
|
||||
'time_ends' => 'Time ends on',
|
||||
'passport_type' => 'Passport type',
|
||||
'passport' => [
|
||||
'standard' => 'Hacker Passport',
|
||||
'kid' => 'Junghackerpass [German only]',
|
||||
],
|
||||
'mail' => 'E-mail address',
|
||||
'firstname' => 'First name (Nickname)',
|
||||
'lastname' => 'Last name (optional)',
|
||||
'location' => 'Hackspace / Location (optional)',
|
||||
'notes' => 'Notes',
|
||||
'reference_number' => 'Reference number',
|
||||
'created_at' => 'Submitted at',
|
||||
'actions' => 'Actions',
|
||||
'apply' => 'Submit pre-application',
|
||||
'edit' => [
|
||||
'title' => 'Edit applications',
|
||||
'description' => 'Here you can edit or delete applications.',
|
||||
'add' => 'Add application',
|
||||
'save' => 'Save',
|
||||
'delete' => 'Delete',
|
||||
'generated' => 'Generated',
|
||||
'download' => [
|
||||
'title' => 'Download pre-applications',
|
||||
'description' => 'Here you can download all pre-applications of a district region appointment as a PDF.',
|
||||
'button' => 'Generate PDF'
|
||||
]
|
||||
]
|
||||
],
|
||||
'common' => [
|
||||
'error_occurred' => 'An error occurred: ',
|
||||
'not_permitted' => 'You are not authorized to use this function.',
|
||||
],
|
||||
'login' => [
|
||||
'password_mismatch' => 'Your password does not match.',
|
||||
'registration_success' => 'You have been successfully registered.',
|
||||
'login_success' => 'You have been successfully logged in.',
|
||||
'title' => 'Log in',
|
||||
'please_login' => 'Please log in!',
|
||||
'email' => 'Electronic email address:',
|
||||
'email_title' => 'Only use real electronic mail addresses!',
|
||||
'password' => 'Password:',
|
||||
'logged_in' => 'You are logged in.',
|
||||
'logout' => 'Log out',
|
||||
'register_title' => 'Register',
|
||||
'please_register' => 'Please register.',
|
||||
'username' => 'Name/Nick:',
|
||||
'password_repeat' => 'Repeat password:',
|
||||
'registration_token' => 'Registration token:',
|
||||
],
|
||||
'blog' => [
|
||||
'confirm_save' => 'Do you really want to save this entry?',
|
||||
'confirm_delete' => 'Do you really want to delete this entry?',
|
||||
'add_post' => 'Add post',
|
||||
'edit_delete_posts' => 'Change/delete posts',
|
||||
'published' => 'Published?',
|
||||
'language' => 'Language',
|
||||
'title' => 'Title',
|
||||
'content' => 'Content',
|
||||
'add' => 'Add',
|
||||
'save' => 'Save',
|
||||
'delete' => 'Delete',
|
||||
'created_by' => 'Created by',
|
||||
'created_at' => 'Created at',
|
||||
'updated_at' => 'Updated at',
|
||||
'title_placeholder' => 'Enter title...',
|
||||
'content_placeholder' => 'Enter text/HTML...',
|
||||
],
|
||||
'ticker' => [
|
||||
'title' => 'Edit ticker',
|
||||
'description' => 'Here the ticker can be modified.',
|
||||
'active_messages' => 'Active ticker messages:',
|
||||
'delete_selected' => 'Delete selected ticker message',
|
||||
'create_message' => 'Create ticker message:',
|
||||
'add' => 'Add ticker message',
|
||||
'delete_success' => 'Deleted successfully!',
|
||||
'insert_success' => 'Inserted successfully!',
|
||||
],
|
||||
'events' => [
|
||||
'description' => 'Here you can add or delete appointments.',
|
||||
'add' => 'Add appointment',
|
||||
'delete' => 'Delete appointment',
|
||||
'active' => 'Appointment active (visible)',
|
||||
'name' => 'Name of appointment',
|
||||
'list' => 'Appointments',
|
||||
'setActivity' => 'Change activity status',
|
||||
'shortname' => 'Shortcode',
|
||||
'from_date_internal' => 'Start date for pre-applications',
|
||||
'to_date_internal' => 'End date for pre-applications',
|
||||
'from_date_visible' => 'Start date of appointment',
|
||||
'to_date_visible' => 'End date of appointment',
|
||||
],
|
||||
'errors' => [
|
||||
'403' => [
|
||||
'title' => '403 - No Admission',
|
||||
'message' => 'You are not authorized to access this area. Please provide proper identification.',
|
||||
],
|
||||
'404' => [
|
||||
'title' => '404 - Document not found',
|
||||
'message' => 'The document or page you were looking for could not be found in our archives.',
|
||||
],
|
||||
'500' => [
|
||||
'title' => '500 - Internal Authority Error',
|
||||
'message' => 'An unexpected processing error has occurred. Please try again later.',
|
||||
],
|
||||
]
|
||||
];
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'LoginController' => [
|
||||
'not_permitted' => 'This action is not permitted.',
|
||||
'email_in_use' => 'This email address is already in use.',
|
||||
'invalid_token' => 'Invalid token.',
|
||||
'wrong_credentials' => 'Wrong credentials.',
|
||||
'unknown_error' => 'An unknown error occurred.',
|
||||
'unknown_error_with_details' => 'An unknown error occurred: :error',
|
||||
],
|
||||
'PreApplicationController' => [
|
||||
'success' => 'Application submitted successfully. Please check your email inbox.',
|
||||
'already_submitted' => 'You have already submitted an application.',
|
||||
'wrong_passport_type' => 'Wrong passport type',
|
||||
'invalid_email_format' => 'Invalid email format',
|
||||
'failed_to_process' => 'Failed to process application: :error',
|
||||
'invalid_characters' => 'Invalid characters in name or location',
|
||||
'event_not_found' => 'Chaos event not found',
|
||||
'application_not_found' => 'Application not found'
|
||||
],
|
||||
'BlogController' => [
|
||||
'error_occurred' => 'An error occurred while processing the blog: :error',
|
||||
],
|
||||
'TickerController' => [
|
||||
'error_occurred' => 'An error occurred while processing the ticker: :error',
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'preapplication' => [
|
||||
'subject' => 'Your pre-applicaction for issuing a hacker passport',
|
||||
'body1' => "Hello,<br /><br />Your preliminary application has been successfully submitted.<br />Your reference number is:",
|
||||
'body2' => "<br /><br />The following data has been submitted:<br />",
|
||||
'body3' => "<br /><br />Please keep this email for your records. <br />If possible, print out form 5, which is attached to the email. Fill in your reference number and bring it with you when you pick up your hacker passport.",
|
||||
'body4' => "<br /><br />We also ask you to observe the donation regulation, which is also attached.",
|
||||
'signature' => "Sincerely,<br /><br /><br />Your C3Gov – Your government authority in the CCC district region"
|
||||
]
|
||||
];
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="762" viewBox="0 0 6000 3810" style="--vh: 16.59px;">
|
||||
<path fill="#6d2380" d="M0 0h6000v3810H0z"/>
|
||||
<path fill="#2c58a4" d="M0 0h6000v3175H0z"/>
|
||||
<path fill="#78b82a" d="M0 0h6000v2540H0z"/>
|
||||
<path fill="#efe524" d="M0 0h6000v1905H0z"/>
|
||||
<path fill="#f28917" d="M0 0h6000v1270H0z"/>
|
||||
<path fill="#e22016" d="M0 0h6000v635H0z"/>
|
||||
<path d="M0 0h1577l1764 1905-1764 1905H0z"/>
|
||||
<path fill="#945516" d="M0 0h1209l1764 1905-1764 1905H0z"/>
|
||||
<path fill="#7bcce5" d="M0 0h844l1764 1905L844 3810H0z"/>
|
||||
<path fill="#f4aec8" d="M0 0h477l1764 1905L477 3810H0z"/>
|
||||
<path fill="#fff" d="M0 0h111l1763 1905L111 3810H0z"/>
|
||||
<path fill="#fdd817" d="m0 278 1507 1627L0 3532z"/>
|
||||
<circle cx="556" cy="1905" r="404" fill="none" stroke="#66338b" stroke-width="95"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 893 B |
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 300 KiB |
|
After Width: | Height: | Size: 73 KiB |
|
After Width: | Height: | Size: 113 KiB |
|
After Width: | Height: | Size: 1.7 MiB |
|
After Width: | Height: | Size: 1.5 MiB |
|
After Width: | Height: | Size: 1.3 MiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 1.3 MiB |
|
After Width: | Height: | Size: 1.4 MiB |
|
After Width: | Height: | Size: 1.3 MiB |
|
After Width: | Height: | Size: 1.3 MiB |
@@ -0,0 +1,9 @@
|
||||
.notes-input {
|
||||
width: 100%;
|
||||
min-width: 150px;
|
||||
height: 4em;
|
||||
}
|
||||
.first-name-input, .last-name-input, .location-input {
|
||||
width: 100%;
|
||||
min-width: 80px;
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
.blogEdit {
|
||||
padding: 0.5em;
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
.blogEdit button {
|
||||
padding: 0.7em;
|
||||
font-size: 1em;
|
||||
background-color: #ccc;
|
||||
}
|
||||
|
||||
.blogEdit input[type=text] {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.blogEdit textarea {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
@@ -1,601 +0,0 @@
|
||||
/*!
|
||||
* Bootstrap Reboot v5.3.8 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2025 The Bootstrap Authors
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
*/
|
||||
:root,
|
||||
[data-bs-theme=light] {
|
||||
--bs-blue: #0d6efd;
|
||||
--bs-indigo: #6610f2;
|
||||
--bs-purple: #6f42c1;
|
||||
--bs-pink: #d63384;
|
||||
--bs-red: #dc3545;
|
||||
--bs-orange: #fd7e14;
|
||||
--bs-yellow: #ffc107;
|
||||
--bs-green: #198754;
|
||||
--bs-teal: #20c997;
|
||||
--bs-cyan: #0dcaf0;
|
||||
--bs-black: #000;
|
||||
--bs-white: #fff;
|
||||
--bs-gray: #6c757d;
|
||||
--bs-gray-dark: #343a40;
|
||||
--bs-gray-100: #f8f9fa;
|
||||
--bs-gray-200: #e9ecef;
|
||||
--bs-gray-300: #dee2e6;
|
||||
--bs-gray-400: #ced4da;
|
||||
--bs-gray-500: #adb5bd;
|
||||
--bs-gray-600: #6c757d;
|
||||
--bs-gray-700: #495057;
|
||||
--bs-gray-800: #343a40;
|
||||
--bs-gray-900: #212529;
|
||||
--bs-primary: #0d6efd;
|
||||
--bs-secondary: #6c757d;
|
||||
--bs-success: #198754;
|
||||
--bs-info: #0dcaf0;
|
||||
--bs-warning: #ffc107;
|
||||
--bs-danger: #dc3545;
|
||||
--bs-light: #f8f9fa;
|
||||
--bs-dark: #212529;
|
||||
--bs-primary-rgb: 13, 110, 253;
|
||||
--bs-secondary-rgb: 108, 117, 125;
|
||||
--bs-success-rgb: 25, 135, 84;
|
||||
--bs-info-rgb: 13, 202, 240;
|
||||
--bs-warning-rgb: 255, 193, 7;
|
||||
--bs-danger-rgb: 220, 53, 69;
|
||||
--bs-light-rgb: 248, 249, 250;
|
||||
--bs-dark-rgb: 33, 37, 41;
|
||||
--bs-primary-text-emphasis: #052c65;
|
||||
--bs-secondary-text-emphasis: #2b2f32;
|
||||
--bs-success-text-emphasis: #0a3622;
|
||||
--bs-info-text-emphasis: #055160;
|
||||
--bs-warning-text-emphasis: #664d03;
|
||||
--bs-danger-text-emphasis: #58151c;
|
||||
--bs-light-text-emphasis: #495057;
|
||||
--bs-dark-text-emphasis: #495057;
|
||||
--bs-primary-bg-subtle: #cfe2ff;
|
||||
--bs-secondary-bg-subtle: #e2e3e5;
|
||||
--bs-success-bg-subtle: #d1e7dd;
|
||||
--bs-info-bg-subtle: #cff4fc;
|
||||
--bs-warning-bg-subtle: #fff3cd;
|
||||
--bs-danger-bg-subtle: #f8d7da;
|
||||
--bs-light-bg-subtle: #fcfcfd;
|
||||
--bs-dark-bg-subtle: #ced4da;
|
||||
--bs-primary-border-subtle: #9ec5fe;
|
||||
--bs-secondary-border-subtle: #c4c8cb;
|
||||
--bs-success-border-subtle: #a3cfbb;
|
||||
--bs-info-border-subtle: #9eeaf9;
|
||||
--bs-warning-border-subtle: #ffe69c;
|
||||
--bs-danger-border-subtle: #f1aeb5;
|
||||
--bs-light-border-subtle: #e9ecef;
|
||||
--bs-dark-border-subtle: #adb5bd;
|
||||
--bs-white-rgb: 255, 255, 255;
|
||||
--bs-black-rgb: 0, 0, 0;
|
||||
--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
|
||||
--bs-body-font-family: var(--bs-font-sans-serif);
|
||||
--bs-body-font-size: 1rem;
|
||||
--bs-body-font-weight: 400;
|
||||
--bs-body-line-height: 1.5;
|
||||
--bs-body-color: #212529;
|
||||
--bs-body-color-rgb: 33, 37, 41;
|
||||
--bs-body-bg: #fff;
|
||||
--bs-body-bg-rgb: 255, 255, 255;
|
||||
--bs-emphasis-color: #000;
|
||||
--bs-emphasis-color-rgb: 0, 0, 0;
|
||||
--bs-secondary-color: rgba(33, 37, 41, 0.75);
|
||||
--bs-secondary-color-rgb: 33, 37, 41;
|
||||
--bs-secondary-bg: #e9ecef;
|
||||
--bs-secondary-bg-rgb: 233, 236, 239;
|
||||
--bs-tertiary-color: rgba(33, 37, 41, 0.5);
|
||||
--bs-tertiary-color-rgb: 33, 37, 41;
|
||||
--bs-tertiary-bg: #f8f9fa;
|
||||
--bs-tertiary-bg-rgb: 248, 249, 250;
|
||||
--bs-heading-color: inherit;
|
||||
--bs-link-color: #0d6efd;
|
||||
--bs-link-color-rgb: 13, 110, 253;
|
||||
--bs-link-decoration: underline;
|
||||
--bs-link-hover-color: #0a58ca;
|
||||
--bs-link-hover-color-rgb: 10, 88, 202;
|
||||
--bs-code-color: #d63384;
|
||||
--bs-highlight-color: #212529;
|
||||
--bs-highlight-bg: #fff3cd;
|
||||
--bs-border-width: 1px;
|
||||
--bs-border-style: solid;
|
||||
--bs-border-color: #dee2e6;
|
||||
--bs-border-color-translucent: rgba(0, 0, 0, 0.175);
|
||||
--bs-border-radius: 0.375rem;
|
||||
--bs-border-radius-sm: 0.25rem;
|
||||
--bs-border-radius-lg: 0.5rem;
|
||||
--bs-border-radius-xl: 1rem;
|
||||
--bs-border-radius-xxl: 2rem;
|
||||
--bs-border-radius-2xl: var(--bs-border-radius-xxl);
|
||||
--bs-border-radius-pill: 50rem;
|
||||
--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
|
||||
--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
|
||||
--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
|
||||
--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
|
||||
--bs-focus-ring-width: 0.25rem;
|
||||
--bs-focus-ring-opacity: 0.25;
|
||||
--bs-focus-ring-color: rgba(13, 110, 253, 0.25);
|
||||
--bs-form-valid-color: #198754;
|
||||
--bs-form-valid-border-color: #198754;
|
||||
--bs-form-invalid-color: #dc3545;
|
||||
--bs-form-invalid-border-color: #dc3545;
|
||||
}
|
||||
|
||||
[data-bs-theme=dark] {
|
||||
color-scheme: dark;
|
||||
--bs-body-color: #dee2e6;
|
||||
--bs-body-color-rgb: 222, 226, 230;
|
||||
--bs-body-bg: #212529;
|
||||
--bs-body-bg-rgb: 33, 37, 41;
|
||||
--bs-emphasis-color: #fff;
|
||||
--bs-emphasis-color-rgb: 255, 255, 255;
|
||||
--bs-secondary-color: rgba(222, 226, 230, 0.75);
|
||||
--bs-secondary-color-rgb: 222, 226, 230;
|
||||
--bs-secondary-bg: #343a40;
|
||||
--bs-secondary-bg-rgb: 52, 58, 64;
|
||||
--bs-tertiary-color: rgba(222, 226, 230, 0.5);
|
||||
--bs-tertiary-color-rgb: 222, 226, 230;
|
||||
--bs-tertiary-bg: #2b3035;
|
||||
--bs-tertiary-bg-rgb: 43, 48, 53;
|
||||
--bs-primary-text-emphasis: #6ea8fe;
|
||||
--bs-secondary-text-emphasis: #a7acb1;
|
||||
--bs-success-text-emphasis: #75b798;
|
||||
--bs-info-text-emphasis: #6edff6;
|
||||
--bs-warning-text-emphasis: #ffda6a;
|
||||
--bs-danger-text-emphasis: #ea868f;
|
||||
--bs-light-text-emphasis: #f8f9fa;
|
||||
--bs-dark-text-emphasis: #dee2e6;
|
||||
--bs-primary-bg-subtle: #031633;
|
||||
--bs-secondary-bg-subtle: #161719;
|
||||
--bs-success-bg-subtle: #051b11;
|
||||
--bs-info-bg-subtle: #032830;
|
||||
--bs-warning-bg-subtle: #332701;
|
||||
--bs-danger-bg-subtle: #2c0b0e;
|
||||
--bs-light-bg-subtle: #343a40;
|
||||
--bs-dark-bg-subtle: #1a1d20;
|
||||
--bs-primary-border-subtle: #084298;
|
||||
--bs-secondary-border-subtle: #41464b;
|
||||
--bs-success-border-subtle: #0f5132;
|
||||
--bs-info-border-subtle: #087990;
|
||||
--bs-warning-border-subtle: #997404;
|
||||
--bs-danger-border-subtle: #842029;
|
||||
--bs-light-border-subtle: #495057;
|
||||
--bs-dark-border-subtle: #343a40;
|
||||
--bs-heading-color: inherit;
|
||||
--bs-link-color: #6ea8fe;
|
||||
--bs-link-hover-color: #8bb9fe;
|
||||
--bs-link-color-rgb: 110, 168, 254;
|
||||
--bs-link-hover-color-rgb: 139, 185, 254;
|
||||
--bs-code-color: #e685b5;
|
||||
--bs-highlight-color: #dee2e6;
|
||||
--bs-highlight-bg: #664d03;
|
||||
--bs-border-color: #495057;
|
||||
--bs-border-color-translucent: rgba(255, 255, 255, 0.15);
|
||||
--bs-form-valid-color: #75b798;
|
||||
--bs-form-valid-border-color: #75b798;
|
||||
--bs-form-invalid-color: #ea868f;
|
||||
--bs-form-invalid-border-color: #ea868f;
|
||||
}
|
||||
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
:root {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: var(--bs-body-font-family);
|
||||
font-size: var(--bs-body-font-size);
|
||||
font-weight: var(--bs-body-font-weight);
|
||||
line-height: var(--bs-body-line-height);
|
||||
color: var(--bs-body-color);
|
||||
text-align: var(--bs-body-text-align);
|
||||
background-color: var(--bs-body-bg);
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
hr {
|
||||
margin: 1rem 0;
|
||||
color: inherit;
|
||||
border: 0;
|
||||
border-top: var(--bs-border-width) solid;
|
||||
opacity: 0.25;
|
||||
}
|
||||
|
||||
h6, h5, h4, h3, h2, h1 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0.5rem;
|
||||
font-weight: 500;
|
||||
line-height: 1.2;
|
||||
color: var(--bs-heading-color);
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: calc(1.375rem + 1.5vw);
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
h1 {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: calc(1.325rem + 0.9vw);
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
h2 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: calc(1.3rem + 0.6vw);
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
h3 {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: calc(1.275rem + 0.3vw);
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
h4 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
abbr[title] {
|
||||
-webkit-text-decoration: underline dotted;
|
||||
text-decoration: underline dotted;
|
||||
cursor: help;
|
||||
-webkit-text-decoration-skip-ink: none;
|
||||
text-decoration-skip-ink: none;
|
||||
}
|
||||
|
||||
address {
|
||||
margin-bottom: 1rem;
|
||||
font-style: normal;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
ol,
|
||||
ul {
|
||||
padding-left: 2rem;
|
||||
}
|
||||
|
||||
ol,
|
||||
ul,
|
||||
dl {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
ol ol,
|
||||
ul ul,
|
||||
ol ul,
|
||||
ul ol {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
dt {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin-bottom: 0.5rem;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 0 0 1rem;
|
||||
}
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size: 0.875em;
|
||||
}
|
||||
|
||||
mark {
|
||||
padding: 0.1875em;
|
||||
color: var(--bs-highlight-color);
|
||||
background-color: var(--bs-highlight-bg);
|
||||
}
|
||||
|
||||
sub,
|
||||
sup {
|
||||
position: relative;
|
||||
font-size: 0.75em;
|
||||
line-height: 0;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
a {
|
||||
color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
|
||||
text-decoration: underline;
|
||||
}
|
||||
a:hover {
|
||||
--bs-link-color-rgb: var(--bs-link-hover-color-rgb);
|
||||
}
|
||||
|
||||
a:not([href]):not([class]), a:not([href]):not([class]):hover {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
pre,
|
||||
code,
|
||||
kbd,
|
||||
samp {
|
||||
font-family: var(--bs-font-monospace);
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
pre {
|
||||
display: block;
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
overflow: auto;
|
||||
font-size: 0.875em;
|
||||
}
|
||||
pre code {
|
||||
font-size: inherit;
|
||||
color: inherit;
|
||||
word-break: normal;
|
||||
}
|
||||
|
||||
code {
|
||||
font-size: 0.875em;
|
||||
color: var(--bs-code-color);
|
||||
word-wrap: break-word;
|
||||
}
|
||||
a > code {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
kbd {
|
||||
padding: 0.1875rem 0.375rem;
|
||||
font-size: 0.875em;
|
||||
color: var(--bs-body-bg);
|
||||
background-color: var(--bs-body-color);
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
kbd kbd {
|
||||
padding: 0;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
figure {
|
||||
margin: 0 0 1rem;
|
||||
}
|
||||
|
||||
img,
|
||||
svg {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
table {
|
||||
caption-side: bottom;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
caption {
|
||||
padding-top: 0.5rem;
|
||||
padding-bottom: 0.5rem;
|
||||
color: var(--bs-secondary-color);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: inherit;
|
||||
text-align: -webkit-match-parent;
|
||||
}
|
||||
|
||||
thead,
|
||||
tbody,
|
||||
tfoot,
|
||||
tr,
|
||||
td,
|
||||
th {
|
||||
border-color: inherit;
|
||||
border-style: solid;
|
||||
border-width: 0;
|
||||
}
|
||||
|
||||
label {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
button {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
button:focus:not(:focus-visible) {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
input,
|
||||
button,
|
||||
select,
|
||||
optgroup,
|
||||
textarea {
|
||||
margin: 0;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
[role=button] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
select {
|
||||
word-wrap: normal;
|
||||
}
|
||||
select:disabled {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
button,
|
||||
[type=button],
|
||||
[type=reset],
|
||||
[type=submit] {
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
button:not(:disabled),
|
||||
[type=button]:not(:disabled),
|
||||
[type=reset]:not(:disabled),
|
||||
[type=submit]:not(:disabled) {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
::-moz-focus-inner {
|
||||
padding: 0;
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
legend {
|
||||
float: left;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
margin-bottom: 0.5rem;
|
||||
line-height: inherit;
|
||||
font-size: calc(1.275rem + 0.3vw);
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
legend {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
legend + * {
|
||||
clear: left;
|
||||
}
|
||||
|
||||
::-webkit-datetime-edit-fields-wrapper,
|
||||
::-webkit-datetime-edit-text,
|
||||
::-webkit-datetime-edit-minute,
|
||||
::-webkit-datetime-edit-hour-field,
|
||||
::-webkit-datetime-edit-day-field,
|
||||
::-webkit-datetime-edit-month-field,
|
||||
::-webkit-datetime-edit-year-field {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
::-webkit-inner-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
[type=search] {
|
||||
-webkit-appearance: textfield;
|
||||
outline-offset: -2px;
|
||||
}
|
||||
[type=search]::-webkit-search-cancel-button {
|
||||
cursor: pointer;
|
||||
filter: grayscale(1);
|
||||
}
|
||||
|
||||
/* rtl:raw:
|
||||
[type="tel"],
|
||||
[type="url"],
|
||||
[type="email"],
|
||||
[type="number"] {
|
||||
direction: ltr;
|
||||
}
|
||||
*/
|
||||
::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
::-webkit-color-swatch-wrapper {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
::-webkit-file-upload-button {
|
||||
font: inherit;
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
::file-selector-button {
|
||||
font: inherit;
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
output {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
iframe {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
summary {
|
||||
display: list-item;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
progress {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=bootstrap-reboot.css.map */
|
||||
@@ -1,598 +0,0 @@
|
||||
/*!
|
||||
* Bootstrap Reboot v5.3.8 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2025 The Bootstrap Authors
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
*/
|
||||
:root,
|
||||
[data-bs-theme=light] {
|
||||
--bs-blue: #0d6efd;
|
||||
--bs-indigo: #6610f2;
|
||||
--bs-purple: #6f42c1;
|
||||
--bs-pink: #d63384;
|
||||
--bs-red: #dc3545;
|
||||
--bs-orange: #fd7e14;
|
||||
--bs-yellow: #ffc107;
|
||||
--bs-green: #198754;
|
||||
--bs-teal: #20c997;
|
||||
--bs-cyan: #0dcaf0;
|
||||
--bs-black: #000;
|
||||
--bs-white: #fff;
|
||||
--bs-gray: #6c757d;
|
||||
--bs-gray-dark: #343a40;
|
||||
--bs-gray-100: #f8f9fa;
|
||||
--bs-gray-200: #e9ecef;
|
||||
--bs-gray-300: #dee2e6;
|
||||
--bs-gray-400: #ced4da;
|
||||
--bs-gray-500: #adb5bd;
|
||||
--bs-gray-600: #6c757d;
|
||||
--bs-gray-700: #495057;
|
||||
--bs-gray-800: #343a40;
|
||||
--bs-gray-900: #212529;
|
||||
--bs-primary: #0d6efd;
|
||||
--bs-secondary: #6c757d;
|
||||
--bs-success: #198754;
|
||||
--bs-info: #0dcaf0;
|
||||
--bs-warning: #ffc107;
|
||||
--bs-danger: #dc3545;
|
||||
--bs-light: #f8f9fa;
|
||||
--bs-dark: #212529;
|
||||
--bs-primary-rgb: 13, 110, 253;
|
||||
--bs-secondary-rgb: 108, 117, 125;
|
||||
--bs-success-rgb: 25, 135, 84;
|
||||
--bs-info-rgb: 13, 202, 240;
|
||||
--bs-warning-rgb: 255, 193, 7;
|
||||
--bs-danger-rgb: 220, 53, 69;
|
||||
--bs-light-rgb: 248, 249, 250;
|
||||
--bs-dark-rgb: 33, 37, 41;
|
||||
--bs-primary-text-emphasis: #052c65;
|
||||
--bs-secondary-text-emphasis: #2b2f32;
|
||||
--bs-success-text-emphasis: #0a3622;
|
||||
--bs-info-text-emphasis: #055160;
|
||||
--bs-warning-text-emphasis: #664d03;
|
||||
--bs-danger-text-emphasis: #58151c;
|
||||
--bs-light-text-emphasis: #495057;
|
||||
--bs-dark-text-emphasis: #495057;
|
||||
--bs-primary-bg-subtle: #cfe2ff;
|
||||
--bs-secondary-bg-subtle: #e2e3e5;
|
||||
--bs-success-bg-subtle: #d1e7dd;
|
||||
--bs-info-bg-subtle: #cff4fc;
|
||||
--bs-warning-bg-subtle: #fff3cd;
|
||||
--bs-danger-bg-subtle: #f8d7da;
|
||||
--bs-light-bg-subtle: #fcfcfd;
|
||||
--bs-dark-bg-subtle: #ced4da;
|
||||
--bs-primary-border-subtle: #9ec5fe;
|
||||
--bs-secondary-border-subtle: #c4c8cb;
|
||||
--bs-success-border-subtle: #a3cfbb;
|
||||
--bs-info-border-subtle: #9eeaf9;
|
||||
--bs-warning-border-subtle: #ffe69c;
|
||||
--bs-danger-border-subtle: #f1aeb5;
|
||||
--bs-light-border-subtle: #e9ecef;
|
||||
--bs-dark-border-subtle: #adb5bd;
|
||||
--bs-white-rgb: 255, 255, 255;
|
||||
--bs-black-rgb: 0, 0, 0;
|
||||
--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
|
||||
--bs-body-font-family: var(--bs-font-sans-serif);
|
||||
--bs-body-font-size: 1rem;
|
||||
--bs-body-font-weight: 400;
|
||||
--bs-body-line-height: 1.5;
|
||||
--bs-body-color: #212529;
|
||||
--bs-body-color-rgb: 33, 37, 41;
|
||||
--bs-body-bg: #fff;
|
||||
--bs-body-bg-rgb: 255, 255, 255;
|
||||
--bs-emphasis-color: #000;
|
||||
--bs-emphasis-color-rgb: 0, 0, 0;
|
||||
--bs-secondary-color: rgba(33, 37, 41, 0.75);
|
||||
--bs-secondary-color-rgb: 33, 37, 41;
|
||||
--bs-secondary-bg: #e9ecef;
|
||||
--bs-secondary-bg-rgb: 233, 236, 239;
|
||||
--bs-tertiary-color: rgba(33, 37, 41, 0.5);
|
||||
--bs-tertiary-color-rgb: 33, 37, 41;
|
||||
--bs-tertiary-bg: #f8f9fa;
|
||||
--bs-tertiary-bg-rgb: 248, 249, 250;
|
||||
--bs-heading-color: inherit;
|
||||
--bs-link-color: #0d6efd;
|
||||
--bs-link-color-rgb: 13, 110, 253;
|
||||
--bs-link-decoration: underline;
|
||||
--bs-link-hover-color: #0a58ca;
|
||||
--bs-link-hover-color-rgb: 10, 88, 202;
|
||||
--bs-code-color: #d63384;
|
||||
--bs-highlight-color: #212529;
|
||||
--bs-highlight-bg: #fff3cd;
|
||||
--bs-border-width: 1px;
|
||||
--bs-border-style: solid;
|
||||
--bs-border-color: #dee2e6;
|
||||
--bs-border-color-translucent: rgba(0, 0, 0, 0.175);
|
||||
--bs-border-radius: 0.375rem;
|
||||
--bs-border-radius-sm: 0.25rem;
|
||||
--bs-border-radius-lg: 0.5rem;
|
||||
--bs-border-radius-xl: 1rem;
|
||||
--bs-border-radius-xxl: 2rem;
|
||||
--bs-border-radius-2xl: var(--bs-border-radius-xxl);
|
||||
--bs-border-radius-pill: 50rem;
|
||||
--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
|
||||
--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
|
||||
--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
|
||||
--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
|
||||
--bs-focus-ring-width: 0.25rem;
|
||||
--bs-focus-ring-opacity: 0.25;
|
||||
--bs-focus-ring-color: rgba(13, 110, 253, 0.25);
|
||||
--bs-form-valid-color: #198754;
|
||||
--bs-form-valid-border-color: #198754;
|
||||
--bs-form-invalid-color: #dc3545;
|
||||
--bs-form-invalid-border-color: #dc3545;
|
||||
}
|
||||
|
||||
[data-bs-theme=dark] {
|
||||
color-scheme: dark;
|
||||
--bs-body-color: #dee2e6;
|
||||
--bs-body-color-rgb: 222, 226, 230;
|
||||
--bs-body-bg: #212529;
|
||||
--bs-body-bg-rgb: 33, 37, 41;
|
||||
--bs-emphasis-color: #fff;
|
||||
--bs-emphasis-color-rgb: 255, 255, 255;
|
||||
--bs-secondary-color: rgba(222, 226, 230, 0.75);
|
||||
--bs-secondary-color-rgb: 222, 226, 230;
|
||||
--bs-secondary-bg: #343a40;
|
||||
--bs-secondary-bg-rgb: 52, 58, 64;
|
||||
--bs-tertiary-color: rgba(222, 226, 230, 0.5);
|
||||
--bs-tertiary-color-rgb: 222, 226, 230;
|
||||
--bs-tertiary-bg: #2b3035;
|
||||
--bs-tertiary-bg-rgb: 43, 48, 53;
|
||||
--bs-primary-text-emphasis: #6ea8fe;
|
||||
--bs-secondary-text-emphasis: #a7acb1;
|
||||
--bs-success-text-emphasis: #75b798;
|
||||
--bs-info-text-emphasis: #6edff6;
|
||||
--bs-warning-text-emphasis: #ffda6a;
|
||||
--bs-danger-text-emphasis: #ea868f;
|
||||
--bs-light-text-emphasis: #f8f9fa;
|
||||
--bs-dark-text-emphasis: #dee2e6;
|
||||
--bs-primary-bg-subtle: #031633;
|
||||
--bs-secondary-bg-subtle: #161719;
|
||||
--bs-success-bg-subtle: #051b11;
|
||||
--bs-info-bg-subtle: #032830;
|
||||
--bs-warning-bg-subtle: #332701;
|
||||
--bs-danger-bg-subtle: #2c0b0e;
|
||||
--bs-light-bg-subtle: #343a40;
|
||||
--bs-dark-bg-subtle: #1a1d20;
|
||||
--bs-primary-border-subtle: #084298;
|
||||
--bs-secondary-border-subtle: #41464b;
|
||||
--bs-success-border-subtle: #0f5132;
|
||||
--bs-info-border-subtle: #087990;
|
||||
--bs-warning-border-subtle: #997404;
|
||||
--bs-danger-border-subtle: #842029;
|
||||
--bs-light-border-subtle: #495057;
|
||||
--bs-dark-border-subtle: #343a40;
|
||||
--bs-heading-color: inherit;
|
||||
--bs-link-color: #6ea8fe;
|
||||
--bs-link-hover-color: #8bb9fe;
|
||||
--bs-link-color-rgb: 110, 168, 254;
|
||||
--bs-link-hover-color-rgb: 139, 185, 254;
|
||||
--bs-code-color: #e685b5;
|
||||
--bs-highlight-color: #dee2e6;
|
||||
--bs-highlight-bg: #664d03;
|
||||
--bs-border-color: #495057;
|
||||
--bs-border-color-translucent: rgba(255, 255, 255, 0.15);
|
||||
--bs-form-valid-color: #75b798;
|
||||
--bs-form-valid-border-color: #75b798;
|
||||
--bs-form-invalid-color: #ea868f;
|
||||
--bs-form-invalid-border-color: #ea868f;
|
||||
}
|
||||
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
:root {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: var(--bs-body-font-family);
|
||||
font-size: var(--bs-body-font-size);
|
||||
font-weight: var(--bs-body-font-weight);
|
||||
line-height: var(--bs-body-line-height);
|
||||
color: var(--bs-body-color);
|
||||
text-align: var(--bs-body-text-align);
|
||||
background-color: var(--bs-body-bg);
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
hr {
|
||||
margin: 1rem 0;
|
||||
color: inherit;
|
||||
border: 0;
|
||||
border-top: var(--bs-border-width) solid;
|
||||
opacity: 0.25;
|
||||
}
|
||||
|
||||
h6, h5, h4, h3, h2, h1 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0.5rem;
|
||||
font-weight: 500;
|
||||
line-height: 1.2;
|
||||
color: var(--bs-heading-color);
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: calc(1.375rem + 1.5vw);
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
h1 {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: calc(1.325rem + 0.9vw);
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
h2 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: calc(1.3rem + 0.6vw);
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
h3 {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: calc(1.275rem + 0.3vw);
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
h4 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
abbr[title] {
|
||||
-webkit-text-decoration: underline dotted;
|
||||
text-decoration: underline dotted;
|
||||
cursor: help;
|
||||
-webkit-text-decoration-skip-ink: none;
|
||||
text-decoration-skip-ink: none;
|
||||
}
|
||||
|
||||
address {
|
||||
margin-bottom: 1rem;
|
||||
font-style: normal;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
ol,
|
||||
ul {
|
||||
padding-right: 2rem;
|
||||
}
|
||||
|
||||
ol,
|
||||
ul,
|
||||
dl {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
ol ol,
|
||||
ul ul,
|
||||
ol ul,
|
||||
ul ol {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
dt {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin-bottom: 0.5rem;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 0 0 1rem;
|
||||
}
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size: 0.875em;
|
||||
}
|
||||
|
||||
mark {
|
||||
padding: 0.1875em;
|
||||
color: var(--bs-highlight-color);
|
||||
background-color: var(--bs-highlight-bg);
|
||||
}
|
||||
|
||||
sub,
|
||||
sup {
|
||||
position: relative;
|
||||
font-size: 0.75em;
|
||||
line-height: 0;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
a {
|
||||
color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
|
||||
text-decoration: underline;
|
||||
}
|
||||
a:hover {
|
||||
--bs-link-color-rgb: var(--bs-link-hover-color-rgb);
|
||||
}
|
||||
|
||||
a:not([href]):not([class]), a:not([href]):not([class]):hover {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
pre,
|
||||
code,
|
||||
kbd,
|
||||
samp {
|
||||
font-family: var(--bs-font-monospace);
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
pre {
|
||||
display: block;
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
overflow: auto;
|
||||
font-size: 0.875em;
|
||||
}
|
||||
pre code {
|
||||
font-size: inherit;
|
||||
color: inherit;
|
||||
word-break: normal;
|
||||
}
|
||||
|
||||
code {
|
||||
font-size: 0.875em;
|
||||
color: var(--bs-code-color);
|
||||
word-wrap: break-word;
|
||||
}
|
||||
a > code {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
kbd {
|
||||
padding: 0.1875rem 0.375rem;
|
||||
font-size: 0.875em;
|
||||
color: var(--bs-body-bg);
|
||||
background-color: var(--bs-body-color);
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
kbd kbd {
|
||||
padding: 0;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
figure {
|
||||
margin: 0 0 1rem;
|
||||
}
|
||||
|
||||
img,
|
||||
svg {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
table {
|
||||
caption-side: bottom;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
caption {
|
||||
padding-top: 0.5rem;
|
||||
padding-bottom: 0.5rem;
|
||||
color: var(--bs-secondary-color);
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: inherit;
|
||||
text-align: -webkit-match-parent;
|
||||
}
|
||||
|
||||
thead,
|
||||
tbody,
|
||||
tfoot,
|
||||
tr,
|
||||
td,
|
||||
th {
|
||||
border-color: inherit;
|
||||
border-style: solid;
|
||||
border-width: 0;
|
||||
}
|
||||
|
||||
label {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
button {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
button:focus:not(:focus-visible) {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
input,
|
||||
button,
|
||||
select,
|
||||
optgroup,
|
||||
textarea {
|
||||
margin: 0;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
[role=button] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
select {
|
||||
word-wrap: normal;
|
||||
}
|
||||
select:disabled {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
button,
|
||||
[type=button],
|
||||
[type=reset],
|
||||
[type=submit] {
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
button:not(:disabled),
|
||||
[type=button]:not(:disabled),
|
||||
[type=reset]:not(:disabled),
|
||||
[type=submit]:not(:disabled) {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
::-moz-focus-inner {
|
||||
padding: 0;
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
legend {
|
||||
float: right;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
margin-bottom: 0.5rem;
|
||||
line-height: inherit;
|
||||
font-size: calc(1.275rem + 0.3vw);
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
legend {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
legend + * {
|
||||
clear: right;
|
||||
}
|
||||
|
||||
::-webkit-datetime-edit-fields-wrapper,
|
||||
::-webkit-datetime-edit-text,
|
||||
::-webkit-datetime-edit-minute,
|
||||
::-webkit-datetime-edit-hour-field,
|
||||
::-webkit-datetime-edit-day-field,
|
||||
::-webkit-datetime-edit-month-field,
|
||||
::-webkit-datetime-edit-year-field {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
::-webkit-inner-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
[type=search] {
|
||||
-webkit-appearance: textfield;
|
||||
outline-offset: -2px;
|
||||
}
|
||||
[type=search]::-webkit-search-cancel-button {
|
||||
cursor: pointer;
|
||||
filter: grayscale(1);
|
||||
}
|
||||
|
||||
[type="tel"],
|
||||
[type="url"],
|
||||
[type="email"],
|
||||
[type="number"] {
|
||||
direction: ltr;
|
||||
}
|
||||
::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
::-webkit-color-swatch-wrapper {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
::-webkit-file-upload-button {
|
||||
font: inherit;
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
::file-selector-button {
|
||||
font: inherit;
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
output {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
iframe {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
summary {
|
||||
display: list-item;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
progress {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
/*# sourceMappingURL=bootstrap-reboot.rtl.css.map */
|
||||
@@ -0,0 +1,23 @@
|
||||
@keyframes fadeAndScale {
|
||||
0% {
|
||||
opacity: 0;
|
||||
/*transform: scale(1);*/
|
||||
}
|
||||
100% {
|
||||
opacity: 0.25;
|
||||
/*transform: scale(1);*/
|
||||
}
|
||||
}
|
||||
.funny-gift {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
object-fit: cover;
|
||||
z-index: 9999;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
animation: fadeAndScale 20s linear forwards;
|
||||
animation-delay: 2s;
|
||||
}
|
||||
@@ -1,30 +1,311 @@
|
||||
|
||||
.header {
|
||||
background-color: darkred;
|
||||
html, body {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
min-height: 100vh;
|
||||
background-color: #4b0600;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.banner {
|
||||
margin: 32px auto;
|
||||
select {
|
||||
font-size: 1em;
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
.language {
|
||||
background-color: #f8b803;
|
||||
}
|
||||
|
||||
#logo {
|
||||
margin: 10px;
|
||||
min-height: 128px;
|
||||
*, *:before, *:after {
|
||||
box-sizing: inherit;
|
||||
}
|
||||
|
||||
.ticker {
|
||||
background-color: #0f0;
|
||||
background-color: #0c0;
|
||||
height: 3vh;
|
||||
min-height: 24px;
|
||||
flex-shrink: 0;
|
||||
align-content: center;
|
||||
}
|
||||
|
||||
.header {
|
||||
background-color: #999;
|
||||
min-height: 20vh;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.header-main {
|
||||
width: 200px;
|
||||
height: 20vh;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.banner {
|
||||
flex-grow: 1;
|
||||
height: 20vh;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.banner img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.language-area {
|
||||
width: 200px;
|
||||
height: 20vh;
|
||||
background-color: #ccc;
|
||||
padding: 10px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.language {
|
||||
margin: 5px;
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.language img {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.login-status {
|
||||
text-align: center;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
#logo {
|
||||
max-width: 90%;
|
||||
max-height: 18vh;
|
||||
}
|
||||
|
||||
.main {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin: 0;
|
||||
flex-grow: 1;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
background-color: pink;
|
||||
background-color: #ccc;
|
||||
width: 200px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.content {
|
||||
background-color: aqua;
|
||||
background-color: #dcccaa;
|
||||
flex-grow: 1;
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.content-img {
|
||||
width: 33%;
|
||||
height: 150px;
|
||||
display: block;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.navbar ul {
|
||||
list-style-type: none;
|
||||
padding: 10px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.navbar li {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.navbar a {
|
||||
text-decoration: none;
|
||||
color: #333;
|
||||
display: block;
|
||||
padding: 5px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.navbar a:hover {
|
||||
background-color: #bbb;
|
||||
}
|
||||
|
||||
.navbar-no-hover-effect a:hover {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
dt {
|
||||
font-size: 1.2em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.header {
|
||||
flex-direction: column;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.header-main, .banner, .language-area {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.main {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.navbar ul {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.content {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#logo {
|
||||
max-height: 100px;
|
||||
}
|
||||
|
||||
.banner img {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.eingabemaske {
|
||||
border: 5px inset;
|
||||
padding: 0.5em;
|
||||
overflow-x: auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media (min-width: 1025px) {
|
||||
.eingabemaske {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.eingabemaske {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.eingabemaske input, .eingabemaske select, .eingabemaske textarea, .eingabemaske button {
|
||||
font-size: 0.9em;
|
||||
padding: 0.2em;
|
||||
}
|
||||
}
|
||||
|
||||
.eingabemaske table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.eingabemaske table, th, td {
|
||||
border: 4px outset;
|
||||
}
|
||||
|
||||
.eingabemaske th, .eingabemaske td {
|
||||
padding: 0.3em;
|
||||
}
|
||||
|
||||
.eingabemaske input {
|
||||
font-size: 1em;
|
||||
padding: 0.5em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.eingabemaske input[type=checkbox] {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.eingabemaske button {
|
||||
padding: 1em;
|
||||
border: 4px outset;
|
||||
font-size: 1.2em;
|
||||
background-color: #ccc;
|
||||
}
|
||||
|
||||
#fehlermeldung {
|
||||
border: 4px outset;
|
||||
width: 100%;
|
||||
max-width: 500px;
|
||||
}
|
||||
|
||||
nav {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.w-5 {
|
||||
width: 5%;
|
||||
}
|
||||
|
||||
.h-5 {
|
||||
height: 5vh;
|
||||
}
|
||||
|
||||
.footer {
|
||||
width: 100%;
|
||||
background-color: #999;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
flex-shrink: 0;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.split-left {
|
||||
float: left;
|
||||
width: 50%;
|
||||
}
|
||||
.split-right {
|
||||
float: left;
|
||||
width: 50%;
|
||||
border-left: 1px dotted #000;
|
||||
padding-left: 30px;
|
||||
}
|
||||
.content::after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.progress-flag {
|
||||
height: 13px;
|
||||
}
|
||||
|
||||
.apply-button {
|
||||
font-size: 2.5em;
|
||||
padding: 20px 40px;
|
||||
border: 5px solid cyan;
|
||||
border-radius: 10px;
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
animation: blink 2s infinite;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
0%, 100% {
|
||||
background-color: white;
|
||||
color: #4b0600;
|
||||
}
|
||||
50% {
|
||||
background-color: cyan;
|
||||
color: black;
|
||||
}
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 0 B After Width: | Height: | Size: 15 KiB |
@@ -0,0 +1,95 @@
|
||||
$(function() {
|
||||
$('select[autocomplete="off"]').each(function() {
|
||||
let selectedValue = $(this).find('option[selected]').val();
|
||||
if (selectedValue) {
|
||||
$(this).val(selectedValue);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
function addBlog(){
|
||||
|
||||
let b = {};
|
||||
b.title = $('#blogTitle_new').val();
|
||||
b.body = $('#blogBody_new').val();
|
||||
b.published = $('#blogPublished_new').is(":checked") ? "1" : "0";
|
||||
b.language = $('#blogLanguage_new').val();
|
||||
|
||||
console.log(b);
|
||||
|
||||
if(window.confirm(i18n.blog.confirm_save)){
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/intern/nachrichten/add",
|
||||
data: b,
|
||||
dataType: "json",
|
||||
success:function(r){
|
||||
if(r.messageStatus === "success"){
|
||||
$('#blogTitle_new').val("");
|
||||
$('#blogBody_new').val("");
|
||||
$('#blogLanguage_new').val("de");
|
||||
location.reload();
|
||||
} else {
|
||||
alert(r.errorMessage);
|
||||
}
|
||||
},
|
||||
error:function(r, a, e){
|
||||
alert(i18n.common.error_occurred + e);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function editBlog(blogId){
|
||||
let b = {};
|
||||
b.id = blogId;
|
||||
b.title = $('#blogTitle_'+blogId).val();
|
||||
b.body = $('#blogBody_'+blogId).val();
|
||||
b.published = $('#blogPublished_'+blogId).is(":checked") ? "1" : "0";
|
||||
b.language = $('#blogLanguage_'+blogId).val();
|
||||
|
||||
if(window.confirm(i18n.blog.confirm_save)){
|
||||
$.ajax({
|
||||
type: "PUT",
|
||||
url: "/intern/nachrichten/edit",
|
||||
data: b,
|
||||
dataType: "json",
|
||||
success:function(r){
|
||||
if(r.messageStatus === "success"){
|
||||
location.reload();
|
||||
} else {
|
||||
alert(r.errorMessage);
|
||||
}
|
||||
},
|
||||
error:function(r, a, e){
|
||||
alert(i18n.common.error_occurred + e);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function deleteBlog(blogId){
|
||||
let b = {};
|
||||
b.id = blogId;
|
||||
|
||||
if(window.confirm(i18n.blog.confirm_delete)){
|
||||
$.ajax({
|
||||
type:"DELETE",
|
||||
url:"/intern/nachrichten/delete",
|
||||
data:b,
|
||||
dataType:"json",
|
||||
success:function(r){
|
||||
if(r.messageStatus === "success"){
|
||||
$('#blogDelete_' + blogId).closest('.blogEdit').fadeOut(300, function() {
|
||||
$(this).remove();
|
||||
});
|
||||
} else {
|
||||
alert(r.errorMessage);
|
||||
}
|
||||
},
|
||||
error:function(r, a, e){
|
||||
alert(i18n.common.error_occurred + e);
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||