refactor: replace custom CRM with Monica fork
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s

This commit is contained in:
Kroonk
2026-05-22 16:19:55 +02:00
parent 38cc4c09ca
commit a213a1dba0
2215 changed files with 242567 additions and 6015 deletions

View File

@@ -0,0 +1,27 @@
@extends('marketing.skeleton')
@section('content')
<body class="marketing register">
<div class="container">
<div class="row">
<div class="col-12 col-md-6 offset-md-3 offset-md-3-right">
<div class="alert alert-danger">
<h3><em class="fa fa-ban"></em> @lang('auth.not_authorized')</h3>
@lang('settings.personalisation_paid_upgrade', ['url' => route('settings.subscriptions.index')])
@if(isset($exception) && $exception->getMessage())
<p class="message">{{ $exception->getMessage() }}</p>
@endif
<p><a href="">{{ trans('auth.back_homepage') }}</a></p>
</div>
</div>
</div>
</div>
</body>
@endsection

View File

@@ -0,0 +1,25 @@
@extends('marketing.skeleton')
@section('content')
<body class="marketing register">
<div class="container">
<div class="row">
<div class="col-12 col-md-6 offset-md-3 offset-md-3-right">
<div class="alert alert-danger">
<h3><i class="fa fa-ban"></i> @lang('auth.not_authorized')</h3>
@if(isset($exception) && $exception->getMessage())
<p class="message">{{ $exception->getMessage() }}</p>
@endif
<p><a href="">{{ trans('auth.back_homepage') }}</a></p>
</div>
</div>
</div>
</div>
</body>
@endsection

View File

@@ -0,0 +1,33 @@
@extends('errors::layout')
@section('title', trans('app.error_title'))
@section('message', trans('app.error_title'))
@section('content')
@if(isset($exception) && $exception->getMessage())
<p class="message">{{ $exception->getMessage() }}</p>
@endif
@if(Auth::check() && app()->bound('sentry') && config('monica.sentry_support') && ! empty(app('sentry')->getLastEventID()))
<div class="subtitle">@lang('app.error_id', ['id' => app('sentry')->getLastEventID()])</div>
<script
src="https://browser.sentry-cdn.com/5.27.4/bundle.min.js"
integrity="sha384-yUnxX3o5D7+yEEIKDXlpygg+0Q2LdyklXwZVWUjc6fohGisYvhpyQbRvNYaDGtvU"
crossorigin="anonymous"
></script>
<script>
Sentry.init({ dsn: '{{ config('sentry.dsn') }}' });
Sentry.showReportDialog({
eventId: '{{ app('sentry')->getLastEventID() }}',
user: {
name: '{{ auth()->user()->name }}',
email: '{{ auth()->user()->email }}',
},
});
</script>
@endif
<p><a href="">{{ trans('auth.back_homepage') }}</a></p>
@endsection

View File

@@ -0,0 +1,12 @@
@extends('errors::layout')
@section('title', trans('app.error_unavailable'))
@section('message', trans('app.error_maintenance'))
@section('content')
<p>
@lang('app.error_help')
@lang('app.error_twitter', ['twitter' => config('monica.twitter_account')])
</p>
@endsection

View File

@@ -0,0 +1,56 @@
<!DOCTYPE html>
<html lang="{{ \App::getLocale() }}" dir="{{ htmldir() }}">
<head>
<base href="{{ url('/') }}/" />
<title>@yield('title')</title>
<style>
html, body {
height: 100%;
}
body {
margin: 0;
padding: 0;
width: 100%;
color: #999999;
display: table;
font-weight: 100;
font-family: "Lato Light", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.container {
text-align: center;
display: table-cell;
vertical-align: middle;
}
.content {
text-align: center;
display: inline-block;
}
.title {
font-size: 72px;
margin-bottom: 40px;
font-weight: bold;
}
.message {
font-weight: bold;
}
</style>
</head>
<body>
<div class="container">
<div class="content">
<div class="title">
@yield('message')
</div>
<div>
@yield('content')
</div>
</div>
</div>
</body>
</html>