aboutsummaryrefslogtreecommitdiffstats
path: root/accounts
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2020-07-21 21:47:09 +0200
committerAndrea Lepori <alepori@student.ethz.ch>2020-07-21 21:47:09 +0200
commita531c5e12a65ac7c216bb3f91e510c1d31fbb06e (patch)
treec306bfc36f54815759cfe4b15b8f296865e2b70e /accounts
parentmodify gitignore (diff)
downloadscout-subs-7aa4a6aebbb65ca67da189e8c231d5dc330d5652.tar.gz
scout-subs-7aa4a6aebbb65ca67da189e8c231d5dc330d5652.zip
static files, last improvements0.1
Diffstat (limited to '')
-rw-r--r--accounts/templates/accounts/index.html18
1 files changed, 5 insertions, 13 deletions
diff --git a/accounts/templates/accounts/index.html b/accounts/templates/accounts/index.html
index 01240ad..2733050 100644
--- a/accounts/templates/accounts/index.html
+++ b/accounts/templates/accounts/index.html
@@ -366,22 +366,14 @@ var options = {
labelMonthPrev: 'Mese precedente',
labelMonthSelect: 'Seleziona un mese',
labelYearSelect: 'Seleziona un anno'
- }}
-
-var instance = M.Tabs.init(elem, options);
-
-document.addEventListener('DOMContentLoaded', function() {
- var elems = document.querySelectorAll('.datepicker');
- var instances = M.Datepicker.init(elems, options);
-});
-
-document.addEventListener('DOMContentLoaded', function() {
- var elems = document.querySelectorAll('select');
- var instances = M.FormSelect.init(elems, options);
-});
+ }
+}
$(document).ready(function() {
$('input#sickness, input#vaccine, input#allergy, input#drugs, input#misc').characterCounter();
+ $('.datepicker').datepicker(options);
+ $('.tabs').tabs();
+ $('select').formSelect();
});
/*!