Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adminifier: theme editing #128

Open
cooper opened this issue Feb 26, 2025 · 0 comments
Open

adminifier: theme editing #128

cooper opened this issue Feb 26, 2025 · 0 comments

Comments

@cooper
Copy link
Owner

cooper commented Feb 26, 2025

It would be nice to be able to manage themes from a server admin account.

desired capabilities

  • browsing the available themes
  • creating themes based on read-only embedded ones
  • duplicating themes
  • editing the .tpl files on the fly (except for read-only ones)
  • uploading static/resource files (stretch goal)

Currently, server.dir.template can be a comma-separated list of paths to search. Wikis can also specify an absolute path with template in wiki.conf. Point being, they can exist anywhere.

I think we should make a server.dir.theme which stores editable themes managed by the server. Only those within this directory would be editable. Others would be visible but marked external. The default location would be ~/quiki/themes.

If the theme is within the wiki directory (indicating it is specific to that site), non-server admin users could edit it too maybe, within the context of the site. I don't know if this is feasible right away. If it is, it should also be possible to copy any known theme to within a wiki.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant