Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
24fd7290
Commit
24fd7290
authored
Jul 11, 2010
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
- Patch
#850682
by bleen18: why is the maintenance page stylesheet loaded on all regular pages?
parent
486157dc
No related branches found
No related tags found
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
themes/bartik/bartik.info
+0
-1
0 additions, 1 deletion
themes/bartik/bartik.info
themes/bartik/template.php
+7
-0
7 additions, 0 deletions
themes/bartik/template.php
with
7 additions
and
1 deletion
themes/bartik/bartik.info
+
0
−
1
View file @
24fd7290
...
@@ -11,7 +11,6 @@ stylesheets[all][] = css/layout.css
...
@@ -11,7 +11,6 @@ stylesheets[all][] = css/layout.css
stylesheets[all][] = css/style.css
stylesheets[all][] = css/style.css
stylesheets[all][] = css/colors.css
stylesheets[all][] = css/colors.css
stylesheets[print][] = css/print.css
stylesheets[print][] = css/print.css
stylesheets[all][] = css/maintenance-page.css
scripts[] = scripts/search.js
scripts[] = scripts/search.js
...
...
This diff is collapsed.
Click to expand it.
themes/bartik/template.php
+
7
−
0
View file @
24fd7290
...
@@ -74,6 +74,13 @@ function bartik_process_page(&$variables) {
...
@@ -74,6 +74,13 @@ function bartik_process_page(&$variables) {
}
}
}
}
/**
* Implements hook_preprocess_maintenance_page().
*/
function
bartik_preprocess_maintenance_page
(
&
$variables
)
{
drupal_add_css
(
drupal_get_path
(
'theme'
,
'bartik'
)
.
'/css/maintenance-page.css'
);
}
/**
/**
* Override or insert variables into the maintenance page template.
* Override or insert variables into the maintenance page template.
*/
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment