This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
/
DocumentListView.ui.xml
96 lines (87 loc) · 2.9 KB
/
DocumentListView.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:g="urn:import:com.google.gwt.user.client.ui"
xmlns:f="urn:import:org.zanata.webtrans.client"
xmlns:fui="urn:import:org.zanata.webtrans.client.ui"
xmlns:c="urn:import:com.google.gwt.user.cellview.client">
<ui:style>
.unitStatus {
float: right;
width: 100px;
height: 1.2em;
}
.mainPanel {
background-color: #ffffff;
}
.optionStyle {
font-size: 13px;
color: #595959;
}
.statsOption {
display: inline-block;
text-align: left;
}
.topBar {
border-bottom: 1px solid lightGrey;
width: 100%;
height: 100%;
}
.listContainer {
padding: 1em 0;
}
.downloadAllFilesButton {
display: inline-block;
text-align: center;
margin-left: 3px;
}
</ui:style>
<g:LayoutPanel>
<g:layer top="0px" bottom="0px">
<g:LayoutPanel styleName="{style.mainPanel}">
<g:layer top='0' height='32px' left="0px" right="0px">
<g:HorizontalPanel styleName="{style.topBar}"
verticalAlignment="ALIGN_MIDDLE">
<g:cell width="305px">
<fui:SearchField ui:field="searchField" />
</g:cell>
<g:cell>
<g:HTMLPanel>
<g:CheckBox ui:field="caseSensitiveCheckBox"
styleName="{style.optionStyle}">
<ui:msg>Case sensitive</ui:msg>
</g:CheckBox>
<g:CheckBox ui:field="exactSearchCheckBox"
styleName="{style.optionStyle}">
<ui:msg>Exact match</ui:msg>
</g:CheckBox>
</g:HTMLPanel>
</g:cell>
<g:cell horizontalAlignment="ALIGN_RIGHT">
<g:HTMLPanel>
<g:InlineLabel styleName="{style.optionStyle}">
<ui:msg>Stats by:</ui:msg>
</g:InlineLabel>
<g:RadioButton ui:field="statsByWord"
styleName="{style.optionStyle} {style.statsOption}"
name="statsOption" />
<g:RadioButton ui:field="statsByMsg"
styleName="{style.optionStyle} {style.statsOption}"
name="statsOption" />
<g:PushButton ui:field="downloadAllFiles"
addStyleNames="{style.downloadAllFilesButton}" />
</g:HTMLPanel>
</g:cell>
</g:HorizontalPanel>
</g:layer>
<g:layer top='28px' bottom="0px">
<g:ScrollPanel styleName="{style.listContainer}">
<g:HTMLPanel width="100%">
<g:FlowPanel ui:field="documentListContainer" />
<fui:Pager ui:field="pager"/>
</g:HTMLPanel>
</g:ScrollPanel>
</g:layer>
</g:LayoutPanel>
</g:layer>
</g:LayoutPanel>
</ui:UiBinder>