Commit d66c501a authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1253: Migrate templates and main views

Task-Url: https://pm.winseda.de/issues/1253
parent 6fc1efeb
......@@ -27,15 +27,17 @@
<fmt:formatNumber type="number" value="${docCount}" var="fmtDocCount" />
<s:message code="~eu.dariah.de.minfba.search.view.labels.collections_and_docs" arguments="${providerCount}, ${fmtDocCount}" />
</p>
<div class="input-group">
<input type="text" autofocus="autofocus" id="expression" name="expression" class="form-control text-right" placeholder="${queryExpressionPlaceholder}" />
<div class="input-group-append">
<button id="btn-doSearch" class="btn btn-primary" value="true" name="doQuery" type="submit"><i class="fas fa-search"></i></button>
</div>
</div>
<p class=" mt-1">
<a href='<s:url value="/search/extended/"></s:url>' target="_self"><s:message code="~eu.dariah.de.minfba.search.view.titles.extended_search" /></a>
</p>
<form id="search-form" method="POST" action="${query_url}" class="form-horizontal">
<div class="input-group">
<input type="text" autofocus="autofocus" id="expression" name="expression" class="form-control" placeholder="${queryExpressionPlaceholder}" />
<div class="input-group-append">
<button id="btn-doSearch" class="btn btn-primary" value="true" name="doQuery" type="submit"><i class="fas fa-search"></i></button>
</div>
</div>
<p class=" mt-1">
<a href='<s:url value="/search/extended/"></s:url>' target="_self"><s:message code="~eu.dariah.de.minfba.search.view.titles.extended_search" /></a>
</p>
</form>
</div>
</div>
......
......@@ -17,7 +17,18 @@
<%@ include file="customSearch.css" %>
</style>
</c:if>
<script type="text/javascript">
var AppProperties = function() {
this.refreshViews = <c:out value="${_refreshViews}"/>;
this.refreshIntervalMs = 5000;
this.notificationsArea = "#notifications-area";
this.notificationsTimeoutMs = 5000;
this.notificationsFadeSpeed = 400;
};
var __properties = new AppProperties();
</script>
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
......
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