Task description:

Background
The Style Guide module for Drupal provides a visual testing page for Drupal themes. Quickly compare the display of common elements across installed Drupal themes, and verify that selected themes addresses all common style elements.

Be sure to use the latest version of HEAD, which incorporates the changes in #949070: Create plugins for Style Guide module [Task 1].

Preparation
-- Download and install Drupal 7.
-- Visit the 'Appearance' page in the administration interface to find the Style Guide links.

New plugins

Using the API (styleguide.api.php, in the module download), create a patch to styleguide.styleguide.inc or a custom module include that adds preview elements only when optional core modules are enabled:

[Task 5: 7 hrs]
-- theme_maintenance_page() (2 hrs)
-- theme_pager() (2 hrs)
-- theme_progress_bar() (2 hrs)
-- theme_system_powered_by() (1 hr)

Deliverables:

-- Patch(es) to include the desired features to the Style Guide module.

Resources:

Style Guide module: Style guide module

Primary contact:

agentrickard

Estimated time: 7 hours

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

agentrickard’s picture

Issue tags: +gci-research, +gci-hard, +gci-task, +gci-ui

Tagging.

chalet16’s picture

FileSize
1.45 KB

Patch

agentrickard’s picture

Status: Active » Needs review

Excellent. Will review.

agentrickard’s picture

Status: Needs review » Fixed
FileSize
2.22 KB

I suspect this may have been too easy. I expected the maintenance page to be a bit harder.

Cleaned up the patch a touch:

-- Removed some empty spaces.
-- Renamed 'UI' to 'User interface' for clarity. These might still move to common.
-- Added parameters to styleguide_pager(), since it is now an abstraction function.

Really love the progress bar. It's cool.

Going to mark as complete.

agentrickard’s picture

Committed to HEAD.

Status: Fixed » Closed (fixed)
Issue tags: -gci-research, -gci-hard, -gci-task, -gci-ui

Automatically closed -- issue fixed for 2 weeks with no activity.