• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

/srv/cliopatria/cpack/swish/lib/swish/bootstrap.pl
All Application Manual Name SummaryHelp

  • lib
    • swish
      • messages.pl
      • paths.pl -- Setup SWISH search paths
      • config.pl -- Make HTTP locations known to JSON code
      • page.pl -- Provide the SWISH application as Prolog HTML component
      • help.pl -- SWISH help system
      • search.pl -- SWISH search from the navigation bar
      • chat.pl -- The SWISH collaboration backbone
      • storage.pl -- Store files on behalve of web clients
      • gitty.pl -- Single-file GIT like version system
      • gitty_driver_bdb.pl -- Gitty BDB driver
      • gitty_driver_files.pl -- Gitty plain files driver
      • patch.pl -- Run patch program
      • authenticate.pl -- Authentication access for SWISH
      • pep.pl -- SWISH PEP (Policy Enforcement Point)
      • avatar.pl -- Avatar management
      • noble_avatar.pl -- Noble Avatar generator
      • chatstore.pl -- Store chat messages
      • content_filter.pl -- Ban list content filter
      • include.pl -- Support :- include(File) from SWISH
      • swish_csv.pl -- Support CSV output from a Pengines server
      • examples.pl -- Serve example files
      • md_eval.pl -- Provide evaluable markdown
      • profiles.pl
      • highlight.pl -- Highlight token server
      • markdown.pl -- SWISH Notebook markdown support
      • render.pl -- SWISH term-rendering support
      • template_hint.pl -- Generate template hints for CondeMirror
      • trace.pl --
      • projection.pl -- Define the projection
      • jquery.pl -- Call jQuery on the SWISH interface
      • dashboard.pl -- Provide non-programmer query execution
      • bootstrap.pl -- Bootstrap form generator
        • bt_form//2
        • bt_button//4
        • name_label/2
      • form.pl -- Form handling utilities
      • cp_authenticate.pl -- SWISH login management
      • logging.pl -- Add SWISH query execution to the HTTP log file
 bt_form(+Contents, +Options)//
Emit a Bootstrap form from Contents. Each element of Contents is one of the following terms:
  • input(Name, Type, InputOptions)
  • select(Name, Values, SelectOptions)
  • checkboxes(Name, Values, BoxOptions)
  • button(Name, Type, ButtonOptions)
  • button_group(Buttons, GroupOptions)
  • hidden(Name, Value)

Options processed:

class(+Class)
One of 'form-inline' or 'form-horizontal'. Default is a vertical form.
label_columns(+SizeCount)
Number of columns of the grid to use for the label. In use for 'form-horizontal'. Default is sm-2 (a pair)
ClioPatria (version V3.1.1-51-ga0b30a5)