Rev 33443 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<style>.btn:hover, .btn:focus {color: grey;text-decoration: none;}.modal-dialog.modal-lg {left: 10%;right: auto;width: 80%;}.modal-content {background: white;}.border-highlight {border: 3px solid red;}td.highlight {background-color: yellowgreen !important;}</style><section class="wrapper"><div class="row"><div class="col-lg-12"><h3 class="page-header"><i class="icon_document_alt"></i>Print Resources List</h3><ol class="breadcrumb"><li><i class="fa fa-home"></i><ahref="${rc.contextPath}/dashboard">Home</a></li><li><i class="icon_document_alt"></i>Print Resource List</li></ol></div></div><div id="pending-order-table"><div class="row"><div class="col-lg-12"><table class="table table-border table-condensed table-bordered" id="partner-print-resource"><thead><tr><th>Title</th><th>Image Url</th><th>Start Date</th><th>End Date</th><th>Download</th></tr></thead><tbody>#if(!$printResources.isEmpty())#foreach($printResource in $printResources)<tr><td>$printResource.getTitle()</td><td><img src="$printResource.getThumbnailUrl()" style="height: 40px;width: 80px;"></td><td>$printResource.getFormattedStartdDate()</td>#if ($printResource.getFormattedEndDate())<td>$printResource.getFormattedEndDate()</td>#else<td></td>#end<td><a href="$printResource.getImgUrl()" class="btn btn-success download-btn"data-url="$printResource.getImgUrl()" target="_blank">Download</a></td></tr>#end#end#if($printResources.isEmpty())<tr><td colspan="5">No data available in table</td></tr>#end</tbody></table></div></div></div></section><script>$(document).ready(function () {var dtable = $('#partner-print-resource').DataTable({});});</script>