- square date
- fixed typos - missed mCss inits
This commit is contained in:
@@ -21,7 +21,6 @@ dbConnector::connect(
|
||||
$cwsvJudoConfig['db']['password']
|
||||
);
|
||||
|
||||
eventPlaner::setDbConnection(dbConnector::getDbConnection());
|
||||
participo::authentificate();
|
||||
$userData = getUserData(dbConnector::getDbConnection(), $_SESSION['user']['userId']);
|
||||
?>
|
||||
@@ -36,23 +35,34 @@ $userData = getUserData(dbConnector::getDbConnection(), $_SESSION['user']['userI
|
||||
|
||||
<!-- inits for the materializeCss -->
|
||||
<script>
|
||||
function initSidenav() {
|
||||
var sidenavElements = document.querySelectorAll('.sidenav');
|
||||
var sidenavInstances = M.Sidenav.init(sidenavElements, {
|
||||
});
|
||||
};
|
||||
function initModals() {
|
||||
var modalElements = document.querySelectorAll('.modal');
|
||||
var modalInstances = M.Modal.init(modalElements, {
|
||||
});
|
||||
};
|
||||
|
||||
// What to do when the document is loaded.
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
document . addEventListener('DOMContentLoaded', function () {
|
||||
// init materialize elements
|
||||
initModals();
|
||||
initSidenav();
|
||||
initSelects();
|
||||
});
|
||||
|
||||
function initSidenav() {
|
||||
var sidenavElements = document.querySelectorAll('.sidenav');
|
||||
// var sidenavInstances =
|
||||
M.Sidenav.init(sidenavElements, {
|
||||
});
|
||||
};
|
||||
// Init Modals
|
||||
function initModals() {
|
||||
var modalElements = document.querySelectorAll('.modal');
|
||||
// var modalInstances =
|
||||
M.Modal.init(modalElements, {
|
||||
'onOpenEnd': initSelects
|
||||
});
|
||||
};
|
||||
// Init select forms
|
||||
function initSelects() {
|
||||
var selectElements = document.querySelectorAll('select');
|
||||
// var selectInstances =
|
||||
M.FormSelect.init(selectElements, {});
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>h1{ font-size: 2.00rem;}h2{ font-size: 1.50rem;}h3{ font-size: 1.25rem;}h3{ font-size: 1.20rem;}h3{ font-size: 1.15rem;}h6{ font-size: 1.10rem;}</style>
|
||||
@@ -120,7 +130,7 @@ echo(
|
||||
AppCard::fromArray([
|
||||
'link' => 'events',
|
||||
'title' => 'Event-Planer',
|
||||
'description' => 'Organisieren der Teilnahmen (und nicht-Teilnahmen) an Wettkämpfen, Sondertrainingseinheiten, Feiern etc.' . eventPlaner::getHtmlEventTable(eventPlaner::getCommingWkEvents()),
|
||||
'description' => 'Organisieren der Teilnahmen (und nicht-Teilnahmen) an Wettkämpfen, Sondertrainingseinheiten, Feiern etc.' . eventPlaner::getHtmlEventTable(eventPlaner::getComingWkEvents()),
|
||||
'imgUrl' => '/ressourcen/graphiken/icons/terminKalender.svg',
|
||||
'actions' => [
|
||||
AppCardAction::fromArray(['caption' => 'Planer', 'link' => 'events']),
|
||||
|
||||
Reference in New Issue
Block a user