Open rldhont opened 3 years ago
What is the functional purpose ? I do not see any advantage for just formating json into html.
AMHA, this should not rely on jquery (Whose usage should be considere as deprecated). Also avoid bootstrap if possible.
Hi @dmarteau,
It is a first step to provide an HTML UI to WMTS Cache manager, the interesting pages, those containing the Delete buttons, have not been coding yet.
The purpose of this PR is mainly the apiutils.py
updates to provide HTML pages with the QgsServerOgcApiHandler::write
method.
The HTML templates are based on the QGIS WFS3 templates. These header and footer are the same except the leaflet part has been removed. I reused the QGIS templates to provide the same HTML User Interface and to get advantage of the static template method. This part can be modified later.
It is also a POC for QGIS Server tiles plugin and the OGC Tiles API implementation.
Can you review the changes made in apiutils.py
? Thanks
Provide HTML user interface for WMTS cache manager, first step with landing page and collections page.