Commit 2ac800d6eff9fd232023063bc037a5915f942e8c

Authored by Julien Verneuil
1 parent c6a745b4

add "dash_board" function which display only one large dashboard content

Showing 1 changed file with 14 additions and 1 deletions   Show diff stats
web/widgets/dashboard.anubis
... ... @@ -41,4 +41,17 @@ public define HTML_Off_Form
41 41 ])
42 42 ]).
43 43  
44   -
  44 +public define HTML_Off_Form
  45 + dash_board
  46 + (
  47 + Dashboard_content content
  48 + )=
  49 + table([class("container")],
  50 + [ row( [ cell([class("module_col")],
  51 + if content is
  52 + {
  53 + none then literal(""),
  54 + content(list, title) then partial(html_wave_box_wide(title, changelist_table(list)))
  55 + }
  56 + )])]).
  57 +
... ...