Skip to content

Commit

Permalink
Fixed layout of login option buttons on Log In pg. [ref #3338]
Browse files Browse the repository at this point in the history
  • Loading branch information
mheppler committed Nov 30, 2016
1 parent 45c9472 commit 22b510a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/main/webapp/loginpage.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,13 @@

<div id="otherProviders" jsf:rendered="#{LoginPage.listAuthenticationProviders().size() > 1}">
<h4>#{bundle['auth.providers.title']}</h4>
<ui:repeat value="#{LoginPage.listAuthenticationProviders()}" var="provider">
<h:form>
<h:form>
<ui:repeat value="#{LoginPage.listAuthenticationProviders()}" var="provider">
<p:commandLink rendered="#{provider.id != LoginPage.authProvider.id}" styleClass="btn btn-default" actionListener="#{LoginPage.setAuthProviderById(provider.id)}" update="login-container">
<h:outputText value="#{provider.title}" />
</p:commandLink>
</h:form>
</ui:repeat>
</ui:repeat>
</h:form>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/resources/css/structure.css
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ body.widget-view #dataverse-header-block {padding-top:0px;}
div.panel.highlight {
background-color: #f7f7f9;
}
#otherProviders a.btn.btn-default {margin-right:1em; margin-bottom:1em;}
#otherProviders a.ui-commandlink.ui-widget {margin-right:1em; margin-bottom:1em;}
#idpSelectIdPListTile form, #idpSelectIdPEntryTile form {margin-bottom:1em;}
#idpSelectIdPListTile input.btn, #idpSelectIdPEntryTile input.btn {margin-left:.5em;}
#idpSelectIdPEntryTile {position: relative;}
Expand Down

0 comments on commit 22b510a

Please sign in to comment.