A component is a DCG rule (-->) to be used with html//1 to produce part of an HTML page. Components are designed to be stand-alone as far as possible. Notably, they use html_requires//1 to pull in required script and CSS files.
The components here are designed for the ClioPatria developers UI. Most of them are rather simple. They may be adequate for prototyping and developer's needs, but are generally inadequate for end-user UIs.
Components are used by applications. The ClioPatria applications are in the directory ../applications.
|basics.pl -- Simple Small HTML components|
|form_input/4||Building blocks for HTML forms.|
|form_submit/3||Building blocks for HTML forms.|
|hidden/4||Create a hidden input field with given name and value.|
|insert_html_file/3||Insert the content of an HTML file into the current document.|
|n/4||HTML component to emit a number.|
|odd_even_row/5||Create odd/even alternating table rows from a DCG.|
|graphviz.pl -- Render RDF-graphs|
|label.pl -- Support for showing labels|
|menu.pl -- ClioPatria menu-bar|
|cp_menu/2||HTML Components that emits the ClioPatria menu.|
|messages.pl -- Run goals that produce messages|
|query.pl -- Forms for entering SPARQL and SeRQL queries.|
|server_statistics.pl -- Server statistics components|
|simple_search.pl -- Simple literal search|