use of com.helger.photon.core.execcontext.ISimpleWebExecutionContext in project phoss-directory by phax.
the class PDLoginManager method createLoginScreen.
@Override
protected IHTMLProvider createLoginScreen(final boolean bLoginError, @Nonnull final ICredentialValidationResult aLoginResult) {
return new BootstrapLoginHTMLProvider(bLoginError, aLoginResult, getPageTitle()) {
@Override
@Nullable
protected IHCNode createFormFooter(@Nonnull final ISimpleWebExecutionContext aSWEC) {
final HCDiv aDiv = new HCDiv().addClass(CBootstrapCSS.D_FLEX).addClass(CBootstrapCSS.MT_5);
aDiv.addChild(new HCSmall().addChild(CPDPublisher.getApplicationTitleWithVersion() + " / " + CDirectoryVersion.BUILD_TIMESTAMP));
return aDiv;
}
};
}
Aggregations