Changeset 1076 for MDService2/trunk/MDService2/WebContent
- Timestamp:
- 01/16/11 15:17:34 (13 years ago)
- Location:
- MDService2/trunk/MDService2/WebContent
- Files:
-
- 3 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
MDService2/trunk/MDService2/WebContent/index.jsp
r1071 r1076 36 36 <% if ( request.getRemoteUser() == null) { %> 37 37 <a href="workspace.jsp" > login</a> 38 <a href=" static/MDBrowser_explained_5_resize.png" > docs</a>38 <a href="docs/htmlpage/info" > docs</a> 39 39 40 40 <% } else { %> -
MDService2/trunk/MDService2/WebContent/scripts/mdservice_helpers.js
r1075 r1076 8 8 $(elems).children('.header').addClass('ui-widget-header ui-state-default ui-corner-top'); 9 9 $(elems).children('.content').addClass('ui-widget-content ui-corner-bottom'); 10 $(elems).children('.header').click(function() {10 /* $(elems).children('.header').click(function() { 11 11 $(this).next().toggle('fast'); 12 12 return false; 13 13 }).next().hide(); 14 15 14 */ 15 $(elems).children('.header').append('<span class="cmd cmd-collapse cmd_down" > </span>'); 16 $(elems).find('.cmd-collapse').click(function(event) { 17 $(this).closest('.header').next().toggle('fast'); 18 $(this).toggleClass('cmd_down cmd_up'); 19 return false; 20 }); 16 21 17 22 $(elems).each(function(i) { 18 23 if ($(this).hasClass('init-show')) { 19 24 $(this).children('.content').show(); 25 $(this).find('.cmd-collapse').toggleClass('cmd_down cmd_up'); 20 26 } 21 27 if ($(this).parent().hasClass('cmds-ui-closable')) { -
MDService2/trunk/MDService2/WebContent/scripts/mdservice_model.js
r1071 r1076 108 108 }; 109 109 110 /** special handling for special characters: double escaping (escape the %-sign) 111 * to survive the %-encoding through the request (and parsing) down to the transformation in XCQL2XPath.xsl 112 * it's: whitespace, and single and double-quotes (unified to double quotes %22) 113 */ 114 110 115 Query.prototype.query_uri = function () { 111 116 var params = "?"; … … 114 119 } 115 120 if (this.squery != null) { 116 params = params + "squery=" + escape(this.squery).replace("%20","%2520") + "&"; 121 escaped_sq =escape(this.squery).replace(/%20/g,"%2520").replace(/\%2[27]/g,"%2522") ; 122 escaped_sq = escaped_sq.replace(/%7C/g,"%257C").replace(/\+/g,"%2B"); 123 params = params + "squery=" + escaped_sq + "&"; 117 124 } 118 125 params = params + "collection=" + this.getcollectiontext("index") + "&columns=" + this.getcolumnstext() + "&startItem=" + this.startItem + "&maximumItems=" + this.maximumItems + "&repository=" + this.repository; -
MDService2/trunk/MDService2/WebContent/static/info.xml
r1064 r1076 1 1 <info xml:lang="en" > 2 <div id="title">Information</div> 2 3 <div id="welcome"> 3 4 … … 8 9 <li>browse the collections</li> 9 10 <li>try one of the sample queries</li> 10 <li>p rovide complex boolean-searches by profiles</li>11 <li>perform complex boolean-searches</li> 11 12 <li>search by profiles</li> 12 13 <li>search by data categories</li> … … 22 23 <p>Overview of current data set: 23 24 <ul> 24 <li>by Collections</li>25 <li>by Profiles</li>25 <li>by <a href="/MDService2/collections/htmlpage" >Collections</a></li> 26 <li>by <a href="/MDService2/terms/htmlpage/?q=all" >Profiles</a></li> 26 27 </ul> 27 </p> 28 28 </p> 29 </div> 30 <div> 31 <span class="title">Overview</span> 32 <p>Overview and explanation of usage of individual elements of the user-interface</p> 33 <a href="/MDService2/static/MDBrowser_explained_5_resize2000.png" > 34 <img src="/MDService2/static/MDBrowser_explained_5_resize800.png" title="MDBrowser explained2" /></a> 29 35 </div> 30 36 <div id="serverqs-info"> … … 36 42 <span class="title">Personalized workspace - commons</span> 37 43 <p>when logged in, you can store your queries and bookmarks here.</p> 38 <p>All anonymous user share the default workspace.</p>44 <p>All anonymous users share the default workspace.</p> 39 45 </div> 40 46 <div id="collections-info"> 47 <span class="title">Collections</span> 41 48 <p>Overview of collections=datasets available in the repository</p> 42 49 </div> 43 50 <div id="terms-info"> 51 <span class="title">Terms</span> 44 52 <p>Terms combines information from MDRepository, ComponentRegistry, Datacategory Registries (isocat, dublincore) and Relationregistry to allow to search by profiles or data categories, or even perform semantic search</p> 45 <p>You can search in he fields of individual profiles used by the MDrecords in the repository, or search over multiple profiles via datacategories</p>53 <p>You can search in the fields of individual profiles instantiated as the MDrecords in the repository, or search over multiple profiles via datacategories.</p> 46 54 </div> 47 55 <div id="compreg-info"> 48 <p>Overview of </p> 56 <span class="title" >Component Registry</span> 57 <p>Overview of all profiles and components defined in the Component Registry</p> 49 58 </div> 50 59 <div id="query-input-info"> 51 60 <span class="title" >Query Input</span> 61 <p>Form for entering the query. Either a simple or complex query</p> 62 <p>Both parts can be used in parallel: i.e. you can specify some terms for full-text search 63 and further refine them with. 64 The two parts are combined with boolean AND (the matching records have to satisfy both parts of the query.) 65 See <a href="queries" >example queries</a> for an overview of possible query types. 66 </p> 52 67 <div id="input-simplequery-info"> 53 <p>simple full-text search: individual terms, multiple terms, phrases(not yet)</p> 68 <p>simple full-text search: individual terms, multiple terms, phrases</p> 69 </div> 70 <div d="searchclauselist-info"> 71 <p>complex queries according to SRU/CQL-standard</p> 72 <p>Basic <em>search clause</em> consists of: <code>index relation term</code>, e.g. <code>dc.title any system</code>. 73 You can combine this search clauses with boolean operators (AND, OR), to more complex queries</p> 54 74 </div> 55 75 </div> … … 58 78 59 79 <div id="commands" > 80 <span class="title">Commands</span> 81 <p>List of commands available in the user-interface, explanation of their function:</p> 60 82 <dt id="cmd_add">Add new item</dt> 61 83 <dt id="cmd_add_and">Add an additional condition (AND)</dt> -
MDService2/trunk/MDService2/WebContent/style/cmds-ui.css
r1071 r1076 124 124 .columns-selected { } 125 125 126 /* documentation */ 127 .title, h1, h2, h3 { color: #014172;} 128 h1 {font-size: 1.6em;} 129 h2 {font-size: 1.4em;} 130 h3 {font-size: 1.2em;} 131 .title {font-size: 1.2 em; font-weight: bold; margin: 1em 0 0 0.2em;} 132 dt { padding: 1em 0 0.2em 1.5em; font-weight: bold;} 133 dd { padding-left: 2.5em; display:block;} 134 .info p { margin: 0.2em 0; } 135 126 136 /* ************* */ 127 137 /* tooltip */ … … 133 143 background:#A6C9E2; 134 144 color:#000; 135 } 136 145 } 137 146 138 147 /* command icons */
Note: See TracChangeset
for help on using the changeset viewer.