safe.messaging.styles module

InaSAFE Disaster risk assessment tool developed by AusAid Messaging styles.

Contact : ole.moller.nielsen@gmail.com

Note

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Style constants for use with messaging. Example usage:

from messaging.styles import PROGRESS_UPDATE_STYLE
m.ImportantText(myTitle, **PROGRESS_UPDATE_STYLE)

This will result in some standardised styling being applied to the important text element.

safe.messaging.styles.logo_element()[source]

Create a sanitised local url to the logo for insertion into html.

Returns:A sanitised local url to the logo.
Return type:str