Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-Core
Commits
a9973acd
Commit
a9973acd
authored
2 years ago
by
Julian
Browse files
Options
Downloads
Patches
Plain Diff
Show splash screen on 503 error
parent
a9ca7881
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1154
Resolve "Verify maintenance mode with GraphQL / reimplement maintenance mode handling"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
aleksis/core/templates/503.html
+2
-19
2 additions, 19 deletions
aleksis/core/templates/503.html
aleksis/core/templates/core/vue_index.html
+5
-3
5 additions, 3 deletions
aleksis/core/templates/core/vue_index.html
with
7 additions
and
22 deletions
aleksis/core/templates/503.html
+
2
−
19
View file @
a9973acd
{% extends "core/base.html" %}
{% load i18n %}
{% extends "core/vue_index.html" %}
{% block content %}
<div
class=
"container"
>
<div
class=
"card red"
>
<div
class=
"card-content white-text"
>
<i
class=
"material-icons iconify small left"
data-icon=
"mdi:alert-octagon-outline"
></i>
<span
class=
"card-title"
>
{% blocktrans %}The maintenance mode is currently enabled. Please try again
later.{% endblocktrans %}
</span>
<p>
{% blocktrans %}
This page is currently unavailable. If this error persists, contact your site administrators:
{% endblocktrans %}
</p>
{% include "core/partials/admins_list.html" %}
</div>
</div>
</div>
{% block no_frontend %}
{% endblock %}
This diff is collapsed.
Click to expand it.
aleksis/core/templates/core/vue_index.html
+
5
−
3
View file @
a9973acd
...
...
@@ -29,8 +29,10 @@
<app
ref=
"aleksisApp"
></app>
</main>
{% if not need_maintenance_response %}
{% vite_asset 'aleksis/core/frontend/index.js' %}
{% endif %}
{% block no_frontend %}
{% if not need_maintenance_response %}
{% vite_asset 'aleksis/core/frontend/index.js' %}
{% endif %}
{% endblock no_frontend %}
</body>
</html>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment