spina-conferences-primer_theme 0.3.4 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: de1627c42a5f26df5aab40b2cf5e9abfcbf8c37656be2905da0dea069132e32c
4
- data.tar.gz: 0baa91ffa622518f16eba5f681192ff8b38467632f7d028a66a039a3d85a1140
3
+ metadata.gz: 44982318279af43da48830b7b35b8560608f21e5b55a6032e7b33e79bfb30cde
4
+ data.tar.gz: 965ac7a1dc323d5bf0edc8f4e3a2055629c7493382e30ffd63f81056170d9ded
5
5
  SHA512:
6
- metadata.gz: 7b38daf67fde96dc831215ede91223f3641888ad9643f043839dea38385ba29ba03e50876a728a1bd44a8e96e81f63352728b0845ad6f91a1965aacfcc3bf653
7
- data.tar.gz: 34bb8c7f7255f46f0f267da339ab3861e469bf35021fe39b9ebc523efc67ac00a6273acb656aa5c40573cb67c97923941cae9c196b403c00eed08c3c2d8733ca
6
+ metadata.gz: 9589f32bcfa583311c9dd6f74c2803f5f8097467b9ff10ae383e853d8d93c5c9d3763dd476b4c9a32555be6a2a842de81521f72fd1aedaa2c194ea16faa3492e
7
+ data.tar.gz: 3c87d3ccab22659858b55597e29d1b16352bc0fdfb8f862ff3dc5e54477aa7896550ea71bbbbb88e207a7b1d41ee4128f2f6facb4e29bef972ded0120db46292
@@ -37,3 +37,8 @@
37
37
 
38
38
  address
39
39
  font-style: normal
40
+
41
+ #form_frame
42
+ border: none
43
+ width: 100%
44
+ height: 70vh
@@ -0,0 +1,9 @@
1
+ - cache current_page do
2
+ = render(Primer::HeadingComponent.new) { current_page.title }
3
+
4
+ - if content(:text).present?
5
+ = render(Primer::MarkdownComponent.new(mt: 4)) { content.html(:text) }
6
+
7
+ - if content(:embed_url).present?
8
+ = render Primer::BoxComponent.new(mt: 4, col: 12) do
9
+ %iframe#form_frame{ src: content(:embed_url), allowfullscreen: true }
@@ -158,6 +158,10 @@
158
158
  name: 'url',
159
159
  title: 'Link',
160
160
  part_type: 'Spina::Parts::Admin::Conferences::Url'
161
+ }, {
162
+ name: 'embed_url',
163
+ title: 'Form embed URL',
164
+ part_type: 'Spina::Parts::Admin::Conferences::Url'
161
165
  }]
162
166
 
163
167
  theme.view_templates = [{
@@ -184,6 +188,11 @@
184
188
  title: 'Events',
185
189
  description: 'Contains details of past and upcoming events',
186
190
  parts: %w[text events_list]
191
+ }, {
192
+ name: 'embedded_form',
193
+ title: 'Embedded form',
194
+ description: 'Contains an embedded form',
195
+ parts: %w[text embed_url]
187
196
  }, {
188
197
  name: 'show',
189
198
  title: 'Blank',
@@ -3,7 +3,7 @@
3
3
  module Spina
4
4
  module Conferences
5
5
  module PrimerTheme
6
- VERSION = '0.3.4'
6
+ VERSION = '0.4.0'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spina-conferences-primer_theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Malčić
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-20 00:00:00.000000000 Z
11
+ date: 2021-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: babel-transpiler
@@ -300,6 +300,7 @@ files:
300
300
  - app/helpers/spina/conferences/primer_theme/navigations_helper.rb
301
301
  - app/views/conferences_primer_theme/pages/about.html.haml
302
302
  - app/views/conferences_primer_theme/pages/committee.html.haml
303
+ - app/views/conferences_primer_theme/pages/embedded_form.html.haml
303
304
  - app/views/conferences_primer_theme/pages/events.html.haml
304
305
  - app/views/conferences_primer_theme/pages/homepage.html.haml
305
306
  - app/views/conferences_primer_theme/pages/information.html.haml