# config

name: mainmenu
value:
  Home      /home        *              {}
  Timeline  /timeline    {o r j}        {}
  Files     /dir?ci=tip  oh             desktoponly
  Branches  /brlist      o              wideonly
  Tags      /taglist     o              wideonly
  Forum     /forum       {@2 3 4 5 6}   wideonly
  Chat      /chat        C              wideonly
  Tickets   /ticket      r              wideonly
  Wiki      /wiki        j              wideonly
  Admin     /setup       {a s}          desktoponly
  Logout    /logout      L              wideonly
  Login     /login       !L             wideonly


# reportfmt

title: All Tickets
jx: {}
cols:
  #ffffff Key:
  #f2dcdc Active
  #e8e8e8 Review
  #cfe8bd Fixed
  #bde5d6 Tested
  #cacae5 Deferred
  #c8c8c8 Closed

sqlcode:
  SELECT
    CASE WHEN status IN ('Open','Verified') THEN '#f2dcdc'
         WHEN status='Review' THEN '#e8e8e8'
         WHEN status='Fixed' THEN '#cfe8bd'
         WHEN status='Tested' THEN '#bde5d6'
         WHEN status='Deferred' THEN '#cacae5'
         ELSE '#c8c8c8' END AS 'bgcolor',
    substr(tkt_uuid,1,10) AS '#',
    datetime(tkt_mtime) AS 'mtime',
    type,
    status,
    subsystem,
    title
  FROM ticket


