-
-
Notifications
You must be signed in to change notification settings - Fork 170
Html Customization
Aurora Lahtela edited this page Oct 30, 2022
·
40 revisions
a File difference tool branch can be used for diffs on GitHub: View the HTML branch
The web pages of the plugin can be completely customized.
This means that you can add a links to important pages related to your server, change layout to some extent and more customization than bare config settings allow.
After you have used Plan for a while, the config.yml will have a Customized_files
section.
- Set any file as
true
- reload Plan and the files should be written
Afterwards you can modify the files in /Plan/web/
(Or another folder you set to Customized_files.Path
) and Plan will use them!
- Everything inside the web folder inside the jar: Web Resources
- Any files made customizable via ResourceService
You can modify the website faster using your IDE.
- (Install Plan on a local server or network)
- Set
Customized_files.Path
to folder you have your IDE open in (For example<absolute path to git repo>/Plan/common/src/main/resources/assets/plan/web
if you have git cloned) - Set
Customized_files.Enable_web_dev_mode
totrue
so that any time you refresh (F5) the page in the browser the customized files are not cached (and update immediately) - Reload Plan
- Plan will place all web files to this folder when reloaded next time.
Note that this allows easier modification of existing files, but if you need to add new files you still need to recompile the plugin.