Search in sources :

Example 1 with BootswatchThemeProvider

use of de.agilecoders.wicket.themes.markup.html.bootswatch.BootswatchThemeProvider in project estatio by estatio.

the class EstatioApplication method init.

@Override
protected void init() {
    super.init();
    IBootstrapSettings settings = Bootstrap.getSettings();
    settings.setThemeProvider(new BootswatchThemeProvider(BootswatchTheme.Sandstone));
}
Also used : IBootstrapSettings(de.agilecoders.wicket.core.settings.IBootstrapSettings) BootswatchThemeProvider(de.agilecoders.wicket.themes.markup.html.bootswatch.BootswatchThemeProvider)

Example 2 with BootswatchThemeProvider

use of de.agilecoders.wicket.themes.markup.html.bootswatch.BootswatchThemeProvider in project java-design-patterns by iluwatar.

the class SimpleApplication method init.

@Override
protected void init() {
    super.init();
    IBootstrapSettings settings = Bootstrap.getSettings();
    settings.setThemeProvider(new BootswatchThemeProvider(BootswatchTheme.Flatly));
}
Also used : IBootstrapSettings(de.agilecoders.wicket.core.settings.IBootstrapSettings) BootswatchThemeProvider(de.agilecoders.wicket.themes.markup.html.bootswatch.BootswatchThemeProvider)

Aggregations

IBootstrapSettings (de.agilecoders.wicket.core.settings.IBootstrapSettings)2 BootswatchThemeProvider (de.agilecoders.wicket.themes.markup.html.bootswatch.BootswatchThemeProvider)2