source: SRUAggregator/trunk/src/main/webapp/index.zul @ 2527

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

Logging organized, progress info about waiting for search results added, SRUThreadedClient is one per application now.

File size: 10.6 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="65px" style="border-width:0px 0px 1px 0px;">
10                <image src="clarindLogo.png"/>
11            </north>
12
13            <!-- Linke Sidebar -->
14            <west autoscroll="true" splittable="true" title=" " size="25%"  border="0"
15                collapsible="true">
16
17                <borderlayout sclass="complex-layout">
18                    <north style="border-width:0px 0px 0px 0px;">
19                        <hlayout
20                            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;">
21                            <textbox hflex="1" id="searchString" value="Elefant" focus="true"
22                                style="font-size:16px;margin:5px 0px 5px 10px;color:#0e4071;border: 1px solid #801418;"/>
23
24                            <button id="searchButton" label="Search" image="buttonSearch.png"
25                                sclass="ccsDarkBlue" style="margin:5px 10px 5px 0px;"/>
26                        </hlayout>
27                    </north>
28                    <center margins="0,0,0,0" autoscroll="true" border="0">
29                        <panel>
30                            <panelchildren
31                                style="margin-top:10px;margin-left:10px;margin-right:10px;border:0;overflow:auto;">
32
33                                <groupbox mold="3d" id="allCorpora" sclass="ccsLightBlue"
34                                    contentStyle="border:0" title="Corpora">
35                                    <!--<caption label="Corpora" style="border:0;"/>-->
36
37                                    <div style="text-align:right;">
38                                        <button id="selectAll" label="Select All"
39                                            image="buttonSelectAll.png" sclass="ccsDarkBlue"/>
40                                        <button id="deselectAll" label="Deselect All"
41                                            image="buttonDeselectAll.png" sclass="ccsDarkBlue"/>
42                                    </div>
43
44                                    <tree id="tree" style="margin-top:2px;"> </tree>
45                                </groupbox>
46
47                                <separator/>
48                                <separator/>
49
50                                <groupbox mold="3d" id="nHits" sclass="ccsLightBlue"
51                                    contentStyle="border:0" open="false">
52                                    <caption label="Maximum hits" style="border:0;"/>
53                                    <combobox id="maximumRecordsSelect" width="100%" value="10"
54                                        style="margin-top:7px;margin-bottom:7px;">
55                                        <comboitem label="10" id="maximumHits10"/>
56                                        <comboitem label="20" id="maximumHits20"/>
57                                        <comboitem label="30" id="maximumHits30"/>
58                                    </combobox>
59                                </groupbox>
60
61                                <separator/>
62                                <separator/>
63
64                                <groupbox mold="3d" id="sLang" sclass="ccsLightBlue"
65                                    contentStyle="border:0" open="false">
66                                    <caption label="Language" style="border:0;"/>
67                                    <div style="margin-top:7px;margin-bottom:7px;">
68                                        <combobox id="languageSelect" width="100%">
69                                            <comboitem label="Any Language" id="anyLanguage"/>
70                                            <comboitem label="German" id="german"/>
71                                            <comboitem label="English" id="english"/>
72                                            <comboitem label="Dutch" id="dutch"/>
73                                            <comboitem label="-More to come-"/>
74                                        </combobox>
75                                        <div style="margin-top:2px;text-align:right;">
76                                            <button id="addLangButton" label="Add"
77                                                image="buttonSelectAll.png" sclass="ccsDarkBlue"/>
78                                            <button id="removeLangButton" label="Remove"
79                                                image="buttonDeselectAll.png" sclass="ccsDarkBlue"/>
80                                        </div>
81                                    </div>
82                                </groupbox>
83
84                                <separator/>
85                                <separator/>
86
87                                <groupbox mold="3d" id="sTiers" sclass="ccsLightBlue"
88                                    contentStyle="border:0" open="false">
89                                    <caption label="Tier types" style="border:0;"/>
90                                    <div style="margin-top:7px;margin-bottom:7px;">
91                                        <combobox id="tiersSelect" width="100%" value="words">
92                                            <comboitem label="full text"/>
93                                            <comboitem label="words"/>
94                                        </combobox>
95                                        <div style="margin-top:2px;text-align:right;">
96                                            <button id="addTierButton" label="Add"
97                                                image="buttonSelectAll.png" sclass="ccsDarkBlue"/>
98                                            <button id="removeTierButton" label="Remove"
99                                                image="buttonDeselectAll.png" sclass="ccsDarkBlue"/>
100                                        </div>
101                                    </div>
102                                </groupbox>
103
104                                <separator/>
105                                <separator/>
106
107                                <groupbox mold="3d" id="gbForeignEndpoints" sclass="ccsLightBlue"
108                                    contentStyle="border:0" open="false">
109                                    <caption label="Foreign Endpoints" style="border:0;"/>
110                                    <div style="margin-top:7px;margin-bottom:7px;">
111                                        <combobox id="foreignEndpointSelect" width="100%"
112                                            value="Select an endpoint">
113                                            <comboitem
114                                                label="Mimore;http://www.meertens.knaw.nl/mimore/srucql/"/>
115                                            <comboitem
116                                                label="INL;http://gysseling.corpus.taalbanknederlands.inl.nl/cqlwebapp/cql"/>
117                                            <comboitem label="DANS;http://srucql.dans.knaw.nl"/>
118                                            <comboitem
119                                                label="ICLTT;http://corpus3.aac.ac.at/ddconsru"/>
120                                            <comboitem label="UPF;http://gilmere.upf.edu/pais_sru"/>
121                                        </combobox>
122                                        <div style="margin-top:2px;">
123                                            <button id="addFepButton" label="Add"
124                                                image="buttonSelectAll.png" sclass="ccsDarkBlue"/>
125                                            <button id="removeFepButton" label="Remove"
126                                                image="buttonDeselectAll.png" sclass="ccsDarkBlue"/>
127                                        </div>
128                                    </div>
129                                </groupbox>
130                                <separator/>
131                            </panelchildren>
132                        </panel>
133                    </center>
134                </borderlayout>
135            </west>
136
137            <!-- Mittlerer Bereich-->
138            <center margins="0,5,0,0" autoscroll="true" border="0">
139                <borderlayout sclass="complex-layout">
140                    <north style="border-width:0px 0px 1px 0px;">
141                        <menubar id="menubar" width="100%" style="margin-top:2px;border:0;">
142                            <menu label="Actions" image="buttonActions.png">
143                                <menupopup>
144                                    <menuitem label="Clear Results" id="clearResults"
145                                        image="buttonDelete.png"/>
146                                    <menuitem label="Export Results to CSV" id="exportResultsCSV"
147                                        image="buttonExport.png"/>
148                                    <menuitem label="Export Results to TCF" id="exportResultsTCF"
149                                        image="buttonExport.png"/>
150                                </menupopup>
151                            </menu>
152                            <menu label="Help" image="buttonHelp.png">
153                                <menupopup>
154                                    <menuitem label="Show Help" id="showHelp" image="buttonHelp.png"/>
155                                    <menuitem label="About" id="showAbout"
156                                        image="buttonShowAbout.png"/>
157                                </menupopup>
158                            </menu>
159                        </menubar>
160                    </north>
161                    <center  margins="0,5,0,0" autoscroll="true" border="0">
162                        <panel>
163                            <panelchildren id="resultsPanel" style="overflow: auto">
164                                <window id="resultsBox" style="overflow:auto;">
165                                    <iframe src="help.html" width="800px" height="400px"/>
166                                </window>
167                                <label value=" " id="searchResultsProgress" style="border-width:0px;margin-left:5px;"/>
168                            </panelchildren>
169                        </panel>
170                    </center>
171                </borderlayout>
172            </center>
173
174            <!-- Fusszeile -->
175            <south title="Copyright © 2013 Clarin-D"
176                style="border-width:1px 0px 0px 0px;text-align:center;">
177            </south>
178           
179        </borderlayout>
180       
181    </window>
182   
183</zk>
Note: See TracBrowser for help on using the repository browser.