Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add themes support and simplify ynh inapps panel #117
Ok, I'll try to make it clear (sorry it's not short, but I tried to explain the change a couple of times, but I had the feeling it wasn't very understandable every time).
So. You know, the SSO homepage, the one that lists apps? You are redirected to it when you login successfully. But also, when you're in using an app, there is the yunohost button in the bottom right of your screen that let you toggle it's display.
So, before this PR, there was two codes to display this same content:
So the goal of this PR, is simply to remove the second "duplicate" code (2), and in
This allows to better separate functionalities:
This PR is actually also doing a second little thing (sorry, I didn't manage to separate them, it seemed obvious to include it since the revamping of ynhpanel.js was meant for this purpose), it's to add compatibility with the under creation themes API, so the SSO can display custom themes.
Hope that's understandable :-)