Skip to content

Commit 81c2bd5

Browse files
committed
custom css, new view templates, menu preprocess
1 parent 53d2d22 commit 81c2bd5

File tree

48 files changed

+680
-113
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+680
-113
lines changed

config/sync/block.block.alertblockheader.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies:
1111
id: alertblockheader
1212
theme: disaster_recovery_bootstrap
1313
region: content
14-
weight: -1
14+
weight: 0
1515
provider: null
1616
plugin: 'block_content:d997f041-e21e-4020-97c5-2bc494a87bbb'
1717
settings:

config/sync/block.block.exposedformknowledge_base_help_center_page_page_1.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies:
1111
id: exposedformknowledge_base_help_center_page_page_1
1212
theme: disaster_recovery_bootstrap
1313
region: header
14-
weight: -3
14+
weight: -2
1515
provider: null
1616
plugin: 'views_exposed_filter_block:knowledge_base_help_center_page_-page_1'
1717
settings:

config/sync/block.block.exposedformsituation_mappage_1.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies:
1111
id: exposedformsituation_mappage_1
1212
theme: disaster_recovery_bootstrap
1313
region: header
14-
weight: -2
14+
weight: -1
1515
provider: null
1616
plugin: 'views_exposed_filter_block:situation_map-page_1'
1717
settings:

config/sync/block.block.helpcenter.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies:
1212
id: helpcenter
1313
theme: disaster_recovery_bootstrap
1414
region: content
15-
weight: -5
15+
weight: -3
1616
provider: null
1717
plugin: 'block_content:808763a8-5314-4b56-8ce4-2fef9b6f4a5f'
1818
settings:
@@ -26,6 +26,6 @@ settings:
2626
visibility:
2727
request_path:
2828
id: request_path
29-
pages: "/help-center\r\n<front>"
29+
pages: /help-center
3030
negate: false
3131
context_mapping: { }
+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
uuid: 0c7226cb-f0a2-4b91-b923-3c38b96ab3b9
2+
langcode: en
3+
status: true
4+
dependencies:
5+
content:
6+
- 'block_content:everything_block:2ccd5c2c-6682-4a33-aa19-866ec9308174'
7+
module:
8+
- block_content
9+
- system
10+
theme:
11+
- disaster_recovery_bootstrap
12+
id: helpcenterhome
13+
theme: disaster_recovery_bootstrap
14+
region: content
15+
weight: -4
16+
provider: null
17+
plugin: 'block_content:2ccd5c2c-6682-4a33-aa19-866ec9308174'
18+
settings:
19+
id: 'block_content:2ccd5c2c-6682-4a33-aa19-866ec9308174'
20+
label: 'help center home'
21+
provider: block_content
22+
label_display: '0'
23+
status: true
24+
info: ''
25+
view_mode: full
26+
visibility:
27+
request_path:
28+
id: request_path
29+
pages: '<front>'
30+
negate: false
31+
context_mapping: { }

config/sync/block.block.mainpagecontent.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dependencies:
99
id: mainpagecontent
1010
theme: disaster_recovery_bootstrap
1111
region: content
12-
weight: -2
12+
weight: -1
1313
provider: null
1414
plugin: system_main_block
1515
settings:

config/sync/block.block.map.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies:
1212
id: map
1313
theme: disaster_recovery_bootstrap
1414
region: content
15-
weight: -4
15+
weight: -5
1616
provider: null
1717
plugin: 'block_content:04b505be-9e9f-46f7-a952-be23558c9ca1'
1818
settings:

config/sync/block.block.messages.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
uuid: 2607e7bc-3354-422f-be0d-bf781c3a529b
2+
langcode: en
3+
status: true
4+
dependencies:
5+
module:
6+
- system
7+
theme:
8+
- disaster_recovery_bootstrap
9+
id: messages
10+
theme: disaster_recovery_bootstrap
11+
region: header
12+
weight: -4
13+
provider: null
14+
plugin: system_messages_block
15+
settings:
16+
id: system_messages_block
17+
label: Messages
18+
provider: system
19+
label_display: '0'
20+
visibility: { }

config/sync/block.block.tabs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77
id: tabs
88
theme: disaster_recovery_bootstrap
99
region: content
10-
weight: -3
10+
weight: -2
1111
provider: null
1212
plugin: local_tasks_block
1313
settings:

config/sync/block.block.views_block__latest_recovery_alerts_latest_recovery_alert.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies:
1212
id: views_block__latest_recovery_alerts_latest_recovery_alert
1313
theme: disaster_recovery_bootstrap
1414
region: header
15-
weight: -4
15+
weight: -3
1616
provider: null
1717
plugin: 'views_block:latest_recovery_alerts-latest_recovery_alert'
1818
settings:
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
favicon:
22
mimetype: image/vnd.microsoft.icon
33
path: ''
4-
url: 'http://recovery.docker.localhost/themes/contrib/bootstrap/favicon.ico'
5-
use_default: true
4+
url: 'http://drupal.docker.localhost:8000/themes/custom/disaster_recovery_bootstrap/favicon.ico'
5+
use_default: 1
6+
schemas:
7+
bootstrap: 8000
8+
disaster_recovery_bootstrap: 8000
69
features:
710
comment_user_picture: true
811
comment_user_verification: true
9-
favicon: true
12+
favicon: 1
1013
node_user_picture: true
1114
logo:
1215
path: ''
1316
url: ''
14-
use_default: true
15-
schemas:
16-
bootstrap: 8000
17-
disaster_recovery_bootstrap: 8000
17+
use_default: 1
18+
table_responsive: '-1'
19+
table: ''
20+
button_iconize: 0
21+
fluid_container: 1

config/sync/page_manager.page.dontations.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ id: dontations
66
label: Dontations
77
description: ''
88
use_admin_theme: false
9-
path: /dontations
9+
path: /donate
1010
access_logic: and
1111
access_conditions: { }
1212
parameters: { }

config/sync/page_manager.page_variant.dontations-panels_variant-0.yml

+16-1
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,28 @@ status: true
44
dependencies:
55
config:
66
- page_manager.page.dontations
7+
content:
8+
- 'block_content:everything_block:2f0e7e61-e5d2-477b-be68-12059b384f6d'
79
module:
10+
- block_content
811
- panels
912
id: dontations-panels_variant-0
1013
label: Panels
1114
variant: panels_variant
1215
variant_settings:
13-
blocks: { }
16+
blocks:
17+
d181313e-e53c-447d-becd-fb6fd4467497:
18+
id: 'block_content:2f0e7e61-e5d2-477b-be68-12059b384f6d'
19+
label: 'Donate Now'
20+
provider: block_content
21+
label_display: visible
22+
status: true
23+
info: ''
24+
view_mode: full
25+
region: contentmain
26+
weight: 0
27+
uuid: d181313e-e53c-447d-becd-fb6fd4467497
28+
context_mapping: { }
1429
id: panels_variant
1530
uuid: 514feab4-8325-4738-8915-56d8a474ca24
1631
label: null

config/sync/views.view.knowledge_base_help_center_page_.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,17 @@ display:
4444
sort_asc_label: Asc
4545
sort_desc_label: Desc
4646
pager:
47-
type: mini
47+
type: full
4848
options:
4949
items_per_page: 15
5050
offset: 0
5151
id: 0
5252
total_pages: null
53+
tags:
54+
previous: ‹‹
55+
next: ››
56+
first: '« First'
57+
last: 'Last »'
5358
expose:
5459
items_per_page: false
5560
items_per_page_label: 'Items per page'
@@ -58,9 +63,7 @@ display:
5863
items_per_page_options_all_label: '- All -'
5964
offset: false
6065
offset_label: Offset
61-
tags:
62-
previous: ‹‹
63-
next: ››
66+
quantity: 9
6467
style:
6568
type: default
6669
row:

config/sync/views.view.latest_recovery_updates.yml

+21-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,12 @@ display:
185185
label: ''
186186
granularity: second
187187
title: 'Latest Recovery Updates'
188-
header: { }
188+
header:
189+
area:
190+
id: area
191+
table: views
192+
field: area
193+
plugin_id: text
189194
footer: { }
190195
empty: { }
191196
relationships: { }
@@ -273,7 +278,22 @@ display:
273278
quantity: 9
274279
defaults:
275280
pager: false
281+
header: false
276282
display_description: ''
283+
header:
284+
area:
285+
id: area
286+
table: views
287+
field: area
288+
relationship: none
289+
group_type: group
290+
admin_label: ''
291+
empty: false
292+
tokenize: false
293+
content:
294+
value: '<h2 class="container-fluid text-center">All Updates</h2>'
295+
format: full_html
296+
plugin_id: text
277297
cache_metadata:
278298
max-age: -1
279299
contexts:

config/sync/views.view.recovery_alerts.yml

+3-28
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ dependencies:
55
config:
66
- core.entity_view_mode.node.list
77
- node.type.recovery_alert
8-
- views.view.recovery_alerts_today
98
module:
109
- node
1110
- user
@@ -52,7 +51,7 @@ display:
5251
pager:
5352
type: full
5453
options:
55-
items_per_page: 10
54+
items_per_page: 20
5655
offset: 0
5756
id: 0
5857
total_pages: null
@@ -277,30 +276,6 @@ display:
277276
granularity: second
278277
title: Alerts
279278
header:
280-
area:
281-
id: area
282-
table: views
283-
field: area
284-
relationship: none
285-
group_type: group
286-
admin_label: ''
287-
empty: false
288-
tokenize: false
289-
content:
290-
value: '<p class="padding-20px"><strong>Today</strong></p>'
291-
format: full_html
292-
plugin_id: text
293-
view:
294-
id: view
295-
table: views
296-
field: view
297-
relationship: none
298-
group_type: group
299-
admin_label: ''
300-
empty: false
301-
view_to_insert: 'recovery_alerts_today:block_1'
302-
inherit_arguments: false
303-
plugin_id: view
304279
area_1:
305280
id: area_1
306281
table: views
@@ -311,8 +286,8 @@ display:
311286
empty: false
312287
tokenize: false
313288
content:
314-
value: '<p class="padding-20px"><strong>Past</strong></p>'
315-
format: basic_html
289+
value: '<h1 class="padding-20px lead font-40 text-center">Alerts</h1>'
290+
format: full_html
316291
plugin_id: text
317292
footer: { }
318293
empty: { }

config/sync/views.view.situation_map.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ display:
4646
exposed_form:
4747
type: basic
4848
options:
49-
submit_button: Apply
49+
submit_button: Search
5050
reset_button: false
5151
reset_button_label: Reset
5252
exposed_sorts_label: 'Sort by'
@@ -354,7 +354,9 @@ display:
354354
group_type: group
355355
admin_label: ''
356356
operator: or
357-
value: { }
357+
value:
358+
- '0'
359+
- '1'
358360
group: 1
359361
exposed: true
360362
expose:

install.sh

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
composer install
33
docker-compose up -d
44
docker-compose exec --user 82 php drush si disaster_recovery --config-dir=/var/www/html/config/sync --db-url=mysql://drupal:drupal@mariadb/drupal --root=/var/www/html/web -y
5+
bash sample_content.sh
56
OUTPUT=$(docker-compose exec --user 82 php drush uli -l drupal.docker.localhost:8000 --root=/var/www/html/web)
67
echo ""
78
echo "Click here to login to site: ${OUTPUT}"

sample_content.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
docker-compose exec --user 82 php drush mi resources --root=/var/www/html/web
33
docker-compose exec --user 82 php drush mi alert --root=/var/www/html/web
44
docker-compose exec --user 82 php drush mi help --root=/var/www/html/web
5-
docker-compose exec --user 82 php drush mi update --root=/var/www/html/web
5+
docker-compose exec --user 82 php drush mi update --root=/var/www/html/web
6+
docker-compose exec --user 82 php drush mi org --root=/var/www/html/web

0 commit comments

Comments
 (0)