forked from backdrop-ops/backdrop-pantheon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request backdrop-ops#3 from CuBoulder/feature/2
Issue backdrop-ops#2: Adding SEO Bundle
- Loading branch information
Showing
411 changed files
with
36,647 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,6 @@ sites/*/settings*.php | |
/private | ||
sites/*/files | ||
sites/*/private | ||
|
||
# IntelliJ files | ||
*.idea |
4 changes: 4 additions & 0 deletions
4
modules/cu_seo_bundle/cu_dashboard_seo/config/cu_dashboard_seo.settings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"_config_name": "cu_dashboard_seo.settings", | ||
"checklist_google_analytics": 0 | ||
} |
19 changes: 19 additions & 0 deletions
19
modules/cu_seo_bundle/cu_dashboard_seo/css/cu-dashboard-seo.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.seo-checklist-item { | ||
margin-bottom: 20px; | ||
border:1px solid #e7e7e7; | ||
padding:10px; | ||
} | ||
.seo-dashboard-container .fa-times { | ||
color: #e51c23; | ||
} | ||
|
||
.seo-dashboard-container .fa-check { | ||
color: #1D881A; | ||
} | ||
|
||
.seo-checklist-item h3 { | ||
margin-bottom: 10px; | ||
} | ||
.seo-checklist-item p:last-child { | ||
margin-bottom: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name = CU SEO Dashboard | ||
description = Adds a SEO dashbaord | ||
package = SEO | ||
type = module | ||
backdrop = 1.x | ||
|
||
dependencies[] = express_dashboards | ||
|
||
stylesheets[all][] = css/cu-dashboard-seo.css |
16 changes: 16 additions & 0 deletions
16
modules/cu_seo_bundle/cu_dashboard_seo/cu_dashboard_seo.install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
/** | ||
* @file | ||
* Install hooks for the cu_dashboard_seo module. | ||
*/ | ||
|
||
/** | ||
* Implements hook_install(). | ||
*/ | ||
function cu_dashboard_seo_install() { | ||
// Set cu_seo_checklist_google_analytics variable. | ||
if (config_get('googleanalytics.settings', 'account') !== 'UA-') { | ||
config_set('cu_dashboard_seo.settings', 'checklist_google_analytics', 1); | ||
} | ||
} |
Oops, something went wrong.