change loader from template to static html
This commit is contained in:
parent
14288de087
commit
7f10c50614
51
MUOR/MUOR/configs/loader.html
Normal file
51
MUOR/MUOR/configs/loader.html
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<link rel="stylesheet"
|
||||||
|
href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css"
|
||||||
|
integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS"
|
||||||
|
crossorigin="anonymous">
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>MultiUserOpenRefine}</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<main>
|
||||||
|
<div class="container">
|
||||||
|
<div style="position: page; vertical-align: center">
|
||||||
|
<div class="row justify-content-center">
|
||||||
|
<div class="col-8">
|
||||||
|
<img src="static/images/logo.png" alt="logo"
|
||||||
|
style="padding-top: 10px; height: auto; width: 50%; display: block; margin-left: auto; margin-right: auto;">
|
||||||
|
<h1 class="mt-2"
|
||||||
|
style="text-align: center; padding-bottom: 10px">
|
||||||
|
MultiUserOpenRefine</h1>
|
||||||
|
<div style="border-radius: 25px; border: 4px solid #e0e0e0; padding: 20px; box-shadow: rgba(0, 0, 0, 0.24) 0 3px 8px;">
|
||||||
|
<h3 style="text-align: center;">Your instance is getting
|
||||||
|
ready. Please wait... </h3>
|
||||||
|
<div class="d-flex justify-content-center">
|
||||||
|
<div class="spinner-grow"
|
||||||
|
style="width: 3rem; height: 3rem;"
|
||||||
|
role="status">
|
||||||
|
<span class="sr-only">Loading...</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
|
||||||
|
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
|
||||||
|
crossorigin="anonymous"></script>
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js"
|
||||||
|
integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut"
|
||||||
|
crossorigin="anonymous"></script>
|
||||||
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"
|
||||||
|
integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k"
|
||||||
|
crossorigin="anonymous"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -25,7 +25,6 @@ urlpatterns = [
|
|||||||
path('admin/', admin.site.urls),
|
path('admin/', admin.site.urls),
|
||||||
path('', include('django.contrib.auth.urls')),
|
path('', include('django.contrib.auth.urls')),
|
||||||
path('signup/', SignUpView.as_view(), name='signup'),
|
path('signup/', SignUpView.as_view(), name='signup'),
|
||||||
path('loader/', TemplateView.as_view(template_name='loader.html'), name='loader'),
|
|
||||||
path('welcome/', TemplateView.as_view(template_name='home.html'), name='home'),
|
path('welcome/', TemplateView.as_view(template_name='home.html'), name='home'),
|
||||||
path('favicon.ico', RedirectView.as_view(url=staticfiles_storage.url('images/favicon.ico'))),
|
path('favicon.ico', RedirectView.as_view(url=staticfiles_storage.url('images/favicon.ico'))),
|
||||||
path('', views.home, name='home')
|
path('', views.home, name='home')
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
<!-- templates/loader.html -->
|
|
||||||
{% extends 'base.html' %}
|
|
||||||
|
|
||||||
{% block title %}Loader{% endblock %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
<h3 style="text-align: center;">Your instance is getting ready. Please wait... </h3>
|
|
||||||
<div class="d-flex justify-content-center">
|
|
||||||
<div class="spinner-grow" style="width: 3rem; height: 3rem;" role="status">
|
|
||||||
<span class="sr-only">Loading...</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endblock %}
|
|
Loading…
Reference in New Issue
Block a user