Safe Haskell | None |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Defines the style of the output.
Synopsis
- type DisplayRuntimeInformation = Bool
- type DisplaySupplementaryInformation = Bool
- data Style minimumContrastRatio
- displayViewsTag :: String
- displayRuntimeInformationTag :: String
- weekendTag :: String
- mkStyle :: (Num minimumContrastRatio, Ord minimumContrastRatio) => Set View -> Maybe String -> TimeAxes -> TimeAxes -> DisplayRuntimeInformation -> DisplaySupplementaryInformation -> Weekend -> Maybe (GenerateLessonColourFrom, minimumContrastRatio) -> Style minimumContrastRatio
Types
Type-synonyms
type DisplayRuntimeInformation = Bool Source #
Whether to display the runtime-log in the output markup.
type DisplaySupplementaryInformation = Bool Source #
Whether to display the runtime-log in the output markup.
Data-types
data Style minimumContrastRatio Source #
Defines the style in which the timetable is rendered.
Instances
Eq minimumContrastRatio => Eq (Style minimumContrastRatio) Source # | |
Show minimumContrastRatio => Show (Style minimumContrastRatio) Source # | |
NFData minimumContrastRatio => NFData (Style minimumContrastRatio) Source # | |
Defined in WeekDaze.OutputConfiguration.Style | |
Default (Style minimumContrastRatio) Source # | |
Defined in WeekDaze.OutputConfiguration.Style | |
(Fractional minimumContrastRatio, XmlPickler minimumContrastRatio, Ord minimumContrastRatio) => XmlPickler (Style minimumContrastRatio) Source # | |
Defined in WeekDaze.OutputConfiguration.Style | |
(Num minimumContrastRatio, Ord minimumContrastRatio) => SelfValidator (Style minimumContrastRatio) Source # | |
Constants
displayViewsTag :: String Source #
Used to qualify XML.
displayRuntimeInformationTag :: String Source #
Used to qualify SQL & XML.
weekendTag :: String Source #
Used to qualify SQL & XML.
Functions
Constructor
:: (Num minimumContrastRatio, Ord minimumContrastRatio) | |
=> Set View | The views from which to display the timetable, when rendering as xhtml. |
-> Maybe String | The optional URL to a CSS-file. |
-> TimeAxes | |
-> TimeAxes | |
-> DisplayRuntimeInformation | |
-> DisplaySupplementaryInformation | |
-> Weekend | Those days of the weekend, which may be visually distingished by CSS. |
-> Maybe (GenerateLessonColourFrom, minimumContrastRatio) | |
-> Style minimumContrastRatio |
Smart constructor.