Changeset 7228
- Timestamp:
- 10/21/18 21:27:22 (6 years ago)
- Location:
- SRUAggregator/trunk/src/main/resources/assets/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
SRUAggregator/trunk/src/main/resources/assets/js/main.js
r7223 r7228 35116 35116 React.createElement( 35117 35117 "div", 35118 { className: "rightist", style: { position: 'absolute', right: 0, width: 1 50 } },35118 { className: "rightist", style: { position: 'absolute', right: 0, width: 170 } }, 35119 35119 React.createElement( 35120 35120 "a", 35121 { href: this.props.URLROOT , target: "_blank", tabIndex: "-1" },35121 { href: this.props.URLROOT + "/", target: "_blank", tabIndex: "-1" }, 35122 35122 React.createElement("img", { width: "28px", height: "28px", src: "img/magglass1.png" }), 35123 35123 React.createElement( … … 37616 37616 var URLROOT = window.MyAggregator.URLROOT = window.location.pathname.substring(0, window.location.pathname.indexOf("/", 2)) || 37617 37617 //window.location.pathname || 37618 //"/ws/fcs/2.0/aggregator"; 37618 37619 "/Aggregator"; 37619 37620 … … 37840 37841 React.createElement( 37841 37842 "a", 37842 { className: "navbar-brand", href: URLROOT , tabIndex: "-1" },37843 { className: "navbar-brand", href: URLROOT + "/", tabIndex: "-1" }, 37843 37844 React.createElement("img", { width: "28px", height: "28px", src: "img/magglass1.png" }), 37844 37845 React.createElement( 37845 37846 "header", 37846 37847 { className: "inline" }, 37847 " Content Search "37848 " Federated Content Search " 37848 37849 ) 37849 37850 ) … … 38718 38719 'input-lg': true 38719 38720 }); 38720 var newurl = !query ? "#" : window.MyAggregator.URLROOT + "?" + encodeQueryData({ queryType: queryTypeId, query: query, mode: 'search' });38721 var newurl = !query ? "#" : window.MyAggregator.URLROOT + (this.props.embedded ? "/embed" : "/") + "?" + encodeQueryData({ queryType: queryTypeId, query: query, mode: 'search' }); 38721 38722 return React.createElement( 38722 38723 "a", … … 39305 39306 "p", 39306 39307 null, 39307 "To perform a simple keyword search in all CLARIN Federated Content Search centres and their corpora, go to the search field at the top of the page , enter your query, and click the 'search' button or press the 'Enter' key."39308 "To perform a simple keyword search in all CLARIN Federated Content Search centres and their corpora, go to the search field at the top of the page or switch to Text Layer Contextual Query Language (CQL) in the dropdown list, enter your query, and click the 'search' button or press the 'Enter' key." 39308 39309 ), 39309 39310 React.createElement( 39310 39311 "p", 39311 39312 null, 39312 "To perform an advanced search on multiple annotation layers in CLARIN Federated Content Search centres that support this, switch to Multi-layer Federated Content Search (FCS ) in the dropdown list, enter a FCS query in the search field at the top of the page, and click the 'search' button or press the 'Enter' key."39313 "To perform an advanced search on multiple annotation layers in CLARIN Federated Content Search centres that support this, switch to Multi-layer Federated Content Search (FCS-QL) in the dropdown list, create the query in the Graphical Query Builder, and click the 'search' button or press the 'Enter' key. Alternatively in embedded mode enter a FCS-QL query in the search field at the top of the page." 39313 39314 ), 39314 39315 React.createElement( -
SRUAggregator/trunk/src/main/resources/assets/js/main.jsx
r7223 r7228 19 19 window.location.pathname.substring(0, window.location.pathname.indexOf("/", 2)) || 20 20 //window.location.pathname || 21 //"/ws/fcs/2.0/aggregator"; 21 22 "/Aggregator"; 23 22 24 23 25 var PT = PropTypes; … … 194 196 <span className="icon-bar"></span> 195 197 </button> 196 <a className="navbar-brand" href={URLROOT } tabIndex="-1">198 <a className="navbar-brand" href={URLROOT + "/"} tabIndex="-1"> 197 199 <img width="28px" height="28px" src="img/magglass1.png"/> 198 <header className="inline"> Content Search </header>200 <header className="inline"> Federated Content Search </header> 199 201 </a> 200 202 </div>
Note: See TracChangeset
for help on using the changeset viewer.