I guess I'd favor saying html-bootstrap contains templates relative to the current major version of bootstrap but then I'd keep the older, version specific, ones as part of the repo. Maybe they don't get installed and are just there for reference - or a user could install by hand. The drag is that one needs to keep pace with Bootstrap releases. So, for now html-bootstrap would contain Bootstrap 5 templates and when version 6 comes out you'd create a html-bootstrap5 directory that wouldn't get installed and html-bootstrap would contain Bootstrap 6 files.
On Mon, Sep 8, 2025 at 12:46 PM Seth G via MapServer-dev < mapserver-dev@lists.osgeo.org> wrote: > Hi devs, > > I have made updated HTML templates for the OGC Features API in > https://github.com/MapServer/MapServer/pull/7338 using Bootstrap 5. > I've added these to a new html-bootstrap5 folder, but maybe it is better > to replace the current files in the html-bootstrap4 folder and rename it > html-bootstrap (so it is not tied to a specific version)? > > Advantages of this approach are fewer files to deploy, and users get > updated templates when updating MapServer versions. > Disadvantages are users who have set OGCAPI_HTML_TEMPLATE_DIRECTORY to the > html-bootstrap4 folder will need to update their CONFIG files and users may > also prefer to keep older versions of templates (although then can save a > copy locally). > > My preference is to replace, and rename the folder html-bootstrap. > > There are also plans to make installing the templates optional - see > https://github.com/MapServer/MapServer/pull/7309 > > Thoughts and comments welcome, > > Seth > > -- > web:https://geographika.net & https://mapserverstudio.net > mastodon: @geographika@mastodon.social > _______________________________________________ > MapServer-dev mailing list > MapServer-dev@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-dev >
_______________________________________________ MapServer-dev mailing list MapServer-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-dev