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/css/components/volunteer.css b/pyconbalkan/core/static/css/components/volunteer.css new file mode 100644 index 00000000..338d7fd1 --- /dev/null +++ b/pyconbalkan/core/static/css/components/volunteer.css @@ -0,0 +1,7 @@ +#id_country { + height: 40px; +} + +#id_profile_picture{ + color: white; +} diff --git a/pyconbalkan/core/static/js/volunteer.js b/pyconbalkan/core/static/js/volunteer.js new file mode 100644 index 00000000..686082a4 --- /dev/null +++ b/pyconbalkan/core/static/js/volunteer.js @@ -0,0 +1,7 @@ +$( ".datepicker" ).datepicker({ + changeMonth: true, + changeYear: true, + yearRange: "1900:2018" +}); + +$("#id_description").addClass("form-control"); diff --git a/pyconbalkan/core/templates/base.html b/pyconbalkan/core/templates/base.html index a2009405..b357940e 100644 --- a/pyconbalkan/core/templates/base.html +++ b/pyconbalkan/core/templates/base.html @@ -22,6 +22,7 @@ + @@ -37,6 +38,7 @@ + diff --git a/pyconbalkan/core/templates/includes/event_sidebar.html b/pyconbalkan/core/templates/includes/event_sidebar.html index 62e67ca8..3943f1f4 100644 --- a/pyconbalkan/core/templates/includes/event_sidebar.html +++ b/pyconbalkan/core/templates/includes/event_sidebar.html @@ -20,11 +20,11 @@