hackathon_manager 0.5.6 → 0.5.7
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/core.sass +1 -0
- data/app/assets/stylesheets/hackathon_manager/general/_flashes.sass +18 -0
- data/app/assets/stylesheets/hackathon_manager/mailer.sass +19 -7
- data/app/assets/stylesheets/hackathon_manager/manage.sass +1 -4
- data/app/assets/stylesheets/variables.sass +6 -0
- data/app/controllers/manage/configs_controller.rb +12 -0
- data/app/views/layouts/hackathon_manager/_flashes.html.haml +6 -0
- data/app/views/layouts/hackathon_manager/application.html.haml +1 -0
- data/app/views/layouts/manage/application.html.haml +2 -0
- data/app/views/manage/configs/show.html.haml +29 -0
- data/app/views/manage/dashboard/index.html.haml +0 -3
- data/app/views/manage/questionnaires/_form.html.haml +0 -4
- data/app/views/manage/questionnaires/index.html.haml +0 -3
- data/app/views/manage/schools/merge.html.haml +0 -3
- data/app/views/manage/stats/index.html.haml +0 -3
- data/app/views/questionnaires/_form.html.haml +0 -4
- data/app/views/questionnaires/show.html.haml +0 -4
- data/app/views/rsvps/show.html.haml +0 -4
- data/config/routes.rb +2 -0
- data/lib/hackathon_manager/version.rb +1 -1
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc6e648015557244ac581d3ac19780801dfb05fc
|
4
|
+
data.tar.gz: 4e8514acedf9e573ae863235292cf71e6cbf9cbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5a80fdabe39840e91ef912fbe05ab239b5b3606f3f7abb4581557ce64243344b8add6fe03b8fff5b74cc61a9bca11e43972a4077ae2be1f34256cc340c1d2f7
|
7
|
+
data.tar.gz: db8bd628b1e79e940cf32aa7d97039abe7318ed7d7b85194d74d9f80a718a9444a1aec64d9b31f31df773ad7edc152cdd882f5c7a0efa89436707febe91530fb
|
@@ -0,0 +1,18 @@
|
|
1
|
+
.flashes
|
2
|
+
background: $flashes--background
|
3
|
+
color: $flashes--text
|
4
|
+
padding-top: 20px
|
5
|
+
padding-bottom: 20px
|
6
|
+
font-weight: 400
|
7
|
+
|
8
|
+
opacity: 0
|
9
|
+
animation: flashesFadeIn 400ms 100ms ease-out forwards
|
10
|
+
|
11
|
+
.flashes__icon
|
12
|
+
margin-right: 0.4em
|
13
|
+
|
14
|
+
@keyframes flashesFadeIn
|
15
|
+
0%
|
16
|
+
opacity: 0
|
17
|
+
100%
|
18
|
+
opacity: 1
|
@@ -9,11 +9,13 @@ body
|
|
9
9
|
font-weight: $font-light
|
10
10
|
text-align: center
|
11
11
|
margin: 0
|
12
|
+
padding: 0
|
12
13
|
body *
|
13
14
|
font-family: 'Open Sans', sans-serif
|
14
15
|
|
15
16
|
html
|
16
17
|
margin: 0
|
18
|
+
padding: 0
|
17
19
|
|
18
20
|
ul
|
19
21
|
list-style: none
|
@@ -35,12 +37,20 @@ table
|
|
35
37
|
#content
|
36
38
|
max-width: 800px
|
37
39
|
width: 100%
|
38
|
-
margin:
|
40
|
+
margin: 30px auto
|
39
41
|
background: white
|
42
|
+
@media (max-width: 800px)
|
43
|
+
margin: 0 auto
|
40
44
|
|
41
45
|
#main-content
|
42
46
|
background: white
|
43
|
-
padding: 20px
|
47
|
+
padding: 20px 40px 64px
|
48
|
+
@media (max-width: 800px)
|
49
|
+
padding-left: 35px
|
50
|
+
padding-right: 35px
|
51
|
+
@media (max-width: 500px)
|
52
|
+
padding-left: 20px
|
53
|
+
padding-right: 20px
|
44
54
|
|
45
55
|
|
46
56
|
.banner
|
@@ -57,18 +67,17 @@ table
|
|
57
67
|
.email-footer td span a
|
58
68
|
color: white
|
59
69
|
|
60
|
-
h1
|
61
|
-
line-height: 1.27
|
62
|
-
|
63
70
|
h1, h2
|
71
|
+
line-height: 1.27
|
64
72
|
font-weight: $font-light
|
65
73
|
text-transform: uppercase
|
66
|
-
font-size:
|
74
|
+
font-size: 30px
|
67
75
|
color: $primary
|
76
|
+
margin: 30px 0 30px
|
68
77
|
|
69
78
|
h3
|
70
79
|
font-weight: 600
|
71
|
-
font-size:
|
80
|
+
font-size: 20px
|
72
81
|
text-transform: uppercase
|
73
82
|
color: #fc401c
|
74
83
|
|
@@ -89,6 +98,9 @@ p
|
|
89
98
|
strong
|
90
99
|
font-weight: 600
|
91
100
|
|
101
|
+
img
|
102
|
+
max-width: 100%
|
103
|
+
|
92
104
|
div.center
|
93
105
|
margin: 0 auto
|
94
106
|
|
@@ -7,7 +7,7 @@
|
|
7
7
|
.manage
|
8
8
|
padding-left: 20px
|
9
9
|
padding-right: 20px
|
10
|
-
padding-top:
|
10
|
+
padding-top: 50px
|
11
11
|
|
12
12
|
.container-half, .container-full
|
13
13
|
max-width: none
|
@@ -27,14 +27,11 @@
|
|
27
27
|
margin: 0
|
28
28
|
|
29
29
|
#manageNav
|
30
|
-
position: absolute
|
31
30
|
z-index: 1
|
32
31
|
width: 100%
|
33
32
|
background: $black
|
34
33
|
color: $white
|
35
34
|
padding: 16px 20px 6px
|
36
|
-
@media(max-width: 840px)
|
37
|
-
padding-left: 70px
|
38
35
|
p, a
|
39
36
|
margin: 0 5px 10px
|
40
37
|
p
|
@@ -115,6 +115,12 @@ $alert--background--error: $red !default
|
|
115
115
|
$alert--border--error: $red !default
|
116
116
|
$alert--text--error: $white_pure !default
|
117
117
|
|
118
|
+
/*
|
119
|
+
* Flashes
|
120
|
+
*/
|
121
|
+
$flashes--background: hsl(51, 87%, 94%) !default
|
122
|
+
$flashes--text: hsl(40, 68%, 20%) !default
|
123
|
+
|
118
124
|
/*
|
119
125
|
* Account header
|
120
126
|
*/
|
@@ -20,7 +20,9 @@
|
|
20
20
|
= link_to "Stats", manage_stats_path
|
21
21
|
- unless current_user.admin_limited_access?
|
22
22
|
\|
|
23
|
+
= link_to "Config", manage_config_path
|
23
24
|
= link_to "Sidekiq", sidekiq_web_path
|
24
25
|
= link_to "Blazer", blazer_path
|
26
|
+
= render "layouts/hackathon_manager/flashes"
|
25
27
|
= yield
|
26
28
|
= render "layouts/hackathon_manager/shared_footer"
|
@@ -0,0 +1,29 @@
|
|
1
|
+
%section.section.manage
|
2
|
+
%h1.section-title= title "Hackathon Configuration"
|
3
|
+
|
4
|
+
%fieldset
|
5
|
+
%legend Environment Variables
|
6
|
+
%p
|
7
|
+
%em
|
8
|
+
Environment variables are configured on the production server.
|
9
|
+
%p
|
10
|
+
%b Carpool Link:
|
11
|
+
%pre= ENV['CARPOOL_LINK'] || '[No value]'
|
12
|
+
%p
|
13
|
+
%b Slack Sign Up URL:
|
14
|
+
%pre= ENV['SLACK_SIGNUP_URL'] || '[No value]'
|
15
|
+
%p
|
16
|
+
%b AWS S3 Bucket for Resumes:
|
17
|
+
%pre= ENV['AWS_BUCKET'] || '[No value]'
|
18
|
+
|
19
|
+
%fieldset
|
20
|
+
%legend Hackathon Manager Config
|
21
|
+
%p
|
22
|
+
%em
|
23
|
+
Hackathon Manager configuration can be changed in the source code at
|
24
|
+
%code config/hackathon.yml
|
25
|
+
\.
|
26
|
+
- Rails.configuration.hackathon.keys.each do |key|
|
27
|
+
%p
|
28
|
+
%b #{key}:
|
29
|
+
%pre= Rails.configuration.hackathon[key]
|
@@ -7,9 +7,6 @@
|
|
7
7
|
%span.fa.fa-warning.icon-space-r
|
8
8
|
Slack invites will be sent upon acceptance.
|
9
9
|
|
10
|
-
- if flash[:notice]
|
11
|
-
#disclaimer= flash[:notice]
|
12
|
-
|
13
10
|
%table.questionnaires.datatable.row-border.stripe.hover.order-column{ "data-source" => datatable_manage_questionnaires_path(format: :json) }
|
14
11
|
%thead
|
15
12
|
%tr
|
@@ -1,9 +1,6 @@
|
|
1
1
|
%section.section.manage
|
2
2
|
%h1.section-title= title "Statistics & Info"
|
3
3
|
|
4
|
-
- if flash[:notice]
|
5
|
-
#disclaimer= flash[:notice]
|
6
|
-
|
7
4
|
.container.container-full
|
8
5
|
%h4.dashboard-container-title Dietary Restrictions & Special Needs
|
9
6
|
%table.stats.datatable.row-border.stripe.hover.order-column{ "data-source" => dietary_special_needs_manage_stats_path(format: :json) }
|
@@ -23,10 +23,6 @@
|
|
23
23
|
|
24
24
|
%hr
|
25
25
|
|
26
|
-
- if flash[:notice]
|
27
|
-
.alert
|
28
|
-
= flash[:notice]
|
29
|
-
|
30
26
|
= simple_form_for @questionnaire, url: url_for(controller: "rsvps", action: "update"), html: { "data-validate" => "form" } do |f|
|
31
27
|
.form-inputs
|
32
28
|
= f.input :acc_status, as: :radio_buttons, collection: { " Attending!" => "rsvp_confirmed", " Not Attending." => "rsvp_denied" }, label: "Attendance:", required: true
|
data/config/routes.rb
CHANGED
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.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stuart Olivera
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -474,6 +474,7 @@ files:
|
|
474
474
|
- app/assets/stylesheets/hackathon_manager/forms/_forms.sass
|
475
475
|
- app/assets/stylesheets/hackathon_manager/general/_base.sass
|
476
476
|
- app/assets/stylesheets/hackathon_manager/general/_button.sass
|
477
|
+
- app/assets/stylesheets/hackathon_manager/general/_flashes.sass
|
477
478
|
- app/assets/stylesheets/hackathon_manager/general/_footer.sass
|
478
479
|
- app/assets/stylesheets/hackathon_manager/general/_header.sass
|
479
480
|
- app/assets/stylesheets/hackathon_manager/general/_main.sass
|
@@ -490,6 +491,7 @@ files:
|
|
490
491
|
- app/controllers/manage/admins_controller.rb
|
491
492
|
- app/controllers/manage/application_controller.rb
|
492
493
|
- app/controllers/manage/bus_lists_controller.rb
|
494
|
+
- app/controllers/manage/configs_controller.rb
|
493
495
|
- app/controllers/manage/dashboard_controller.rb
|
494
496
|
- app/controllers/manage/messages_controller.rb
|
495
497
|
- app/controllers/manage/questionnaires_controller.rb
|
@@ -532,6 +534,7 @@ files:
|
|
532
534
|
- app/views/devise/sessions/_form.html.haml
|
533
535
|
- app/views/devise/sessions/new.html.haml
|
534
536
|
- app/views/layouts/hackathon_manager/_account_nav.html.haml
|
537
|
+
- app/views/layouts/hackathon_manager/_flashes.html.haml
|
535
538
|
- app/views/layouts/hackathon_manager/_footer.html.haml
|
536
539
|
- app/views/layouts/hackathon_manager/_header.html.haml
|
537
540
|
- app/views/layouts/hackathon_manager/_shared_footer.html.haml
|
@@ -558,6 +561,7 @@ files:
|
|
558
561
|
- app/views/manage/bus_lists/index.html.haml
|
559
562
|
- app/views/manage/bus_lists/new.html.haml
|
560
563
|
- app/views/manage/bus_lists/show.html.haml
|
564
|
+
- app/views/manage/configs/show.html.haml
|
561
565
|
- app/views/manage/dashboard/index.html.haml
|
562
566
|
- app/views/manage/dashboard/map_data.tsv.erb
|
563
567
|
- app/views/manage/messages/_form.html.haml
|