source: SRUAggregator/trunk/src/main/webapp/index-old.zul @ 2926

Last change on this file since 2926 was 2926, checked in by yana, 11 years ago

rebuilding the interface - initial version, still not functional!

File size: 12.4 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<?page title="CLARIN-D Federated Content Search"?>
3<zk>
4    <window id="mainWindow" contentStyle="background:white;" height="100%"
5        apply="eu.clarin.sru.fcs.aggregator.app.Aggregator">
6
7        <borderlayout sclass="complex-layout">
8            <!-- Kopf -->
9            <north height="120px" style="border-width:0px 0px 1px 0px;">
10                <!--<image src="clarindLogo.png"/>-->
11
12                        <vlayout>
13                            <div  align="center">
14                            <image src="clarindLogo.png"/>
15                            <hlayout >
16                                <textbox id="searchString" value="Elefant" focus="true"
17                                style="font-size:16px;margin:5px 0px 5px 10px;color:#0e4071;border: 1px solid #801418;width:468px;"/>
18
19                                <button id="searchButton" label="Search" image="buttonSearch.png"
20                                sclass="ccsDarkBlue" style="margin:5px 10px 5px 0px;"/>
21                            </hlayout>
22                            </div>
23                        </vlayout>
24            </north>
25
26            <!-- Linke Sidebar -->
27            <west autoscroll="true" splittable="true" title=" " size="40%"  border="0"
28                collapsible="true">
29
30                <borderlayout sclass="complex-layout">
31                    <north style="border-width:0px 0px 0px 0px;">
32<!--
33                        <hlayout
34                            style="margin-top:20px;margin-bottom:10px;margin-left:auto;margin-right:auto;width:95%;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;">
35                            <textbox hflex="1" id="searchString" value="Elefant" focus="true"
36                                style="font-size:16px;margin:5px 0px 5px 10px;color:#0e4071;border: 1px solid #801418;"/>
37
38                            <button id="searchButton" label="Search" image="buttonSearch.png"
39                                sclass="ccsDarkBlue" style="margin:5px 10px 5px 0px;"/>
40                        </hlayout>
41-->
42                    </north>
43                    <center margins="0,0,0,0" autoscroll="true" border="0">
44                        <panel>
45                            <panelchildren
46                                style="margin-top:10px;margin-left:10px;margin-right:10px;border:0;overflow:auto;">
47
48                                <groupbox mold="3d" id="allCorpora" sclass="ccsLightBlue"
49                                    contentStyle="border:0" title="Corpora">
50                                    <!--<caption label="Corpora" style="border:0;"/>-->
51
52                                    <div style="text-align:right;">
53                                        <button id="selectAll" label="Select All"
54                                            image="buttonSelectAll.png" sclass="ccsDarkBlue"/>
55                                        <button id="deselectAll" label="Deselect All"
56                                            image="buttonDeselectAll.png" sclass="ccsDarkBlue"/>
57                                    </div>
58
59                                    <tree id="tree" style="margin-top:2px;"> </tree>
60                                </groupbox>
61
62                                <separator/>
63                                <separator/>
64
65                                <groupbox mold="3d" id="nHits" sclass="ccsLightBlue"
66                                    contentStyle="border:0" open="false">
67                                    <caption label="Maximum hits" style="border:0;"/>
68                                    <combobox id="maximumRecordsSelect" width="100%" value="10"
69                                        style="margin-top:7px;margin-bottom:7px;">
70                                        <comboitem label="10" id="maximumHits10"/>
71                                        <comboitem label="20" id="maximumHits20"/>
72                                        <comboitem label="30" id="maximumHits30"/>
73                                    </combobox>
74                                </groupbox>
75
76                                <separator/>
77                                <separator/>
78
79                                <groupbox mold="3d" id="sLang" sclass="ccsLightBlue"
80                                    contentStyle="border:0" open="false">
81                                    <caption label="Language" style="border:0;"/>
82                                    <div style="margin-top:7px;margin-bottom:7px;">
83                                        <combobox id="languageSelect" width="100%">
84                                            <comboitem label="Any Language" id="anyLanguage"/>
85                                            <comboitem label="German" id="german"/>
86                                            <comboitem label="English" id="english"/>
87                                            <comboitem label="Dutch" id="dutch"/>
88                                            <comboitem label="-More to come-"/>
89                                        </combobox>
90                                        <div style="margin-top:2px;text-align:right;">
91                                            <button id="addLangButton" label="Add"
92                                                image="buttonSelectAll.png" sclass="ccsDarkBlue"/>
93                                            <button id="removeLangButton" label="Remove"
94                                                image="buttonDeselectAll.png" sclass="ccsDarkBlue"/>
95                                        </div>
96                                    </div>
97                                </groupbox>
98
99                                <separator/>
100                                <separator/>
101
102                                <groupbox mold="3d" id="sTiers" sclass="ccsLightBlue"
103                                    contentStyle="border:0" open="false">
104                                    <caption label="Tier types" style="border:0;"/>
105                                    <div style="margin-top:7px;margin-bottom:7px;">
106                                        <combobox id="tiersSelect" width="100%" value="words">
107                                            <comboitem label="full text"/>
108                                            <comboitem label="words"/>
109                                        </combobox>
110                                        <div style="margin-top:2px;text-align:right;">
111                                            <button id="addTierButton" label="Add"
112                                                image="buttonSelectAll.png" sclass="ccsDarkBlue"/>
113                                            <button id="removeTierButton" label="Remove"
114                                                image="buttonDeselectAll.png" sclass="ccsDarkBlue"/>
115                                        </div>
116                                    </div>
117                                </groupbox>
118
119
120<!--
121                                <separator/>
122                                <separator/>
123
124                                <groupbox mold="3d" id="gbForeignEndpoints" sclass="ccsLightBlue"
125                                    contentStyle="border:0" open="false">
126                                    <caption label="Foreign Endpoints" style="border:0;"/>
127                                    <div style="margin-top:7px;margin-bottom:7px;">
128                                        <combobox id="foreignEndpointSelect" width="100%"
129                                            value="Select an endpoint">
130                                            <comboitem
131                                                label="Mimore;http://www.meertens.knaw.nl/mimore/srucql/"/>
132                                            <comboitem
133                                                label="INL;http://gysseling.corpus.taalbanknederlands.inl.nl/cqlwebapp/cql"/>
134                                            <comboitem label="DANS;http://srucql.dans.knaw.nl"/>
135                                            <comboitem
136                                                label="ICLTT;http://corpus3.aac.ac.at/ddconsru"/>
137                                            <comboitem label="UPF;http://gilmere.upf.edu/pais_sru"/>
138                                        </combobox>
139                                        <div style="margin-top:2px;">
140                                            <button id="addFepButton" label="Add"
141                                                image="buttonSelectAll.png" sclass="ccsDarkBlue"/>
142                                            <button id="removeFepButton" label="Remove"
143                                                image="buttonDeselectAll.png" sclass="ccsDarkBlue"/>
144                                        </div>
145                                    </div>
146                                </groupbox>
147-->
148                                <separator/>
149                            </panelchildren>
150                        </panel>
151                    </center>
152                </borderlayout>
153            </west>
154
155            <!-- Mittlerer Bereich-->
156            <center margins="0,5,0,0" autoscroll="true" border="0">
157                <borderlayout sclass="complex-layout">
158                    <north style="border-width:0px 0px 1px 0px;">
159                        <menubar id="menubar" width="100%" style="margin-top:2px;border:0;">
160                            <menu label="Actions" image="buttonActions.png">
161                                <menupopup>
162                                    <menuitem label="Clear Results" id="clearResults"
163                                        image="buttonDelete.png"/>
164                                    <menuitem label="Export Results to CSV" id="exportResultsCSV"
165                                        image="buttonExport.png"/>
166                                    <menuitem label="Export Results to TCF" id="exportResultsTCF"
167                                        image="buttonExport.png"/>
168                                    <menuitem label="Export Results as TCF to personal workspace" id="exportResultsPWTCF"
169                                        image="buttonExport.png"/>
170                                </menupopup>
171                            </menu>
172                            <menu label="Help" image="buttonHelp.png">
173                                <menupopup>
174                                    <menuitem label="Show Help" id="showHelp" image="buttonHelp.png"/>
175                                    <menuitem label="About" id="showAbout"
176                                        image="buttonShowAbout.png"/>
177                                </menupopup>
178                            </menu>
179                        </menubar>
180                    </north>
181                    <center  margins="0,5,0,0" autoscroll="true" border="0" >
182                        <panel>
183                            <panelchildren id="resultsPanel"  >
184                                <window id="resultsBox" style="overflow:auto;">
185                                    <iframe id="resultsPic" src="help.html" width="80%" height="80%"/>
186                                </window>
187                                <label value=" " id="searchResultsProgress" style="border-width:0px;margin-left:5px;"/>
188                            </panelchildren>
189                        </panel>
190                    </center>
191                </borderlayout>
192            </center>
193
194            <!-- Fusszeile -->
195            <south title="Copyright © 2013 Clarin-D"
196                style="border-width:1px 0px 0px 0px;text-align:center;">
197            </south>
198           
199        </borderlayout>
200
201
202
203<popup id="wspaceSigninpop" width="400px">
204<label value="Personal Workspace Sign In" style="font-weight:bold;color:#0e4071;"/>
205<grid>
206
207<rows>
208<row>
209<label style="font-weight:bold" value="Username:"/>
210<textbox id="wspaceUserName"  width="150px" value=""/>
211</row>
212<row>
213<label style="font-weight:bold" value="Password:"/>
214<textbox id="wspaceUserPwd" type="password" width="150px" value=""/>
215</row>
216
217<!--
218<row spans="2">
219<div align="center">
220<button id="wspaceSigninBtn" label="Sign in" image="key.png" sclass="ccsDarkBlue" />
221<button id="wspaceCancelBtn" label="Cancel" image="buttonDelete.png" sclass="ccsDarkBlue" style="margin-left:10px;"/>
222</div>
223</row>
224-->
225<row>
226<div>
227</div>
228<div align="center">
229<button id="wspaceSigninBtn" label="Sign in" image="key.png" sclass="ccsDarkBlue" />
230<button id="wspaceCancelBtn" label="Cancel" image="buttonDelete.png" sclass="ccsDarkBlue" style="margin-left:10px;"/>
231</div>
232</row>
233
234</rows>
235</grid>
236</popup>
237       
238    </window>
239   
240</zk>
Note: See TracBrowser for help on using the repository browser.