Board

Simplicite.UI.View. Board

new Board(app, ui, view)

Description:
  • Board and view rendering

Parameters:
Name Type Description
app Simplicite.Ajax

Ajax service

ui Simplicite.UI.Engine

Main UI controller

view Simplicite.UI.View.Main

View services

Methods

about()

Description:
  • Display the About dialog

display(ctn, v, p, cbk)

Description:
  • 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

displayNav(ctn, nav)

Description:
  • Navigation rendering

Parameters:
Name Type Description
ctn jQuery

Optional container to find the .nav

nav Simplicite.UI.Navigator

Navigator

hideNav(ctn)

Description:
  • Hide navigation

Parameters:
Name Type Description
ctn jQuery

Optional container to find the .nav

modeler(ctn, params)

Description:
  • Models chooser and creation

Parameters:
Name Type Description
ctn jQuery

Container

params Object

options { embedded }

moduleDelete()

Description:
  • Delete module rendering

statusMetrics(ctn, obj, data, p)

Description:
  • 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

Options { palette, period, fromDate, toDate, show }

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

show Object

Show options

Properties
Name Type Description
count boolean

Show the count per status?

duration boolean

Show the duration per status?

history boolean

Show the status history?

terminal boolean

Show the terminal status per duration?

palette boolean

Show palette picker?

period boolean | string

true|false or 'read'

fromDate boolean | string

true|false or 'read'

toDate boolean | string

true|false or 'read'

sysinfo(ctn, data, fn, cache)

Description:
  • 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

versionCheck(ctn, optionsopt)

Description:
  • Version check

Parameters:
Name Type Attributes Description
ctn jQuery

Target container

options Object <optional>
Properties
Name Type Attributes Description
silent boolean <optional>

Do not display message in case of check error?

addon jQUery | string <optional>

Optional addon content