Landingpage neues Design und Bugs

This commit is contained in:
holger.trampe 2020-10-27 21:07:47 +01:00
parent 8852a0e446
commit 9d7e4b5a0d
4 changed files with 57 additions and 12 deletions

View File

@ -41,7 +41,10 @@ CRONAPIKEY = "gCddsaz6NOnE9QbXZM5LasdEk122D"
CRONAPIKEY_STATSTIC = "gCddsaz6NOnE9QbXZM5LasdEk122D"
MAILINFOKEY = "jka7sd8iukashdna78skduJAHDsu6dilaksdjba65a68iadbhjak"
# API KEY LEXOFFICE
LEX_API = "8f9ba01f-9e84-42c7-9548-48c254f14c19"
#ALTER LEX_API = "8f9ba01f-9e84-42c7-9548-48c254f14c19"
# Gültig bis 17.10.2022
LEX_API = "8dcbd7a5-9447-417f-a4a4-989818742a36"
# KEYS FOR ENCRYPTED FILE FIELDS
DEFF_SALT = 'A-!GDtuKp?H/H5-UUatEh6ZcG/6h-VQf1OkDORRkK0(:(qCf//'

View File

@ -6,7 +6,7 @@
<style type="text/css">
#overview {
width: 70%;
margin-top: 2%;
margin-top: 1%;
text-align: center;
}
.lp_images {
@ -17,12 +17,18 @@
border-color: #5c5554;
}
.lp_text{
font-size: 10pt;
font-size: 11pt;
margin-top: 20px;
text-align: left;
list-style: none;
}
.lp_btnarea {
text-align: center;
margin-top: 20px;
vertical-align: bottom;
margin-bottom: 2px !important;
}
.lp_price {
color: red;
}
</style>
<!-- TASK: Hier die Infos zu den Texten noch reinnehmen... -->
@ -31,7 +37,7 @@
<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>
<!--<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">
@ -39,10 +45,21 @@
<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.
<ul class="lp_text">
<li><i class="fas fa-check-circle" style="color: red"></i>&nbsp;kontinuierlicher Support</li>
<li><i class="fas fa-check-circle" style="color: red"></i>&nbsp;Software Made in Germany</li>
<li><i class="fas fa-check-circle" style="color: red"></i>&nbsp;100% inländische Datenspeicherung</li>
<li><i class="fas fa-check-circle" style="color: red"></i>&nbsp;monatlich kündbar</li>
<li><i class="fas fa-check-circle" style="color: red"></i>&nbsp;keine Mindestlaufzeit</li>
<li><i class="fas fa-check-circle" style="color: red"></i>&nbsp;exklusiv für VVE-Mitglieder</li>
</ul>
</p>
<p class="lp_btnarea">
<a class="btn btn-primary btn-lg" href="{% url 'register' %}">Registrieren</a>
<p class="lp_price">
<h2 class="lp_price"><b>24,99 €</b></h2>
<small class="lp_price">Brutto pro Monat inkl. drei Nutzer<br />jeder weitere Nutzer 3,52 €</small>
</p>
<p class="lp_btnarea" style="margin-top: 36px;">
<a class="btn btn-primary btn-lg" href="{% url 'register' %}">Kostenlos testen</a>
</p>
</div>
@ -50,7 +67,18 @@
<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.
<ul class="lp_text" style="font-size: 11pt;">
<li><i class="fas fa-check-circle" style="color: red;"></i>&nbsp;Was passiert mit der Agentur, wenn aufgrund von z.B. Krankheit oder Unfall über längere Zeit ein Ausfall entsteht?</li>
<li><i class="fas fa-check-circle" style="color: red;"></i>&nbsp;Welche Ansprüche aus privater und gewerblicher Vorsorge haben die Angehörigen „im Falle eines Falles“?</li>
<li><i class="fas fa-check-circle" style="color: red;"></i>&nbsp;Von wem können Sie, die Angehörigen und Vertrauenspersonen, Unterstützung erfahren?</li>
</ul>
<p class="lp_price">
<h2 class="lp_price"><b>25,00 €</b></h2>
<small class="lp_price">Brutto für Konfektionierung, Versand und Porto</small>
</p>
<p class="lp_btnarea">
<a class="btn btn-primary btn-lg" href="{% url 'register-ord' %}">Bestellen</a>
</p>
@ -61,9 +89,15 @@
<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.
Wenn Sie die Notfallhilfe beim Abschluss des Abonnements der Digitalen Agentur hinzubuchen, sparen Sie € 10,00 auf die Notfallhilfe und erhalten zudem Zugriff auf die digitale Version der Notfallhilfe.
<br /><br />
Starten Sie dafür einfach den <a href="{% url 'register' %}">kostenlosen Testzeitraum</a> und wählen unter "Einstellungen" und "Abrechnung" die Notfallhilfe an.
</p>
<p class="lp_price">
<small>Im Kombipakett zahlen Sie für die Notfallhilfe statt <span style="color: red"><s>25,00 €</s></small>
<h2 class="lp_price"><small style="font-size: 9pt;">nur </small><b>15,00 €</b></h2>
</p>
</div>
</div>
</div>

View File

@ -428,7 +428,15 @@ def dashboard(request):
filterdate = datetime.now()
#news = News.objects.filter(agency__pk=request.user.profile.agency.pk).filter(go_online_on__let=filterdate).filter(go_offline_on__get=filterdate).order_by('-go_online_on')[:4]
news = news = News.objects.filter(agency__pk=request.user.profile.agency.pk).filter(go_online_on__lt=filterdate).filter(go_offline_on__gt=filterdate).order_by('-created_date') | News.objects.filter(agency__pk=request.user.profile.agency.pk).filter(go_online_on__lt=filterdate).filter(go_offline_on__isnull=True).order_by('-created_date')
news_all = News.objects.filter(agency__pk=request.user.profile.agency.pk).filter(go_online_on__lt=filterdate).filter(go_offline_on__gt=filterdate).order_by('-created_date') | News.objects.filter(agency__pk=request.user.profile.agency.pk).filter(go_online_on__lt=filterdate).filter(go_offline_on__isnull=True).order_by('-created_date')
# Maximal fünf News final zur Seite schicken!
news = []
for n in news_all:
if len(news) < 5:
news.append(n)
context.update({'active_link' : 'dashboard', 'standards_of_agency' : standards_of_agency, 'news' : news})
# GET ACUTAL ABSENCES