<%@ page contentType="text/html; charset=UTF-8"%><%@ include file="/WEB-INF/jspf/include/taglibs.jsp"%>

<script type="text/javascript">

//let additionalActionQuery = { action: 'AdditionalAction', mid: 'b' };

//showBlock( 'additionalActionRoot', 'list', additionalActionQuery );

</script>

<bg:pageTitle/>

<div class="tile">
<c:choose>
<c:when test="${not empty cards}">
<c:forEach var="item" varStatus="status" items="${cards}">
	<div class="flexRow cards">
		<div class="titleFont2 cards p-2">${item.title}</div>
		<div class="p-2"><button class="btn btn-primary" onclick="window.location='${pageContext.request.contextPath}/webexecuter/b/Cards?operation=cardGet&id=${item.id}'">Скачать</button></a></div>
	</div>
	<c:if test="${not status.last}"><div class="line"></div></c:if>
</c:forEach>
</c:when>
<c:otherwise><bg:dataNotFound/></c:otherwise>
</c:choose>
</div>