Compare commits

...

20 Commits

Author SHA1 Message Date
dan612
41d8c16d84 Adding proxy script for bypassing ddev container during imports. 2025-12-07 12:54:55 -05:00
dan612
034dc92721 More updates to import from ufc.com json api. 2025-12-07 12:54:42 -05:00
dan612
8cee39a6df Pushing overhaul. 2025-12-06 16:34:43 -05:00
calcu1on
09043d7884 Randomg things. 2025-10-15 22:49:16 -04:00
calcu1on
73b1faf9cc Move database from repo. 2025-09-01 23:28:50 -04:00
calcu1on
51f87a960b Changes. 2025-09-01 23:21:47 -04:00
calcu1on
02b6459f14 remove databse. 2025-09-01 22:38:36 -04:00
calcu1on
8ac98455c5 Adding another datbase. 2025-09-01 22:31:08 -04:00
calcu1on
2191604fc5 Settings. 2025-09-01 22:26:50 -04:00
calcu1on
a6c7e99275 Not sure. 2025-09-01 22:21:19 -04:00
calcu1on
4353602662 remov files from rsync. 2025-09-01 21:44:33 -04:00
calcu1on
ce111f6339 Force push. 2025-09-01 21:29:54 -04:00
calcu1on
6512520a8e No more dry runs, adding trusted host patterns. 2025-09-01 21:12:31 -04:00
calcu1on
b4f3df8b8a Removing some patches. 2025-09-01 21:03:55 -04:00
calcu1on
5822c1bd45 Adding composer deploy scriipt. 2025-09-01 21:01:45 -04:00
calcu1on
33ead115b9 Adding more things. 2025-08-31 21:39:45 -04:00
calcu1on
7c70bc0de7 Overhaul of a lot of things. 2025-08-31 21:26:31 -04:00
calcu1on
63a7ab4286 Export configuration. 2025-08-31 15:18:23 -04:00
calcu1on
780d95a712 REmoving things. 2025-08-31 15:17:56 -04:00
calcu1on
63bbb46715 Changing to sqlite and resetting, 2025-08-29 22:07:59 -04:00
241 changed files with 48658 additions and 42036 deletions

1
.gitattributes vendored
View File

@@ -48,6 +48,7 @@ core/.phpstan-baseline.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,-sp
# Define binary file attributes.
# - Do not treat them as text.
# - Include binary diff in patches instead of "binary files differ."
*.avif -text diff
*.eot -text diff
*.exe -text diff
*.gif -text diff

1
.gitignore vendored
View File

