Configurable theme with institution-defined colours

Bug #814354 reported by Richard Mansfield
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Wishlist
Richard Mansfield

Bug Description

When an institution on a multiple-institution site wants to override the theme for their users, currently the only way is to install a new theme directly on the server.

While installing a new theme provides a lot of flexibility, institutions often just want to change a few colours and the logo (see bug #805780). For these simple cases, we can provide a new base theme, and give institutional admins the ability to override some of the colours of that base theme on the institution settings page.

Tags: newfeature
Changed in mahara:
status: New → Confirmed
importance: Undecided → Wishlist
assignee: nobody → Richard Mansfield (richard-mansfield)
milestone: none → 1.5.0
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/508
Committed: http://gitorious.org/mahara/mahara/commit/da3420bf37dfdb014369db30bd93a3c0faa15e62
Submitter: Hugh Davenport (<email address hidden>)
Branch: master

commit da3420bf37dfdb014369db30bd93a3c0faa15e62
Author: Richard Mansfield <email address hidden>
Date: Fri Jul 22 11:51:34 2011 +1200

    Add 'custom' theme with raw parent, hidden in the interface (bug #814354)

    Change-Id: I17c441f10b40152a314284205d45ef9b92babfc0
    Signed-off-by: Richard Mansfield <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/515
Committed: http://gitorious.org/mahara/mahara/commit/5e836503e43ae20fa693645e993806f02ad09574
Submitter: Hugh Davenport (<email address hidden>)
Branch: master

commit 5e836503e43ae20fa693645e993806f02ad09574
Author: Richard Mansfield <email address hidden>
Date: Fri Jul 22 12:07:49 2011 +1200

    When displaying the page, add custom css from the user (bug #814354)

    Allows extra stylesheets to be passed to the $THEME object when it's
    created, and displays those extra stylesheets last in the header.

    Change-Id: Iaded4c73fe1904489736e6be762705b0fbb64633
    Signed-off-by: Richard Mansfield <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/511
Committed: http://gitorious.org/mahara/mahara/commit/e2168fa51c8072cccbd8f9bc62d5d2e18f5994b0
Submitter: Hugh Davenport (<email address hidden>)
Branch: master

commit e2168fa51c8072cccbd8f9bc62d5d2e18f5994b0
Author: Evonne Cheung <email address hidden>
Date: Fri Jul 22 11:58:45 2011 +1200

    Institution configurable theme (bug #814354)

    This change adds css and images for the custom theme, and a template
    which can be used to generate the additional css to override the base
    colours of the custom theme.

    Change-Id: Icf6be5bac60a3b54bb6ef5cad234fcf0ad5686f7
    Author: Evonne Cheung <email address hidden>
    Signed-off-by: Richard Mansfield <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/510
Committed: http://gitorious.org/mahara/mahara/commit/e6ae1d5937027679a0ed5fa69efda010fc6563d4
Submitter: Hugh Davenport (<email address hidden>)
Branch: master

commit e6ae1d5937027679a0ed5fa69efda010fc6563d4
Author: Richard Mansfield <email address hidden>
Date: Fri Jul 22 11:57:41 2011 +1200

    Add tables for custom css properties for an institution (bug #814354)

    Change-Id: I8cbb098a611c5c7d05530dfd773f2e9f67960008
    Signed-off-by: Richard Mansfield <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/513
Committed: http://gitorious.org/mahara/mahara/commit/e17540cfa889115491bf4aae23995e6f394d27dc
Submitter: Hugh Davenport (<email address hidden>)
Branch: master

commit e17540cfa889115491bf4aae23995e6f394d27dc
Author: Richard Mansfield <email address hidden>
Date: Fri Jul 22 12:02:54 2011 +1200

    Add colour pickers for institution theme configuration (bug #814354)

    When an institutional admin selects the "Configurable theme" in the
    institution settings, a set of colour pickers are displayed. When
    the form is saved, css is generated from the customcss.tpl template,
    and saved in the database.

    Change-Id: I8583459ac9c06c8292796bb943ba64456f8e0723
    Signed-off-by: Richard Mansfield <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/514
Committed: http://gitorious.org/mahara/mahara/commit/c21059f55d8e484e9b9c1ff842f663131fbe16a4
Submitter: Hugh Davenport (<email address hidden>)
Branch: master

commit c21059f55d8e484e9b9c1ff842f663131fbe16a4
Author: Richard Mansfield <email address hidden>
Date: Fri Jul 22 12:05:58 2011 +1200

    When loading user institutions, get custom theme id (bug #814354)

    Change-Id: I44fed8135d7f3148920ac608cb9986afa5681a4c
    Signed-off-by: Richard Mansfield <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/507
Committed: http://gitorious.org/mahara/mahara/commit/b2b7cd979ecd6a1125200a218a7443342809a573
Submitter: Hugh Davenport (<email address hidden>)
Branch: master

commit b2b7cd979ecd6a1125200a218a7443342809a573
Author: Gregor Anzelj <email address hidden>
Date: Fri Jul 22 11:50:35 2011 +1200

    Add pieform element to choose a hex color value (bug #814354)

    This is part of the upcoming "view skins" feature

    Change-Id: I7dc696c54e8897a40a2137f11da45fd2ba3dca11
    Author: Gregor Anzelj <email address hidden>
    Signed-off-by: Richard Mansfield <email address hidden>

Changed in mahara:
status: Confirmed → Fix Committed
Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/550
Committed: http://gitorious.org/mahara/mahara/commit/85122b03024fd147204408f689059fec082da332
Submitter: Hugh Davenport (<email address hidden>)
Branch: master

commit 85122b03024fd147204408f689059fec082da332
Author: Richard Mansfield <email address hidden>
Date: Mon Aug 1 14:25:39 2011 +1200

    Add checkbox to set configurable theme colours to default (bug #814354)

    Change-Id: I899308f41457696d3c4578e5f3105d7d32685d23
    Signed-off-by: Richard Mansfield <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/551
Committed: http://gitorious.org/mahara/mahara/commit/3bf765440d8c55664691a14df2b5f8a2cb1ed8a5
Submitter: Hugh Davenport (<email address hidden>)
Branch: master

commit 3bf765440d8c55664691a14df2b5f8a2cb1ed8a5
Author: Richard Mansfield <email address hidden>
Date: Mon Aug 1 15:04:18 2011 +1200

    Update user theme whenever a custom theme is submitted (bug #814354)

    An institutional admin modifying configurable theme colours doesn't
    immediately see the new colours unless they are also changing the
    theme dropdown.

    This change ensures the user's theme is reset whenever the institution
    settings form is submitted with a custom theme.

    Change-Id: I3e39cf2de182fc6fa1cba10f4063412025f363ef
    Signed-off-by: Richard Mansfield <email address hidden>

tags: added: newfeature
Revision history for this message
Melissa Draper (melissa) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 status fixreleased
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPjrXHAAoJECXBtiziiXdcU94IALII/v8XTSOgD0jBkOXYzDms
uLkrvC+Z5YqYhQVjIR5cVYg7X3SJPUjuaorS2uVVfIkGlz+38KdZdczOYV+JaNQV
S8aVo/Rqrsx8h6fKtVAgTl8bd1CCMos1YnrOTNvqoYSOV2iGSSX/paQf6R9BjDbz
hx6GM7pkUp/gOa3Zqo+E6NfUrMWASanjbh9kbHdm09L7/10f7a5Q9w2Cf5o1yjC7
xqM9hEbPe32C9tBBcXDGPzQDFpJ6b6Rys2dzt6NTNkv2FCyzKS4RLwGDUDRNBEEZ
iYxQ5wJJaxW+/RO8k4lGYSo7Mtt99aIxhkQX7DKxcEoOSNMdPUi9ptwjolgG4iI=
=AeF+
-----END PGP SIGNATURE-----

Changed in mahara:
status: Fix Committed → Fix Released
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/5296

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

I created a new bug report at bug #1496139 for it as this one here has already been released.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.