This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
/
AppView.ui.xml
176 lines (153 loc) · 4.6 KB
/
AppView.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<!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"
ui:generateFormat='com.google.gwt.i18n.rebind.format.PropertiesFormat'
ui:generateKeys="com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator"
ui:generateLocales="en">
<ui:with field='resources' type="org.zanata.webtrans.client.resources.Resources"/>
<ui:style type="org.zanata.webtrans.client.view.AppView.Styles">
.rootContainer
{
width:100%;
min-width:960px;
background-color:#FFFFFF;
height:100%;
}
.contentBody
{
margin:5px 25px 3px 25px;
}
.topPanel-Workspace {
font-size: 1.1em;
color: #595959;
padding:2px;
overflow:hidden;
text-overflow:ellipsis;
}
.topPanel-Workspace a {
color: #0085CC;
font-weight: bold;
text-decoration: none;
}
.translationStats {
width: 140px;
height: 1.2em;
color: #595959;
cursor:default;
}
.divider {
color: #000000;
font-size:12px;
}
.breadcrumbs-link {
cursor: pointer;
font-weight:bold;
color:#0085CC;
}
.breadcrumbs-link:hover
{
text-decoration:underline;
}
.topMenuButton
{
cursor: pointer;
font-size:20px;
color:#4E4E4E;
}
.topMenuButton:hover
{
color:#0085CC;
}
.breadcrumbs_display
{
font-size:14px;
font-weight:bold;
color:#B62918;
font-style:normal;
}
.viewMenuTab
{
color:#595959;
border:1px solid #C9C9C9;
border-radius:4px;
padding:1px;
margin-bottom:1px;
margin-left:1px;
font-size:18px;
background:#ffffff;
cursor:pointer;
opacity:0.6;
}
.viewMenuTab:hover
{
opacity:1;
color:#3B3B3B;
}
.selectedTab, .selectedTab:hover
{
background:#7E91A9;
color:#FFFFFF;
opacity:1;
}
.disableTab, .disableTab:hover
{
color:#777;
background:#bbb;
cursor:default;
opacity:1;
}
.fixedLayout
{
table-layout:fixed;
}
</ui:style>
<g:LayoutPanel stylePrimaryName="{style.rootContainer}" ui:field="rootContainer">
<g:layer top="0px" height="25px">
<g:LayoutPanel styleName="subHeader">
<g:layer left="25px" right="25px">
<g:HorizontalPanel width="100%" height="100%" verticalAlignment="ALIGN_MIDDLE" styleName="{style.fixedLayout}">
<g:cell>
<g:HTMLPanel styleName="{style.topPanel-Workspace}">
<nobr>
<g:InlineLabel ui:field="readOnlyLabel" styleName="{style.breadcrumbs_display}"/>
<g:Anchor ui:field="projectLink" styleName="{style.breadcrumbs-link}"/>
<g:InlineLabel styleName="icon-right-open {style.divider}"/>
<g:Anchor ui:field="versionLink" styleName="{style.breadcrumbs-link}"/>
<g:InlineLabel styleName="icon-right-open {style.divider}"/>
<g:Anchor ui:field="versionFilesLink" styleName="{style.breadcrumbs-link}"/>
<g:InlineLabel styleName="icon-right-open {style.divider}"/>
<g:InlineLabel ui:field="selectedDocumentSpan" styleName="{style.breadcrumbs_display}"/>
</nobr>
</g:HTMLPanel>
</g:cell>
<g:cell width="200px">
<fui:TransUnitCountBar ui:field="translationStatsBar" styleName="{style.translationStats}"/>
</g:cell>
<g:cell verticalAlignment="ALIGN_MIDDLE" width="25px" horizontalAlignment="ALIGN_RIGHT">
<g:InlineLabel ui:field="keyShortcuts" styleName="icon-keyboard {style.topMenuButton}"/>
</g:cell>
</g:HorizontalPanel>
</g:layer>
</g:LayoutPanel>
</g:layer>
<g:layer top="25px" bottom="0px" left='0px' right='0px' >
<g:LayoutPanel ui:field="contentContainer">
<g:layer top="0px" bottom="3px" left="25px" right="25px">
<g:TabLayoutPanel ui:field="content" barHeight="0" barUnit='PX' />
</g:layer>
<g:layer left="0" width="24px" top="0px" height="82px">
<g:HTMLPanel>
<g:Label styleName="icon-list {style.viewMenuTab}" ui:field="documentListTab"/>
<g:Label styleName="icon-edit {style.viewMenuTab}" ui:field="editorTab"/>
<g:Label styleName="icon-search {style.viewMenuTab}" ui:field="searchAndReplaceTab"/>
</g:HTMLPanel>
</g:layer>
</g:LayoutPanel>
</g:layer>
<g:layer right="0" width="24px" top="25px" bottom="10px">
<g:LayoutPanel ui:field="sideMenuContainer"/>
</g:layer>
</g:LayoutPanel>
</ui:UiBinder>