Class: Board

Simplicite.UI.View.Board

new Board

Board and view rendering

Parameters:
Name Type Description
app Simplicite.Ajax Ajax service
engine Simplicite.UI.Engine Main controller
view Simplicite.UI.View.Main View services
Source:
  • board.js, line 14

Methods

display

Display a view of items (i.e. home, plain view or part of form)

Parameters:
Name Type Description
ctn jQuery container
v object view metadata { name, visible, template, ...}
p object options { parent, home, lazy, edit }
cbk function callback when displayed
Source:
  • board.js, line 66

displayNav

Navigation rendering

Parameters:
Name Type Description
ctn jQuery Optional container to find the .nav
nav Simplicite.UI.Navigator Navigator
Source:
  • board.js, line 27

hideNav

Hide navigation

Parameters:
Name Type Description
ctn jQuery Optional container to find the .nav
Source:
  • board.js, line 46

modeler

Models chooser and creation

Parameters:
Name Type Description
ctn jQuery Container
params object options { embedded }
Source:
  • board.js, line 677

moduleDelete

Delete module rendering

Source:
  • board.js, line 902

statusMetrics

State model charts

Parameters:
Name Type Description
ctn jQuery Container
obj Simplicite.Ajax.BusinessObject Business object
data object Metrics from service { pie, duration, term, count }
p object parameters { palette, period, fromDate, toDate }
Properties
Name Type Description
palette string palette name in Simplicite.UI.Charts.PALETTE (ex 'sea', 'mars'...)
period string data groupment 1:hour, 2:day, 3:week, 4:month, 5:quarter, 6:semester, 7:year
fromDate string search data from this date YYYY-MM-DD
toDate string search data to this date YYYY-MM-DD
Source:
  • board.js, line 315

sysinfo

System informations rendering

Parameters:
Name Type Description
ctn jQuery Container
data object Informations
fn function action callback
cache boolean Clear cache only or full form
Source:
  • board.js, line 468