Commit 0599a5ac authored by Taisiya Glushko's avatar Taisiya Glushko

news-list-ui

parent c6cb490e
......@@ -2694,8 +2694,8 @@ table.accessions {
margin-bottom: 10px;
}
}
form {
.pagination {
.pagination {
form {
input {
margin-bottom: 0;
}
......@@ -2751,6 +2751,12 @@ table.accessions {
padding: 15px 0 30px 0;
}
}
//news page
.news-page {
.main-col-header {
padding: 15px 20px 13px 20px;
}
}
@media (min-width: 990px) and (max-width: 1919px) {
.genesys-page {
......@@ -4735,6 +4741,13 @@ table.accessions {
margin: 0 -15px 20px -15px;
}
}
//news page
.news-page {
.institute-list {
margin: 0;
padding: 0;
}
}
}
@media(max-width: 379px) {
......
......@@ -29,7 +29,7 @@
</ul>
</div>
</div>
<filters:pagination pagedData="${pagedData}" jsonFilter="${jsonFilter}"/>
<local:paginate2 page="${pagedData}"/>
</div>
</div>
......
......@@ -7,36 +7,38 @@
<title><spring:message code="news.content.page.all.title"/></title>
<link href="<c:url value="/content/news/feed.atom" />" type="application/atom+xml" rel="alternate" title="Genesys News ATOM Feed" />
</head>
<body>
<body class="selected-list news-page">
<div class="main-col clearfix">
<cms:informative-h1 title="news.content.page.all.title" fancy="true" />
<div class="main-col-header clearfix">
<div class="nav-header">
<div class="results"><spring:message code="paged.totalElements"
arguments="${pagedData.totalElements}"/></div>
<div class="pagination pull-left">
<spring:message code="paged.pageOfPages" arguments="${pagedData.number+1},${pagedData.totalPages}"/>
<a class="${pagedData.number eq 0 ? 'disabled' :''}"
href="?page=${pagedData.number eq 0 ? 1 : pagedData.number}"><spring:message
code="pagination.previous-page"/></a> <a href="?page=${pagedData.number + 2}"><spring:message
code="pagination.next-page"/></a>
</div>
<%--<cms:informative-h1 title="news.content.page.all.title" fancy="true" />--%>
<h1 class="green-bg"><spring:message code="news.content.page.all.title" /></h1>
<div class="row main-col-header clearfix">
<div class="nav-header clearfix">
<%--<div class="results"><spring:message code="paged.totalElements" arguments="${pagedData.totalElements}"/></div>--%>
<%--<div class="pagination pull-left">
<spring:message code="paged.pageOfPages" arguments="${pagedData.number+1},${pagedData.totalPages}"/>
<a class="${pagedData.number eq 0 ? 'disabled' :''}"
href="?page=${pagedData.number eq 0 ? 1 : pagedData.number}"><spring:message
code="pagination.previous-page"/></a> <a href="?page=${pagedData.number + 2}"><spring:message
code="pagination.next-page"/></a>
</div>--%>
<!--Pagination-->
<local:paginate2 page="${pagedData}"/>
</div>
</div>
<ul class="funny-list" dir="ltr">
<div class="row institute-list" dir="ltr">
<c:forEach items="${pagedData.content}" var="news" varStatus="status">
<li class="clearfix ${status.count % 2 == 0 ? 'even' : 'odd'}">
<a class="pull-left"
href="<c:url value="/content/news/${news.id}/${jspHelper.suggestUrlForText(news.title)}" />"><c:out
value="${jspHelper.htmlToText(news.title)}" /></a>
<div class="col-sm-12 clearfix ${status.count % 2 == 0 ? 'even' : 'odd'}">
<a class="pull-left" href="<c:url value="/content/news/${news.id}/${jspHelper.suggestUrlForText(news.title)}" />"><c:out value="${jspHelper.htmlToText(news.title)}" /></a>
<div class="pull-right"><local:prettyTime date="${news.postDate.time}" locale="${pageContext.response.locale}" /></div>
</li>
</div>
</c:forEach>
</ul>
</div>
</div>
</div>
</body>
</html>
......
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