-
Notifications
You must be signed in to change notification settings - Fork 85
/
LoginDialog.ui.xml
53 lines (43 loc) · 1.7 KB
/
LoginDialog.ui.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:b="urn:import:org.gwtbootstrap3.client.ui"
xmlns:bhtml="urn:import:org.gwtbootstrap3.client.ui.html"
>
<ui:style>
.northPanel {
padding: 0px;
margin: 10px;
}
.spacer {
padding: 0px;
margin: 10px;
}
</ui:style>
<b:Form type="HORIZONTAL">
<b:FieldSet>
<b:Container fluid="true" styleName="{style.northPanel}">
<b:Row>
<b:Column size="MD_3"><b:FormLabel for="username">Username:</b:FormLabel></b:Column>
<b:Column size="MD_9"><b:TextBox ui:field="userBox" b:id="formName"/></b:Column>
</b:Row>
<b:Row marginTop="5" >
<b:Column size="MD_3"><b:FormLabel for="formPassword">Password:</b:FormLabel></b:Column>
<b:Column size="MD_9"><b:Input type="PASSWORD" ui:field="passBox" b:id="formPassword"/></b:Column>
</b:Row>
<b:Row styleName="{style.spacer}">
<b:Column size="MD_8"><b:CheckBox ui:field="rememberBox" text="Remember me"/></b:Column>
<b:Column size="MD_2"><b:Button ui:field="loginButton" type="PRIMARY">Login</b:Button></b:Column>
</b:Row>
</b:Container>
<b:Row styleName="{style.spacer}">
<b:Anchor text="Browse public genomes" href="../jbrowse/"/>
</b:Row>
<b:Row styleName="{style.spacer}">
<b:Anchor text="About Apollo" href="../about/" target="_blank"/>
</b:Row>
<b:Row styleName="{style.spacer}">
<b:Column size="MD_1"><b:html.Div ui:field="errorHtml"/></b:Column>
<b:Column size="MD_9"><b:html.Paragraph ui:field="errorText"/></b:Column>
</b:Row>
</b:FieldSet>
</b:Form>
</ui:UiBinder>