Index: openacs-4/packages/bootstrap-icons/bootstrap-icons.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bootstrap-icons/Attic/bootstrap-icons.info,v diff -u -r1.1.2.2 -r1.1.2.3 --- openacs-4/packages/bootstrap-icons/bootstrap-icons.info 7 Apr 2022 12:53:59 -0000 1.1.2.2 +++ openacs-4/packages/bootstrap-icons/bootstrap-icons.info 18 Apr 2022 09:08:38 -0000 1.1.2.3 @@ -9,14 +9,14 @@ f f - + Gustaf Neumann Free, high-quality, open-source icon library with over 1,600 icons. Include them anyway you like—SVGs, SVG sprite, or web fonts. Use them with or without Bootstrap in any project. 2022-01-15 0 - - + + Index: openacs-4/packages/bootstrap-icons/www/sitewide-admin/sample.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bootstrap-icons/www/sitewide-admin/Attic/sample.adp,v diff -u -r1.1.2.4 -r1.1.2.5 --- openacs-4/packages/bootstrap-icons/www/sitewide-admin/sample.adp 17 Apr 2022 10:58:26 -0000 1.1.2.4 +++ openacs-4/packages/bootstrap-icons/www/sitewide-admin/sample.adp 18 Apr 2022 09:08:38 -0000 1.1.2.5 @@ -40,26 +40,12 @@ "bootstrap-icons", and "fa-icons". This means that the same name can be used in the markup. When switching the themes/iconset, -different icon sets are used without the need of rewriting any markup. These icons are -displayed here in the currently defined icon set @iconset@. +different icon sets are used without the need of rewriting any markup. +The current default icon set is @iconset@. -
- arrow-down
- arrow-up
- checkbox-checked
- checkbox-unchecked
- edit
- eye-closed
- eye-open
- file
- form-info-sign
- radio-checked
- radio-unchecked
- reload
- text
- trash
- watch
-
+
+ @genericHTML;noquote@ +
  • Common adp:icons defined for icon sets Index: openacs-4/packages/bootstrap-icons/www/sitewide-admin/sample.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bootstrap-icons/www/sitewide-admin/Attic/sample.tcl,v diff -u -r1.1.2.5 -r1.1.2.6 --- openacs-4/packages/bootstrap-icons/www/sitewide-admin/sample.tcl 17 Apr 2022 10:58:26 -0000 1.1.2.5 +++ openacs-4/packages/bootstrap-icons/www/sitewide-admin/sample.tcl 18 Apr 2022 09:08:38 -0000 1.1.2.6 @@ -8,7 +8,7 @@ set resource_info [::bootstrap_icons::resource_info] set title "Sample Icons" -set context [list [list "." "Boostrap Icons"] $title] +set context [list [list "." "Boostrap Icons"] $title] set iconset [::template::iconset] # local URL @@ -37,12 +37,43 @@ template::head::add_css -href $CSS_URL +append genericHTML \ + {} \n \ + {} \ + [expr {$iconset ne "bootstrap-icons" ? "" : ""}] \ + \n \ + [join [lmap name { + arrow-down + arrow-up + checkbox-checked + checkbox-unchecked + edit + eye-closed + eye-open + file + form-info-sign + radio-checked + radio-unchecked + reload + text + trash + watch + } { + set _ + append _ [subst {}] + if {$iconset ne "bootstrap-icons"} { + append _ [subst {}] + } + append _ + }] \n] \ +
    Namebootstrap-icons$iconset
    $name
    \n + set content [subst {

    Using an Bootstrap Icons as SVG image

    Bootstrap Bootstrap

    Using Bootstrap Icons as fonts (sample)

    - +
    GitHub
    archive
    @@ -51,7 +82,7 @@ arrow-up-right-square
    arrow-up-square
    box-arrow-up-right
    - check
    + check
    clock-history
    cloud
    envelope
    @@ -68,7 +99,6 @@

    Resource info for Bootstrap Icons

    - +

    [join [lmap {k v} $resource_info {string cat }]]
    $k ": " $v
    }] - Index: openacs-4/packages/fa-icons/fa-icons.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/fa-icons/Attic/fa-icons.info,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/fa-icons/fa-icons.info 17 Apr 2022 10:41:37 -0000 1.1.2.1 +++ openacs-4/packages/fa-icons/fa-icons.info 18 Apr 2022 09:08:38 -0000 1.1.2.2 @@ -9,15 +9,15 @@ f f - + Gustaf Neumann Free, high-quality, open-source icon library with over 2,000 free icons. As of 2020, Font Awesome was used by 38% of sites that use third-party font scripts, placing Font Awesome in second place after Google Fonts. 2022-04-15 0 - - + + Index: openacs-4/packages/fa-icons/www/sitewide-admin/sample.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/fa-icons/www/sitewide-admin/Attic/sample.adp,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/fa-icons/www/sitewide-admin/sample.adp 17 Apr 2022 10:41:37 -0000 1.1.2.1 +++ openacs-4/packages/fa-icons/www/sitewide-admin/sample.adp 18 Apr 2022 09:08:38 -0000 1.1.2.2 @@ -45,26 +45,12 @@ "bootstrap-icons", and "fa-icons". This means that the same name can be used in the markup. When switching the themes/iconset, -different icon sets are used without the need of rewriting any markup. These icons are -displayed here in the currently defined icon set @iconset@. +different icon sets are used without the need of rewriting any markup. +The current default icon set is @iconset@. -

    - arrow-down
    - arrow-up
    - checkbox-checked
    - checkbox-unchecked
    - edit
    - eye-closed
    - eye-open
    - file
    - form-info-sign
    - radio-checked
    - radio-unchecked
    - reload
    - text
    - trash
    - watch
    -
    +
    + @genericHTML;noquote@ +
  • Index: openacs-4/packages/fa-icons/www/sitewide-admin/sample.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/fa-icons/www/sitewide-admin/Attic/sample.tcl,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/fa-icons/www/sitewide-admin/sample.tcl 17 Apr 2022 10:41:37 -0000 1.1.2.1 +++ openacs-4/packages/fa-icons/www/sitewide-admin/sample.tcl 18 Apr 2022 09:08:38 -0000 1.1.2.2 @@ -8,7 +8,7 @@ set resource_info [::fa_icons::resource_info] set title "Sample Font Awesome Icons" -set context [list [list "." "Font Awesome Icons"] $title] +set context [list [list "." "Font Awesome Icons"] $title] set iconset [::template::iconset] # @@ -18,17 +18,49 @@ template::head::add_css -href $CSS_URL +append genericHTML \ + {} \n \ + {} \ + [expr {$iconset ne "fa-icons" ? "" : ""}] \ + \n \ + [join [lmap name { + arrow-down + arrow-up + checkbox-checked + checkbox-unchecked + edit + eye-closed + eye-open + file + form-info-sign + radio-checked + radio-unchecked + reload + text + trash + watch + } { + set _ + append _ [subst {}] + if {$iconset ne "fa-icons"} { + append _ [subst {}] + } + append _ + }] \n] \ +
    Namefa-icons$iconset
    $name
    \n + + #

    Using an Font Awesome Icons as SVG image

    #

    Font Awesome Font Awesome set content [subst {

    Using Font Awesome Icons as fonts (sample)

    - +
    GitHub
    - - archive solid (regular, light, duotone, thin require pro icons).
    + + archive solid (regular, light, duotone, thin require pro icons).
    circle-arrow-right
    square-up-right
    circle-right (solid) @@ -38,27 +70,26 @@ fa-square-caret-up (solid) (regular)
    - - check
    - clock-rotate-left
    - cloud
    - envelope (solid) (regular)
    + + check
    + clock-rotate-left
    + cloud
    + envelope (solid) (regular)
    eye (solid) (regular)
    - + file (solid) (regular)
    - + folder (solid) (regular)
    folder-open (solid) (regular)
    circle-info
    pen-to-square (solid) (regular)
    - + trash-can (sold) (regular)
    upload

    Resource info for Font Awesome Icons

    - +

    [join [lmap {k v} $resource_info {string cat }]]
    $k ": " $v
    }] -