-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tabbed interface does not exist when multiple authenticators are enabled #44
Comments
Hey @elliot-sawyer! I think this issue belongs more on framework than in themes, what do you think? |
The framework doesn't really have a theme - it gives a default template with no CSS. It seems like it would need be implemented in one of the themes? Dropping |
Yeah I guess I was more talking about the markup than the styles |
Throwing the markup into the framework code is a possibility. I note that the current state of things also generates a similar semantic markup. The authentication methods are tabs in an unordered list, with a "panel" of sorts to display the actual form. I don't really like having to include Bootstrap-specific classes in the core templates. Perhaps they could be defaults, overridden with config or utility methods? |
Yeah, the base templates should provide the login form markup, and if core supported displaying multiple authenticators in a list then we should ensure that the framework's markup for doing so is semantically valid - then we can add styles (and Bootstrap class names) as necessary to simple and/or starter/watea :) |
I'll raise an issue on framework and reference back to this. |
I've created a module that adds support for this here that I can drop into Bootstrap 3 projects. It works with Wātea and will probably work with the starter theme as well. |
I've reproduced this on starter, Wātea, and simple themes and I'm not sure which one it is appropriate to raise an issue on.
In SilverStripe 3, when you enable additional authenticators the Security/login form would present you with a default login and a tabbed interface of alternatives. When you enable multiple authenticators on a SilverStripe 4 site (such as Active Directory, BootstrapMFA, or any of its derivatives), you're presented with an unordered list of authenticators with no way to visually tell them apart. A developer can customise it, but it would be nice to present a nicer default view
Starter
Wātea
The text was updated successfully, but these errors were encountered: