Commit 5cf6468d authored by Matija Obreza's avatar Matija Obreza
Browse files

Add search to your browser

parent 84ef8559
......@@ -370,6 +370,7 @@ search.input.placeholder=Search Genesys...
search.search-query-missing=Please enter your search query.
search.search-query-failed=Sorry, search failed with error {0}
search.button.label=Search
search.add-genesys-opensearch=Register Genesys Search with your browser
admin.page.title=Genesys 2 Administration
metadata.page.title=Datasets
......
......@@ -12,6 +12,7 @@
<input type="text" class="form-control" name="q" placeholder="<spring:message code="search.input.placeholder" />">
</div>
<button type="submit" class="btn"><img src="<c:url value="/html/images/icon_search.png" />" alt="" /></button>
<button title="<spring:message code="search.add-genesys-opensearch" />" type="button" onClick="javascript:window.external.AddSearchProvider(window.location.origin + '<c:url value="/acn/opensearch/desc" />');" class="btn"><img src="<c:url value="/html/images/icon_opensearch.png" />" alt="" /></button>
</form>
<ul class="nav navbar-nav navbar-right">
......@@ -165,6 +166,7 @@
<input type="text" class="form-control" placeholder="<spring:message code="search.input.placeholder" />" />
</div>
<button type="submit" class="btn"><img src="<c:url value="/html/images/icon_search.png" />" alt="" /></button>
<button title="<spring:message code="search.add-genesys-opensearch" />" type="button" onClick="javascript:window.external.AddSearchProvider(window.location.origin + '<c:url value="/acn/opensearch/desc" />');" class="btn"><img src="<c:url value="/html/images/icon_opensearch.png" />" alt="" /></button>
</div>
</form>
......
......@@ -73,7 +73,7 @@
#search {background:#4d4c46; border-bottom:1px solid #2b2924; margin:0; padding:15px 0 0 0; width:100%;}
#search .form-group {display:inline-block; width:92%;}
#search .form-group {display:inline-block; width: 77%;}
#search .form-group .form-control {display:inline-block;}
......@@ -184,7 +184,7 @@
html:not([dir="rtl"]) .mobile-header .nav li#lang .dropdown-menu {right:0;}
#search .form-group {display:inline-block; width:87%;}
#search .form-group {display:inline-block; width:77%;}
#content #left-col {
margin:0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment