Commit ae6be60b authored by Matija Obreza's avatar Matija Obreza
Browse files

Mini formatting

parent 8baf0e2a
......@@ -12,7 +12,7 @@
</h1>
<c:if test="${jsonFilter ne null}">
<div class="clearfix filter-block">
<div class="clearfix filterinfo filter-block">
<spring:message code="filters.data-is-filtered" />
<a href="<spring:url value="/acn/filter"><spring:param name="filter" value="${jsonFilter}" /></spring:url>"><spring:message code="filters.modify-filters" /></a>
</div>
......
......@@ -9,7 +9,7 @@
<body>
<h1><spring:message code="filters.view" /></h1>
<div id="allfilters">
<c:forEach items="${availableFilters}" var="filter">
<div class="clearfix filter-block">
......@@ -26,8 +26,8 @@
</c:choose>
</div>
</div>
</c:forEach>
</div>
<div class="clearfix">
<a id="filtersHref" href=""><button class="btn">View!</button></a>
......@@ -102,10 +102,10 @@ jQuery(document).ready(function() {
var a=null, b=null;
if (inputs.length==1) {
// add 1
a=b=inputs[0].value;
a=b=inputs[0].value.trim();
} else {
var a=inputs[0].value;
var b=inputs[1].value;
var a=inputs[0].value.trim();
var b=inputs[1].value.trim();
}
var r=null;
if (a=='' && b=='') {
......
......@@ -368,10 +368,14 @@ tr.acn .sel.picked {
background-image: linear-gradient(to bottom, #88ba41, #88ba41);
}
.filter-block {
#allfilters, .filterinfo {
margin: -10px;
margin-bottom: 10px;
padding: 10px 0;
background-color: #b9dc81;
}
.filter-block {
padding: 5px 10px;
}
.filter-block .filter-name {
......
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