Landing Page Design
This commit is contained in:
parent
57f464f091
commit
1f690c0dc6
Binary file not shown.
|
|
@ -3,7 +3,7 @@ from django.urls import path, include
|
|||
from django.contrib.auth import views as auth_views
|
||||
from django.conf import settings
|
||||
from django.conf.urls.static import static
|
||||
from users.views import AgencyCreateView, registerNewAgency
|
||||
from users.views import AgencyCreateView, registerNewAgency, landingPage
|
||||
from . import views
|
||||
from .views import GetCryptFile, GetCryptFileRecover
|
||||
from django.contrib.auth.decorators import login_required
|
||||
|
|
@ -33,6 +33,7 @@ urlpatterns = [
|
|||
path('password-reset-confirm/<uidb64>/<token>/', auth_views.PasswordResetConfirmView.as_view(template_name='users/password_reset_confirm.html'), name='password_reset_confirm'),
|
||||
path('password-reset-complete/', auth_views.PasswordResetCompleteView.as_view(template_name='users/password_reset_complete.html'), name='password_reset_complete'),
|
||||
path('register/', registerNewAgency, name='register'),
|
||||
path('vve/', landingPage.as_view(), name="landingpage"),
|
||||
path('register/done', views.registerdone, name='register-done'),
|
||||
path('summernote/', include('django_summernote.urls')),
|
||||
path('notifications/', include('notificsys.urls'), name="notifications"),
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 99 KiB |
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 115 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 190 KiB |
|
|
@ -0,0 +1,71 @@
|
|||
{% extends "users/publicbase.html" %}
|
||||
{% load static %}
|
||||
<!-- CRISPY -->
|
||||
{% load crispy_forms_tags %}
|
||||
{% block content %}
|
||||
<style type="text/css">
|
||||
#overview {
|
||||
width: 70%;
|
||||
margin-top: 2%;
|
||||
text-align: center;
|
||||
}
|
||||
.lp_images {
|
||||
width: 100%;
|
||||
}
|
||||
.lp_div {
|
||||
border-right: 3px solid;
|
||||
border-color: #5c5554;
|
||||
}
|
||||
.lp_text{
|
||||
font-size: 10pt;
|
||||
margin-top: 20px;
|
||||
}
|
||||
.lp_btnarea {
|
||||
text-align: center;
|
||||
margin-top: 20px;
|
||||
}
|
||||
</style>
|
||||
<div class="card mx-auto" id="overview">
|
||||
<div class="card-body">
|
||||
<p>
|
||||
<h1>Bestellung der Digitalen Agentur und Notfallhilfe</h1>
|
||||
<p><b>Nutzen Sie die Digitale Agentur und Notfallhilfe. Exklusiv und nur für VVE-Mitglieder.</b></p>
|
||||
<a href="{% static 'users/extra/da_onepager.pdf' %}" target="_blank">Informationen herunterladen</a>
|
||||
</p>
|
||||
<div class="container mt-4" style="padding-top: 20px;">
|
||||
<div class="row">
|
||||
<div class="col lp_div">
|
||||
<h1>Digitale Agentur</h1>
|
||||
<img src="{% static 'users/extra/da.png' %}" class="lp_images">
|
||||
<p class="lp_text">
|
||||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
|
||||
</p>
|
||||
<p class="lp_btnarea">
|
||||
<a class="btn btn-primary btn-lg" href="{% url 'register' %}">Registrieren</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="col lp_div">
|
||||
<h1>Kombi-Paket</h1>
|
||||
<img src="{% static 'users/extra/kp.png' %}" class="lp_images">
|
||||
<p class="lp_text">
|
||||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
|
||||
<p class="lp_btnarea">
|
||||
<a class="btn btn-primary btn-lg" href="#">Registrieren & Bestellen</a>
|
||||
</p>
|
||||
</p>
|
||||
</div>
|
||||
<div class="col">
|
||||
<h1>Notfallhilfe</h1>
|
||||
<img src="{% static 'users/extra/nf.png' %}" class="lp_images">
|
||||
<p class="lp_text">
|
||||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
|
||||
<p class="lp_btnarea">
|
||||
<a class="btn btn-primary btn-lg" href="#">Bestellen</a>
|
||||
</p>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock content %}
|
||||
|
|
@ -23,7 +23,6 @@
|
|||
<i class="fas fa-laptop"></i>
|
||||
<h3>Registrieren Sie Ihre Agentur</h3>
|
||||
</legend>
|
||||
|
||||
{% for field in form %}
|
||||
|
||||
{% if field.name != 'captcha' %}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ from django.contrib.auth.mixins import LoginRequiredMixin, UserPassesTestMixin
|
|||
from django.contrib.auth.decorators import login_required
|
||||
from django.conf import settings
|
||||
from .usersforms import UsersAddNewUser, UsersAddProfileForm, UsersChangeProfil, AgencyUpdateForm, UsersPermForm, UserAreaTaskForm, SupportForm, NewAgencyForm
|
||||
from django.views.generic import CreateView, ListView, UpdateView, DetailView, DeleteView, View
|
||||
from django.views.generic import CreateView, ListView, UpdateView, DetailView, DeleteView, View, TemplateView
|
||||
from django.contrib import messages
|
||||
from django.contrib.auth.models import User, Permission
|
||||
from django.db import models
|
||||
|
|
@ -1054,6 +1054,16 @@ def cronactions(request, code):
|
|||
return JsonResponse(data)
|
||||
|
||||
|
||||
'''
|
||||
|
||||
LANDING PAGE
|
||||
|
||||
'''
|
||||
class landingPage(TemplateView):
|
||||
template_name = "users/landingpage.html"
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super().get_context_data(**kwargs)
|
||||
|
||||
'''
|
||||
Gibt False zurück, wenn der User an diesem Tag KEINE Abwesenheiten hat, ansonsten True!
|
||||
|
|
|
|||
Loading…
Reference in New Issue