• last updated 16 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Provide a zero-dependency Tooltip implementation

This uses CSS and little JavaScript. The goal is to provide a Tooltip implementation that is independend from frameworks such as Boostrap. This is actually very possible in modern CSS and JavaScript.

Documentation with examples is included.

file index.adp was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/doc/gadgets/index.adp
file tooltip.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/tooltip.js
file tooltip.css was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/tooltip.css
file tooltip.adp was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/doc/gadgets/tooltip.adp
adp:toggle_button: added "id" attribute

skip "-url" in "export_vars -url" since it is the default

  1. … 11 more files in changeset.
fix cut&paste error

Cleanup debug statements, re-instate safe tmpfile check

Fixes acs-templating automated tests

adp:toggle_button: add "href" (default "#") for use when ... tag="a" ...

bumped version numbers to 5.10.1b1

  1. … 85 more files in changeset.
regenerated documetation

  1. … 27 more files in changeset.
Added attributes "tag" and "type" to "adp:toggle_button" to increase applicability

- Bootstrap3 is picky and allows just "<a>" tags for the navigation

buttons, whereas Bootstrap4 and 5 would also allow <button> with

appropriate classes for nav-items and nav-links.

So, use <... tag="a"... > for use of nav buttons with potential

Dropdowns with Bootstrap 3.

- Potential attributes for this tag are:

- "tag" (default "button")

- "toggle"

- "target"

- "type" (default "button")

The attribute "type" is just valid when "tag" is "button".

- Many thanks to Monika Andergassen for the suggestion.

improved spelling

  1. … 2 more files in changeset.
minor changes: fixed typo, ease debugging, ...

improved spelling

    • -3
    • +3
    ./www/doc/exercise/ats-for-designers.adp
    • -3
    • +3
    ./www/doc/exercise/ats-for-designers.html
  1. … 3 more files in changeset.
improved documentation of if-tag

- put the general syntax upfront

- add example for boolean test

Use modern api

Update api to streamline idiom

Update api

  1. … 1 more file in changeset.
Deprecate trivial wrappers to the NaviServer API

Modern ns_getform will not return the empty string for empty requests, but only when we are operating outside of a connection. In such circumstances is arguably useful to manipulate the request parameters.

  1. … 1 more file in changeset.
Localize error message

Use a better regexp to reimplement ad_looks_like_html_p, use the improved api to port downstream feature: an ad_form datatype validator that won't allow to insert markup

Many thanks to Günter Ernst

  1. … 1 more file in changeset.
Gracefully reject invalid lists supplied as a file triple instead of failing and log the occurrence

Do not introduce extra newline in the content when writing to file

Test read/write of files via the templating api:

this will fail because we currently introduce an extra newline in the content

Deprecate template::form::export, superseded by export_vars

Cover additional api

Increase proc coverage

Increase proc coverage