CSS : Add code for element collapse/expand;

Python : Addd support for UBports;
SVG    : Add more icons;
TOML   : Add more clients;
XHTML  : Add a note of UBports, and an element to collapse/expand details.
This commit is contained in:
Schimon Jehudah, Adv. 2024-10-25 15:52:52 +03:00
parent 4c9621972a
commit 6625035969
10 changed files with 4189 additions and 80 deletions

View file

@ -692,6 +692,7 @@ class HttpInstance:
name = software.title()
if software == 'posix': name = 'POSIX'
if software == 'ubports': name = 'UBports'
filename_clients = 'clients.toml'
clients = Data.open_file_toml(filename_clients)
@ -703,7 +704,8 @@ class HttpInstance:
'about' : clients[client]['about'],
'features' : clients[client]['features'],
'iden' : client,
'href' : clients[client][software]}
'href' : clients[client][software],
'resources' : clients[client]['resources'] if 'resources' in clients[client] else ''}
client_selection.append(client_selected)
template_file = 'download.xhtml'