Ylianst / MeshCentral

A complete web-based remote monitoring and management web site. Once setup you can install agents and perform remote desktop session to devices on the local network or over the Internet.
https://meshcentral.com
Apache License 2.0
3.96k stars 535 forks source link

Add support for Bootstrap in MeshCentral, along with a theme switcher #6333

Open marclaporte opened 3 weeks ago

marclaporte commented 3 weeks ago

"Bootstrap (formerly Twitter Bootstrap) is a free and open-source CSS framework directed at responsive, mobile-first front-end web development." Source: https://en.wikipedia.org/wiki/Bootstrap_(front-end_framework)

We started working to add support for Bootstrap to MeshCentral.

The plan:

The code so far: https://github.com/Ndaboom/MeshCentral

cfoellmann commented 3 weeks ago

I am with you. Time is sparse and I am in no way a node dev but I will support this effort as best as possible

kambereBr commented 2 weeks ago

A few screenshots of the MeshCentral Bootstrap version in progress. I will regularly provide updated screenshots as the work progresses.

Repo: https://github.com/Ndaboom/MeshCentral

Screenshot 2024-08-28 015029

Screenshot 2024-08-28 020054

Screenshot 2024-08-28 015227

Screenshot 2024-08-28 015312

Screenshot 2024-08-28 015927

Screenshot 2024-08-28 015557

Screenshot 2024-08-28 021219

cfoellmann commented 2 weeks ago

@kambereBr this looks very promising!!

When bootstrap is the foundation it will be far easier to theme. @si458 Is it possible to split the template files for the UI? I am totally oblivious how the nodejs app uses the templates but these mega files are very hard to handle.

si458 commented 2 weeks ago

@cfoellmann The idea at the moment is to have another default.handlebars called default-bootstrap.handlebars

Then, when u specify like ui=1, it will use the new bootstrap ui or ui=0 and use the old one

I do believe the guys are looking at separating the ui into different .handlebar files then people can change certain parts to the hearts content rather than struggling with just a single .handlebar file!

marclaporte commented 3 days ago

We are making progress and we will be looking for testers in about 3 weeks.