feat: better template
This commit is contained in:
183
index.html
183
index.html
@@ -6,36 +6,18 @@
|
||||
<title>Rechnung vom 0001-01-01 00:00:00 +0000 UTC</title>
|
||||
|
||||
<style>
|
||||
/* body { */
|
||||
/* font-family: sans-serif; */
|
||||
/* font-size: 14px; */
|
||||
/* } */
|
||||
/**/
|
||||
/* table { */
|
||||
/* width: 100%; */
|
||||
/* border-collapse: collapse; */
|
||||
/* } */
|
||||
/**/
|
||||
/* th, */
|
||||
/* td { */
|
||||
/* border: 1px solid #ddd; */
|
||||
/* padding: 8px; */
|
||||
/* text-align: left; */
|
||||
/* } */
|
||||
/**/
|
||||
/* th { */
|
||||
/* background-color: #f4f4f4; */
|
||||
/* font-weight: bold; */
|
||||
/* } */
|
||||
/**/
|
||||
/* tr:nth-child(even) { */
|
||||
/* background-color: #f9f9f9; */
|
||||
/* } */
|
||||
body {
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
margin: 40px;
|
||||
color: #333;
|
||||
}
|
||||
section {
|
||||
margin-bottom: 3em;
|
||||
}
|
||||
p {
|
||||
margin-top: 0.25em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -85,10 +67,11 @@ footer {
|
||||
.totals {
|
||||
float: right;
|
||||
width: 300px;
|
||||
margin-top: 20px;
|
||||
margin-top: -15px;
|
||||
}
|
||||
.totals table {
|
||||
border: none;
|
||||
margin: 0;
|
||||
}
|
||||
.totals td {
|
||||
border: none;
|
||||
@@ -101,76 +84,75 @@ footer {
|
||||
<body>
|
||||
<header>
|
||||
<div class="company">
|
||||
<h2>.CompanyName <h2>
|
||||
<p>.CompanyAddress <p>
|
||||
<p>.CompanyContact <p>
|
||||
<h2>.CompanyName</h2>
|
||||
<p>
|
||||
.CompanyAddress <br />
|
||||
.CompanyContact
|
||||
</p>
|
||||
|
||||
<p></p>
|
||||
</div>
|
||||
<div class="invoice-info">
|
||||
<p><strong>Rechnung:</strong> .InvoiceNumber </p>
|
||||
<p><strong>Datum:</strong> .Date </p>
|
||||
<p><strong>Fällig am:</strong> .DueDate </p>
|
||||
<p>
|
||||
<strong>Rechnung:</strong> .InvoiceNumber <br />
|
||||
<strong>Datum:</strong> .Date <br />
|
||||
<strong>Fällig am:</strong> .DueDate
|
||||
</p>
|
||||
</div>
|
||||
</header>
|
||||
<section class="client">
|
||||
<h2>Rechnung an:</h2>
|
||||
<p> .ClientName </p>
|
||||
<p> .ClientAddress </p>
|
||||
<p> .ClientContact </p>
|
||||
<p>
|
||||
.ClientName <br />
|
||||
.ClientAddress <br />
|
||||
.ClientContact
|
||||
</p>
|
||||
</section>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>FID</th>
|
||||
<th>Name</th>
|
||||
<th>Zeitaufwand</th>
|
||||
<th>Stundensatz</th>
|
||||
<th>Preis CHF</th>
|
||||
<th>Fertiggestellt</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td>6</td>
|
||||
<td>Multilingual</td>
|
||||
<td>2.50 h</td>
|
||||
<td>16 CHF/h</td>
|
||||
<td>40.00 CHF</td>
|
||||
|
||||
<td>21.08.2025 18:05</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>1</td>
|
||||
<td>asdf</td>
|
||||
<td>1.72 h</td>
|
||||
<td>16 CHF/h</td>
|
||||
<td>27.47 CHF</td>
|
||||
|
||||
<td>01.08.2025 14:04</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="totals">
|
||||
<section>
|
||||
<table>
|
||||
<tr>
|
||||
<td>Gesamtbetrag:</td>
|
||||
<td> CHF</td>
|
||||
</tr>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>FID</th>
|
||||
<th>Name</th>
|
||||
<th>Zeitaufwand</th>
|
||||
<th>Stundensatz</th>
|
||||
<th>Preis CHF</th>
|
||||
<th>Fertiggestellt</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td>6</td>
|
||||
<td>Multilingual</td>
|
||||
<td>2.50 h</td>
|
||||
<td>16 CHF/h</td>
|
||||
<td>40.00 CHF</td>
|
||||
|
||||
<td>21.08.2025 18:05</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<section>
|
||||
|
||||
<div class="totals">
|
||||
<table>
|
||||
<tr>
|
||||
<td>Gesamtbetrag:</td>
|
||||
<td> CHF</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
<hr />
|
||||
<section>
|
||||
<h2>Details zu den Features</h2>
|
||||
|
||||
<h2>Details zu den Features</h2>
|
||||
|
||||
|
||||
<article>
|
||||
<h3>6: Multilingual</h3>
|
||||
<pre><code class="language-info">duration: 2h 30min
|
||||
|
||||
<article>
|
||||
<h3>6: Multilingual</h3>
|
||||
<pre><code class="language-info">duration: 2h 30min
|
||||
</code></pre>
|
||||
|
||||
<p>The application must support English and German.</p>
|
||||
@@ -182,28 +164,15 @@ footer {
|
||||
<li><input type="checkbox" checked disabled> Add multiple languages to Events</li>
|
||||
</ul>
|
||||
|
||||
</article>
|
||||
|
||||
<article>
|
||||
<h3>1: asdf</h3>
|
||||
<p>Hello</p>
|
||||
|
||||
<pre><code class="language-info">duration: 1h 43min
|
||||
</code></pre>
|
||||
|
||||
<h4 id="adökfjaösldkjflaa">adökfjaösldkjflaa</h4>
|
||||
|
||||
<h5 id="asdfads">ASDFADS</h5>
|
||||
|
||||
<h6 id="adllglggl">adllglggl</h6>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</section>
|
||||
<footer>
|
||||
<p>Bitte überweisen Sie den Gesamtbetrag bis zum Fälligkeitsdatum auf folgendes Konto:</p>
|
||||
<p> .BankDetails </p>
|
||||
</article>
|
||||
|
||||
</section>
|
||||
<footer>
|
||||
<p>
|
||||
Bitte überweisen Sie den Gesamtbetrag bis zum Fälligkeitsdatum auf
|
||||
folgendes Konto:
|
||||
</p>
|
||||
<p>.BankDetails</p>
|
||||
<p>Vielen Dank für Ihr Vertrauen!</p>
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user