weekdaze-0.0.0.3: A school-timetable problem-solver.

Safe HaskellNone
LanguageHaskell2010

WeekDaze.OutputConfiguration.Style

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Defines the style of the output.
Synopsis

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 # 
Instance details

Defined in WeekDaze.OutputConfiguration.Style

Methods

(==) :: Style minimumContrastRatio -> Style minimumContrastRatio -> Bool #

(/=) :: Style minimumContrastRatio -> Style minimumContrastRatio -> Bool #

Show minimumContrastRatio => Show (Style minimumContrastRatio) Source # 
Instance details

Defined in WeekDaze.OutputConfiguration.Style

Methods

showsPrec :: Int -> Style minimumContrastRatio -> ShowS #

show :: Style minimumContrastRatio -> String #

showList :: [Style minimumContrastRatio] -> ShowS #

NFData minimumContrastRatio => NFData (Style minimumContrastRatio) Source # 
Instance details

Defined in WeekDaze.OutputConfiguration.Style

Methods

rnf :: Style minimumContrastRatio -> () #

Default (Style minimumContrastRatio) Source # 
Instance details

Defined in WeekDaze.OutputConfiguration.Style

Methods

def :: Style minimumContrastRatio #

(Fractional minimumContrastRatio, XmlPickler minimumContrastRatio, Ord minimumContrastRatio) => XmlPickler (Style minimumContrastRatio) Source # 
Instance details

Defined in WeekDaze.OutputConfiguration.Style

Methods

xpickle :: PU (Style minimumContrastRatio) #

(Num minimumContrastRatio, Ord minimumContrastRatio) => SelfValidator (Style minimumContrastRatio) Source # 
Instance details

Defined in WeekDaze.OutputConfiguration.Style

Methods

getErrors :: Style minimumContrastRatio -> [String] #

isValid :: Style minimumContrastRatio -> Bool #

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

mkStyle Source #

Arguments

:: (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.