Module: HTMLTemplates

HTML templates of ccmjs-based web component for ER-REL Trainer.

Source:

Methods


<static> legend(app)

Returns the HTML template of the legend table that shows the different notations in the ER diagram.

Parameters:
Name Type Description
app object

App instance.

Source:
Returns:
Type
*

<static> main(app [, show_solution])

Returns the main HTML template.

Parameters:
Name Type Argument Description
app object

App instance.

show_solution boolean <optional>

Reveal main solution.

Source:
Returns:
Type
*

<static> tableDialogBody(app, table)

Returns the HTML template for the body of the table dialog.

Parameters:
Name Type Description
app object

App instance.

table table_nr

Table number.

Source:
Returns:
Type
*

<static> tableDialogFooter(app)

Returns the HTML template for the footer of the table dialog.

Parameters:
Name Type Description
app object

App instance.

Source:
Returns:
Type
*

<static> tableDialogTitle(app, table)

Returns the HTML template for the title of the table dialog.

Parameters:
Name Type Description
app object

App instance.

table table_nr

Table number.

Source:
Returns:
Type
*