tina4ruby 3.11.13 → 3.11.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +80 -80
- data/LICENSE.txt +21 -21
- data/README.md +137 -137
- data/exe/tina4ruby +5 -5
- data/lib/tina4/ai.rb +696 -696
- data/lib/tina4/api.rb +189 -189
- data/lib/tina4/auth.rb +305 -305
- data/lib/tina4/auto_crud.rb +244 -244
- data/lib/tina4/cache.rb +154 -154
- data/lib/tina4/cli.rb +1449 -1449
- data/lib/tina4/constants.rb +46 -46
- data/lib/tina4/container.rb +74 -74
- data/lib/tina4/cors.rb +74 -74
- data/lib/tina4/crud.rb +692 -692
- data/lib/tina4/database/sqlite3_adapter.rb +165 -165
- data/lib/tina4/database.rb +625 -625
- data/lib/tina4/database_result.rb +208 -208
- data/lib/tina4/debug.rb +8 -8
- data/lib/tina4/dev.rb +14 -14
- data/lib/tina4/dev_admin.rb +935 -935
- data/lib/tina4/dev_mailbox.rb +191 -191
- data/lib/tina4/drivers/firebird_driver.rb +124 -110
- data/lib/tina4/drivers/mongodb_driver.rb +561 -561
- data/lib/tina4/drivers/mssql_driver.rb +112 -112
- data/lib/tina4/drivers/mysql_driver.rb +90 -90
- data/lib/tina4/drivers/odbc_driver.rb +191 -191
- data/lib/tina4/drivers/postgres_driver.rb +116 -106
- data/lib/tina4/drivers/sqlite_driver.rb +122 -122
- data/lib/tina4/env.rb +95 -95
- data/lib/tina4/error_overlay.rb +252 -252
- data/lib/tina4/events.rb +109 -109
- data/lib/tina4/field_types.rb +154 -154
- data/lib/tina4/frond.rb +2025 -2025
- data/lib/tina4/gallery/auth/meta.json +1 -1
- data/lib/tina4/gallery/auth/src/routes/api/gallery_auth.rb +114 -114
- data/lib/tina4/gallery/database/meta.json +1 -1
- data/lib/tina4/gallery/database/src/routes/api/gallery_db.rb +43 -43
- data/lib/tina4/gallery/error-overlay/meta.json +1 -1
- data/lib/tina4/gallery/error-overlay/src/routes/api/gallery_crash.rb +17 -17
- data/lib/tina4/gallery/orm/meta.json +1 -1
- data/lib/tina4/gallery/orm/src/routes/api/gallery_products.rb +16 -16
- data/lib/tina4/gallery/queue/meta.json +1 -1
- data/lib/tina4/gallery/queue/src/routes/api/gallery_queue.rb +325 -325
- data/lib/tina4/gallery/rest-api/meta.json +1 -1
- data/lib/tina4/gallery/rest-api/src/routes/api/gallery_hello.rb +14 -14
- data/lib/tina4/gallery/templates/meta.json +1 -1
- data/lib/tina4/gallery/templates/src/routes/gallery_page.rb +12 -12
- data/lib/tina4/gallery/templates/src/templates/gallery_page.twig +257 -257
- data/lib/tina4/graphql.rb +966 -966
- data/lib/tina4/health.rb +39 -39
- data/lib/tina4/html_element.rb +170 -170
- data/lib/tina4/job.rb +80 -80
- data/lib/tina4/localization.rb +168 -168
- data/lib/tina4/log.rb +203 -203
- data/lib/tina4/mcp.rb +696 -696
- data/lib/tina4/messenger.rb +587 -587
- data/lib/tina4/metrics.rb +793 -793
- data/lib/tina4/middleware.rb +445 -445
- data/lib/tina4/migration.rb +451 -451
- data/lib/tina4/orm.rb +790 -790
- data/lib/tina4/public/css/tina4.css +2463 -2463
- data/lib/tina4/public/css/tina4.min.css +1 -1
- data/lib/tina4/public/images/logo.svg +5 -5
- data/lib/tina4/public/js/frond.min.js +2 -2
- data/lib/tina4/public/js/tina4-dev-admin.js +565 -565
- data/lib/tina4/public/js/tina4-dev-admin.min.js +480 -480
- data/lib/tina4/public/js/tina4.min.js +92 -92
- data/lib/tina4/public/js/tina4js.min.js +48 -48
- data/lib/tina4/public/swagger/index.html +90 -90
- data/lib/tina4/public/swagger/oauth2-redirect.html +63 -63
- data/lib/tina4/query_builder.rb +380 -380
- data/lib/tina4/queue.rb +366 -366
- data/lib/tina4/queue_backends/kafka_backend.rb +80 -80
- data/lib/tina4/queue_backends/lite_backend.rb +298 -298
- data/lib/tina4/queue_backends/mongo_backend.rb +126 -126
- data/lib/tina4/queue_backends/rabbitmq_backend.rb +73 -73
- data/lib/tina4/rack_app.rb +817 -817
- data/lib/tina4/rate_limiter.rb +130 -130
- data/lib/tina4/request.rb +268 -255
- data/lib/tina4/response.rb +346 -346
- data/lib/tina4/response_cache.rb +551 -551
- data/lib/tina4/router.rb +406 -406
- data/lib/tina4/scss/tina4css/_alerts.scss +34 -34
- data/lib/tina4/scss/tina4css/_badges.scss +22 -22
- data/lib/tina4/scss/tina4css/_buttons.scss +69 -69
- data/lib/tina4/scss/tina4css/_cards.scss +49 -49
- data/lib/tina4/scss/tina4css/_forms.scss +156 -156
- data/lib/tina4/scss/tina4css/_grid.scss +81 -81
- data/lib/tina4/scss/tina4css/_modals.scss +84 -84
- data/lib/tina4/scss/tina4css/_nav.scss +149 -149
- data/lib/tina4/scss/tina4css/_reset.scss +94 -94
- data/lib/tina4/scss/tina4css/_tables.scss +54 -54
- data/lib/tina4/scss/tina4css/_typography.scss +55 -55
- data/lib/tina4/scss/tina4css/_utilities.scss +197 -197
- data/lib/tina4/scss/tina4css/_variables.scss +117 -117
- data/lib/tina4/scss/tina4css/base.scss +1 -1
- data/lib/tina4/scss/tina4css/colors.scss +48 -48
- data/lib/tina4/scss/tina4css/tina4.scss +17 -17
- data/lib/tina4/scss_compiler.rb +178 -178
- data/lib/tina4/seeder.rb +567 -567
- data/lib/tina4/service_runner.rb +303 -303
- data/lib/tina4/session.rb +297 -297
- data/lib/tina4/session_handlers/database_handler.rb +72 -72
- data/lib/tina4/session_handlers/file_handler.rb +67 -67
- data/lib/tina4/session_handlers/mongo_handler.rb +49 -49
- data/lib/tina4/session_handlers/redis_handler.rb +43 -43
- data/lib/tina4/session_handlers/valkey_handler.rb +43 -43
- data/lib/tina4/shutdown.rb +84 -84
- data/lib/tina4/sql_translation.rb +158 -158
- data/lib/tina4/swagger.rb +124 -124
- data/lib/tina4/template.rb +894 -894
- data/lib/tina4/templates/base.twig +26 -26
- data/lib/tina4/templates/errors/302.twig +14 -14
- data/lib/tina4/templates/errors/401.twig +9 -9
- data/lib/tina4/templates/errors/403.twig +29 -29
- data/lib/tina4/templates/errors/404.twig +29 -29
- data/lib/tina4/templates/errors/500.twig +38 -38
- data/lib/tina4/templates/errors/502.twig +9 -9
- data/lib/tina4/templates/errors/503.twig +12 -12
- data/lib/tina4/templates/errors/base.twig +37 -37
- data/lib/tina4/test_client.rb +159 -159
- data/lib/tina4/testing.rb +340 -340
- data/lib/tina4/validator.rb +174 -174
- data/lib/tina4/version.rb +1 -1
- data/lib/tina4/webserver.rb +312 -312
- data/lib/tina4/websocket.rb +343 -343
- data/lib/tina4/websocket_backplane.rb +190 -190
- data/lib/tina4/wsdl.rb +564 -564
- data/lib/tina4.rb +458 -458
- data/lib/tina4ruby.rb +4 -4
- metadata +3 -3
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<title>{% block title %}Tina4 Ruby{% endblock %}</title>
|
|
7
|
-
<link rel="stylesheet" href="/css/tina4.min.css">
|
|
8
|
-
{% block head %}{% endblock %}
|
|
9
|
-
</head>
|
|
10
|
-
<body>
|
|
11
|
-
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
|
12
|
-
<div class="container">
|
|
13
|
-
<a class="navbar-brand" href="/">Tina4</a>
|
|
14
|
-
</div>
|
|
15
|
-
</nav>
|
|
16
|
-
<main class="container mt-4">
|
|
17
|
-
{% block content %}{% endblock %}
|
|
18
|
-
</main>
|
|
19
|
-
<footer class="container mt-4 py-3 text-center text-muted border-top">
|
|
20
|
-
<p>Powered by Tina4 Ruby v{{ tina4_version }}</p>
|
|
21
|
-
</footer>
|
|
22
|
-
<script src="/js/tina4.min.js"></script>
|
|
23
|
-
<script src="/js/frond.min.js"></script>
|
|
24
|
-
{% block scripts %}{% endblock %}
|
|
25
|
-
</body>
|
|
26
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>{% block title %}Tina4 Ruby{% endblock %}</title>
|
|
7
|
+
<link rel="stylesheet" href="/css/tina4.min.css">
|
|
8
|
+
{% block head %}{% endblock %}
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
|
12
|
+
<div class="container">
|
|
13
|
+
<a class="navbar-brand" href="/">Tina4</a>
|
|
14
|
+
</div>
|
|
15
|
+
</nav>
|
|
16
|
+
<main class="container mt-4">
|
|
17
|
+
{% block content %}{% endblock %}
|
|
18
|
+
</main>
|
|
19
|
+
<footer class="container mt-4 py-3 text-center text-muted border-top">
|
|
20
|
+
<p>Powered by Tina4 Ruby v{{ tina4_version }}</p>
|
|
21
|
+
</footer>
|
|
22
|
+
<script src="/js/tina4.min.js"></script>
|
|
23
|
+
<script src="/js/frond.min.js"></script>
|
|
24
|
+
{% block scripts %}{% endblock %}
|
|
25
|
+
</body>
|
|
26
|
+
</html>
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
{% extends "errors/base.twig" %}
|
|
2
|
-
{% block title %}Redirecting…{% endblock %}
|
|
3
|
-
{% block meta %}<meta http-equiv="refresh" content="0;url={{ redirect_url }}">{% endblock %}
|
|
4
|
-
{% block extra_styles %}
|
|
5
|
-
.spinner { display: inline-block; width: 1.5rem; height: 1.5rem; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; margin-bottom: 1rem; }
|
|
6
|
-
@keyframes spin { to { transform: rotate(360deg); } }
|
|
7
|
-
{% endblock %}
|
|
8
|
-
{% block content %}
|
|
9
|
-
<div class="spinner"></div>
|
|
10
|
-
<div class="error-title">Redirecting…</div>
|
|
11
|
-
<div class="error-msg">You are being redirected to a new location.</div>
|
|
12
|
-
<div class="error-path" style="color:var(--primary)">{{ redirect_url }}</div>
|
|
13
|
-
<a href="{{ redirect_url }}" class="error-home">Click here if not redirected</a>
|
|
14
|
-
{% endblock %}
|
|
1
|
+
{% extends "errors/base.twig" %}
|
|
2
|
+
{% block title %}Redirecting…{% endblock %}
|
|
3
|
+
{% block meta %}<meta http-equiv="refresh" content="0;url={{ redirect_url }}">{% endblock %}
|
|
4
|
+
{% block extra_styles %}
|
|
5
|
+
.spinner { display: inline-block; width: 1.5rem; height: 1.5rem; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; margin-bottom: 1rem; }
|
|
6
|
+
@keyframes spin { to { transform: rotate(360deg); } }
|
|
7
|
+
{% endblock %}
|
|
8
|
+
{% block content %}
|
|
9
|
+
<div class="spinner"></div>
|
|
10
|
+
<div class="error-title">Redirecting…</div>
|
|
11
|
+
<div class="error-msg">You are being redirected to a new location.</div>
|
|
12
|
+
<div class="error-path" style="color:var(--primary)">{{ redirect_url }}</div>
|
|
13
|
+
<a href="{{ redirect_url }}" class="error-home">Click here if not redirected</a>
|
|
14
|
+
{% endblock %}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
{% extends "errors/base.twig" %}
|
|
2
|
-
{% block title %}401 — Unauthorized{% endblock %}
|
|
3
|
-
{% block content %}
|
|
4
|
-
<div class="error-code" style="color:var(--danger)">401</div>
|
|
5
|
-
<div class="error-title">Unauthorized</div>
|
|
6
|
-
<div class="error-msg">You need to sign in to access this resource.</div>
|
|
7
|
-
<div class="error-path" style="color:var(--danger)">{{ path }}</div>
|
|
8
|
-
<a href="/" class="error-home">Go Home</a>
|
|
9
|
-
{% endblock %}
|
|
1
|
+
{% extends "errors/base.twig" %}
|
|
2
|
+
{% block title %}401 — Unauthorized{% endblock %}
|
|
3
|
+
{% block content %}
|
|
4
|
+
<div class="error-code" style="color:var(--danger)">401</div>
|
|
5
|
+
<div class="error-title">Unauthorized</div>
|
|
6
|
+
<div class="error-msg">You need to sign in to access this resource.</div>
|
|
7
|
+
<div class="error-path" style="color:var(--danger)">{{ path }}</div>
|
|
8
|
+
<a href="/" class="error-home">Go Home</a>
|
|
9
|
+
{% endblock %}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
-
<title>403 — Forbidden</title>
|
|
7
|
-
<style>
|
|
8
|
-
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
9
|
-
body { font-family: system-ui, -apple-system, sans-serif; background: #0f172a; color: #e2e8f0; min-height: 100vh; display: flex; align-items: center; justify-content: center; }
|
|
10
|
-
.error-card { background: #1e293b; border: 1px solid #334155; border-radius: 1rem; padding: 3rem; text-align: center; max-width: 520px; width: 90%; }
|
|
11
|
-
.error-code { font-size: 8rem; font-weight: 900; color: #f59e0b; opacity: 0.6; line-height: 1; margin-bottom: 0.5rem; }
|
|
12
|
-
.error-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
|
|
13
|
-
.error-msg { color: #94a3b8; font-size: 1rem; margin-bottom: 1.5rem; line-height: 1.5; }
|
|
14
|
-
.error-path { font-family: 'SF Mono', monospace; background: #0f172a; color: #f59e0b; padding: 0.5rem 1rem; border-radius: 0.5rem; font-size: 0.85rem; word-break: break-all; margin-bottom: 1.5rem; display: inline-block; }
|
|
15
|
-
.error-home { display: inline-block; padding: 0.6rem 2rem; background: #3b82f6; color: #fff; text-decoration: none; border-radius: 0.5rem; font-size: 0.9rem; font-weight: 600; }
|
|
16
|
-
.error-home:hover { opacity: 0.9; }
|
|
17
|
-
</style>
|
|
18
|
-
</head>
|
|
19
|
-
<body>
|
|
20
|
-
<div class="error-card">
|
|
21
|
-
<div class="error-code">403</div>
|
|
22
|
-
<div class="error-title">Forbidden</div>
|
|
23
|
-
<div class="error-msg">You don't have permission to access this resource.</div>
|
|
24
|
-
<div class="error-path">{{ path }}</div>
|
|
25
|
-
<br>
|
|
26
|
-
<a href="/" class="error-home">Go Home</a>
|
|
27
|
-
</div>
|
|
28
|
-
</body>
|
|
29
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<title>403 — Forbidden</title>
|
|
7
|
+
<style>
|
|
8
|
+
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
9
|
+
body { font-family: system-ui, -apple-system, sans-serif; background: #0f172a; color: #e2e8f0; min-height: 100vh; display: flex; align-items: center; justify-content: center; }
|
|
10
|
+
.error-card { background: #1e293b; border: 1px solid #334155; border-radius: 1rem; padding: 3rem; text-align: center; max-width: 520px; width: 90%; }
|
|
11
|
+
.error-code { font-size: 8rem; font-weight: 900; color: #f59e0b; opacity: 0.6; line-height: 1; margin-bottom: 0.5rem; }
|
|
12
|
+
.error-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
|
|
13
|
+
.error-msg { color: #94a3b8; font-size: 1rem; margin-bottom: 1.5rem; line-height: 1.5; }
|
|
14
|
+
.error-path { font-family: 'SF Mono', monospace; background: #0f172a; color: #f59e0b; padding: 0.5rem 1rem; border-radius: 0.5rem; font-size: 0.85rem; word-break: break-all; margin-bottom: 1.5rem; display: inline-block; }
|
|
15
|
+
.error-home { display: inline-block; padding: 0.6rem 2rem; background: #3b82f6; color: #fff; text-decoration: none; border-radius: 0.5rem; font-size: 0.9rem; font-weight: 600; }
|
|
16
|
+
.error-home:hover { opacity: 0.9; }
|
|
17
|
+
</style>
|
|
18
|
+
</head>
|
|
19
|
+
<body>
|
|
20
|
+
<div class="error-card">
|
|
21
|
+
<div class="error-code">403</div>
|
|
22
|
+
<div class="error-title">Forbidden</div>
|
|
23
|
+
<div class="error-msg">You don't have permission to access this resource.</div>
|
|
24
|
+
<div class="error-path">{{ path }}</div>
|
|
25
|
+
<br>
|
|
26
|
+
<a href="/" class="error-home">Go Home</a>
|
|
27
|
+
</div>
|
|
28
|
+
</body>
|
|
29
|
+
</html>
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
-
<title>404 - Not Found</title>
|
|
7
|
-
<style>
|
|
8
|
-
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
9
|
-
body { font-family: system-ui, -apple-system, sans-serif; background: #0f172a; color: #e2e8f0; min-height: 100vh; display: flex; align-items: center; justify-content: center; }
|
|
10
|
-
.error-card { background: #1e293b; border: 1px solid #334155; border-radius: 1rem; padding: 3rem; text-align: center; max-width: 520px; width: 90%; }
|
|
11
|
-
.error-code { font-size: 8rem; font-weight: 900; color: #3b82f6; opacity: 0.6; line-height: 1; margin-bottom: 0.5rem; }
|
|
12
|
-
.error-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
|
|
13
|
-
.error-msg { color: #94a3b8; font-size: 1rem; margin-bottom: 1.5rem; line-height: 1.5; }
|
|
14
|
-
.error-path { font-family: 'SF Mono', monospace; background: #0f172a; color: #3b82f6; padding: 0.5rem 1rem; border-radius: 0.5rem; font-size: 0.85rem; word-break: break-all; margin-bottom: 1.5rem; display: inline-block; }
|
|
15
|
-
.error-home { display: inline-block; padding: 0.6rem 2rem; background: #3b82f6; color: #fff; text-decoration: none; border-radius: 0.5rem; font-size: 0.9rem; font-weight: 600; }
|
|
16
|
-
.error-home:hover { opacity: 0.9; }
|
|
17
|
-
</style>
|
|
18
|
-
</head>
|
|
19
|
-
<body>
|
|
20
|
-
<div class="error-card">
|
|
21
|
-
<div class="error-code">404</div>
|
|
22
|
-
<div class="error-title">Page Not Found</div>
|
|
23
|
-
<div class="error-msg">The page you are looking for does not exist or has been moved. Check the URL and try again.</div>
|
|
24
|
-
<div class="error-path">{{ path }}</div>
|
|
25
|
-
<br>
|
|
26
|
-
<a href="/" class="error-home">Go Home</a>
|
|
27
|
-
</div>
|
|
28
|
-
</body>
|
|
29
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<title>404 - Not Found</title>
|
|
7
|
+
<style>
|
|
8
|
+
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
9
|
+
body { font-family: system-ui, -apple-system, sans-serif; background: #0f172a; color: #e2e8f0; min-height: 100vh; display: flex; align-items: center; justify-content: center; }
|
|
10
|
+
.error-card { background: #1e293b; border: 1px solid #334155; border-radius: 1rem; padding: 3rem; text-align: center; max-width: 520px; width: 90%; }
|
|
11
|
+
.error-code { font-size: 8rem; font-weight: 900; color: #3b82f6; opacity: 0.6; line-height: 1; margin-bottom: 0.5rem; }
|
|
12
|
+
.error-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
|
|
13
|
+
.error-msg { color: #94a3b8; font-size: 1rem; margin-bottom: 1.5rem; line-height: 1.5; }
|
|
14
|
+
.error-path { font-family: 'SF Mono', monospace; background: #0f172a; color: #3b82f6; padding: 0.5rem 1rem; border-radius: 0.5rem; font-size: 0.85rem; word-break: break-all; margin-bottom: 1.5rem; display: inline-block; }
|
|
15
|
+
.error-home { display: inline-block; padding: 0.6rem 2rem; background: #3b82f6; color: #fff; text-decoration: none; border-radius: 0.5rem; font-size: 0.9rem; font-weight: 600; }
|
|
16
|
+
.error-home:hover { opacity: 0.9; }
|
|
17
|
+
</style>
|
|
18
|
+
</head>
|
|
19
|
+
<body>
|
|
20
|
+
<div class="error-card">
|
|
21
|
+
<div class="error-code">404</div>
|
|
22
|
+
<div class="error-title">Page Not Found</div>
|
|
23
|
+
<div class="error-msg">The page you are looking for does not exist or has been moved. Check the URL and try again.</div>
|
|
24
|
+
<div class="error-path">{{ path }}</div>
|
|
25
|
+
<br>
|
|
26
|
+
<a href="/" class="error-home">Go Home</a>
|
|
27
|
+
</div>
|
|
28
|
+
</body>
|
|
29
|
+
</html>
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
-
<title>500 - Server Error</title>
|
|
7
|
-
<style>
|
|
8
|
-
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
9
|
-
body { font-family: system-ui, -apple-system, sans-serif; background: #0f172a; color: #e2e8f0; min-height: 100vh; display: flex; align-items: center; justify-content: center; }
|
|
10
|
-
.error-card { background: #1e293b; border: 1px solid #334155; border-radius: 1rem; padding: 3rem; text-align: left; max-width: 700px; width: 90%; }
|
|
11
|
-
.error-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
|
|
12
|
-
.error-code { font-size: 3rem; font-weight: 900; color: #ef4444; opacity: 0.7; }
|
|
13
|
-
.error-title { font-size: 1.3rem; font-weight: 700; }
|
|
14
|
-
.error-msg { color: #94a3b8; font-size: 0.95rem; margin-bottom: 1.5rem; line-height: 1.5; }
|
|
15
|
-
.error-trace { background: #0f172a; border: 1px solid #334155; border-radius: 0.5rem; padding: 1rem; font-family: 'SF Mono', monospace; font-size: 0.8rem; line-height: 1.5; overflow-x: auto; max-height: 400px; overflow-y: auto; white-space: pre-wrap; color: #ef4444; margin-bottom: 1.5rem; }
|
|
16
|
-
.error-footer { display: flex; justify-content: space-between; align-items: center; }
|
|
17
|
-
.error-hint { color: #64748b; font-size: 0.75rem; }
|
|
18
|
-
.error-id { color: #64748b; font-family: 'SF Mono', monospace; font-size: 0.75rem; }
|
|
19
|
-
.error-home { display: inline-block; padding: 0.5rem 1.5rem; background: #3b82f6; color: #fff; text-decoration: none; border-radius: 0.5rem; font-size: 0.85rem; font-weight: 600; }
|
|
20
|
-
.error-home:hover { opacity: 0.9; }
|
|
21
|
-
</style>
|
|
22
|
-
</head>
|
|
23
|
-
<body>
|
|
24
|
-
<div class="error-card">
|
|
25
|
-
<div class="error-header">
|
|
26
|
-
<div class="error-code">500</div>
|
|
27
|
-
<div class="error-title">Server Error</div>
|
|
28
|
-
</div>
|
|
29
|
-
<div class="error-msg">Something went wrong while processing your request.</div>
|
|
30
|
-
<pre class="error-trace">{{ error_message }}</pre>
|
|
31
|
-
<div class="error-footer">
|
|
32
|
-
<span class="error-hint">Fix the error and save to auto-reload</span>
|
|
33
|
-
<span class="error-id">{{ request_id }}</span>
|
|
34
|
-
<a href="/" class="error-home">Go Home</a>
|
|
35
|
-
</div>
|
|
36
|
-
</div>
|
|
37
|
-
</body>
|
|
38
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<title>500 - Server Error</title>
|
|
7
|
+
<style>
|
|
8
|
+
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
9
|
+
body { font-family: system-ui, -apple-system, sans-serif; background: #0f172a; color: #e2e8f0; min-height: 100vh; display: flex; align-items: center; justify-content: center; }
|
|
10
|
+
.error-card { background: #1e293b; border: 1px solid #334155; border-radius: 1rem; padding: 3rem; text-align: left; max-width: 700px; width: 90%; }
|
|
11
|
+
.error-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
|
|
12
|
+
.error-code { font-size: 3rem; font-weight: 900; color: #ef4444; opacity: 0.7; }
|
|
13
|
+
.error-title { font-size: 1.3rem; font-weight: 700; }
|
|
14
|
+
.error-msg { color: #94a3b8; font-size: 0.95rem; margin-bottom: 1.5rem; line-height: 1.5; }
|
|
15
|
+
.error-trace { background: #0f172a; border: 1px solid #334155; border-radius: 0.5rem; padding: 1rem; font-family: 'SF Mono', monospace; font-size: 0.8rem; line-height: 1.5; overflow-x: auto; max-height: 400px; overflow-y: auto; white-space: pre-wrap; color: #ef4444; margin-bottom: 1.5rem; }
|
|
16
|
+
.error-footer { display: flex; justify-content: space-between; align-items: center; }
|
|
17
|
+
.error-hint { color: #64748b; font-size: 0.75rem; }
|
|
18
|
+
.error-id { color: #64748b; font-family: 'SF Mono', monospace; font-size: 0.75rem; }
|
|
19
|
+
.error-home { display: inline-block; padding: 0.5rem 1.5rem; background: #3b82f6; color: #fff; text-decoration: none; border-radius: 0.5rem; font-size: 0.85rem; font-weight: 600; }
|
|
20
|
+
.error-home:hover { opacity: 0.9; }
|
|
21
|
+
</style>
|
|
22
|
+
</head>
|
|
23
|
+
<body>
|
|
24
|
+
<div class="error-card">
|
|
25
|
+
<div class="error-header">
|
|
26
|
+
<div class="error-code">500</div>
|
|
27
|
+
<div class="error-title">Server Error</div>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="error-msg">Something went wrong while processing your request.</div>
|
|
30
|
+
<pre class="error-trace">{{ error_message }}</pre>
|
|
31
|
+
<div class="error-footer">
|
|
32
|
+
<span class="error-hint">Fix the error and save to auto-reload</span>
|
|
33
|
+
<span class="error-id">{{ request_id }}</span>
|
|
34
|
+
<a href="/" class="error-home">Go Home</a>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</body>
|
|
38
|
+
</html>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
{% extends "errors/base.twig" %}
|
|
2
|
-
{% block title %}502 — Bad Gateway{% endblock %}
|
|
3
|
-
{% block content %}
|
|
4
|
-
<div class="error-code" style="color:var(--danger)">502</div>
|
|
5
|
-
<div class="error-title">Bad Gateway</div>
|
|
6
|
-
<div class="error-msg">The upstream server returned an invalid response.</div>
|
|
7
|
-
<div class="error-path" style="color:var(--danger)">{{ path }}</div>
|
|
8
|
-
<a href="/" class="error-home">Go Home</a>
|
|
9
|
-
{% endblock %}
|
|
1
|
+
{% extends "errors/base.twig" %}
|
|
2
|
+
{% block title %}502 — Bad Gateway{% endblock %}
|
|
3
|
+
{% block content %}
|
|
4
|
+
<div class="error-code" style="color:var(--danger)">502</div>
|
|
5
|
+
<div class="error-title">Bad Gateway</div>
|
|
6
|
+
<div class="error-msg">The upstream server returned an invalid response.</div>
|
|
7
|
+
<div class="error-path" style="color:var(--danger)">{{ path }}</div>
|
|
8
|
+
<a href="/" class="error-home">Go Home</a>
|
|
9
|
+
{% endblock %}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{% extends "errors/base.twig" %}
|
|
2
|
-
{% block title %}503 — Service Unavailable{% endblock %}
|
|
3
|
-
{% block extra_styles %}
|
|
4
|
-
.error-code { color: var(--warn); }
|
|
5
|
-
{% endblock %}
|
|
6
|
-
{% block content %}
|
|
7
|
-
<div class="error-code" style="color:var(--warn)">503</div>
|
|
8
|
-
<div class="error-title">Service Unavailable</div>
|
|
9
|
-
<div class="error-msg">The server is temporarily unavailable. Please try again shortly.</div>
|
|
10
|
-
<div class="error-path" style="color:var(--warn)">{{ path }}</div>
|
|
11
|
-
<a href="/" class="error-home">Go Home</a>
|
|
12
|
-
{% endblock %}
|
|
1
|
+
{% extends "errors/base.twig" %}
|
|
2
|
+
{% block title %}503 — Service Unavailable{% endblock %}
|
|
3
|
+
{% block extra_styles %}
|
|
4
|
+
.error-code { color: var(--warn); }
|
|
5
|
+
{% endblock %}
|
|
6
|
+
{% block content %}
|
|
7
|
+
<div class="error-code" style="color:var(--warn)">503</div>
|
|
8
|
+
<div class="error-title">Service Unavailable</div>
|
|
9
|
+
<div class="error-msg">The server is temporarily unavailable. Please try again shortly.</div>
|
|
10
|
+
<div class="error-path" style="color:var(--warn)">{{ path }}</div>
|
|
11
|
+
<a href="/" class="error-home">Go Home</a>
|
|
12
|
+
{% endblock %}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
{% block meta %}{% endblock %}
|
|
7
|
-
<title>{% block title %}Error{% endblock %}</title>
|
|
8
|
-
<style>
|
|
9
|
-
:root {
|
|
10
|
-
--bg: #0f172a; --surface: #1e293b; --border: #334155;
|
|
11
|
-
--text: #e2e8f0; --muted: #94a3b8; --primary: #3b82f6;
|
|
12
|
-
--success: #22c55e; --danger: #ef4444; --warn: #f59e0b; --info: #06b6d4;
|
|
13
|
-
--radius: 1rem; --mono: 'SF Mono', ui-monospace, monospace;
|
|
14
|
-
--font: system-ui, -apple-system, sans-serif;
|
|
15
|
-
}
|
|
16
|
-
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
17
|
-
body { font-family: var(--font); background: var(--bg); color: var(--text); min-height: 100vh; display: flex; align-items: center; justify-content: center; }
|
|
18
|
-
.error-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 3rem; text-align: center; max-width: 480px; width: 90%; }
|
|
19
|
-
.error-code { font-size: 5rem; font-weight: 800; opacity: 0.3; line-height: 1; }
|
|
20
|
-
.error-title { font-size: 1.5rem; font-weight: 600; margin: 0.5rem 0; }
|
|
21
|
-
.error-msg { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
|
|
22
|
-
.error-path { font-family: var(--mono); background: var(--bg); padding: 0.5rem 1rem; border-radius: 0.5rem; font-size: 0.85rem; word-break: break-all; }
|
|
23
|
-
.error-home { display: inline-block; margin-top: 1.5rem; padding: 0.5rem 1.5rem; background: var(--primary); color: #fff; text-decoration: none; border-radius: 0.5rem; font-size: 0.85rem; }
|
|
24
|
-
.error-home:hover { opacity: 0.9; }
|
|
25
|
-
.logo { width: 3rem; height: 3rem; margin-bottom: 1rem; opacity: 0.5; }
|
|
26
|
-
{% block extra_styles %}{% endblock %}
|
|
27
|
-
</style>
|
|
28
|
-
</head>
|
|
29
|
-
<body>
|
|
30
|
-
{% block body %}
|
|
31
|
-
<div class="error-card">
|
|
32
|
-
<img src="/images/logo.svg" class="logo" alt="Tina4">
|
|
33
|
-
{% block content %}{% endblock %}
|
|
34
|
-
</div>
|
|
35
|
-
{% endblock %}
|
|
36
|
-
</body>
|
|
37
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
{% block meta %}{% endblock %}
|
|
7
|
+
<title>{% block title %}Error{% endblock %}</title>
|
|
8
|
+
<style>
|
|
9
|
+
:root {
|
|
10
|
+
--bg: #0f172a; --surface: #1e293b; --border: #334155;
|
|
11
|
+
--text: #e2e8f0; --muted: #94a3b8; --primary: #3b82f6;
|
|
12
|
+
--success: #22c55e; --danger: #ef4444; --warn: #f59e0b; --info: #06b6d4;
|
|
13
|
+
--radius: 1rem; --mono: 'SF Mono', ui-monospace, monospace;
|
|
14
|
+
--font: system-ui, -apple-system, sans-serif;
|
|
15
|
+
}
|
|
16
|
+
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
17
|
+
body { font-family: var(--font); background: var(--bg); color: var(--text); min-height: 100vh; display: flex; align-items: center; justify-content: center; }
|
|
18
|
+
.error-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 3rem; text-align: center; max-width: 480px; width: 90%; }
|
|
19
|
+
.error-code { font-size: 5rem; font-weight: 800; opacity: 0.3; line-height: 1; }
|
|
20
|
+
.error-title { font-size: 1.5rem; font-weight: 600; margin: 0.5rem 0; }
|
|
21
|
+
.error-msg { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
|
|
22
|
+
.error-path { font-family: var(--mono); background: var(--bg); padding: 0.5rem 1rem; border-radius: 0.5rem; font-size: 0.85rem; word-break: break-all; }
|
|
23
|
+
.error-home { display: inline-block; margin-top: 1.5rem; padding: 0.5rem 1.5rem; background: var(--primary); color: #fff; text-decoration: none; border-radius: 0.5rem; font-size: 0.85rem; }
|
|
24
|
+
.error-home:hover { opacity: 0.9; }
|
|
25
|
+
.logo { width: 3rem; height: 3rem; margin-bottom: 1rem; opacity: 0.5; }
|
|
26
|
+
{% block extra_styles %}{% endblock %}
|
|
27
|
+
</style>
|
|
28
|
+
</head>
|
|
29
|
+
<body>
|
|
30
|
+
{% block body %}
|
|
31
|
+
<div class="error-card">
|
|
32
|
+
<img src="/images/logo.svg" class="logo" alt="Tina4">
|
|
33
|
+
{% block content %}{% endblock %}
|
|
34
|
+
</div>
|
|
35
|
+
{% endblock %}
|
|
36
|
+
</body>
|
|
37
|
+
</html>
|