spina-conferences-primer_theme-fork 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +33 -0
- data/Rakefile +36 -0
- data/app/assets/config/spina_conferences_primer_theme_manifest.js +9 -0
- data/app/assets/javascripts/spina/conferences/primer_theme/application.js +7 -0
- data/app/assets/javascripts/spina/conferences/primer_theme/controllers/slideshow_controller.es6 +68 -0
- data/app/assets/stylesheets/spina/conferences/primer_theme/_custom.sass +0 -0
- data/app/assets/stylesheets/spina/conferences/primer_theme/_custom_variables.sass +0 -0
- data/app/assets/stylesheets/spina/conferences/primer_theme/application.sass +44 -0
- data/app/controllers/spina/conferences/primer_theme/conferences/application_controller.rb +16 -0
- data/app/controllers/spina/conferences/primer_theme/conferences/conferences_controller.rb +72 -0
- data/app/controllers/spina/conferences/primer_theme/conferences/presentations_controller.rb +42 -0
- data/app/controllers/spina/conferences/primer_theme/journal/application_controller.rb +13 -0
- data/app/controllers/spina/conferences/primer_theme/journal/articles_controller.rb +69 -0
- data/app/controllers/spina/conferences/primer_theme/journal/issues_controller.rb +53 -0
- data/app/helpers/spina/conferences/primer_theme/application_helper.rb +36 -0
- data/app/helpers/spina/conferences/primer_theme/asset_helper.rb +51 -0
- data/app/helpers/spina/conferences/primer_theme/navigations_helper.rb +24 -0
- data/app/views/conferences_primer_theme/pages/about.html.haml +92 -0
- data/app/views/conferences_primer_theme/pages/committee.html.haml +42 -0
- data/app/views/conferences_primer_theme/pages/embedded_form.html.haml +9 -0
- data/app/views/conferences_primer_theme/pages/events.html.haml +59 -0
- data/app/views/conferences_primer_theme/pages/homepage.html.haml +34 -0
- data/app/views/conferences_primer_theme/pages/information.html.haml +5 -0
- data/app/views/conferences_primer_theme/pages/show.html.haml +2 -0
- data/app/views/layouts/conferences_primer_theme/application.html.haml +7 -0
- data/app/views/layouts/spina/conferences/primer_theme/application.html.haml +40 -0
- data/app/views/layouts/spina/conferences/primer_theme/conferences/conferences.html.haml +5 -0
- data/app/views/layouts/spina/conferences/primer_theme/conferences/presentations.html.haml +6 -0
- data/app/views/layouts/spina/conferences/primer_theme/journal/articles.html.haml +2 -0
- data/app/views/layouts/spina/conferences/primer_theme/journal/issues.html.haml +2 -0
- data/app/views/spina/admin/layout_partables/texts/_form.html.haml +4 -0
- data/app/views/spina/application/_cookies.html.haml +7 -0
- data/app/views/spina/application/_current_conference_alert.html.haml +4 -0
- data/app/views/spina/application/_footer.html.haml +17 -0
- data/app/views/spina/application/_footer_content.html.haml +13 -0
- data/app/views/spina/application/_list_item.html.haml +1 -0
- data/app/views/spina/application/_logo.html.haml +1 -0
- data/app/views/spina/application/_mobile_navigation_item.html.haml +12 -0
- data/app/views/spina/application/_mobile_navigation_items.html.haml +4 -0
- data/app/views/spina/application/_navigation.html.haml +11 -0
- data/app/views/spina/application/_navigation_item.html.haml +11 -0
- data/app/views/spina/application/_text.html.haml +1 -0
- data/app/views/spina/conferences/primer_theme/conferences/conferences/_conference.html.haml +15 -0
- data/app/views/spina/conferences/primer_theme/conferences/conferences/_event.html.haml +12 -0
- data/app/views/spina/conferences/primer_theme/conferences/conferences/_events.html.haml +16 -0
- data/app/views/spina/conferences/primer_theme/conferences/conferences/_header.html.haml +47 -0
- data/app/views/spina/conferences/primer_theme/conferences/conferences/_institution.html.haml +5 -0
- data/app/views/spina/conferences/primer_theme/conferences/conferences/_institution_logo.html.haml +4 -0
- data/app/views/spina/conferences/primer_theme/conferences/conferences/_presentation.html.haml +15 -0
- data/app/views/spina/conferences/primer_theme/conferences/conferences/_presentation_type.html.haml +5 -0
- data/app/views/spina/conferences/primer_theme/conferences/conferences/_presentations.html.haml +29 -0
- data/app/views/spina/conferences/primer_theme/conferences/conferences/_submission_flash.html.haml +10 -0
- data/app/views/spina/conferences/primer_theme/conferences/conferences/index.html.haml +23 -0
- data/app/views/spina/conferences/primer_theme/conferences/conferences/show.html.haml +37 -0
- data/app/views/spina/conferences/primer_theme/conferences/kaminari/_gap.html.haml +2 -0
- data/app/views/spina/conferences/primer_theme/conferences/kaminari/_next_page.html.haml +9 -0
- data/app/views/spina/conferences/primer_theme/conferences/kaminari/_page.html.haml +10 -0
- data/app/views/spina/conferences/primer_theme/conferences/kaminari/_paginator.html.haml +17 -0
- data/app/views/spina/conferences/primer_theme/conferences/kaminari/_prev_page.html.haml +9 -0
- data/app/views/spina/conferences/primer_theme/conferences/presentations/_abstract.html.haml +2 -0
- data/app/views/spina/conferences/primer_theme/conferences/presentations/_attachment.html.haml +5 -0
- data/app/views/spina/conferences/primer_theme/conferences/presentations/_attachments.html.haml +5 -0
- data/app/views/spina/conferences/primer_theme/conferences/presentations/show.html.haml +18 -0
- data/app/views/spina/conferences/primer_theme/journal/articles/_authorship.html.haml +6 -0
- data/app/views/spina/conferences/primer_theme/journal/articles/_metadata.html.haml +36 -0
- data/app/views/spina/conferences/primer_theme/journal/articles/show.html.haml +70 -0
- data/app/views/spina/conferences/primer_theme/journal/issues/_article.html.haml +15 -0
- data/app/views/spina/conferences/primer_theme/journal/issues/_issue.html.haml +17 -0
- data/app/views/spina/conferences/primer_theme/journal/issues/_issue_cover.html.haml +6 -0
- data/app/views/spina/conferences/primer_theme/journal/issues/index.html.haml +30 -0
- data/app/views/spina/conferences/primer_theme/journal/issues/show.html.haml +27 -0
- data/config/initializers/assets.rb +13 -0
- data/config/initializers/mime_types.rb +1 -0
- data/config/initializers/primer.rb +3 -0
- data/config/initializers/themes/conferences_primer_theme.rb +237 -0
- data/config/locales/en.rb +16 -0
- data/config/locales/en.yml +198 -0
- data/config/routes.rb +17 -0
- data/db/migrate/20210206170704_change_current_conference_alert_to_text.rb +46 -0
- data/lib/spina/conferences/primer_theme.rb +17 -0
- data/lib/spina/conferences/primer_theme/breadcrumbs/builder.rb +34 -0
- data/lib/spina/conferences/primer_theme/engine.rb +13 -0
- data/lib/spina/conferences/primer_theme/version.rb +9 -0
- data/lib/tasks/spina/conferences/primer_theme_tasks.rake +6 -0
- metadata +396 -0
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
{
|
4
|
+
en: {
|
5
|
+
date: {
|
6
|
+
formats: {
|
7
|
+
full: ->(time, _) { "%A, #{time.day.ordinalize} %B %Y" }
|
8
|
+
}
|
9
|
+
},
|
10
|
+
time: {
|
11
|
+
formats: {
|
12
|
+
ordinal_datetime_with_year: ->(time, _) { "#{time.day.ordinalize} %b %Y, %R" }
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
@@ -0,0 +1,198 @@
|
|
1
|
+
# Files in the config/locales directory are used for internationalization
|
2
|
+
# and are automatically loaded by Rails. If you want to use locales other
|
3
|
+
# than English, add the necessary files in this directory.
|
4
|
+
#
|
5
|
+
# To use the locales, use `I18n.t`:
|
6
|
+
#
|
7
|
+
# I18n.t 'hello'
|
8
|
+
#
|
9
|
+
# In views, this is aliased to just `t`:
|
10
|
+
#
|
11
|
+
# <%= t(:'hello') %>
|
12
|
+
#
|
13
|
+
# To use a different locale, set it with `I18n.locale`:
|
14
|
+
#
|
15
|
+
# I18n.locale = :es
|
16
|
+
#
|
17
|
+
# This would use the information in config/locales/es.yml.
|
18
|
+
#
|
19
|
+
# The following keys must be escaped otherwise they will not be retrieved by
|
20
|
+
# the default I18n backend:
|
21
|
+
#
|
22
|
+
# true, false, on, off, yes, no
|
23
|
+
#
|
24
|
+
# Instead, surround them with single quotes.
|
25
|
+
#
|
26
|
+
# en:
|
27
|
+
# 'true': 'foo'
|
28
|
+
#
|
29
|
+
# To learn more, please read the Rails Internationalization guide
|
30
|
+
# available at http://guides.rubyonrails.org/i18n.html.
|
31
|
+
|
32
|
+
en:
|
33
|
+
layouts:
|
34
|
+
spina:
|
35
|
+
conferences:
|
36
|
+
primer_theme:
|
37
|
+
application:
|
38
|
+
title: "%{title} — %{suffix}"
|
39
|
+
|
40
|
+
conferences_primer_theme:
|
41
|
+
pages:
|
42
|
+
about:
|
43
|
+
contact:
|
44
|
+
title: Contact
|
45
|
+
constitution:
|
46
|
+
title: Constitution
|
47
|
+
uploaded: Uploaded %{date}
|
48
|
+
download: Download
|
49
|
+
no_constitution: No constitution uploaded.
|
50
|
+
minutes:
|
51
|
+
title: Minutes
|
52
|
+
no_minutes: No minutes added.
|
53
|
+
minutes_for_html: Minutes for %{date}
|
54
|
+
download: Download
|
55
|
+
no_file: No file uploaded.
|
56
|
+
no_date: No date specified.
|
57
|
+
documents:
|
58
|
+
title: Documents
|
59
|
+
download: Download
|
60
|
+
no_file: No file uploaded.
|
61
|
+
no_name: No name.
|
62
|
+
partner_societies:
|
63
|
+
title: Partner societies
|
64
|
+
no_societies: No societies added.
|
65
|
+
website: Website
|
66
|
+
email: Email
|
67
|
+
contact_buttons: Contact buttons
|
68
|
+
committee:
|
69
|
+
no_bios: No bios added.
|
70
|
+
twitter: Twitter
|
71
|
+
facebook: Facebook
|
72
|
+
name_and_role: "%{name}, %{role}"
|
73
|
+
contact_buttons: Contact buttons
|
74
|
+
events:
|
75
|
+
no_events: No events.
|
76
|
+
upcoming: Upcoming events
|
77
|
+
past: Past events
|
78
|
+
time_and_place_html: "%{place}, %{time}"
|
79
|
+
time_tbc: Time TBC
|
80
|
+
location_tbc: Location TBC
|
81
|
+
more_info: More information
|
82
|
+
homepage:
|
83
|
+
more_info: More info
|
84
|
+
dates_html: "%{start_date}–%{finish_date}"
|
85
|
+
|
86
|
+
spina:
|
87
|
+
show: Show
|
88
|
+
|
89
|
+
application:
|
90
|
+
cookies:
|
91
|
+
title: About cookies
|
92
|
+
footer:
|
93
|
+
copyright: © %{name} %{year}
|
94
|
+
find_on_github: Find us on GitHub
|
95
|
+
footer_content:
|
96
|
+
cookies: About cookies
|
97
|
+
loading: Loading…
|
98
|
+
|
99
|
+
conferences:
|
100
|
+
primer_theme:
|
101
|
+
conferences:
|
102
|
+
conferences:
|
103
|
+
index:
|
104
|
+
subscribe: Subscribe
|
105
|
+
no_conferences: No conferences have been added.
|
106
|
+
search: Search
|
107
|
+
no_matching_conferences: No matching conferences.
|
108
|
+
show:
|
109
|
+
information: Information
|
110
|
+
presentations: Presentations
|
111
|
+
events: Events
|
112
|
+
subscribe: Subscribe
|
113
|
+
tabs:
|
114
|
+
information: Information
|
115
|
+
presentations: Presentations
|
116
|
+
events: Events
|
117
|
+
no_tab: No tab.
|
118
|
+
tab_does_not_exist: "The tab '%{tab}' does not exist."
|
119
|
+
no_information: No information.
|
120
|
+
conference_navigation: Conference content
|
121
|
+
presentations:
|
122
|
+
all_presentation_types: All
|
123
|
+
results: Results
|
124
|
+
search: Search
|
125
|
+
no_matching_presentations: No matching presentations.
|
126
|
+
no_presentations: No presentations.
|
127
|
+
presentation_type:
|
128
|
+
results: Results
|
129
|
+
events:
|
130
|
+
search: Search
|
131
|
+
no_matching_events: No matching events.
|
132
|
+
no_events: No events.
|
133
|
+
event:
|
134
|
+
times_html: "%{start_time}–%{finish_time}"
|
135
|
+
conference:
|
136
|
+
dates_html: "%{start_date}–%{finish_date}"
|
137
|
+
locations: "%{institutions}, %{cities}"
|
138
|
+
submission_flash:
|
139
|
+
submit_by_html: Submit abstracts by %{date}
|
140
|
+
submit_abstract: Submit an abstract
|
141
|
+
header:
|
142
|
+
dates_html: "%{start_date}–%{finish_date}"
|
143
|
+
locations: "%{institutions}, %{cities}"
|
144
|
+
gallery:
|
145
|
+
previous: Previous
|
146
|
+
next: Next
|
147
|
+
sponsors:
|
148
|
+
title: Sponsors
|
149
|
+
|
150
|
+
presentations:
|
151
|
+
show:
|
152
|
+
room_and_institution: "%{room}, %{institution}"
|
153
|
+
|
154
|
+
kaminari:
|
155
|
+
next_page:
|
156
|
+
next: Next
|
157
|
+
next_page: Next page
|
158
|
+
prev_page:
|
159
|
+
previous: Previous
|
160
|
+
previous_page: Previous page
|
161
|
+
page:
|
162
|
+
page: Page %{number}
|
163
|
+
|
164
|
+
journal:
|
165
|
+
volume_issue: "Volume %{volume_number} (Issue %{issue_number})"
|
166
|
+
issues:
|
167
|
+
index:
|
168
|
+
no_issues: This journal has no issues.
|
169
|
+
logo: Journal logo
|
170
|
+
all_issues: All Issues
|
171
|
+
latest_issue: "Latest Issue (Vol. %{volume_number} Issue %{issue_number})"
|
172
|
+
show:
|
173
|
+
no_articles: This issue has no articles.
|
174
|
+
download: Full Issue PDF
|
175
|
+
article:
|
176
|
+
download: PDF
|
177
|
+
articles:
|
178
|
+
show:
|
179
|
+
download: PDF
|
180
|
+
doi: DOI
|
181
|
+
url: URL
|
182
|
+
abstract: Abstract
|
183
|
+
published: Published
|
184
|
+
issue: Issue
|
185
|
+
draft: THIS ARTICLE IS A DRAFT
|
186
|
+
licence_logo: Licence logo
|
187
|
+
|
188
|
+
languages:
|
189
|
+
en-GB: British English
|
190
|
+
|
191
|
+
time:
|
192
|
+
formats:
|
193
|
+
time: "%H:%M"
|
194
|
+
|
195
|
+
date:
|
196
|
+
formats:
|
197
|
+
date: "%d"
|
198
|
+
day_and_month: "%d/%m"
|
data/config/routes.rb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
Spina::Engine.routes.draw do
|
4
|
+
namespace :frontend, path: 'conferences', module: 'conferences/primer_theme/conferences' do
|
5
|
+
resources :conferences, only: %i[index show] do
|
6
|
+
resources :presentations, only: [:show]
|
7
|
+
end
|
8
|
+
resources :presentations, only: [:show]
|
9
|
+
get 'cookies-info', controller: 'application'
|
10
|
+
end
|
11
|
+
|
12
|
+
namespace :frontend, path: 'journal', module: 'conferences/primer_theme/journal' do
|
13
|
+
resources :issues, only: %i[index show] do
|
14
|
+
resources :articles, only: %i[show]
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
class ChangeCurrentConferenceAlertToText < ActiveRecord::Migration[6.0]
|
4
|
+
def up
|
5
|
+
Spina::LayoutPart.where(name: 'current_conference_alert', layout_partable_type: 'Spina::Line').each do |layout_part|
|
6
|
+
if layout_part.partable.present?
|
7
|
+
Spina::Text.create(content: layout_part.partable.content).then do |text|
|
8
|
+
layout_part.partable.destroy
|
9
|
+
layout_part.update(partable: text)
|
10
|
+
end
|
11
|
+
else
|
12
|
+
layout_part.update(partable_type: 'Spina::Text')
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
def down
|
18
|
+
Spina::LayoutPart.where(name: 'current_conference_alert', layout_partable_type: 'Spina::Text').each do |layout_part|
|
19
|
+
if layout_part.partable.present?
|
20
|
+
Spina::Line.create(content: layout_part.partable.content).then do |line|
|
21
|
+
layout_part.partable.destroy
|
22
|
+
layout_part.update(partable: line)
|
23
|
+
end
|
24
|
+
else
|
25
|
+
layout_part.update(partable_type: 'Spina::Line')
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
module Spina
|
32
|
+
class LayoutPart < ::Spina::ApplicationRecord
|
33
|
+
belongs_to :account
|
34
|
+
belongs_to :layout_partable, polymorphic: true
|
35
|
+
end
|
36
|
+
|
37
|
+
class Line < ApplicationRecord
|
38
|
+
extend Mobility
|
39
|
+
translates :content, fallbacks: true
|
40
|
+
end
|
41
|
+
|
42
|
+
class Text < ApplicationRecord
|
43
|
+
extend Mobility
|
44
|
+
translates :content, fallbacks: true
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'spina'
|
4
|
+
require 'spina/conferences/primer_theme/engine'
|
5
|
+
require 'spina/conferences/primer_theme/breadcrumbs/builder'
|
6
|
+
require 'spina/admin/conferences'
|
7
|
+
require 'spina/admin/journal'
|
8
|
+
require 'octicons_helper'
|
9
|
+
require 'view_component'
|
10
|
+
require 'primer/view_components'
|
11
|
+
require 'icalendar'
|
12
|
+
|
13
|
+
module Spina
|
14
|
+
module PrimerTheme
|
15
|
+
# Your code goes here...
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Spina
|
4
|
+
module Conferences
|
5
|
+
module PrimerTheme
|
6
|
+
# Breadcrumbs for the frontend.
|
7
|
+
module Breadcrumbs
|
8
|
+
# Custom builder using Primer breadcrumbs.
|
9
|
+
class Builder < BreadcrumbsOnRails::Breadcrumbs::Builder
|
10
|
+
def render
|
11
|
+
@context.render ::Primer::BreadcrumbComponent.new(mb: 4) do |component|
|
12
|
+
@context.safe_join(render_elements(component, @elements), "\n")
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
private
|
17
|
+
|
18
|
+
def render_elements(component, elements)
|
19
|
+
elements.collect { |element| render_element(component, element) }
|
20
|
+
end
|
21
|
+
|
22
|
+
def render_element(component, element)
|
23
|
+
url = compute_path(element)
|
24
|
+
if @context.current_page? url
|
25
|
+
component.item(selected: true, **element.options) { compute_name(element) }
|
26
|
+
else
|
27
|
+
component.item(href: compute_path(element), **element.options) { compute_name(element) }
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Spina
|
4
|
+
module Conferences
|
5
|
+
module PrimerTheme
|
6
|
+
class Engine < ::Rails::Engine
|
7
|
+
config.to_prepare do
|
8
|
+
::Spina::PagesController.helper 'spina/conferences/primer_theme/application'
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
metadata
ADDED
@@ -0,0 +1,396 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: spina-conferences-primer_theme-fork
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.6.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Justin Malčić
|
8
|
+
- Louis Van Steene
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2021-08-01 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: babel-transpiler
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '0.7'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '0.7'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: icalendar
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '2.5'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '2.5'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: image_processing
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '1.9'
|
49
|
+
type: :runtime
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '1.9'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: primer_view_components
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - '='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 0.0.37
|
63
|
+
type: :runtime
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - '='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 0.0.37
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: rails
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - "~>"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '6.0'
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - "~>"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '6.0'
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: spina
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - "~>"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '2.0'
|
91
|
+
type: :runtime
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '2.0'
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: spina-admin-conferences
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - "~>"
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: 2.1.0
|
105
|
+
type: :runtime
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - "~>"
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: 2.1.0
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: spina-admin-journal
|
114
|
+
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - "~>"
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: 0.5.0
|
119
|
+
type: :runtime
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - "~>"
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 0.5.0
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: capybara
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - "~>"
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '3.33'
|
133
|
+
type: :development
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - "~>"
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '3.33'
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: dotenv-rails
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - "~>"
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '2.7'
|
147
|
+
type: :development
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - "~>"
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '2.7'
|
154
|
+
- !ruby/object:Gem::Dependency
|
155
|
+
name: puma
|
156
|
+
requirement: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - "~>"
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '5.0'
|
161
|
+
type: :development
|
162
|
+
prerelease: false
|
163
|
+
version_requirements: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - "~>"
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '5.0'
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
name: rubocop
|
170
|
+
requirement: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - "~>"
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '1.0'
|
175
|
+
type: :development
|
176
|
+
prerelease: false
|
177
|
+
version_requirements: !ruby/object:Gem::Requirement
|
178
|
+
requirements:
|
179
|
+
- - "~>"
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '1.0'
|
182
|
+
- !ruby/object:Gem::Dependency
|
183
|
+
name: rubocop-performance
|
184
|
+
requirement: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - "~>"
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '1.8'
|
189
|
+
type: :development
|
190
|
+
prerelease: false
|
191
|
+
version_requirements: !ruby/object:Gem::Requirement
|
192
|
+
requirements:
|
193
|
+
- - "~>"
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: '1.8'
|
196
|
+
- !ruby/object:Gem::Dependency
|
197
|
+
name: rubocop-rails
|
198
|
+
requirement: !ruby/object:Gem::Requirement
|
199
|
+
requirements:
|
200
|
+
- - "~>"
|
201
|
+
- !ruby/object:Gem::Version
|
202
|
+
version: '2.8'
|
203
|
+
type: :development
|
204
|
+
prerelease: false
|
205
|
+
version_requirements: !ruby/object:Gem::Requirement
|
206
|
+
requirements:
|
207
|
+
- - "~>"
|
208
|
+
- !ruby/object:Gem::Version
|
209
|
+
version: '2.8'
|
210
|
+
- !ruby/object:Gem::Dependency
|
211
|
+
name: selenium-webdriver
|
212
|
+
requirement: !ruby/object:Gem::Requirement
|
213
|
+
requirements:
|
214
|
+
- - "~>"
|
215
|
+
- !ruby/object:Gem::Version
|
216
|
+
version: '3.142'
|
217
|
+
type: :development
|
218
|
+
prerelease: false
|
219
|
+
version_requirements: !ruby/object:Gem::Requirement
|
220
|
+
requirements:
|
221
|
+
- - "~>"
|
222
|
+
- !ruby/object:Gem::Version
|
223
|
+
version: '3.142'
|
224
|
+
- !ruby/object:Gem::Dependency
|
225
|
+
name: simplecov
|
226
|
+
requirement: !ruby/object:Gem::Requirement
|
227
|
+
requirements:
|
228
|
+
- - "~>"
|
229
|
+
- !ruby/object:Gem::Version
|
230
|
+
version: '0.19'
|
231
|
+
type: :development
|
232
|
+
prerelease: false
|
233
|
+
version_requirements: !ruby/object:Gem::Requirement
|
234
|
+
requirements:
|
235
|
+
- - "~>"
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
version: '0.19'
|
238
|
+
- !ruby/object:Gem::Dependency
|
239
|
+
name: simplecov-lcov
|
240
|
+
requirement: !ruby/object:Gem::Requirement
|
241
|
+
requirements:
|
242
|
+
- - "~>"
|
243
|
+
- !ruby/object:Gem::Version
|
244
|
+
version: '0.8'
|
245
|
+
type: :development
|
246
|
+
prerelease: false
|
247
|
+
version_requirements: !ruby/object:Gem::Requirement
|
248
|
+
requirements:
|
249
|
+
- - "~>"
|
250
|
+
- !ruby/object:Gem::Version
|
251
|
+
version: '0.8'
|
252
|
+
- !ruby/object:Gem::Dependency
|
253
|
+
name: web-console
|
254
|
+
requirement: !ruby/object:Gem::Requirement
|
255
|
+
requirements:
|
256
|
+
- - "~>"
|
257
|
+
- !ruby/object:Gem::Version
|
258
|
+
version: '4.0'
|
259
|
+
type: :development
|
260
|
+
prerelease: false
|
261
|
+
version_requirements: !ruby/object:Gem::Requirement
|
262
|
+
requirements:
|
263
|
+
- - "~>"
|
264
|
+
- !ruby/object:Gem::Version
|
265
|
+
version: '4.0'
|
266
|
+
- !ruby/object:Gem::Dependency
|
267
|
+
name: webdrivers
|
268
|
+
requirement: !ruby/object:Gem::Requirement
|
269
|
+
requirements:
|
270
|
+
- - "~>"
|
271
|
+
- !ruby/object:Gem::Version
|
272
|
+
version: '4.4'
|
273
|
+
type: :development
|
274
|
+
prerelease: false
|
275
|
+
version_requirements: !ruby/object:Gem::Requirement
|
276
|
+
requirements:
|
277
|
+
- - "~>"
|
278
|
+
- !ruby/object:Gem::Version
|
279
|
+
version: '4.4'
|
280
|
+
description: Frontend for Spina::Admin::Conferences plugin, based on Primer.
|
281
|
+
email:
|
282
|
+
- j.malcic@me.com
|
283
|
+
- louis@lvs.me.uk
|
284
|
+
executables: []
|
285
|
+
extensions: []
|
286
|
+
extra_rdoc_files: []
|
287
|
+
files:
|
288
|
+
- MIT-LICENSE
|
289
|
+
- README.md
|
290
|
+
- Rakefile
|
291
|
+
- app/assets/config/spina_conferences_primer_theme_manifest.js
|
292
|
+
- app/assets/javascripts/spina/conferences/primer_theme/application.js
|
293
|
+
- app/assets/javascripts/spina/conferences/primer_theme/controllers/slideshow_controller.es6
|
294
|
+
- app/assets/stylesheets/spina/conferences/primer_theme/_custom.sass
|
295
|
+
- app/assets/stylesheets/spina/conferences/primer_theme/_custom_variables.sass
|
296
|
+
- app/assets/stylesheets/spina/conferences/primer_theme/application.sass
|
297
|
+
- app/controllers/spina/conferences/primer_theme/conferences/application_controller.rb
|
298
|
+
- app/controllers/spina/conferences/primer_theme/conferences/conferences_controller.rb
|
299
|
+
- app/controllers/spina/conferences/primer_theme/conferences/presentations_controller.rb
|
300
|
+
- app/controllers/spina/conferences/primer_theme/journal/application_controller.rb
|
301
|
+
- app/controllers/spina/conferences/primer_theme/journal/articles_controller.rb
|
302
|
+
- app/controllers/spina/conferences/primer_theme/journal/issues_controller.rb
|
303
|
+
- app/helpers/spina/conferences/primer_theme/application_helper.rb
|
304
|
+
- app/helpers/spina/conferences/primer_theme/asset_helper.rb
|
305
|
+
- app/helpers/spina/conferences/primer_theme/navigations_helper.rb
|
306
|
+
- app/views/conferences_primer_theme/pages/about.html.haml
|
307
|
+
- app/views/conferences_primer_theme/pages/committee.html.haml
|
308
|
+
- app/views/conferences_primer_theme/pages/embedded_form.html.haml
|
309
|
+
- app/views/conferences_primer_theme/pages/events.html.haml
|
310
|
+
- app/views/conferences_primer_theme/pages/homepage.html.haml
|
311
|
+
- app/views/conferences_primer_theme/pages/information.html.haml
|
312
|
+
- app/views/conferences_primer_theme/pages/show.html.haml
|
313
|
+
- app/views/layouts/conferences_primer_theme/application.html.haml
|
314
|
+
- app/views/layouts/spina/conferences/primer_theme/application.html.haml
|
315
|
+
- app/views/layouts/spina/conferences/primer_theme/conferences/conferences.html.haml
|
316
|
+
- app/views/layouts/spina/conferences/primer_theme/conferences/presentations.html.haml
|
317
|
+
- app/views/layouts/spina/conferences/primer_theme/journal/articles.html.haml
|
318
|
+
- app/views/layouts/spina/conferences/primer_theme/journal/issues.html.haml
|
319
|
+
- app/views/spina/admin/layout_partables/texts/_form.html.haml
|
320
|
+
- app/views/spina/application/_cookies.html.haml
|
321
|
+
- app/views/spina/application/_current_conference_alert.html.haml
|
322
|
+
- app/views/spina/application/_footer.html.haml
|
323
|
+
- app/views/spina/application/_footer_content.html.haml
|
324
|
+
- app/views/spina/application/_list_item.html.haml
|
325
|
+
- app/views/spina/application/_logo.html.haml
|
326
|
+
- app/views/spina/application/_mobile_navigation_item.html.haml
|
327
|
+
- app/views/spina/application/_mobile_navigation_items.html.haml
|
328
|
+
- app/views/spina/application/_navigation.html.haml
|
329
|
+
- app/views/spina/application/_navigation_item.html.haml
|
330
|
+
- app/views/spina/application/_text.html.haml
|
331
|
+
- app/views/spina/conferences/primer_theme/conferences/conferences/_conference.html.haml
|
332
|
+
- app/views/spina/conferences/primer_theme/conferences/conferences/_event.html.haml
|
333
|
+
- app/views/spina/conferences/primer_theme/conferences/conferences/_events.html.haml
|
334
|
+
- app/views/spina/conferences/primer_theme/conferences/conferences/_header.html.haml
|
335
|
+
- app/views/spina/conferences/primer_theme/conferences/conferences/_institution.html.haml
|
336
|
+
- app/views/spina/conferences/primer_theme/conferences/conferences/_institution_logo.html.haml
|
337
|
+
- app/views/spina/conferences/primer_theme/conferences/conferences/_presentation.html.haml
|
338
|
+
- app/views/spina/conferences/primer_theme/conferences/conferences/_presentation_type.html.haml
|
339
|
+
- app/views/spina/conferences/primer_theme/conferences/conferences/_presentations.html.haml
|
340
|
+
- app/views/spina/conferences/primer_theme/conferences/conferences/_submission_flash.html.haml
|
341
|
+
- app/views/spina/conferences/primer_theme/conferences/conferences/index.html.haml
|
342
|
+
- app/views/spina/conferences/primer_theme/conferences/conferences/show.html.haml
|
343
|
+
- app/views/spina/conferences/primer_theme/conferences/kaminari/_gap.html.haml
|
344
|
+
- app/views/spina/conferences/primer_theme/conferences/kaminari/_next_page.html.haml
|
345
|
+
- app/views/spina/conferences/primer_theme/conferences/kaminari/_page.html.haml
|
346
|
+
- app/views/spina/conferences/primer_theme/conferences/kaminari/_paginator.html.haml
|
347
|
+
- app/views/spina/conferences/primer_theme/conferences/kaminari/_prev_page.html.haml
|
348
|
+
- app/views/spina/conferences/primer_theme/conferences/presentations/_abstract.html.haml
|
349
|
+
- app/views/spina/conferences/primer_theme/conferences/presentations/_attachment.html.haml
|
350
|
+
- app/views/spina/conferences/primer_theme/conferences/presentations/_attachments.html.haml
|
351
|
+
- app/views/spina/conferences/primer_theme/conferences/presentations/show.html.haml
|
352
|
+
- app/views/spina/conferences/primer_theme/journal/articles/_authorship.html.haml
|
353
|
+
- app/views/spina/conferences/primer_theme/journal/articles/_metadata.html.haml
|
354
|
+
- app/views/spina/conferences/primer_theme/journal/articles/show.html.haml
|
355
|
+
- app/views/spina/conferences/primer_theme/journal/issues/_article.html.haml
|
356
|
+
- app/views/spina/conferences/primer_theme/journal/issues/_issue.html.haml
|
357
|
+
- app/views/spina/conferences/primer_theme/journal/issues/_issue_cover.html.haml
|
358
|
+
- app/views/spina/conferences/primer_theme/journal/issues/index.html.haml
|
359
|
+
- app/views/spina/conferences/primer_theme/journal/issues/show.html.haml
|
360
|
+
- config/initializers/assets.rb
|
361
|
+
- config/initializers/mime_types.rb
|
362
|
+
- config/initializers/primer.rb
|
363
|
+
- config/initializers/themes/conferences_primer_theme.rb
|
364
|
+
- config/locales/en.rb
|
365
|
+
- config/locales/en.yml
|
366
|
+
- config/routes.rb
|
367
|
+
- db/migrate/20210206170704_change_current_conference_alert_to_text.rb
|
368
|
+
- lib/spina/conferences/primer_theme.rb
|
369
|
+
- lib/spina/conferences/primer_theme/breadcrumbs/builder.rb
|
370
|
+
- lib/spina/conferences/primer_theme/engine.rb
|
371
|
+
- lib/spina/conferences/primer_theme/version.rb
|
372
|
+
- lib/tasks/spina/conferences/primer_theme_tasks.rake
|
373
|
+
homepage:
|
374
|
+
licenses:
|
375
|
+
- MIT
|
376
|
+
metadata: {}
|
377
|
+
post_install_message:
|
378
|
+
rdoc_options: []
|
379
|
+
require_paths:
|
380
|
+
- lib
|
381
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
382
|
+
requirements:
|
383
|
+
- - "~>"
|
384
|
+
- !ruby/object:Gem::Version
|
385
|
+
version: '2.7'
|
386
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
387
|
+
requirements:
|
388
|
+
- - ">="
|
389
|
+
- !ruby/object:Gem::Version
|
390
|
+
version: '0'
|
391
|
+
requirements: []
|
392
|
+
rubygems_version: 3.1.4
|
393
|
+
signing_key:
|
394
|
+
specification_version: 4
|
395
|
+
summary: Spina::Admin::Conferences frontend theme.
|
396
|
+
test_files: []
|