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

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

preparation to integrate map;
support for both resource and resource=root as initial query to the endpoint;
foreign endpoint removed (commented);
support on Enter key event for search term textbox (to execute search)

File size: 10.7 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
105<!--
106                                <separator/>
107                                <separator/>
108
109                                <groupbox mold="3d" id="gbForeignEndpoints" sclass="ccsLightBlue"
110                                    contentStyle="border:0" open="false">
111                                    <caption label="Foreign Endpoints" style="border:0;"/>
112                                    <div style="margin-top:7px;margin-bottom:7px;">
113                                        <combobox id="foreignEndpointSelect" width="100%"
114                                            value="Select an endpoint">
115                                            <comboitem
116                                                label="Mimore;http://www.meertens.knaw.nl/mimore/srucql/"/>
117                                            <comboitem
118                                                label="INL;http://gysseling.corpus.taalbanknederlands.inl.nl/cqlwebapp/cql"/>
119                                            <comboitem label="DANS;http://srucql.dans.knaw.nl"/>
120                                            <comboitem
121                                                label="ICLTT;http://corpus3.aac.ac.at/ddconsru"/>
122                                            <comboitem label="UPF;http://gilmere.upf.edu/pais_sru"/>
123                                        </combobox>
124                                        <div style="margin-top:2px;">
125                                            <button id="addFepButton" label="Add"
126                                                image="buttonSelectAll.png" sclass="ccsDarkBlue"/>
127                                            <button id="removeFepButton" label="Remove"
128                                                image="buttonDeselectAll.png" sclass="ccsDarkBlue"/>
129                                        </div>
130                                    </div>
131                                </groupbox>
132-->
133                                <separator/>
134                            </panelchildren>
135                        </panel>
136                    </center>
137                </borderlayout>
138            </west>
139
140            <!-- Mittlerer Bereich-->
141            <center margins="0,5,0,0" autoscroll="true" border="0">
142                <borderlayout sclass="complex-layout">
143                    <north style="border-width:0px 0px 1px 0px;">
144                        <menubar id="menubar" width="100%" style="margin-top:2px;border:0;">
145                            <menu label="Actions" image="buttonActions.png">
146                                <menupopup>
147                                    <menuitem label="Clear Results" id="clearResults"
148                                        image="buttonDelete.png"/>
149                                    <menuitem label="Export Results to CSV" id="exportResultsCSV"
150                                        image="buttonExport.png"/>
151                                    <menuitem label="Export Results to TCF" id="exportResultsTCF"
152                                        image="buttonExport.png"/>
153                                </menupopup>
154                            </menu>
155                            <menu label="Help" image="buttonHelp.png">
156                                <menupopup>
157                                    <menuitem label="Show Help" id="showHelp" image="buttonHelp.png"/>
158                                    <menuitem label="About" id="showAbout"
159                                        image="buttonShowAbout.png"/>
160                                </menupopup>
161                            </menu>
162                        </menubar>
163                    </north>
164                    <center  margins="0,5,0,0" autoscroll="true" border="0">
165                        <panel width="100%" height="100%">
166                            <panelchildren id="resultsPanel" style="overflow: auto">
167                                <window id="resultsBox" style="overflow:auto;" width="100%" height="100%">
168                                    <iframe id="resultsPic" src="help.html" width="100%" height="100%"/>
169                                </window>
170                                <label value=" " id="searchResultsProgress" style="border-width:0px;margin-left:5px;"/>
171                            </panelchildren>
172                        </panel>
173                    </center>
174                </borderlayout>
175            </center>
176
177            <!-- Fusszeile -->
178            <south title="Copyright © 2013 Clarin-D"
179                style="border-width:1px 0px 0px 0px;text-align:center;">
180            </south>
181           
182        </borderlayout>
183       
184    </window>
185   
186</zk>
Note: See TracBrowser for help on using the repository browser.