mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 13:45:25 +08:00
34 lines
674 B
Text
34 lines
674 B
Text
<style>
|
|
.print-header {
|
|
border-bottom: 2px solid #a0a0a8;
|
|
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 %>
|
|
</div>
|
|
<div class="page-numbers pagination" data-page-offset="0">
|
|
Page <span class="page"></span> of <span class="topage"></span>
|
|
</div>
|
|
</div>
|