Skip to content

Instantly share code, notes, and snippets.

@katernya
Created May 30, 2014 23:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save katernya/d35ea486d50ae45b6995 to your computer and use it in GitHub Desktop.
Save katernya/d35ea486d50ae45b6995 to your computer and use it in GitHub Desktop.
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<ui:style>
.floatleftpanel { float: left; }
.credtextbox { width: 4em; font-size: 16px; }
.outerFlowPanel { margin: 10px; }
</ui:style>
<g:FlowPanel>
<g:Label visible="false" ui:field="statusLabel"></g:Label>
<g:FlowPanel addStyleNames="{style.outerFlowPanel}" ui:field="loginPanel">
<g:DecoratorPanel>
<g:Grid>
<g:row>
<g:customCell><g:Label>Userderp</g:Label></g:customCell>
<g:customCell><g:TextBox debugId="usernamebox" addStyleNames="{style.credtextbox}" ui:field="username"></g:TextBox></g:customCell>
<g:customCell><g:Button debugId="loginbtn" ui:field="loginButton">Login</g:Button></g:customCell>
</g:row>
<g:row>
<g:customCell><g:Label>Psssword</g:Label></g:customCell>
<g:customCell><g:PasswordTextBox debugId="passwordbox" addStyleNames="{style.credtextbox}" ui:field="password"></g:PasswordTextBox></g:customCell>
<g:customCell><g:Hyperlink ui:field="signupLink">Sign up</g:Hyperlink></g:customCell>
</g:row>
</g:Grid>
</g:DecoratorPanel>
</g:FlowPanel>
<g:FlowPanel addStyleNames="{style.outerFlowPanel}" ui:field="signupPanel" visible="false">
<g:DecoratorPanel>
<g:Grid>
<g:row>
<g:customCell><g:Label>Username</g:Label></g:customCell>
<g:customCell><g:TextBox addStyleNames="{style.credtextbox}" ui:field="signupUsername"></g:TextBox></g:customCell>
</g:row>
<g:row>
<g:customCell><g:Label>Password</g:Label></g:customCell>
<g:customCell><g:PasswordTextBox addStyleNames="{style.credtextbox}" ui:field="signupPassword"></g:PasswordTextBox></g:customCell>
</g:row>
<g:row>
<g:customCell><g:Label>Confirm</g:Label></g:customCell>
<g:customCell><g:PasswordTextBox addStyleNames="{style.credtextbox}" ui:field="confirmPassword"></g:PasswordTextBox></g:customCell>
</g:row>
<g:row>
<g:customCell><g:Label>E-Mail</g:Label></g:customCell>
<g:customCell><g:TextBox addStyleNames="{style.credtextbox}" ui:field="email"></g:TextBox></g:customCell>
</g:row>
<g:row>
<g:customCell><g:Button ui:field="signupButton">Sign up</g:Button></g:customCell>
</g:row>
</g:Grid>
</g:DecoratorPanel>
</g:FlowPanel>
</g:FlowPanel>
</ui:UiBinder>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment