PublicShow -- Simple Small HTML components

Source hidden(+Name, +Value)// is det
Create a hidden input field with given name and value
Source form_input(+Label, +Input)// is det
Source form_submit(+Label)// is det
Building blocks for HTML forms. The form itself is a two-column table of class form with labels at the left and inputs at the right. These rules create rows for input and submit.
Source nc(+Format, +Value)// is det
Source nc(+Format, +Value, +Options)// is det
Numeric cell. The value is formatted using Format and right-aligned in a table cell (td).
Format- is a (numeric) format as described by format/2 or the constant human. Human formatting applies to integers and prints then in abreviated (K,M,T) form, e.g., 4.5M for 4.5 million.
Options- is passed as attributed to the td element. Default alignment is right.
Source odd_even_row(+Row, -Next, :Content)//
Create odd/even alternating table rows from a DCG.
Source n(+Format, +Value)//
HTML component to emit a number.
See also
- nc//2 for details.
Source insert_html_file(+Specification)//
Insert the content of an HTML file into the current document. Only the content of the body element is included.

Undocumented predicates

The following predicates are exported, but not or incorrectly documented.

Source sort_th(Arg1, Arg2, Arg3, Arg4, Arg5)