ClioPatria components

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.

Prolog files

basics.pl  -- Simple Small HTML componentsShow source
form_input/4Building blocks for HTML forms.Source
form_submit/3Building blocks for HTML forms.Source
hidden/4Create a hidden input field with given name and value.Source
insert_html_file/3Insert the content of an HTML file into the current document.Source
n/4HTML component to emit a number.Source
nc/4Numeric cell.Source
nc/5Numeric cell.Source
odd_even_row/5Create odd/even alternating table rows from a DCG.Source
graphviz.pl  -- Render RDF-graphsShow source
label.pl  -- Support for showing labelsShow source
menu.pl  -- ClioPatria menu-barShow source
cp_menu/2HTML Components that emits the ClioPatria menu.Source
messages.pl  -- Run goals that produce messagesShow source
query.pl  -- Forms for entering SPARQL and SeRQL queries.Show source
server_statistics.pl  -- Server statistics componentsShow source
simple_search.pl  -- Simple literal searchShow source