dashboard.anubis 1.19 KB
/*
 * Created by PyramIDE.
 * User: フランスのトトロ 
 * Date: 10/04/2015
 * Time: 22:22
 * © Calexium 
 */

read tools/basis.anubis

read calexium_lib/web/CXM_common.anubis
read calexium_lib/web/CXM_making_a_web_site.anubis

read css_helper.anubis

public type Dashboard_content:
  none,
  content(List(ChangeListItem) content, String title).
  
public define HTML_Off_Form
  dash_board
  (
    Dashboard_content left,
    Dashboard_content right
  )=
  table([class("container")],
      [ row(  [ cell([class("module_col left_col")],
                      if left is
                      {
                        none                  then literal(""),
                        content(list, title)  then partial(html_wave_box_wide(title, changelist_table(list)))
                      }
                    ),
                cell([class("module_col right_col")],
                      if right is
                      {
                        none                  then literal(""),
                        content(list, title)  then partial(html_wave_box_wide(title, changelist_table(list)))
                      }
                    )
                ])
       ]).