Main ambhtmx functions

ambhtmx()

Creating an ambiorix + htmx app

Authentication functions

Some functions to help process login, logout and authentication.

process_error_get()

Process error get requests

process_loggedin_middleware()

Process loggedin middleware

process_login_get()

Render and send login page response

process_login_post()

Process login requests

process_logout_get()

Process logout requests

Components

More tags and and tools to build new components and pages.

amb_card() amb_input_text() amb_button() amb_htmlwidget()

Generate component

script_from_js_tpl()

Generate script from js template

script_tpl()

Generate script from raw js template

style_from_css_tpl()

Generate style from css template

style_tpl()

Generate style from raw css

button() textarea() input() label() nav() li() ul() ol() form() style() script()

Create HTML tags without requiring htmltools::tags$

Rendering

Some functions to help rendering and processing tags and pages.

render_page()

Render a custom page with a custom title and main content

render_png()

Render a png image to a img tag

render_tags()

Render tags to character vector

send_page()

Render a page and send the respose

send_tags()

Render a custom page with a custom title and main content