searchcode-server icon indicating copy to clipboard operation
searchcode-server copied to clipboard

Allow Overriding All Styles

Open boyter opened this issue 8 years ago • 7 comments

Add the ability to override all styles. This will mean changing the code to allow http://sparkjava.com/documentation#static-files static files by path. Need to investigate how to do these sort of changes for header and footer.

boyter avatar May 09 '17 07:05 boyter

This has been partially implemented through the ability to embed custom HTML/CSS/JS on all pages through the settings screen for non community versions.

boyter avatar May 23 '17 07:05 boyter

The problem with this is that you cannot easily change the location of the templates. Need to investigate this further.

boyter avatar May 31 '17 07:05 boyter

Could you provide some description/example how to use this feature?

quasarea avatar Jun 16 '17 10:06 quasarea

If you mean embedding the custom HTML/JS this is not supported in the community edition. You would have to compile your own version with the community flag off to enable it.

If you mean for full theming, this is not yet supported at all. I am still investigating on how to achieve this.

boyter avatar Jun 18 '17 20:06 boyter

I do compile on my own this days :) so should it be something like embed.html file in certain folder or smth?

quasarea avatar Jun 20 '17 18:06 quasarea

No. Its a setting on the settings page in the admin section. You can embed your own javascript/css/html there.

boyter avatar Jun 20 '17 21:06 boyter

https://github.com/perwendel/spark/issues/892#issuecomment-319286836

boyter avatar Aug 01 '17 08:08 boyter