feat: Phase 2 - page CRUD, subscriber management, user management
This commit is contained in:
29
resources/views/errors/post-too-large.blade.php
Normal file
29
resources/views/errors/post-too-large.blade.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ __('Upload too large') }} — {{ config('app.name') }}</title>
|
||||
<style>
|
||||
body { font-family: system-ui, sans-serif; max-width: 40rem; margin: 2rem auto; padding: 0 1rem; line-height: 1.5; color: #1e293b; }
|
||||
h1 { font-size: 1.25rem; }
|
||||
code { background: #f1f5f9; padding: 0.15rem 0.4rem; border-radius: 0.25rem; font-size: 0.9em; }
|
||||
.box { background: #fef2f2; border: 1px solid #fecaca; border-radius: 0.5rem; padding: 1rem 1.25rem; margin: 1rem 0; }
|
||||
a { color: #4f46e5; }
|
||||
ul { margin: 0.5rem 0; padding-left: 1.25rem; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>{{ __('Upload too large for your PHP settings') }}</h1>
|
||||
<div class="box">
|
||||
<p>{{ __('This request was about :size MB. Your server limit post_max_size is :post (and upload_max_filesize is :upload). Both must be larger than your form plus files (background up to 5 MB + logo up to 2 MB).', ['size' => number_format($contentLengthMb, 2), 'post' => $postMaxSize, 'upload' => $uploadMaxSize]) }}</p>
|
||||
</div>
|
||||
<p><strong>{{ __('Fix (local development)') }}</strong></p>
|
||||
<ul>
|
||||
<li>{{ __('Run') }} <code>composer run dev</code> {{ __('or') }} <code>make dev</code> — {{ __('they start PHP with higher limits.') }}</li>
|
||||
<li>{{ __('Or run:') }} <code>php -d post_max_size=64M -d upload_max_filesize=32M artisan serve</code></li>
|
||||
<li>{{ __('Or edit php.ini (see php --ini) and restart.') }}</li>
|
||||
</ul>
|
||||
<p><a href="{{ $backUrl }}">{{ __('← Back to previous page') }}</a></p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user