@@ -1,5 +1,6 @@
sites/simpletest/*
web/sites/simpletest
web/db/db.sqlite
vendor/
web/modules/contrib
web/core

View File

@@ -30,8 +30,10 @@
"drupal/entity_clone": "^2.1@beta",
"drupal/entity_hierarchy": "^3.3",
"drupal/field_group": "^3.4",
"drupal/gin": "^4.0",
"drupal/gin": "^5.0",
"drupal/gin_lb": "^3.0@beta",
"drupal/gin_login": "^2.1",
"drupal/gin_toolbar": "^3",
"drupal/google_tag": "^2.0",
"drupal/html_formatter": "^2.0",
"drupal/jsonapi_permission_access": "1.0.1",
@@ -149,5 +151,10 @@
"dmore/behat-chrome-extension": "^1.4",
"drupal/core-dev": "^11.0",
"drupal/drupal-extension": "^5.0"
},
"scripts": {
"build-fe": "cd web/themes/custom/dchadwick && npm ci && npm run compile",
"deploy": "sh scripts/deploy.sh",
"start-proxy": "php -S 0.0.0.0:8888 proxy.php"
}
}

2731
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,20 @@
uuid: ef64650b-45ea-4454-bd60-3d99a0949c78
langcode: en
status: true
dependencies:
module:
- system
theme:
- dchadwick
id: dchadwick_breadcrumbs
theme: dchadwick
region: content
weight: 0
provider: null
plugin: system_breadcrumb_block
settings:
id: system_breadcrumb_block
label: Breadcrumbs
label_display: '0'
provider: system
visibility: { }

View File

@@ -0,0 +1,20 @@
uuid: 6dc30fba-09b1-4b9a-bbd5-310ff47da034
langcode: en
status: true
dependencies:
module:
- dc_core
theme:
- dchadwick
id: dchadwick_copyrightblock
theme: dchadwick
region: footer_bottom
weight: 0
provider: null
plugin: copyright_block
settings:
id: copyright_block
label: 'Copyright Block'
label_display: '0'
provider: dc_core
visibility: { }

View File

@@ -1,25 +0,0 @@
uuid: 7f8dcc6e-94eb-4f00-9366-85e929ef583e
langcode: en
status: false
dependencies:
module:
- system
- ufc
theme:
- dchadwick
id: dchadwick_recentfightsblock
theme: dchadwick
region: content
weight: 1
provider: null
plugin: recent_fights_block
settings:
id: recent_fights_block
label: 'Recent Fights Block'
label_display: visible
provider: ufc
visibility:
request_path:
id: request_path
negate: false
pages: '<front>'

View File

@@ -3,6 +3,7 @@ langcode: en
status: true
dependencies:
config:
- field.field.node.fight.body
- field.field.node.fight.field_accuracy
- field.field.node.fight.field_event
- field.field.node.fight.field_fight_date
@@ -88,6 +89,7 @@ content:
placeholder: ''
third_party_settings: { }
hidden:
body: true
created: true
path: true
promote: true

View File

@@ -3,6 +3,7 @@ langcode: en
status: true
dependencies:
config:
- field.field.node.fighter.body
- field.field.node.fighter.field_absorbed_per_min
- field.field.node.fighter.field_age
- field.field.node.fighter.field_average_fight_time
@@ -390,6 +391,7 @@ content:
placeholder: ''
third_party_settings: { }
hidden:
body: true
created: true
field_decisions: true
layout_builder__layout: true

View File

@@ -4,6 +4,7 @@ status: true
dependencies:
config:
- field.field.node.snippet.body
- field.field.node.snippet.field_snippet_type
- node.type.snippet
module:
- path
@@ -15,7 +16,7 @@ mode: default
content:
body:
type: text_textarea_with_summary
weight: 121
weight: 8
region: content
settings:
rows: 9
@@ -25,40 +26,46 @@ content:
third_party_settings: { }
created:
type: datetime_timestamp
weight: 10
weight: 2
region: content
settings: { }
third_party_settings: { }
field_snippet_type:
type: options_select
weight: 7
region: content
settings: { }
third_party_settings: { }
path:
type: path
weight: 30
weight: 5
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 15
weight: 3
region: content
settings:
display_label: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 120
weight: 6
region: content
settings:
display_label: true
third_party_settings: { }
sticky:
type: boolean_checkbox
weight: 16
weight: 4
region: content
settings:
display_label: true
third_party_settings: { }
title:
type: string_textfield
weight: -5
weight: 0
region: content
settings:
size: 60
@@ -66,7 +73,7 @@ content:
third_party_settings: { }
uid:
type: entity_reference_autocomplete
weight: 5
weight: 1
region: content
settings:
match_operator: CONTAINS

View File

@@ -3,6 +3,7 @@ langcode: en
status: true
dependencies:
config:
- field.field.node.fight.body
- field.field.node.fight.field_accuracy
- field.field.node.fight.field_event
- field.field.node.fight.field_fight_date
@@ -97,4 +98,5 @@ content:
third_party_settings: { }
weight: 0
region: content
hidden: { }
hidden:
body: true

View File

@@ -4,6 +4,7 @@ status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.fight.body
- field.field.node.fight.field_accuracy
- field.field.node.fight.field_event
- field.field.node.fight.field_fight_date
@@ -27,6 +28,7 @@ content:
weight: 100
region: content
hidden:
body: true
field_accuracy: true
field_event: true
field_fight_date: true

View File

@@ -3,6 +3,7 @@ langcode: en
status: true
dependencies:
config:
- field.field.node.fighter.body
- field.field.node.fighter.field_absorbed_per_min
- field.field.node.fighter.field_age
- field.field.node.fighter.field_average_fight_time
@@ -1008,5 +1009,6 @@ content:
weight: 20
region: content
hidden:
body: true
layout_builder__layout: true
links: true

View File

@@ -4,6 +4,7 @@ status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.fighter.body
- field.field.node.fighter.field_absorbed_per_min
- field.field.node.fighter.field_age
- field.field.node.fighter.field_average_fight_time
@@ -48,6 +49,7 @@ bundle: fighter
mode: teaser
content: { }
hidden:
body: true
field_absorbed_per_min: true
field_age: true
field_average_fight_time: true

View File

@@ -4,6 +4,7 @@ status: true
dependencies:
config:
- field.field.node.snippet.body
- field.field.node.snippet.field_snippet_type
- node.type.snippet
module:
- layout_builder
@@ -18,12 +19,35 @@ third_party_settings:
-
layout_id: layout_onecol
layout_settings:
label: ''
label: 'Banner Section'
context_mapping: { }
layout_builder_styles_style:
0: ''
1: ''
container: container
hero: 0
components:
c1ad47bd-26cf-459e-acec-db1bd9026963:
uuid: c1ad47bd-26cf-459e-acec-db1bd9026963
region: content
configuration:
id: 'field_block:node:snippet:title'
label: Title
label_display: '0'
provider: layout_builder
context_mapping:
entity: layout_builder.entity
view_mode: view_mode
formatter:
type: html_field_formatter
label: hidden
settings:
tag: h1
class: ''
link: false
third_party_settings: { }
weight: 1
additional: { }
36c2345c-4ba4-493e-8df8-21a171c4d12c:
uuid: 36c2345c-4ba4-493e-8df8-21a171c4d12c
region: content
@@ -34,6 +58,16 @@ third_party_settings:
entity: layout_builder.entity
weight: 0
additional: { }
third_party_settings: { }
-
layout_id: layout_onecol
layout_settings:
label: ''
context_mapping: { }
layout_builder_styles_style:
container: container
hero: 0
components:
431863a8-5042-43dd-9685-eb24199b12c9:
uuid: 431863a8-5042-43dd-9685-eb24199b12c9
region: content
@@ -47,6 +81,25 @@ third_party_settings:
label: hidden
settings: { }
third_party_settings: { }
weight: 2
additional: { }
b99b0ee4-f80a-4ddb-9efa-abf6809ba225:
uuid: b99b0ee4-f80a-4ddb-9efa-abf6809ba225
region: content
configuration:
id: 'field_block:node:snippet:field_snippet_type'
label: 'Snippet Type'
label_display: '0'
provider: layout_builder
context_mapping:
entity: layout_builder.entity
view_mode: view_mode
formatter:
type: entity_reference_label
label: hidden
settings:
link: false
third_party_settings: { }
weight: 1
additional: { }
third_party_settings: { }
@@ -62,6 +115,14 @@ content:
third_party_settings: { }
weight: 101
region: content
field_snippet_type:
type: entity_reference_label
label: above
settings:
link: true
third_party_settings: { }
weight: 102
region: content
links:
settings: { }
third_party_settings: { }

View File

@@ -5,6 +5,7 @@ dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.snippet.body
- field.field.node.snippet.field_snippet_type
- node.type.snippet
module:
- text
@@ -27,4 +28,5 @@ content:
third_party_settings: { }
weight: 100
region: content
hidden: { }
hidden:
field_snippet_type: true

View File

@@ -14,7 +14,6 @@ module:
contextual: 0
datetime: 0
dblog: 0
dc_components: 0
dc_core: 0
editor: 0
entity_clone: 0
@@ -23,6 +22,7 @@ module:
field_ui: 0
file: 0
filter: 0
gin_lb: 0
gin_login: 0
gin_toolbar: 0
google_tag: 0
@@ -41,7 +41,6 @@ module:
media_library: 0
menu_link_content: 0
menu_ui: 0
mysql: 0
node: 0
nodepath_access: 0
options: 0
@@ -53,6 +52,7 @@ module:
settings_tray: 0
shortcut: 0
smtp: 0
sqlite: 0
system: 0
taxonomy: 0
text: 0

View File

@@ -7,6 +7,8 @@ dependencies:
- node.type.fight
module:
- text
_core:
default_config_hash: l5XQlmt3uEM-0N-hDWQrStxl3h8CFpzAPjqZCOmJGJI
id: node.fight.body
field_name: body
entity_type: node
@@ -20,4 +22,5 @@ default_value_callback: ''
settings:
display_summary: true
required_summary: false
allowed_formats: { }
field_type: text_with_summary

View File

@@ -7,6 +7,8 @@ dependencies:
- node.type.fighter
module:
- text
_core:
default_config_hash: jdS-0ctBTHEp3ZHS3_Fdq2XMZZJbxWwzeA_Ts8RH9y4
id: node.fighter.body
field_name: body
entity_type: node
@@ -20,4 +22,5 @@ default_value_callback: ''
settings:
display_summary: true
required_summary: false
allowed_formats: { }
field_type: text_with_summary

View File

@@ -1,17 +1,17 @@
uuid: 08eeb95e-ad83-449b-b420-405c92f94888
uuid: 800af856-54e3-4ebe-b24a-ca0710c2abe6
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_event
- node.type.fight
- taxonomy.vocabulary.ufc_events
id: node.fight.field_event
field_name: field_event
- field.storage.node.field_snippet_type
- node.type.snippet
- taxonomy.vocabulary.tags
id: node.snippet.field_snippet_type
field_name: field_snippet_type
entity_type: node
bundle: fight
label: Event
description: 'The event for this fight.'
bundle: snippet
label: 'Snippet Type'
description: 'Type of snippet'
required: false
translatable: false
default_value: { }
@@ -20,10 +20,10 @@ settings:
handler: 'default:taxonomy_term'
handler_settings:
target_bundles:
ufc_events: ufc_events
tags: tags
sort:
field: name
direction: asc
auto_create: false
auto_create: true
auto_create_bundle: ''
field_type: entity_reference

View File

@@ -1,19 +1,19 @@
uuid: f85fe501-9759-424f-ae4c-9c7120715c08
uuid: e53b2d86-1969-4398-a78e-71d3f69ab586
langcode: en
status: true
dependencies:
module:
- node
- taxonomy
id: node.field_event
field_name: field_event
id: node.field_snippet_type
field_name: field_snippet_type
entity_type: node
type: entity_reference
settings:
target_type: taxonomy_term
module: core
locked: false
cardinality: 1
cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false

View File

@@ -26,4 +26,4 @@ focus_color: ''
layout_density: small
show_description_toggle: false
show_user_theme_settings: false
sticky_action_buttons: false
sticky_action_buttons: true

View File

@@ -0,0 +1,7 @@
_core:
default_config_hash: Um_xSc6nOhSP5pfhCboUKWpzJ3S-t4ZdmTKOMnK_D1A
toastify_loading: cdn
enable_preview_regions: false
hide_discard_button: true
hide_revert_button: true
save_behavior: stay

View File

@@ -13,7 +13,7 @@ _core:
default_config_hash: AeW1SEDgb1OTQACAWGhzvMknMYAJlcZu0jljfeU3oso
name: Article
type: article
description: 'Use <em>articles</em> for time-sensitive content like news, press releases or blog posts.'
description: 'Use for time-sensitive content like news, press releases or blog posts.'
help: null
new_revision: true
preview_mode: 1

View File

@@ -11,7 +11,7 @@ third_party_settings:
parent: 'main:'
name: Character
type: character
description: null
description: 'Use to create a character in Lord of the Rings'
help: null
new_revision: true
preview_mode: 1

View File

@@ -13,7 +13,7 @@ _core:
default_config_hash: '-oNx4Ml6aAH2vsCaF2Xf1lO994OOn3LlkHRzDs-CacA'
name: Fight
type: fight
description: 'A fight between two fighters.'
description: 'Use to create a fight between two fighters.'
help: null
new_revision: true
preview_mode: 1

View File

@@ -13,7 +13,7 @@ _core:
default_config_hash: cnV8ZFMmV0F85P7RKCraA1vQc576ElQMYcw86QILGTs
name: Fighter
type: fighter
description: 'A fighter.'
description: 'Use to create a fighter.'
help: null
new_revision: true
preview_mode: 1

View File

@@ -1,12 +1,19 @@
uuid: a1065b81-d7a0-46bc-a1bf-44a0b76450ff
langcode: en
status: true
dependencies: { }
dependencies:
module:
- menu_ui
third_party_settings:
menu_ui:
available_menus:
- main
parent: 'main:'
_core:
default_config_hash: KuyA4NHPXcmKAjRtwa0vQc2ZcyrUJy6IlS2TAyMNRbc
name: 'Basic page'
type: page
description: "Use <em>basic pages</em> for your static content, such as an 'About us' page."
description: "Use for your general content, such as an 'About us' page."
help: null
new_revision: true
preview_mode: 1

View File

@@ -11,7 +11,7 @@ third_party_settings:
parent: 'main:'
name: Snippet
type: snippet
description: 'A snippet of code.'
description: 'Use to create a snippet of code.'
help: null
new_revision: true
preview_mode: 1

View File

@@ -8,7 +8,7 @@ slogan: ''
page:
403: ''
404: ''
front: /node/4
front: /node/1
admin_compact_mode: false
weight_select_max: 100
default_langcode: en

View File

@@ -480,9 +480,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
content_editor: '0'
administrator: '0'
placeholder: ''
is_grouped: false
group_info:
@@ -522,9 +519,6 @@ display:
multiple: true
remember_roles:
authenticated: authenticated
anonymous: '0'
content_editor: '0'
administrator: '0'
reduce: false
is_grouped: false
group_info:
@@ -616,7 +610,8 @@ display:
type: normal
title: Fighters
description: ''
weight: -48
weight: -47
enabled: false
expanded: false
menu_name: main
parent: ''

View File

@@ -359,8 +359,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
is_grouped: false
group_info:
label: ''
@@ -401,8 +399,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
reduce: false
is_grouped: false
group_info:

View File

@@ -311,8 +311,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
is_grouped: false
group_info:
label: ''
@@ -353,8 +351,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
reduce: false
is_grouped: false
group_info:
@@ -444,8 +440,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
reduce: false
is_grouped: false
group_info:

View File

@@ -368,9 +368,10 @@ display:
path: events-list
menu:
type: normal
title: Events
title: About
description: ''
weight: -49
weight: -48
enabled: false
expanded: false
menu_name: main
parent: ''

View File

@@ -592,8 +592,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
is_grouped: false
group_info:
label: ''
@@ -634,8 +632,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
is_grouped: false
group_info:
label: ''
@@ -676,8 +672,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
reduce: false
is_grouped: false
group_info:

View File

@@ -616,8 +616,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
is_grouped: false
group_info:
label: ''
@@ -658,8 +656,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
reduce: false
is_grouped: false
group_info:
@@ -788,8 +784,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
reduce: false
is_grouped: false
group_info:

View File

@@ -307,8 +307,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
is_grouped: false
group_info:
label: ''
@@ -349,8 +347,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
reduce: false
is_grouped: false
group_info:
@@ -434,8 +430,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
reduce: false
is_grouped: false
group_info:
@@ -1005,8 +999,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
is_grouped: false
group_info:
label: ''
@@ -1295,8 +1287,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
is_grouped: false
group_info:
label: ''

View File

@@ -1,17 +1,20 @@
uuid: eb0a8385-f176-44cd-8b88-1fadace31a9e
uuid: d4da3085-bc05-415c-b78d-b57cc7b4498c
langcode: en
status: true
dependencies:
config:
- node.type.snippet
- taxonomy.vocabulary.tags
module:
- better_exposed_filters
- node
- taxonomy
- user
_core:
default_config_hash: YqZN5rc7XDQcFcInc8wkzuaHJmC5YvirhTmDcrarT6M
id: content_recent
label: 'Recent content'
module: node
description: 'Recent content.'
tag: default
id: snippets
label: Snippets
module: views
description: ''
tag: ''
base_table: node_field_data
base_field: nid
display:
@@ -21,7 +24,6 @@ display:
display_plugin: default
position: 0
display_options:
title: 'Recent content'
fields:
title:
id: title
@@ -56,63 +58,10 @@ display:
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: true
changed:
id: changed
table: node_field_data
field: changed
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: changed
plugin_id: field
label: ''
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: timestamp_ago
settings: { }
group_column: value
group_columns: { }
group_rows: true
@@ -124,12 +73,26 @@ display:
separator: ', '
field_api_classes: false
pager:
type: some
type: mini
options:
offset: 0
pagination_heading_level: h4
items_per_page: 10
total_pages: null
id: 0
tags:
next:
previous:
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
offset: false
offset_label: Offset
exposed_form:
type: basic
type: bef
options:
submit_button: Apply
reset_button: false
@@ -138,6 +101,35 @@ display:
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
text_input_required: 'Select any filter and click on Apply to see results'
text_input_required_format: basic_html
bef:
general:
autosubmit: true
autosubmit_exclude_textfield: false
autosubmit_textfield_delay: 500
autosubmit_textfield_minimum_length: 3
autosubmit_hide: true
input_required: false
allow_secondary: false
secondary_label: 'Advanced options'
secondary_open: false
reset_button_always_show: false
filter:
field_snippet_type_target_id:
plugin_id: bef
advanced:
sort_options: false
rewrite:
filter_rewrite_values: ''
filter_rewrite_values_key: false
collapsible: false
collapsible_disable_automatic_open: false
is_secondary: false
hide_label: true
select_all_none: false
select_all_none_nested: false
display_inline: true
access:
type: perm
options:
@@ -145,100 +137,67 @@ display:
cache:
type: tag
options: { }
empty:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
plugin_id: text_custom
empty: true
content: 'No content available.'
tokenize: false
empty: { }
sorts:
changed:
id: changed
created:
id: created
table: node_field_data
field: changed
field: created
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: changed
entity_field: created
plugin_id: date
order: DESC
expose:
label: ''
field_identifier: changed
field_identifier: ''
exposed: false
granularity: second
arguments: { }
filters:
status_extra:
id: status_extra
status:
id: status
table: node_field_data
field: status_extra
relationship: none
group_type: group
admin_label: ''
field: status
entity_type: node
plugin_id: node_status
operator: '='
value: false
entity_field: status
plugin_id: boolean
value: '1'
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
langcode:
id: langcode
type:
id: type
table: node_field_data
field: langcode
relationship: none
group_type: group
admin_label: ''
field: type
entity_type: node
entity_field: langcode
plugin_id: language
operator: in
entity_field: type
plugin_id: bundle
value:
'***LANGUAGE_language_content***': '***LANGUAGE_language_content***'
snippet: snippet
field_snippet_type_target_id:
id: field_snippet_type_target_id
table: node__field_snippet_type
field: field_snippet_type_target_id
relationship: none
group_type: group
admin_label: ''
plugin_id: taxonomy_index_tid
operator: or
value: { }
group: 1
exposed: false
exposed: true
expose:
operator_id: ''
label: ''
operator_id: field_snippet_type_target_id_op
label: type
description: ''
use_operator: false
operator: ''
operator: field_snippet_type_target_id_op
operator_limit_selection: false
operator_list: { }
identifier: ''
identifier: type
required: false
remember: false
multiple: false
@@ -257,17 +216,26 @@ display:
default_group: All
default_group_multiple: { }
group_items: { }
reduce_duplicates: false
vid: tags
type: select
hierarchy: false
limit: true
error_message: true
style:
type: html_list
type: default
options:
grouping: { }
row_class: ''
default_row_class: true
type: ul
wrapper_class: item-list
class: ''
uses_fields: false
row:
type: fields
options:
default_field_elements: true
inline: { }
separator: ''
hide_empty: false
query:
type: views_query
options:
@@ -276,23 +244,8 @@ display:
distinct: false
replica: false
query_tags: { }
relationships:
uid:
id: uid
table: node_field_data
field: uid
relationship: none
group_type: group
admin_label: author
entity_type: node
entity_field: uid
plugin_id: standard
required: true
use_more: false
use_more_always: false
use_more_text: More
link_display: '0'
link_url: ''
relationships: { }
use_ajax: true
header: { }
footer: { }
display_extenders: { }
@@ -301,23 +254,26 @@ display:
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- user
- url
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags: { }
block_1:
id: block_1
display_title: Block
display_title: Snippets
display_plugin: block
position: 1
display_options:
display_description: ''
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- user
- url
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags: { }

View File

@@ -1,823 +0,0 @@
uuid: a50507ca-b528-444f-ae19-86a5e10edbfd
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.storage.node.field_fighter_one
- field.storage.node.field_fighter_two
- field.storage.node.field_result
module:
- node
- taxonomy
- user
_core:
default_config_hash: z9csC6m3M65M2JczdNul_lMUrVg8ZO66pbSq8jPCBKs
id: taxonomy_term
label: 'Taxonomy term'
module: taxonomy
description: 'Content belonging to a certain taxonomy term.'
tag: default
base_table: node_field_data
base_field: nid
display:
default:
id: default
display_title: Default
display_plugin: default
position: 0
display_options:
fields: { }
pager:
type: mini
options:
offset: 0
pagination_heading_level: h4
items_per_page: 10
total_pages: 0
id: 0
tags:
next:
previous:
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
offset: false
offset_label: Offset
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: perm
options:
perm: 'access content'
cache:
type: tag
options: { }
empty: { }
sorts:
sticky:
id: sticky
table: taxonomy_index
field: sticky
relationship: none
group_type: group
admin_label: ''
plugin_id: standard
order: DESC
expose:
label: ''
field_identifier: sticky
exposed: false
created:
id: created
table: taxonomy_index
field: created
relationship: none
group_type: group
admin_label: ''
plugin_id: date
order: DESC
expose:
label: ''
field_identifier: created
exposed: false
granularity: second
arguments:
tid:
id: tid
table: taxonomy_index
field: tid
relationship: none
group_type: group
admin_label: ''
plugin_id: taxonomy_index_tid
default_action: 'not found'
exception:
value: ''
title_enable: false
title: All
title_enable: true
title: '{{ arguments.tid }}'
default_argument_type: fixed
default_argument_options:
argument: ''
summary_options:
base_path: ''
count: true
override: false
items_per_page: 25
summary:
sort_order: asc
number_of_records: 0
format: default_summary
specify_validation: true
validate:
type: 'entity:taxonomy_term'
fail: 'not found'
validate_options:
bundles: { }
access: true
operation: view
multiple: 0
break_phrase: false
add_table: false
require_value: false
reduce_duplicates: false
filters:
langcode:
id: langcode
table: node_field_data
field: langcode
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: langcode
plugin_id: language
operator: in
value:
'***LANGUAGE_language_content***': '***LANGUAGE_language_content***'
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
reduce: false
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
status:
id: status
table: taxonomy_index
field: status
relationship: none
group_type: group
admin_label: ''
plugin_id: boolean
operator: '='
value: '1'
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
style:
type: default
options:
grouping: { }
row_class: ''
default_row_class: true
uses_fields: false
row:
type: 'entity:node'
options:
view_mode: teaser
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships: { }
link_display: page_1
link_url: ''
header:
entity_taxonomy_term:
id: entity_taxonomy_term
table: views
field: entity_taxonomy_term
relationship: none
group_type: group
admin_label: ''
plugin_id: entity
empty: true
target: '{{ raw_arguments.tid }}'
view_mode: full
tokenize: true
bypass_access: false
footer: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_interface'
- url
- url.query_args
- 'user.node_grants:view'
- user.permissions
tags: { }
feed_1:
id: feed_1
display_title: Feed
display_plugin: feed
position: 2
display_options:
enabled: false
pager:
type: some
options:
offset: 0
items_per_page: 10
style:
type: rss
options:
grouping: { }
uses_fields: false
description: ''
row:
type: node_rss
options:
relationship: none
view_mode: default
query:
type: views_query
options: { }
display_extenders: { }
path: taxonomy/term/%/feed
displays:
page_1: page_1
default: '0'
cache_metadata:
max-age: -1
contexts:
- 'languages:language_interface'
- url
- 'user.node_grants:view'
- user.permissions
tags: { }
page_1:
id: page_1
display_title: Page
display_plugin: page
position: 1
display_options:
fields:
view_node:
id: view_node
table: node
field: view_node
relationship: none
group_type: group
admin_label: ''
entity_type: node
plugin_id: entity_link
label: ''
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: false
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
text: 'view matchup'
output_url_as_text: false
absolute: false
nid:
id: nid
table: node_field_data
field: nid
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: nid
plugin_id: field
label: ID
exclude: true
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: number_integer
settings:
thousand_separator: ''
prefix_suffix: true
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
title:
id: title
table: node_field_data
field: title
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: title
plugin_id: field
label: Title
exclude: true
alter:
alter_text: true
text: '{{ nid }} '
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: true
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_fighter_one:
id: field_fighter_one
table: node__field_fighter_one
field: field_fighter_one
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: 'Fighter One'
exclude: false
alter:
alter_text: true
text: '<div data-id="{{ title }}" data-fighter="{{ field_fighter_one__target_id }}">{{ field_fighter_one }} </div>'
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_fighter_two:
id: field_fighter_two
table: node__field_fighter_two
field: field_fighter_two
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: 'Fighter Two'
exclude: false
alter:
alter_text: true
text: '<div data-fighter="{{ field_fighter_two__target_id }}">{{ field_fighter_two }}</div>'
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
field_result:
id: field_result
table: node__field_result
field: field_result
relationship: none
group_type: group
admin_label: ''
plugin_id: field
label: Result
exclude: false
alter:
alter_text: false
text: '<span data-id="{{ title }}">{{ field_result }}</span>'
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: true
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
nothing:
id: nothing
table: views
field: nothing
relationship: none
group_type: group
admin_label: ''
plugin_id: custom
label: 'Prediction (Confidence)'
exclude: false
alter:
alter_text: true
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: false
pager:
type: none
options:
offset: 0
sorts:
created:
id: created
table: taxonomy_index
field: created
relationship: none
group_type: group
admin_label: ''
plugin_id: date
order: DESC
expose:
label: ''
field_identifier: created
exposed: false
granularity: second
style:
type: table
options:
grouping: { }
row_class: fight
default_row_class: true
columns:
field_fighter_one: field_fighter_one
field_fighter_two: field_fighter_two
field_result: field_result
nothing: nothing
default: '-1'
info:
field_fighter_one:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_fighter_two:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
field_result:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
nothing:
align: ''
separator: ''
empty_column: false
responsive: ''
override: true
sticky: false
summary: ''
empty_table: false
caption: ''
description: ''
row:
type: 'entity:node'
options:
view_mode: teaser
query:
type: views_query
options: { }
defaults:
pager: false
style: false
row: false
fields: false
sorts: false
display_extenders: { }
path: taxonomy/term/%
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- 'user.node_grants:view'
- user.permissions
tags:
- 'config:field.storage.node.field_fighter_one'
- 'config:field.storage.node.field_fighter_two'
- 'config:field.storage.node.field_result'

View File

@@ -552,8 +552,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
is_grouped: false
group_info:
label: ''
@@ -597,8 +595,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
is_grouped: true
group_info:
label: Status
@@ -645,8 +641,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
reduce: false
is_grouped: false
group_info:
@@ -687,8 +681,6 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
reduce: false
is_grouped: false
group_info:

View File

@@ -526,8 +526,6 @@ display:
multiple: true
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
reduce: false
is_grouped: false
group_info:
@@ -567,8 +565,6 @@ display:
multiple: true
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
reduce: false
is_grouped: false
group_info:

File diff suppressed because it is too large Load Diff

View File

@@ -1,197 +0,0 @@
uuid: 8683f088-88dd-4945-8040-9768dc061ecf
langcode: en
status: true
dependencies:
module:
- user
_core:
default_config_hash: zji0_13MyVGK7Bn1lUMDeZyyOIZedWvqpYUeM_SioPI
id: who_s_new
label: "Who's new"
module: user
description: 'Shows a list of the newest user accounts on the site.'
tag: default
base_table: users_field_data
base_field: uid
display:
default:
id: default
display_title: Default
display_plugin: default
position: 0
display_options:
title: "Who's new"
fields:
name:
id: name
table: users_field_data
field: name
relationship: none
group_type: group
admin_label: ''
entity_type: user
entity_field: name
plugin_id: field
label: ''
exclude: false
alter:
alter_text: false
make_link: false
absolute: false
word_boundary: false
ellipsis: false
strip_tags: false
trim: false
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
type: user_name
pager:
type: some
options:
offset: 0
items_per_page: 5
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: perm
options:
perm: 'access content'
cache:
type: tag
options: { }
empty: { }
sorts:
created:
id: created
table: users_field_data
field: created
relationship: none
group_type: group
admin_label: ''
entity_type: user
entity_field: created
plugin_id: date
order: DESC
expose:
label: ''
field_identifier: created
exposed: false
granularity: second
arguments: { }
filters:
status:
id: status
table: users_field_data
field: status
entity_type: user
entity_field: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: '0'
operator_limit_selection: false
operator_list: { }
access:
id: access
table: users_field_data
field: access
relationship: none
group_type: group
admin_label: ''
entity_type: user
entity_field: access
plugin_id: date
operator: '>'
value:
min: ''
max: ''
value: '1970-01-01'
type: date
group: 1
exposed: false
expose:
operator_id: '0'
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
style:
type: html_list
row:
type: fields
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships: { }
header: { }
footer: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- user.permissions
tags: { }
block_1:
id: block_1
display_title: "Who's new"
display_plugin: block
position: 1
display_options:
display_description: 'A list of new users'
display_extenders: { }
block_description: "Who's new"
block_category: User
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- user.permissions
tags: { }

View File

@@ -1,226 +0,0 @@
uuid: d2a45161-7119-45ff-8584-b09932c94069
langcode: en
status: true
dependencies:
module:
- user
_core:
default_config_hash: suDsVMgawXoQt4rfmdfpr05EVX3z3KyfDDTYgeSM898
id: who_s_online
label: "Who's online block"
module: user
description: 'Shows the user names of the most recently active users, and the total number of active users.'
tag: default
base_table: users_field_data
base_field: uid
display:
default:
id: default
display_title: Default
display_plugin: default
position: 0
display_options:
title: "Who's online"
fields:
name:
id: name
table: users_field_data
field: name
relationship: none
group_type: group
admin_label: ''
entity_type: user
entity_field: name
plugin_id: field
label: ''
exclude: false
alter:
alter_text: false
make_link: false
absolute: false
word_boundary: false
ellipsis: false
strip_tags: false
trim: false
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
type: user_name
pager:
type: some
options:
offset: 0
items_per_page: 10
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: perm
options:
perm: 'access user profiles'
cache:
type: tag
options: { }
empty:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
plugin_id: text_custom
empty: true
content: 'There are currently 0 users online.'
tokenize: false
sorts:
access:
id: access
table: users_field_data
field: access
relationship: none
group_type: group
admin_label: ''
entity_type: user
entity_field: access
plugin_id: date
order: DESC
expose:
label: ''
field_identifier: access
exposed: false
granularity: second
arguments: { }
filters:
status:
id: status
table: users_field_data
field: status
entity_type: user
entity_field: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: '0'
operator_limit_selection: false
operator_list: { }
access:
id: access
table: users_field_data
field: access
relationship: none
group_type: group
admin_label: ''
entity_type: user
entity_field: access
plugin_id: date
operator: '>='
value:
min: ''
max: ''
value: '-15 minutes'
type: offset
group: 1
exposed: false
expose:
operator_id: access_op
label: 'Last access'
description: 'A user is considered online for this long after they have last viewed a page.'
use_operator: false
operator: access_op
operator_limit_selection: false
operator_list: { }
identifier: access
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
style:
type: html_list
options:
grouping: { }
row_class: ''
default_row_class: true
type: ul
wrapper_class: item-list
class: ''
row:
type: fields
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships: { }
header:
result:
id: result
table: views
field: result
relationship: none
group_type: group
admin_label: ''
plugin_id: result
empty: false
content: 'There are currently @total users online.'
footer: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- user.permissions
tags: { }
who_s_online_block:
id: who_s_online_block
display_title: "Who's online"
display_plugin: block
position: 1
display_options:
display_description: 'A list of users that are currently logged in.'
display_extenders: { }
block_description: "Who's online"
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- user.permissions
tags: { }

View File

@@ -1,8 +1,8 @@
prod:
host: 64.23.158.41
user: root
root: /var/www/html/dchadwick/web
uri: https://www.danchadwickdesign.com
host: 164.92.85.112
user: dan
uri: "https://www.danchadwick.dev"
local:
root: /var/www/html/web
uri: https://dchadwick.ddev.site

24
proxy.php Normal file
View File

@@ -0,0 +1,24 @@
<?php
$url = $_GET['url'] ?? '';
if (empty($url)) {
http_response_code(400);
echo json_encode(['error' => 'No URL provided']);
exit;
}
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Accept: application/vnd.api+json',
'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.0.1 Safari/605.1.15'
]);
$response = curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
http_response_code($httpCode);
header('Content-Type: application/vnd.api+json');
echo $response;

1
recipes/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/README.txt

22
scripts/deploy.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/usr/bin/env bash
DESTINATION_BRANCH='main'
LOCAL_REPO='/Users/danchadwick/Sites/dchadwick'
echo "Building artifact and deploying to $DESTINATION_BRANCH\n"
# Remove any old builds.
rm -rf /tmp/builds
mkdir /tmp/builds
# Move into build directory and create artifact.
cd /tmp/builds
git clone root@64.23.158.41:/var/repo/repository.git -b main dchadwick
cd dchadwick
echo "Copying local repo to build dir\n"
rsync -av --exclude-from="$LOCAL_REPO/scripts/rsync-exclude.txt" $LOCAL_REPO/ .
rm .gitignore
git rm --cached .gitignore
composer install --no-dev --prefer-dist --no-interaction --optimize-autoloader
find . -mindepth 2 -type d -name ".git" -exec rm -rf {} +
git add -A
git commit -m "Automated Artifact Build."
git push -f origin $DESTINATION_BRANCH

18
scripts/rsync-exclude.txt Normal file
View File

@@ -0,0 +1,18 @@
.ddev
settings.ddev.php
development.services.yml
.phpunit.cache
.git
.gitignore
.gitmodules
.git/modules/*
private-files
vendor
node_modules
tmp
web/core
web/modules/contrib
web/themes/contrib
web/sites/simpletest
web/profiles/contrib
web/sites/default/files

View File

@@ -1,7 +1,5 @@
#!/usr/bin/env bash
# import all fighters.
ddev drush @self.local ev '\Drupal::service("ufc.import_fighters")->importFighters();';
ddev drush @self.local ev '\Drupal::service("ufc.import_fights")->importEvents();';
ddev drush @self.local ev '\Drupal::service("ufc.import_fights")->createFights();';
ddev drush @self ufc:import-fighters

View File

@@ -44,7 +44,7 @@ if (str_contains($path, '.php')) {
// fallback to index.php.
do {
$path = dirname($path);
if (preg_match('/\.php$/', $path) && is_file(__DIR__ . $path)) {
if (str_ends_with($path, '.php') && is_file(__DIR__ . $path)) {
// Discovered that the path contains an existing PHP file. Use that as the
// script to include.
$script = ltrim($path, '/');

View File

@@ -22,6 +22,9 @@ DirectoryIndex index.php index.html index.htm
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
# Add correct encoding for webp.
AddType image/webp .webp
# Most of the following PHP settings cannot be changed at runtime. See
# sites/default/default.settings.php and
# Drupal\Core\DrupalKernel::bootEnvironment() for settings that can be

8102
web/db.sql Normal file

File diff suppressed because one or more lines are too long

BIN
web/db/backup.sqlite Normal file

Binary file not shown.

View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2019 Léon Gersen
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@@ -0,0 +1,42 @@
# noUiSlider
noUiSlider is a lightweight JavaScript range slider.
- **Accessible** with `aria` and keyboard support
- GPU animated: no reflows, so fast; even on older devices
- All modern browsers and IE > 9 are supported
- **No dependencies**
- Fully **responsive**
- **Multi-touch support** on Android, iOS and Windows devices
- Tons of [examples](https://refreshless.com/nouislider/examples) and answered [Stack Overflow questions](https://stackoverflow.com/questions/tagged/nouislider)
License
-------
noUiSlider is licensed [MIT](https://choosealicense.com/licenses/mit/).
It can be used **for free** and **without any attribution**, in any personal or commercial project.
[Documentation](https://refreshless.com/nouislider/)
-------
An extensive documentation, including **examples**, **options** and **configuration details**, is available here:
[noUiSlider documentation](https://refreshless.com/nouislider/).
Contributing
------------
See [Contributing](CONTRIBUTING.md).
Sponsorship
-----------
noUiSlider is a stable project that still receives a lot of feature requests. A lot of these are interesting, but require a good amount of effort to implement, test and document. Sponsorship of this project will allow me to spend some more of my time on these feature requests.
Please consider sponsoring the project by clicking the "❤ Sponsor" button above. Thanks!
Tooling
-------
Cross-browser testing kindly provided by BrowserStack.
[![Tested with BrowserStack](documentation/assets/browserstack-logo-380x90.png)](http://browserstack.com/)

View File

@@ -0,0 +1,10 @@
{
"name": "drupal/nouislider_js",
"description": "Mirror of the noUiSlider javascript library tagged as a Drupal library.",
"type": "drupal-library",
"homepage": "https://github.com/leongersen/noUiSlider",
"license": "MIT License",
"extra": {
"installer-name": "nouislider"
}
}

View File

@@ -0,0 +1,304 @@
/* Functional styling;
* These styles are required for noUiSlider to function.
* You don't need to change these rules to apply your design.
*/
.noUi-target,
.noUi-target * {
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-user-select: none;
-ms-touch-action: none;
touch-action: none;
-ms-user-select: none;
-moz-user-select: none;
user-select: none;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.noUi-target {
position: relative;
}
.noUi-base,
.noUi-connects {
width: 100%;
height: 100%;
position: relative;
z-index: 1;
}
/* Wrapper for all connect elements.
*/
.noUi-connects {
overflow: hidden;
z-index: 0;
}
.noUi-connect,
.noUi-origin {
will-change: transform;
position: absolute;
z-index: 1;
top: 0;
right: 0;
height: 100%;
width: 100%;
-ms-transform-origin: 0 0;
-webkit-transform-origin: 0 0;
-webkit-transform-style: preserve-3d;
transform-origin: 0 0;
transform-style: flat;
}
/* Offset direction
*/
.noUi-txt-dir-rtl.noUi-horizontal .noUi-origin {
left: 0;
right: auto;
}
/* Give origins 0 height/width so they don't interfere with clicking the
* connect elements.
*/
.noUi-vertical .noUi-origin {
top: -100%;
width: 0;
}
.noUi-horizontal .noUi-origin {
height: 0;
}
.noUi-handle {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
position: absolute;
}
.noUi-touch-area {
height: 100%;
width: 100%;
}
.noUi-state-tap .noUi-connect,
.noUi-state-tap .noUi-origin {
-webkit-transition: transform 0.3s;
transition: transform 0.3s;
}
.noUi-state-drag * {
cursor: inherit !important;
}
/* Slider size and handle placement;
*/
.noUi-horizontal {
height: 18px;
}
.noUi-horizontal .noUi-handle {
width: 34px;
height: 28px;
right: -17px;
top: -6px;
}
.noUi-vertical {
width: 18px;
}
.noUi-vertical .noUi-handle {
width: 28px;
height: 34px;
right: -6px;
bottom: -17px;
}
.noUi-txt-dir-rtl.noUi-horizontal .noUi-handle {
left: -17px;
right: auto;
}
/* Styling;
* Giving the connect element a border radius causes issues with using transform: scale
*/
.noUi-target {
background: #FAFAFA;
border-radius: 4px;
border: 1px solid #D3D3D3;
box-shadow: inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB;
}
.noUi-connects {
border-radius: 3px;
}
.noUi-connect {
background: #3FB8AF;
}
/* Handles and cursors;
*/
.noUi-draggable {
cursor: ew-resize;
}
.noUi-vertical .noUi-draggable {
cursor: ns-resize;
}
.noUi-handle {
border: 1px solid #D9D9D9;
border-radius: 3px;
background: #FFF;
cursor: default;
box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #EBEBEB, 0 3px 6px -3px #BBB;
}
.noUi-active {
box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #DDD, 0 3px 6px -3px #BBB;
}
/* Handle stripes;
*/
.noUi-handle:before,
.noUi-handle:after {
content: "";
display: block;
position: absolute;
height: 14px;
width: 1px;
background: #E8E7E6;
left: 14px;
top: 6px;
}
.noUi-handle:after {
left: 17px;
}
.noUi-vertical .noUi-handle:before,
.noUi-vertical .noUi-handle:after {
width: 14px;
height: 1px;
left: 6px;
top: 14px;
}
.noUi-vertical .noUi-handle:after {
top: 17px;
}
/* Disabled state;
*/
[disabled] .noUi-connect {
background: #B8B8B8;
}
[disabled].noUi-target,
[disabled].noUi-handle,
[disabled] .noUi-handle {
cursor: not-allowed;
}
/* Base;
*
*/
.noUi-pips,
.noUi-pips * {
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.noUi-pips {
position: absolute;
color: #999;
}
/* Values;
*
*/
.noUi-value {
position: absolute;
white-space: nowrap;
text-align: center;
}
.noUi-value-sub {
color: #ccc;
font-size: 10px;
}
/* Markings;
*
*/
.noUi-marker {
position: absolute;
background: #CCC;
}
.noUi-marker-sub {
background: #AAA;
}
.noUi-marker-large {
background: #AAA;
}
/* Horizontal layout;
*
*/
.noUi-pips-horizontal {
padding: 10px 0;
height: 80px;
top: 100%;
left: 0;
width: 100%;
}
.noUi-value-horizontal {
-webkit-transform: translate(-50%, 50%);
transform: translate(-50%, 50%);
}
.noUi-rtl .noUi-value-horizontal {
-webkit-transform: translate(50%, 50%);
transform: translate(50%, 50%);
}
.noUi-marker-horizontal.noUi-marker {
margin-left: -1px;
width: 2px;
height: 5px;
}
.noUi-marker-horizontal.noUi-marker-sub {
height: 10px;
}
.noUi-marker-horizontal.noUi-marker-large {
height: 15px;
}
/* Vertical layout;
*
*/
.noUi-pips-vertical {
padding: 0 10px;
height: 100%;
top: 0;
left: 100%;
}
.noUi-value-vertical {
-webkit-transform: translate(0, -50%);
transform: translate(0, -50%);
padding-left: 25px;
}
.noUi-rtl .noUi-value-vertical {
-webkit-transform: translate(0, 50%);
transform: translate(0, 50%);
}
.noUi-marker-vertical.noUi-marker {
width: 5px;
height: 2px;
margin-top: -1px;
}
.noUi-marker-vertical.noUi-marker-sub {
width: 10px;
}
.noUi-marker-vertical.noUi-marker-large {
width: 15px;
}
.noUi-tooltip {
display: block;
position: absolute;
border: 1px solid #D9D9D9;
border-radius: 3px;
background: #fff;
color: #000;
padding: 5px;
text-align: center;
white-space: nowrap;
}
.noUi-horizontal .noUi-tooltip {
-webkit-transform: translate(-50%, 0);
transform: translate(-50%, 0);
left: 50%;
bottom: 120%;
}
.noUi-vertical .noUi-tooltip {
-webkit-transform: translate(0, -50%);
transform: translate(0, -50%);
top: 50%;
right: 120%;
}
.noUi-horizontal .noUi-origin > .noUi-tooltip {
-webkit-transform: translate(50%, 0);
transform: translate(50%, 0);
left: auto;
bottom: 10px;
}
.noUi-vertical .noUi-origin > .noUi-tooltip {
-webkit-transform: translate(0, -18px);
transform: translate(0, -18px);
top: auto;
right: 28px;
}

198
web/libraries/nouislider/nouislider.d.ts vendored Normal file
View File

@@ -0,0 +1,198 @@
interface CssClasses {
target: string;
base: string;
origin: string;
handle: string;
handleLower: string;
handleUpper: string;
touchArea: string;
horizontal: string;
vertical: string;
background: string;
connect: string;
connects: string;
ltr: string;
rtl: string;
textDirectionLtr: string;
textDirectionRtl: string;
draggable: string;
drag: string;
tap: string;
active: string;
tooltip: string;
pips: string;
pipsHorizontal: string;
pipsVertical: string;
marker: string;
markerHorizontal: string;
markerVertical: string;
markerNormal: string;
markerLarge: string;
markerSub: string;
value: string;
valueHorizontal: string;
valueVertical: string;
valueNormal: string;
valueLarge: string;
valueSub: string;
}
export interface PartialFormatter {
to: (value: number) => string | number;
from?: (value: string) => number | false;
}
export interface Formatter extends PartialFormatter {
from: (value: string) => number | false;
}
export declare enum PipsMode {
Range = "range",
Steps = "steps",
Positions = "positions",
Count = "count",
Values = "values"
}
export declare enum PipsType {
None = -1,
NoValue = 0,
LargeValue = 1,
SmallValue = 2
}
declare type WrappedSubRange = [number] | [number, number];
declare type SubRange = number | WrappedSubRange;
interface Range {
min: SubRange;
max: SubRange;
[key: `${number}%`]: SubRange;
}
interface BasePips {
mode: PipsMode;
density?: number;
filter?: PipsFilter;
format?: PartialFormatter;
}
interface PositionsPips extends BasePips {
mode: PipsMode.Positions;
values: number[];
stepped?: boolean;
}
interface ValuesPips extends BasePips {
mode: PipsMode.Values;
values: number[];
stepped?: boolean;
}
interface CountPips extends BasePips {
mode: PipsMode.Count;
values: number;
stepped?: boolean;
}
interface StepsPips extends BasePips {
mode: PipsMode.Steps;
}
interface RangePips extends BasePips {
mode: PipsMode.Range;
}
declare type Pips = PositionsPips | ValuesPips | CountPips | StepsPips | RangePips;
declare type ValueArgument = number | string | null;
declare type StartValues = ValueArgument | ValueArgument[];
declare type HandleAttributes = {
[key: string]: string;
};
interface UpdatableOptions {
range?: Range;
start?: StartValues;
margin?: number;
limit?: number;
padding?: number | number[];
snap?: boolean;
step?: number;
pips?: Pips;
format?: Formatter;
tooltips?: boolean | PartialFormatter | (boolean | PartialFormatter)[];
animate?: boolean;
connect?: "lower" | "upper" | boolean | boolean[];
}
export interface Options extends UpdatableOptions {
range: Range;
orientation?: "vertical" | "horizontal";
direction?: "ltr" | "rtl";
behaviour?: string;
keyboardSupport?: boolean;
keyboardPageMultiplier?: number;
keyboardMultiplier?: number;
keyboardDefaultStep?: number;
documentElement?: HTMLElement;
cssPrefix?: string;
cssClasses?: CssClasses;
ariaFormat?: PartialFormatter;
animationDuration?: number;
handleAttributes?: HandleAttributes[];
}
export interface API {
destroy: () => void;
steps: () => NextStepsForHandle[];
on: (eventName: string, callback: EventCallback) => void;
off: (eventName: string) => void;
get: (unencoded?: boolean) => GetResult;
set: (input: ValueArgument | ValueArgument[], fireSetEvent?: boolean, exactInput?: boolean) => void;
setHandle: (handleNumber: number, value: ValueArgument, fireSetEvent?: boolean, exactInput?: boolean) => void;
reset: (fireSetEvent?: boolean) => void;
disable: (handleNumber?: number) => void;
enable: (handleNumber?: number) => void;
options: Options;
updateOptions: (optionsToUpdate: UpdatableOptions, fireSetEvent: boolean) => void;
target: HTMLElement;
removePips: () => void;
removeTooltips: () => void;
getPositions: () => number[];
getTooltips: () => (HTMLElement | false)[] | null;
getOrigins: () => HTMLElement[];
pips: (grid: Pips) => HTMLElement;
}
interface TargetElement extends HTMLElement {
noUiSlider?: API;
}
interface NearByStep {
startValue: number;
step: number | false;
highestStep: number;
}
interface NearBySteps {
stepBefore: NearByStep;
thisStep: NearByStep;
stepAfter: NearByStep;
}
declare type GetResult = number | string | (string | number)[];
declare type NextStepsForHandle = [number | false | null, number | false | null];
declare type PipsFilter = (value: number, type: PipsType) => PipsType;
declare type EventCallback = (this: API, values: (number | string)[], handleNumber: number, unencoded: number[], tap: boolean, locations: number[], slider: API) => void;
declare class Spectrum {
xPct: number[];
xVal: number[];
xSteps: (number | false)[];
xNumSteps: (number | false)[];
protected xHighestCompleteStep: number[];
protected snap: boolean;
constructor(entry: Range, snap: boolean, singleStep: number);
getDistance(value: number): number[];
getAbsoluteDistance(value: number, distances: number[] | null, direction: boolean): number;
toStepping(value: number): number;
fromStepping(value: number): number;
getStep(value: number): number;
getDefaultStep(value: number, isDown: boolean, size: number): number;
getNearbySteps(value: number): NearBySteps;
countStepDecimals(): number;
hasNoSize(): boolean;
convert(value: number): number;
private handleEntryPoint;
private handleStepPoint;
}
declare const cssClasses: CssClasses;
declare function initialize(target: TargetElement, originalOptions: Options): API;
export { TargetElement as target };
export { initialize as create };
export { cssClasses };
declare const _default: {
__spectrum: typeof Spectrum;
cssClasses: CssClasses;
create: typeof initialize;
};
export default _default;

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1 @@
.noUi-target,.noUi-target *{-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-ms-touch-action:none;touch-action:none;-ms-user-select:none;-moz-user-select:none;user-select:none;-moz-box-sizing:border-box;box-sizing:border-box}.noUi-target{position:relative}.noUi-base,.noUi-connects{width:100%;height:100%;position:relative;z-index:1}.noUi-connects{overflow:hidden;z-index:0}.noUi-connect,.noUi-origin{will-change:transform;position:absolute;z-index:1;top:0;right:0;height:100%;width:100%;-ms-transform-origin:0 0;-webkit-transform-origin:0 0;-webkit-transform-style:preserve-3d;transform-origin:0 0;transform-style:flat}.noUi-txt-dir-rtl.noUi-horizontal .noUi-origin{left:0;right:auto}.noUi-vertical .noUi-origin{top:-100%;width:0}.noUi-horizontal .noUi-origin{height:0}.noUi-handle{-webkit-backface-visibility:hidden;backface-visibility:hidden;position:absolute}.noUi-touch-area{height:100%;width:100%}.noUi-state-tap .noUi-connect,.noUi-state-tap .noUi-origin{-webkit-transition:transform .3s;transition:transform .3s}.noUi-state-drag *{cursor:inherit!important}.noUi-horizontal{height:18px}.noUi-horizontal .noUi-handle{width:34px;height:28px;right:-17px;top:-6px}.noUi-vertical{width:18px}.noUi-vertical .noUi-handle{width:28px;height:34px;right:-6px;bottom:-17px}.noUi-txt-dir-rtl.noUi-horizontal .noUi-handle{left:-17px;right:auto}.noUi-target{background:#FAFAFA;border-radius:4px;border:1px solid #D3D3D3;box-shadow:inset 0 1px 1px #F0F0F0,0 3px 6px -5px #BBB}.noUi-connects{border-radius:3px}.noUi-connect{background:#3FB8AF}.noUi-draggable{cursor:ew-resize}.noUi-vertical .noUi-draggable{cursor:ns-resize}.noUi-handle{border:1px solid #D9D9D9;border-radius:3px;background:#FFF;cursor:default;box-shadow:inset 0 0 1px #FFF,inset 0 1px 7px #EBEBEB,0 3px 6px -3px #BBB}.noUi-active{box-shadow:inset 0 0 1px #FFF,inset 0 1px 7px #DDD,0 3px 6px -3px #BBB}.noUi-handle:after,.noUi-handle:before{content:"";display:block;position:absolute;height:14px;width:1px;background:#E8E7E6;left:14px;top:6px}.noUi-handle:after{left:17px}.noUi-vertical .noUi-handle:after,.noUi-vertical .noUi-handle:before{width:14px;height:1px;left:6px;top:14px}.noUi-vertical .noUi-handle:after{top:17px}[disabled] .noUi-connect{background:#B8B8B8}[disabled] .noUi-handle,[disabled].noUi-handle,[disabled].noUi-target{cursor:not-allowed}.noUi-pips,.noUi-pips *{-moz-box-sizing:border-box;box-sizing:border-box}.noUi-pips{position:absolute;color:#999}.noUi-value{position:absolute;white-space:nowrap;text-align:center}.noUi-value-sub{color:#ccc;font-size:10px}.noUi-marker{position:absolute;background:#CCC}.noUi-marker-sub{background:#AAA}.noUi-marker-large{background:#AAA}.noUi-pips-horizontal{padding:10px 0;height:80px;top:100%;left:0;width:100%}.noUi-value-horizontal{-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%)}.noUi-rtl .noUi-value-horizontal{-webkit-transform:translate(50%,50%);transform:translate(50%,50%)}.noUi-marker-horizontal.noUi-marker{margin-left:-1px;width:2px;height:5px}.noUi-marker-horizontal.noUi-marker-sub{height:10px}.noUi-marker-horizontal.noUi-marker-large{height:15px}.noUi-pips-vertical{padding:0 10px;height:100%;top:0;left:100%}.noUi-value-vertical{-webkit-transform:translate(0,-50%);transform:translate(0,-50%);padding-left:25px}.noUi-rtl .noUi-value-vertical{-webkit-transform:translate(0,50%);transform:translate(0,50%)}.noUi-marker-vertical.noUi-marker{width:5px;height:2px;margin-top:-1px}.noUi-marker-vertical.noUi-marker-sub{width:10px}.noUi-marker-vertical.noUi-marker-large{width:15px}.noUi-tooltip{display:block;position:absolute;border:1px solid #D9D9D9;border-radius:3px;background:#fff;color:#000;padding:5px;text-align:center;white-space:nowrap}.noUi-horizontal .noUi-tooltip{-webkit-transform:translate(-50%,0);transform:translate(-50%,0);left:50%;bottom:120%}.noUi-vertical .noUi-tooltip{-webkit-transform:translate(0,-50%);transform:translate(0,-50%);top:50%;right:120%}.noUi-horizontal .noUi-origin>.noUi-tooltip{-webkit-transform:translate(50%,0);transform:translate(50%,0);left:auto;bottom:10px}.noUi-vertical .noUi-origin>.noUi-tooltip{-webkit-transform:translate(0,-18px);transform:translate(0,-18px);top:auto;right:28px}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@@ -1 +0,0 @@
.DS_STORE

View File

@@ -1,21 +0,0 @@
name: Accordion
props:
type: object
properties:
accordionType:
type: string
title: Accordion Type
description: 'The type of accordion.'
slots:
headline:
title: Headline
required: true
description: This is the headline for an accordion.
body:
title: Body
required: true
description: This is the body for an accordion.
libraryOverrides:
dependencies:
- core/drupal
- core/once

View File

@@ -1,59 +0,0 @@
.ib-accordion {
&__item {
margin: 10px 0;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}
&__headline {
background-color: #EFEFEF;
padding: 20px;
cursor: pointer;
display: flex;
align-items: center;
h1, h2, h3, h4, h5, h6 {
font-size: 18px !important;
margin: 0 !important;
color: #3272b3;
--bs-heading-color: #3272b3;
}
&::before {
display: flex;
float: left;
content: "\002B";
font-size: 30px;
font-weight: 700;
justify-content: center;
align-items: center;
background-color: var(--site-primary);
border-radius: 100%;
width: 30px;
height: 30px;
color: #fff;
margin-right: 10px;
}
}
&__body {
padding: 0 20px;
max-height: 0;
overflow: hidden;
will-change: max-height;
transition: all 0.25s ease-out;
align-items: center;
> :first-child {
margin: 20px 0;
}
}
&__active {
.ib-accordion__headline::before {
content: "\2212";
}
}
}

View File

@@ -1,14 +0,0 @@
{% set classes = [
'ib-accordion__item',
'ib-accordion__' ~ type|clean_class,
] %}
{% set ariaLabel = 'accordion-' ~ random(0, 10000) %}
<div class="{{ classes|join(" ") }}">
<div class="ib-accordion__headline">
{% block headline %}{% endblock %}
</div>
<div class="ib-accordion__body" aria-labelledby="{{ ariaLabel }}" aria-expanded="false">
{% block body %}{% endblock %}
</div>
</div>

View File

@@ -1,21 +0,0 @@
name: Banner
props:
type: object
properties:
bannerText:
type: string
title: Banner Text
description: This is the text for the banner.
bannerImage:
type: string
title: Banner Image
description: This is the image for the banner.
bannerType:
type: string
title: Banner Type
description: The type of banner.
enum: ["full", "thin"]
addClasses:
type: string
title: Additonal Classes
description: String of additional classses to add to the banner.

View File

@@ -1 +0,0 @@
.banner__thin{height:192px}.banner__thin .banner__text{position:relative;top:50%;transform:translateY(-50%)}.banner-image{background-size:cover;background-position:center;background-repeat:no-repeat}

View File

@@ -1,21 +0,0 @@
.banner {
&__thin {
height: 192px;
.banner__text {
position: relative;
top: 50%;
transform: translateY(-50%);
}
}
&-image {
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
}

View File

@@ -1,16 +0,0 @@
{%
set classes = [
'banner',
'banner__' ~ bannerType|clean_class,
]
%}
{% if addClasses %}
{% set classes = classes|merge([addClasses]) %}
{% endif %}
<div class="{{ classes|join(" ") }}" style="background-image: url({{ bannerImage }})">
<div class="banner__text container">
{{ include('lawa:heading', { level: '1', headingText: bannerText, color: textColor }, with_context = false) }}
</div>
</div>

View File

@@ -1,28 +0,0 @@
name: Heading
props:
type: object
required:
- level
properties:
level:
type: string
title: Heading Level
description: 'The level of the heading, i.e. h1'
enum: ['1', '2', '3', '4', '5', '6']
headingText:
type: string
title: Heading Text
description: 'The text within the heading.'
color:
type: string
title: Heading Text Color
description: The color of the text for the heading.
enum: ['primary', 'secondary', 'white', 'black', 'neutral', 'teal']
addClasses:
type: string
title: Classes
description: Additional classes for the heading.
subheading:
type: string
title: Subheading
description: Text that can appear under the heading.

View File

@@ -1 +0,0 @@
.heading{margin:0}.heading__primary{color:#1d53a3}.heading__white{color:#fff}.heading__black{color:#000}.heading__neutral{color:#121212}.heading__teal{color:#01b9b6}

View File

@@ -1,27 +0,0 @@
@import 'src/sass/partials/variables';
.heading {
margin: 0;
&__primary {
color: $primary_navy;
}
&__white {
color: $white;
}
&__black {
color: $black;
}
&__neutral {
color: $neutrals;
}
&__teal {
color: $teal;
}
}

View File

@@ -1,22 +0,0 @@
{% set classes = ['heading'] %}
{% if color %}
{% set classes = classes|merge(['heading__' ~ color|clean_class]) %}
{% endif %}
{% if addClasses %}
{% set classes = classes|merge([addClasses])%}
{% endif %}
{% set heading = headingText.0['#context']['value']|default(headingText) %}
{% if ariaLabel %}
<h{{ level }} id="{{ ariaLabel }}" class="{{ classes|join(" ")}}">{{ heading }}</h{{ level}}>
{% else %}
<h{{ level }} class="{{ classes|join(" ")}}">
{{ heading }}
{% if subheading %}
<br><em>{{ subheading }}</em>
{% endif %}
</h{{ level}}>
{% endif %}

View File

@@ -1,8 +0,0 @@
uuid: 62221ff8-bff9-4615-b8b1-b5387c5c5fb8
langcode: en
status: true
dependencies: { }
id: ping_pong
label: 'Ping Pong'
revision: false
description: 'A ping pong component.'

View File

@@ -1,66 +0,0 @@
uuid: cec1a040-81f5-465e-93b0-7f8c1b329a3b
langcode: en
status: true
dependencies:
config:
- block_content.type.ping_pong
- field.field.block_content.ping_pong.field_ping_pong_background_color
- field.field.block_content.ping_pong.field_ping_pong_body
- field.field.block_content.ping_pong.field_ping_pong_cta
- field.field.block_content.ping_pong.field_ping_pong_layout
- field.field.block_content.ping_pong.field_ping_pong_media_alignment
- field.field.block_content.ping_pong.field_ping_pong_media_items
module:
- color_field
- link
- media_library
- text
id: block_content.ping_pong.default
targetEntityType: block_content
bundle: ping_pong
mode: default
content:
field_ping_pong_background_color:
type: color_field_widget_box
weight: 1
region: content
settings:
default_colors: '#ac725e,#d06b64,#f83a22,#fa573c,#ff7537,#ffad46,#42d692,#16a765,#7bd148,#b3dc6c,#fbe983'
third_party_settings: { }
field_ping_pong_body:
type: text_textarea
weight: 5
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
field_ping_pong_cta:
type: link_default
weight: 26
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_ping_pong_layout:
type: options_select
weight: 2
region: content
settings: { }
third_party_settings: { }
field_ping_pong_media_alignment:
type: options_select
weight: 3
region: content
settings: { }
third_party_settings: { }
field_ping_pong_media_items:
type: media_library_widget
weight: 4
region: content
settings:
media_types: { }
third_party_settings: { }
hidden:
info: true

View File

@@ -1,75 +0,0 @@
uuid: ed5314c0-a437-46a6-8f0a-8a09370c01b2
langcode: en
status: true
dependencies:
config:
- block_content.type.ping_pong
- field.field.block_content.ping_pong.field_ping_pong_background_color
- field.field.block_content.ping_pong.field_ping_pong_body
- field.field.block_content.ping_pong.field_ping_pong_cta
- field.field.block_content.ping_pong.field_ping_pong_layout
- field.field.block_content.ping_pong.field_ping_pong_media_alignment
- field.field.block_content.ping_pong.field_ping_pong_media_items
module:
- color_field
- link
- options
- text
id: block_content.ping_pong.default
targetEntityType: block_content
bundle: ping_pong
mode: default
content:
field_ping_pong_background_color:
type: color_field_formatter_text
label: hidden
settings:
format: hex
opacity: true
third_party_settings: { }
weight: 5
region: content
field_ping_pong_body:
type: text_default
label: hidden
settings: { }
third_party_settings: { }
weight: 6
region: content
field_ping_pong_cta:
type: link
label: hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
third_party_settings: { }
weight: 11
region: content
field_ping_pong_layout:
type: list_default
label: hidden
settings: { }
third_party_settings: { }
weight: 8
region: content
field_ping_pong_media_alignment:
type: list_default
label: hidden
settings: { }
third_party_settings: { }
weight: 9
region: content
field_ping_pong_media_items:
type: entity_reference_entity_view
label: hidden
settings:
view_mode: ping_pong
link: false
third_party_settings: { }
weight: 10
region: content
hidden:
search_api_excerpt: true

View File

@@ -1,40 +0,0 @@
uuid: ad80e641-9853-4131-9802-0394aa966e30
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.ping_pong
- field.field.media.image.field_media_image
- image.style.large
- media.type.image
module:
- image
- layout_builder
third_party_settings:
layout_builder:
enabled: false
allow_custom: false
_core:
default_config_hash: 73xaTNkI5J6sfFcBmNYeuk070X3mQS_iwwWaPYyfG2M
id: media.image.ping_pong
targetEntityType: media
bundle: image
mode: ping_pong
content:
field_media_image:
type: image
label: visually_hidden
settings:
image_link: ''
image_style: large
image_loading:
attribute: lazy
third_party_settings: { }
weight: 1
region: content
hidden:
created: true
name: true
search_api_excerpt: true
thumbnail: true
uid: true

View File

@@ -1,42 +0,0 @@
uuid: fd852e6e-b857-45f5-9ff9-125ab5611d51
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.ping_pong
- field.field.media.video.field_media_video_file
- media.type.video
module:
- file
- layout_builder
third_party_settings:
layout_builder:
enabled: false
allow_custom: false
_core:
default_config_hash: SxvbuGh-6cQMxl9bBV27-hGI46u7ZvwlMm5ObaJMNnw
id: media.video.ping_pong
targetEntityType: media
bundle: video
mode: ping_pong
content:
field_media_video_file:
type: file_video
label: visually_hidden
settings:
controls: true
autoplay: false
loop: false
multiple_file_display_type: tags
muted: false
width: 640
height: 480
third_party_settings: { }
weight: 0
region: content
hidden:
created: true
name: true
search_api_excerpt: true
thumbnail: true
uid: true

View File

@@ -1,11 +0,0 @@
uuid: 3907b7a9-1d74-4907-bcd5-ec4cc1071ed2
langcode: en
status: true
dependencies:
module:
- media
id: media.ping_pong
label: 'Ping Pong'
description: ''
targetEntityType: media
cache: true

View File

@@ -1,22 +0,0 @@
uuid: 31cd8a2a-3bdf-43cd-9a64-43282c7e94be
langcode: en
status: true
dependencies:
config:
- block_content.type.ping_pong
- field.storage.block_content.field_ping_pong_background_color
module:
- color_field
id: block_content.ping_pong.field_ping_pong_background_color
field_name: field_ping_pong_background_color
entity_type: block_content
bundle: ping_pong
label: 'Ping Pong Background Color'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
opacity: 0
field_type: color_field_type

View File

@@ -1,22 +0,0 @@
uuid: 943e8d34-238f-4de9-9196-87ed7785bf74
langcode: en
status: true
dependencies:
config:
- block_content.type.ping_pong
- field.storage.block_content.field_ping_pong_body
module:
- text
id: block_content.ping_pong.field_ping_pong_body
field_name: field_ping_pong_body
entity_type: block_content
bundle: ping_pong
label: 'Ping Pong Body'
description: 'The body text of the ping pong.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
allowed_formats: { }
field_type: text_long

View File

@@ -1,23 +0,0 @@
uuid: 03279c7a-a355-4a6e-b9ad-b6c051d97963
langcode: en
status: true
dependencies:
config:
- block_content.type.ping_pong
- field.storage.block_content.field_ping_pong_cta
module:
- link
id: block_content.ping_pong.field_ping_pong_cta
field_name: field_ping_pong_cta
entity_type: block_content
bundle: ping_pong
label: 'Ping Pong CTA'
description: 'CTA Link for the ping pong item.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
title: 1
link_type: 17
field_type: link

View File

@@ -1,21 +0,0 @@
uuid: 71d04346-f3b6-4b11-ac4f-98cd5ad14b35
langcode: en
status: true
dependencies:
config:
- block_content.type.ping_pong
- field.storage.block_content.field_ping_pong_layout
module:
- options
id: block_content.ping_pong.field_ping_pong_layout
field_name: field_ping_pong_layout
entity_type: block_content
bundle: ping_pong
label: 'Ping Pong Layout'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: list_string

View File

@@ -1,21 +0,0 @@
uuid: 00c6c95a-5f80-45c8-ab83-deecd252ce32
langcode: en
status: true
dependencies:
config:
- block_content.type.ping_pong
- field.storage.block_content.field_ping_pong_media_alignment
module:
- options
id: block_content.ping_pong.field_ping_pong_media_alignment
field_name: field_ping_pong_media_alignment
entity_type: block_content
bundle: ping_pong
label: 'Ping Pong Media Alignment'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: list_string

View File

@@ -1,31 +0,0 @@
uuid: 207b28f1-37af-4c91-9cb1-d75d76ab2277
langcode: en
status: true
dependencies:
config:
- block_content.type.ping_pong
- field.storage.block_content.field_ping_pong_media_items
- media.type.image
- media.type.video
id: block_content.ping_pong.field_ping_pong_media_items
field_name: field_ping_pong_media_items
entity_type: block_content
bundle: ping_pong
label: 'Ping Pong Media Items'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default:media'
handler_settings:
target_bundles:
image: image
video: video
sort:
field: _none
direction: ASC
auto_create: false
auto_create_bundle: image
field_type: entity_reference

View File

@@ -1,20 +0,0 @@
uuid: 2c91aadc-de94-4014-80b0-0165cb294d7e
langcode: en
status: true
dependencies:
module:
- block_content
- color_field
id: block_content.field_ping_pong_background_color
field_name: field_ping_pong_background_color
entity_type: block_content
type: color_field_type
settings:
format: '#HEXHEX'
module: color_field
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -1,19 +0,0 @@
uuid: 251a77bd-a105-4525-b528-0d1acdb5dea0
langcode: en
status: true
dependencies:
module:
- block_content
- text
id: block_content.field_ping_pong_body
field_name: field_ping_pong_body
entity_type: block_content
type: text_long
settings: { }
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -1,19 +0,0 @@
uuid: 5f9b0f7a-f3ed-4b92-9558-d02846914aff
langcode: en
status: true
dependencies:
module:
- block_content
- link
id: block_content.field_ping_pong_cta
field_name: field_ping_pong_cta
entity_type: block_content
type: link
settings: { }
module: link
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -1,36 +0,0 @@
uuid: cb0cf63f-b12d-42a4-9ad8-151a6b45e5c4
langcode: en
status: true
dependencies:
module:
- block_content
- options
id: block_content.field_ping_pong_layout
field_name: field_ping_pong_layout
entity_type: block_content
type: list_string
settings:
allowed_values:
-
value: '50_50'
label: 50-50
-
value: '67_33'
label: 67-33
-
value: '33_67'
label: 33-67
-
value: '25_75'
label: 25-75
-
value: '75_25'
label: 75-25
allowed_values_function: ''
module: options
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -1,27 +0,0 @@
uuid: 5aad3453-4210-45e5-a891-949efed0792c
langcode: en
status: true
dependencies:
module:
- block_content
- options
id: block_content.field_ping_pong_media_alignment
field_name: field_ping_pong_media_alignment
entity_type: block_content
type: list_string
settings:
allowed_values:
-
value: left
label: Left
-
value: right
label: Right
allowed_values_function: ''
module: options
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -1,20 +0,0 @@
uuid: ced369f0-c81f-44c2-9715-c80f73ba58ae
langcode: en
status: true
dependencies:
module:
- block_content
- media
id: block_content.field_ping_pong_media_items
field_name: field_ping_pong_media_items
entity_type: block_content
type: entity_reference
settings:
target_type: media
module: core
locked: false
cardinality: -1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false

View File

@@ -1,5 +0,0 @@
name: DC Component Library
description: 'Components for use on a site.'
type: module
package: custom
core_version_requirement: ^10.3 || ^11

View File

@@ -1,17 +0,0 @@
<?php
/**
* Implements hook_theme().
*/
function dc_components_theme() {
return [
'block__inline_block__ping_pong' => [
'render element' => 'elements',
'base hook' => 'block',
],
'field__block_content__field_ping_pong_media_items__ping_pong' => [
'render element' => 'elements',
'base hook' => 'field'
]
];
}

View File

@@ -20,7 +20,6 @@ final class CopyrightBlock extends BlockBase {
*/
public function build(): array {
$year = date('Y');
"<p>&#169; Dan Chadwick {$year}</p>";
$build = [
'#markup' => "<p>&#169; Dan Chadwick {$year}</p>",
];

View File

@@ -0,0 +1,6 @@
{
"presets": [
"@babel/preset-env",
"@babel/preset-react"
]
}

View File

@@ -0,0 +1,5 @@
name: DC React
type: module
description: React Plaground
package: DC React
core_version_requirement: ^10 || ^11

View File

@@ -0,0 +1,3 @@
main:
js:
js/dist/main.min.js: { minified: true }

Some files were not shown because too many files have changed in this diff Show More