Compare commits

..

6 Commits

Author SHA1 Message Date
84e42372ff Sync dev with master
All checks were successful
website-dev / dev-build (push) Successful in 23s
2024-01-26 09:23:22 +01:00
c9c4658208
fix js filters
All checks were successful
website-main / prod-build (push) Successful in 16s
website-main / test-build (push) Successful in 8s
2024-01-26 09:22:35 +01:00
8763815ced content/alumninetzwerk/_index.md aktualisiert
All checks were successful
website-main / prod-build (push) Successful in 34s
website-main / test-build (push) Successful in 6s
2024-01-23 21:11:32 +01:00
48e265cc40 layouts/alumninetzwerk/list.html aktualisiert
Some checks failed
website-main / prod-build (push) Successful in 10s
website-main / test-build (push) Has been cancelled
2024-01-23 21:11:16 +01:00
e3d8dda778 Zusatzseite alumninetzwerk-registrierung-abgeschlossen aktualisiert
All checks were successful
website-main / prod-build (push) Successful in 10s
website-main / test-build (push) Successful in 5s
2024-01-23 21:06:21 +01:00
7b4d649507 Zusatzseite alumninetzwerk-registrierung-abgeschlossen erstellt
All checks were successful
website-main / prod-build (push) Successful in 21s
website-main / test-build (push) Successful in 9s
2024-01-23 21:04:59 +01:00
4 changed files with 40 additions and 13 deletions

@ -18,7 +18,7 @@
} }
// load scripts // load scripts
$(window).on('load', () => { $(window).on('load', function() {
$('.preloader').fadeOut(100); $('.preloader').fadeOut(100);
adaptHeight(); adaptHeight();
if ($('#top-banner').length) { if ($('#top-banner').length) {
@ -48,7 +48,7 @@
}); });
// venobox popup // venobox popup
$(document).ready(() => { $(document).ready(function() {
$('.vb-video').venobox({ spinner: 'grid' }); $('.vb-video').venobox({ spinner: 'grid' });
$('.vb-gallery').venobox({ $('.vb-gallery').venobox({
selector: '.vb-gallery', selector: '.vb-gallery',
@ -61,14 +61,14 @@
}); });
// filter // filter
$(document).ready(() => { $(document).ready(function() {
if ($('.filter-container').length != 0) { if ($('.filter-container').length != 0) {
const shuffleInstance = new Shuffle($('.filter-container'), { const shuffleInstance = new Shuffle($('.filter-container'), {
itemSelector: '.filter-item', itemSelector: '.filter-item',
sizer: '.filter-sizer', sizer: '.filter-sizer',
delimiter: ',' delimiter: ','
}); });
$('.filter-controls li').on('click',() => { $('.filter-controls li').on('click', function() {
$('.filter-controls li').removeClass('active'); $('.filter-controls li').removeClass('active');
$(this).addClass('active'); $(this).addClass('active');
shuffleInstance.filter($(this).data('filter')) shuffleInstance.filter($(this).data('filter'))
@ -77,27 +77,27 @@
}); });
// counter // counter
$(window).on('scroll', () => { $(window).on('scroll', function() {
var oTop; var oTop;
if ($('.count').length !== 0) { if ($('.count').length !== 0) {
oTop = $('.count').offset().top - window.innerHeight; oTop = $('.count').offset().top - window.innerHeight;
} }
if ($(window).scrollTop() > oTop) { if ($(window).scrollTop() > oTop) {
$('.count').each(() => { $('.count').each(function() {
var $this = $(this), countTo = $this.attr('data-count'); var $this = $(this), countTo = $this.attr('data-count');
$({ countNum: $this.text() }).animate( $({ countNum: $this.text() }).animate(
{ countNum: countTo }, { countNum: countTo },
{ {
duration: 1000, duration: 1000,
easing: 'swing', easing: 'swing',
step: () => $this.text(Math.floor(this.countNum)), step: function() { return $this.text(Math.floor(this.countNum)) },
complete: () => $this.text(this.countNum) complete: function() { return $this.text(this.countNum) },
}); });
}); });
} }
}); });
$(window).on('DOMContentLoaded', () => { $(window).on('DOMContentLoaded', function() {
if (window.PagefindUI != undefined) { if (window.PagefindUI != undefined) {
new window.PagefindUI({ new window.PagefindUI({
element: "#search", element: "#search",
@ -108,7 +108,7 @@
} }
}); });
$('#pagefind-search').on('shown.bs.modal', () => { $('#pagefind-search').on('shown.bs.modal', function() {
$('.pagefind-ui__search-input').focus(); $('.pagefind-ui__search-input').focus();
}); });
} }
@ -120,7 +120,7 @@
_paq.push(["disableCookies"]); _paq.push(["disableCookies"]);
_paq.push(['trackPageView']); _paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']); _paq.push(['enableLinkTracking']);
(() => { (function() {
var u="https://analytics.cantorgymnasium.de/"; var u="https://analytics.cantorgymnasium.de/";
_paq.push(['setTrackerUrl', u+'matomo.php']); _paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']); _paq.push(['setSiteId', '1']);

@ -1,6 +1,5 @@
--- ---
title: Alumninetzwerk title: Alumninetzwerk
draft: true
aliases: aliases:
- /schulchronik/pages/alumninetzwerk - /schulchronik/pages/alumninetzwerk
- /chronikseiten/alumninetzwerk - /chronikseiten/alumninetzwerk

@ -0,0 +1,20 @@
---
title: "Alumninetzwerk: Registrierung abgeschlossen"
draft: false
type: pages
---
Sehr geehrte/r Alumni,
vielen Dank für Ihre Rückmeldung!
Ihre Kontaktdaten wurden erfolgreich in unser System aufgenommen.
Viele Grüße
Ihr Team des Georg-Cantor-Gymnasiums
{{< card title="Zurück zur Startseite" link="https://cantorgymnasium.de/" >}}

@ -3,7 +3,7 @@
<section class="section" data-pagefind-body> <section class="section" data-pagefind-body>
<div class="container"> <div class="container">
<form <form
action="https://php.cantorgymnasium.de/formtools/process.php" action="https://forms.cantorgymnasium.de/form/alumninetzwerk"
method="post" method="post"
> >
<input type="hidden" name="form_tools_form_id" value="7" /> <input type="hidden" name="form_tools_form_id" value="7" />
@ -36,6 +36,14 @@
placeholder="Abiturjahrgang" placeholder="Abiturjahrgang"
required required
/> />
<input
type="text"
class="form-control mb-3"
id="tutor"
name="tutor"
placeholder="Tutor"
required
/>
<input <input
type="email" type="email"
class="form-control mb-3" class="form-control mb-3"