mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +01:00
modern
This commit is contained in:
parent
8b372558c2
commit
aba699eb12
@ -29,7 +29,10 @@
|
||||
display: grid;
|
||||
grid-template-columns: 1.5fr 1fr;
|
||||
padding: 1.5rem;
|
||||
width: 100%;
|
||||
height: 160px;
|
||||
}
|
||||
|
||||
.header-container .company-name {
|
||||
font-size: 2rem;
|
||||
}
|
||||
@ -97,6 +100,10 @@
|
||||
margin-top: 1rem;
|
||||
background-color: #f46521;
|
||||
padding: 1rem;
|
||||
height: 160px;
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.footer-content {
|
||||
@ -152,39 +159,68 @@
|
||||
padding-top: 0.7rem;
|
||||
padding-bottom: 0.7rem;
|
||||
}
|
||||
|
||||
table.page-container {
|
||||
page-break-after: always;
|
||||
}
|
||||
thead.page-header {
|
||||
display: table-header-group;
|
||||
}
|
||||
tfoot.page-footer {
|
||||
display: table-footer-group;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<div class="header-container" id="header">
|
||||
<h1 class="company-name">$company.name</h1>
|
||||
<table class="page-container">
|
||||
<thead class="page-header">
|
||||
<tr>
|
||||
<th class="page-header-cell">
|
||||
<div class="header-container" id="header">
|
||||
<h1 class="company-name">$company.name</h1>
|
||||
<table id="entity-details" cellspacing="0"></table>
|
||||
</div>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot class="page-footer">
|
||||
<tr>
|
||||
<td class="page-footer-cell">
|
||||
<div class="footer-info">
|
||||
<div style="margin-top: 195px">
|
||||
<!-- An offset div to space out table from footer -->
|
||||
</div>
|
||||
<div class="footer-wrapper" id="footer">
|
||||
<div class="footer-content">
|
||||
<div><!-- Placeholder for offset --></div>
|
||||
<div id="company-details"></div>
|
||||
<div id="company-address"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody class="page-content">
|
||||
<tr>
|
||||
<td class="page-content-cell" id="body">
|
||||
<div class="logo-client-wrapper">
|
||||
<img
|
||||
class="company-logo"
|
||||
src="$company.logo"
|
||||
alt="$company.name logo"
|
||||
/>
|
||||
|
||||
<table id="entity-details" cellspacing="0"></table>
|
||||
</div>
|
||||
<div id="client-details"></div>
|
||||
</div>
|
||||
|
||||
<body id="body">
|
||||
<div class="logo-client-wrapper">
|
||||
<img
|
||||
class="company-logo"
|
||||
src="$company.logo"
|
||||
alt="$company.name logo"
|
||||
/>
|
||||
<div class="table-wrapper">
|
||||
<table id="product-table" cellspacing="0"></table>
|
||||
</div>
|
||||
|
||||
<div id="client-details"></div>
|
||||
</div>
|
||||
|
||||
<div class="table-wrapper">
|
||||
<table id="product-table" cellspacing="0"></table>
|
||||
</div>
|
||||
|
||||
<div id="product-table-footer" cellspacing="0"></div>
|
||||
</body>
|
||||
|
||||
<div class="footer-wrapper" id="footer">
|
||||
<div class="footer-content">
|
||||
<div><!-- Placeholder for offset --></div>
|
||||
|
||||
<div id="company-details"></div>
|
||||
<div id="company-address"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="product-table-footer" cellspacing="0"></div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user