• last updated 13 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
use consistently case-insensitive access to attributes of tags

  1. … 2 more files in changeset.
map in adp:button fro bootstrap5 only selectively data attribute names

  1. … 1 more file in changeset.
This change intruduces <adp:button>, which avoids adp:* markup inside

HTML attribute values, which we had before. One can now use

<adp:button type="submit" class="btn btn-outline-secondary">Filter</adp:button>

instead of

<button type="submit" class="btn <adp:class name='btn-outline-secondary'>">Filter</button>

One should probably provide in the future more adp:* tags for

providing a clean mapping of CSS class attributes.

<adp:class> was deactivated for the time being

  1. … 3 more files in changeset.
factor out some w3css styling and make it available via template::CSS

  1. … 2 more files in changeset.
merge with missing files

  1. … 1464 more files in changeset.
merge from oacs-5-10

  1. … 8099 more files in changeset.
adp:toggle_button: added "id" attribute

fix cut&paste error

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

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.

extended adp:icon

- added the feature "invisible" to <adp:icon....>

- added generic names "admin", "cog", "folder-add", "permissions", "search", and "unmount"

- added an overview page of adp-icons to the sitewide admin page

- bumped version to 5.10.1d22

  1. … 4 more files in changeset.
adp:icon: extended list of generic names and support reloading

- adp:icon: added "next" and "previous" to generic names

- moved variable ::template::icon::map from *init.tcl to style-procs.tcl

to support changes via dynamic reloading via package manager

- bumped version number to 5.10.1d17

  1. … 2 more files in changeset.
Deprecate template::util::is_true, implemented as a simple string command oneliner since 2015 and inline occurrences

  1. … 33 more files in changeset.
extended adp:icon handling

Added support for multiple classes,

Added more potentially reusabel icon names,

bumped version to 5.10.1d13

  1. … 2 more files in changeset.
extended generic names by "user" and "list-alt"

whitespace changes

added new generic icon name: add-new-item

completed generic icon tables

  1. … 1 more file in changeset.
added filetype-csv to generic icon names

  1. … 1 more file in changeset.
Added support for fa-icons to the generic names for adp:icon

Added new options "iconset" and "alt" to adp:icon, updated

documentation in API browser

Bumped version to 5.10.1d9

  1. … 2 more files in changeset.
in case an icon name is mapped to the empty string in some iconset, use the title text instead of an icon

  1. … 1 more file in changeset.
extend registered names for adp:icons

added "form-info-sign" and "download" icon to gyphicon/bi compatibility mapping

Improved toolkit support for homogeneous theming and appearance

This change included new tags for rendering icons and toggles. The

change makes it possible that an unchanged markup of icons can be

adapt itself according to a theme or a manual configuration. One can

use e.g. for Bootstrap 3 glyphicons, and when changing the theme to

Bootstrap 5, then bootstrap icons are used.

Furthermore, the new markup eases maintenance and helps to achieve a

consistent look-and-feel also, when design decisions are altered.

Both, bootstrap-icons and glyphicons are font-based. This leads as

well to a better user experience, since the number of requests are

substantially lower than with the previous approach based on .gif and

.png files. When the iconset is set to "classic" (package parameter in

acs-subsite), the old image files are used.

- new tag: <adp:icon name="NAME" title="..." style="..." class="...">

Icon-names available for all iconsets:

edit

trash

radio-checked

radio-unchecked

checkbox-checked

checkbox-unchecked

arrow-down

arrow-up

The page acs-admin/package/bootstrap-icons/sample contains more

detailed information, including the names which are identical

between bootstrap 3 and 5.

- bumped version number of acs-templating to 5.10.1d6

  1. … 2 more files in changeset.
Smartify idioms

Fix typo

simplify idioms

Deprecate template::util::set_to_list: this proc can be replaced with trivial ns_set and tcl idioms

  1. … 2 more files in changeset.
Replace trivial api

Streamline ns_set idioms

  1. … 1 more file in changeset.