← Back to team overview

mahara-contributors team mailing list archive

[Bug 1603332] [NEW] Make default plugin config styling be "panel panel-body"

 

Public bug reported:

The plugin config page's page template is basically just this:

{include header.tpl}
{$form|safe}
{include footer.tpl}

In order for the displayed form to look good, it needs to either be in
class "panel panel-body", or be made of collapsible fieldsets. All of
the core plugins are either made of collapsible fieldsets, or have
"class=panel panel-body" declared at the plugin level, in the
"get_config_options()" function for each one.

But third-party plugin developers would have to know to add those two
classes. Otherwise, the form is displayed directly on top of the page
background, instead of in a white panel on top of the page background.

So what we ought to do, is make "panel panel-body" be the default class
for the plugin configuration page.

** Affects: mahara
     Importance: Low
     Assignee: Aaron Wells (u-aaronw)
         Status: In Progress

** Changed in: mahara
    Milestone: None => 16.10.0

** Changed in: mahara
     Assignee: (unassigned) => Aaron Wells (u-aaronw)

** Changed in: mahara
   Importance: Undecided => Low

** Changed in: mahara
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1603332

Title:
  Make default plugin config styling be "panel panel-body"

Status in Mahara:
  In Progress

Bug description:
  The plugin config page's page template is basically just this:

  {include header.tpl}
  {$form|safe}
  {include footer.tpl}

  In order for the displayed form to look good, it needs to either be in
  class "panel panel-body", or be made of collapsible fieldsets. All of
  the core plugins are either made of collapsible fieldsets, or have
  "class=panel panel-body" declared at the plugin level, in the
  "get_config_options()" function for each one.

  But third-party plugin developers would have to know to add those two
  classes. Otherwise, the form is displayed directly on top of the page
  background, instead of in a white panel on top of the page background.

  So what we ought to do, is make "panel panel-body" be the default
  class for the plugin configuration page.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1603332/+subscriptions


Follow ups