alertlevels
Description: The TaskJuggler Manual
Keywords: taskjuggler, project, management

### The TaskJuggler User Manual

Project Management beyond Gantt Chart Drawing

<< alert << | Table Of Contents | >> allocate >>

Keyword | alertlevels

This keyword has not yet been fully tested yet. You are welcome to try it, but it may lead to wrong results. The syntax may still change with future versions. The developers appreciate any feedback on this keyword.

Purpose | By default TaskJuggler supports the pre-defined alert levels: green, yellow and red. This attribute can be used to replace them with your own set of alert levels. You can define any number of levels, but you need to define at least two and they must be specified in ascending order from the least severity to highest severity. Additionally, you need to provide a 15x15 pixel image file with the name `flag-X.png` for each level where `X` matches the ID of the alert level. These files need to be in the `icons` directory to be found by the browser when showing HTML reports.
Syntax | `alertlevels <ID> <color name> <color> [, <ID> <color name> <color>...]`
Arguments | ID | A unique ID for the alert level
color name [STRING] | A unique name of the alert level color
color [STRING] | The RGB color values of the color. The following formats are supported: #RGB and #RRGGBB. Where R, G, B are hexadecimal values. See Wikipedia for more details.
Context | project

    project "Alert Levels" 2011-11-24 +2m {
      alertlevels green "Low" "#2AA46C",
                  blue "Guarded" "#457CC4",
                  yellow "Elevated" "#F1D821",
                  orange "High" "#F99836",
                  red "Severe" "#E43745"
    }

    task "Holiday Season" {
      journalentry 2011-11-24 "All safe unless you are a turkey" {
        alert green
      }
      journalentry 2011-11-27 "Strange lights appearing everywhere" {
        alert blue
      }
      journalentry 2011-12-01 "Alarm bells heared" {
        alert yellow
      }
      journalentry 2011-12-20 "Everybody has strange packages" {
        alert orange
      }
      journalentry 2011-12-25 "Guy with red coat entered through chimney" {
        alert red
      }
    }

<< alert << | Table Of Contents | >> allocate >>

Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 by Chris Schlaeger <chris@linux.com>.TaskJuggler is a trademark of Chris Schlaeger.