Villefort-0.1.2.10: Villefort is a task manager and time tracker written in haskell.

Safe HaskellNone
LanguageHaskell2010

Villefort.Todo

Synopsis

Documentation

data Row Source #

Constructors

Row 

Instances

Eq Row Source # 

Methods

(==) :: Row -> Row -> Bool #

(/=) :: Row -> Row -> Bool #

Show Row Source # 

Methods

showsPrec :: Int -> Row -> ShowS #

show :: Row -> String #

showList :: [Row] -> ShowS #

toRow :: [String] -> Int -> Double -> Row Source #

getTime :: (MonadReader VConfig m, MonadIO m) => String -> m Int Source #

returns time spent on task based off of Task id

qetTasks' :: (MonadReader VConfig m, MonadIO m) => m [Row] Source #

returns Row data structures for each open task

apply :: [t -> a] -> [t] -> [a] Source #

applies a list of functions to a list of values

makeQuery' :: (MonadReader VConfig m, MonadIO m) => String -> m [[String]] Source #

makes Query

merge :: [a] -> [a] -> [a] Source #

merges two lists

genModal' :: Row -> IO String Source #

generates modal for task based of Row data Structure

daysToColor' :: (Num a, Ord a) => a -> String Source #

getTodos :: (MonadReader VConfig m, MonadIO m) => m String Source #

Returns html from todos

getTheme :: (MonadReader VConfig m, MonadIO m) => m String Source #

support for user defined themes in villefort config

deleteTodo :: (MonadReader VConfig m, MonadIO m) => ByteString -> m () Source #

Delete a done task from database sets state = 0 but it's record is still maintained in the database for the stats page.