diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2020-07-21 21:47:09 +0200 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2020-07-21 21:47:09 +0200 |
commit | a531c5e12a65ac7c216bb3f91e510c1d31fbb06e (patch) | |
tree | c306bfc36f54815759cfe4b15b8f296865e2b70e /accounts | |
parent | modify gitignore (diff) | |
download | scout-subs-a531c5e12a65ac7c216bb3f91e510c1d31fbb06e.tar.gz scout-subs-a531c5e12a65ac7c216bb3f91e510c1d31fbb06e.zip |
static files, last improvements0.1
Diffstat (limited to 'accounts')
-rw-r--r-- | accounts/templates/accounts/index.html | 18 |
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(); }); /*! |