Package com.almis.awe.controller
Class StaticResourcesController
java.lang.Object
com.almis.awe.controller.StaticResourcesController
-
Constructor Summary
ConstructorDescriptionStaticResourcesController
(BaseConfigProperties baseConfigProperties, QueryService queryService) Static resource controller constructor -
Method Summary
-
Constructor Details
-
StaticResourcesController
public StaticResourcesController(BaseConfigProperties baseConfigProperties, QueryService queryService) Static resource controller constructor- Parameters:
baseConfigProperties
- Base config propertiesqueryService
- Query service
-
-
Method Details
-
index
Handler for index page- Returns:
- Index page
-
getStyles
@GetMapping("/css/styles{xxx}.css") public String getStyles(@PathVariable String xxx, org.springframework.ui.Model model) Parse styles and set image values- Parameters:
model
- MVC Model object- Returns:
- CSS styles
-
getThemeVariables
@GetMapping("/css/themeVariables{xxx}.css") public String getThemeVariables(@PathVariable String xxx) throws AWException Generate theme variables- Returns:
- CSS styles
- Throws:
AWException
-