scinote-web/app/views/reports/templates/scinote_template/header.html.erb

35 lines
674 B
Text
Raw Normal View History

2021-05-05 21:12:49 +08:00
<style>
.print-header {
2022-05-31 20:40:25 +08:00
border-bottom: 2px solid #a0a0a8;
2021-05-05 21:12:49 +08:00
line-height: 50px;
}
.logo-img {
display: inline-block;
margin: 0 0 0 30px;
}
img {
width: 100px;
}
.page-numbers {
display: inline-block;
float: right;
margin: 0 30px 0 0;
white-space: nowrap;
}
</style>
<div class="print-header">
<div class="logo-img">
<% if logo == 'logo.png' %>
<%= image_tag wicked_pdf_asset_base64(logo) %>
<%else%>
<%= wicked_pdf_image_tag logo %>
<% end %>
2021-05-05 21:12:49 +08:00
</div>
<div class="page-numbers pagination" data-page-offset="0">
Page <span class="page"></span> of <span class="topage"></span>
</div>
</div>