diff --git a/pyconbalkan/core/static/css/components/datepicker.css b/pyconbalkan/core/static/css/components/datepicker.css new file mode 100644 index 00000000..330eb2a9 --- /dev/null +++ b/pyconbalkan/core/static/css/components/datepicker.css @@ -0,0 +1,10 @@ +.ui-datepicker { + background-color: #32383A; + border: 1px solid #66AFE9; + border-radius: 4px; + box-shadow: 0 0 8px rgba(102,175,233,.6); + display: none; + margin-top: 4px; + padding: 10px; + width: 240px; +} \ No newline at end of file diff --git a/pyconbalkan/core/static/js/volunteer.js b/pyconbalkan/core/static/js/volunteer.js new file mode 100644 index 00000000..e5b29d93 --- /dev/null +++ b/pyconbalkan/core/static/js/volunteer.js @@ -0,0 +1,5 @@ +$( ".datepicker" ).datepicker({ + changeMonth: true, + changeYear: true, + yearRange: "1900:2018" +}); \ No newline at end of file diff --git a/pyconbalkan/core/templates/base.html b/pyconbalkan/core/templates/base.html index 6bfc6af6..362f39fd 100644 --- a/pyconbalkan/core/templates/base.html +++ b/pyconbalkan/core/templates/base.html @@ -24,6 +24,7 @@ + diff --git a/pyconbalkan/core/templates/includes/event_sidebar.html b/pyconbalkan/core/templates/includes/event_sidebar.html index 5ba0b566..df626ca4 100644 --- a/pyconbalkan/core/templates/includes/event_sidebar.html +++ b/pyconbalkan/core/templates/includes/event_sidebar.html @@ -21,6 +21,7 @@

#1

Join Us! + Volunteer!