== !BluePrint CSS == This page hosts the detailed specification for the [https://blueprints.launchpad.net/sahanapy/+spec/css Blueprint for the CSS Cleanup]. The CSS could do with cleaning up to remove unused styles & some updating to give us maximal usability. === Filesystem Layout === The overall Layout is determined by: {{{views/layout.html}}}. The main CSS file is: {{{static/styles/S3/sahana.css}}} with some supplementary styles in {{{static/styles}}}. The styles are separated into different folders depending on which layer they come from, to ease debugging & maintenance as framework components get updated. For production installs ({{{t2.debug==False}}}), they get consolidated into two file for faster downloads: * {{{static/styles/S3/sahana.min.css}}} * {{{static/styles/gis/gis.min.css}}} This consolidation is done as part of the [wiki:DeveloperGuidelinesReleaseProcess Release Process]. === appadmin === * http://127.0.0.1:8000/sahana/appadmin/ Web2Py's appadmin (Database administration) inherits the Layout of the application.[[BR]] Our layout isn't designed to accomodate the 3 menu options in the top-right: design, state, db[[BR]] 2 possible solutions here: * rewrite {{{controllers/appadmin.py}}} so that these 3 are the module options & return these & the list of enabled modules. * means more maintenance work whenever this is updated upstream * rewrite {{{views/layout.html}}} & {{{static/styles/S3/sahana.css}}} to move the appadmin way of doing things === Sub-menus === Currently the left-hand navbar has only 2 levels of hierarchy: Modules & Module Options[[BR]] Some modules (e.g. DVI) need more.[[BR]] This is also discussed in the BluePrintFramework ---- BluePrints