hackathon_manager 0.5.8 → 0.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/hackathon_manager/forms/_forms.sass +23 -1
- data/app/models/questionnaire.rb +3 -3
- data/app/views/application/_questionnaire_summary.html.haml +1 -1
- data/app/views/questionnaires/show.html.haml +2 -4
- data/app/views/rsvps/show.html.haml +3 -3
- data/lib/hackathon_manager/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2e21c09fe4f13fff062eb78c01cca1a70f528ea
|
4
|
+
data.tar.gz: e3358739189286f47332e13d7a835fad10db34d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b247e8aca8d851af7b9eb59865f9fe690fdbdcff20835e6c0f575952192321867381e74523c955be90b55b0e8fccfe955ee95343806d2c530cc19ca25c2628de
|
7
|
+
data.tar.gz: 063cc9f56440ca9f82bcca75585bd1b077fb425f92dfa197eb226c23c727309b2304325849cb5ff54156cbb1646b20791abf45935201cb50cf310d1347b21a1d
|
@@ -105,7 +105,7 @@ label
|
|
105
105
|
text-align: left
|
106
106
|
|
107
107
|
// all form input types
|
108
|
-
input[type=text], input[type=email], input[type=tel], input[type=date], input[type="url"], input[type=password], input[type=file], input[type=checkbox], textarea, select
|
108
|
+
input[type=text], input[type=email], input[type=tel], input[type=date], input[type="url"], input[type=password], input[type=file], input[type=checkbox], input[type=radio], textarea, select
|
109
109
|
background: $input--background
|
110
110
|
color: $input--text
|
111
111
|
font-family: $font-body-family
|
@@ -180,6 +180,28 @@ input[type=checkbox]
|
|
180
180
|
.radio
|
181
181
|
min-width: 170px
|
182
182
|
|
183
|
+
// checkbox
|
184
|
+
input[type=radio]
|
185
|
+
@include appearance(none)
|
186
|
+
width: 22px
|
187
|
+
height: 22px
|
188
|
+
padding: 1px
|
189
|
+
margin: 0 10px 0 0
|
190
|
+
@include border-radius(50%)
|
191
|
+
&:hover
|
192
|
+
background: #eee
|
193
|
+
&:checked
|
194
|
+
&::after
|
195
|
+
content: ""
|
196
|
+
background: $primary
|
197
|
+
display: block
|
198
|
+
width: 100%
|
199
|
+
height: 100%
|
200
|
+
transform: scale(0.8)
|
201
|
+
@include border-radius(50%)
|
202
|
+
&:focus
|
203
|
+
padding: 0
|
204
|
+
|
183
205
|
input[type=radio]
|
184
206
|
margin-right: 10px
|
185
207
|
|
data/app/models/questionnaire.rb
CHANGED
@@ -11,9 +11,9 @@ class Questionnaire < ApplicationRecord
|
|
11
11
|
validates_presence_of :code_of_conduct_accepted, message: "Must accept"
|
12
12
|
validates_presence_of :data_sharing_accepted, message: "Must accept"
|
13
13
|
|
14
|
-
if HackathonManager.field_enabled?(:why_attend)
|
15
|
-
|
16
|
-
end
|
14
|
+
# if HackathonManager.field_enabled?(:why_attend)
|
15
|
+
# validates_presence_of :why_attend
|
16
|
+
# end
|
17
17
|
|
18
18
|
has_attached_file :resume
|
19
19
|
validates_attachment_content_type :resume, content_type: %w[application/pdf], message: "Invalid file type"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
- if HackathonManager.field_enabled?(:why_attend)
|
2
2
|
%p
|
3
3
|
%b Why #{Rails.configuration.hackathon['name']}?
|
4
|
-
%p= @questionnaire.why_attend
|
4
|
+
%p= @questionnaire.why_attend.presence || "(not provided)"
|
5
5
|
%p
|
6
6
|
%b Experience:
|
7
7
|
= Questionnaire::POSSIBLE_EXPERIENCES[@questionnaire.experience]
|
@@ -13,10 +13,8 @@
|
|
13
13
|
- if @questionnaire.acc_status == "rsvp_confirmed"
|
14
14
|
%p
|
15
15
|
Congratulations! You're all set to attend #{Rails.configuration.hackathon['name']}!
|
16
|
-
|
17
|
-
|
18
|
-
%br
|
19
|
-
%br
|
16
|
+
- if Rails.configuration.hackathon['thanks_for_rsvp']
|
17
|
+
= markdown(Rails.configuration.hackathon['thanks_for_rsvp'])
|
20
18
|
%p.center
|
21
19
|
= btn_link_to "Change RSVP", rsvp_path
|
22
20
|
- else
|
@@ -10,9 +10,9 @@
|
|
10
10
|
ALL SET TO ATTEND & RIDE THE BUS!
|
11
11
|
- else
|
12
12
|
ALL SET TO ATTEND!
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
- if Rails.configuration.hackathon['thanks_for_rsvp']
|
14
|
+
%br
|
15
|
+
= markdown(Rails.configuration.hackathon['thanks_for_rsvp'])
|
16
16
|
- else
|
17
17
|
%strong= current_user.questionnaire.verbal_status.upcase
|
18
18
|
- if @questionnaire.acc_status == "rsvp_denied"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hackathon_manager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stuart Olivera
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|