mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 23:47:32 -05:00 
			
		
		
		
	Update modern.html
This commit is contained in:
		
							parent
							
								
									369e028b53
								
							
						
					
					
						commit
						f86c165253
					
				@ -227,25 +227,87 @@
 | 
			
		||||
        margin-top: 2rem;
 | 
			
		||||
        margin-bottom: 2rem
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /** Repeating header & footer styling. */
 | 
			
		||||
    table {
 | 
			
		||||
        width: 100%;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    table.print-content {}
 | 
			
		||||
 | 
			
		||||
    table.print-content th,
 | 
			
		||||
    table.print-content td {
 | 
			
		||||
        padding: .2rem .4rem;
 | 
			
		||||
        text-align: left;
 | 
			
		||||
        vertical-align: top;
 | 
			
		||||
        border-top: 1px solid #dee2e6;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @media print {
 | 
			
		||||
        .print-footer {
 | 
			
		||||
            position: fixed;
 | 
			
		||||
            bottom: 0;
 | 
			
		||||
            left: 0;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        .no-print {
 | 
			
		||||
            display: none
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
</style>
 | 
			
		||||
 | 
			
		||||
<table class="page-container">
 | 
			
		||||
    <thead class="page-header">
 | 
			
		||||
<table>
 | 
			
		||||
    <!-- Start Header -->
 | 
			
		||||
    <thead>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <th class="page-header-cell">
 | 
			
		||||
        <td>
 | 
			
		||||
            <div class="header-container" id="header">
 | 
			
		||||
                <h1 class="company-name">$company.name</h1>
 | 
			
		||||
                <table id="entity-details" cellspacing="0"></table>
 | 
			
		||||
            </div>
 | 
			
		||||
        </th>
 | 
			
		||||
        </td>
 | 
			
		||||
    </tr>
 | 
			
		||||
    </thead>
 | 
			
		||||
    <tfoot class="page-footer">
 | 
			
		||||
    <!-- End Header -->
 | 
			
		||||
    <tr>
 | 
			
		||||
        <td class="page-footer-cell">
 | 
			
		||||
            <div class="footer-info">
 | 
			
		||||
                <div style="margin-top: 195px"></div>
 | 
			
		||||
                <div class="footer-wrapper" id="footer">
 | 
			
		||||
        <td id="body">
 | 
			
		||||
            <div class="logo-client-wrapper">
 | 
			
		||||
                <img
 | 
			
		||||
                    class="company-logo"
 | 
			
		||||
                    src="$company.logo"
 | 
			
		||||
                    alt="$company.name logo"
 | 
			
		||||
                />
 | 
			
		||||
 | 
			
		||||
                <div id="client-details"></div>
 | 
			
		||||
            </div>
 | 
			
		||||
 | 
			
		||||
            <!-- Start Print Content -->
 | 
			
		||||
            <div class="table-wrapper">
 | 
			
		||||
                <table id="product-table" cellspacing="0" class="print-content"></table>
 | 
			
		||||
                <table id="task-table" cellspacing="0" class="print-content"></table>
 | 
			
		||||
                <table id="delivery-note-table" cellspacing="0" class="print-content"></table>
 | 
			
		||||
            </div>
 | 
			
		||||
            <!-- End Print Content -->
 | 
			
		||||
        </td>
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <td>
 | 
			
		||||
            <div id="table-totals" cellspacing="0"></div>
 | 
			
		||||
        </td>
 | 
			
		||||
    </tr>
 | 
			
		||||
    <!-- Start Space For Footer -->
 | 
			
		||||
    <tfoot>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <td style="height: 230px">
 | 
			
		||||
            <!-- Leave this empty and don't remove it. This space is where footer placed on print -->
 | 
			
		||||
        </td>
 | 
			
		||||
    </tr>
 | 
			
		||||
    </tfoot>
 | 
			
		||||
    <!-- End Space For Footer -->
 | 
			
		||||
</table>
 | 
			
		||||
 | 
			
		||||
<!-- Start Footer -->
 | 
			
		||||
<div class="footer-wrapper print-footer" id="footer">
 | 
			
		||||
    <div class="footer-content">
 | 
			
		||||
        <div>
 | 
			
		||||
            <p data-ref="total_table-footer">$entity_footer</p>
 | 
			
		||||
@ -264,32 +326,5 @@
 | 
			
		||||
        <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"
 | 
			
		||||
                />
 | 
			
		||||
 | 
			
		||||
                <div id="client-details"></div>
 | 
			
		||||
            </div>
 | 
			
		||||
 | 
			
		||||
            <div class="table-wrapper">
 | 
			
		||||
                <table id="product-table" cellspacing="0"></table>
 | 
			
		||||
                <table id="task-table" cellspacing="0"></table>
 | 
			
		||||
                <table id="delivery-note-table" cellspacing="0"></table>
 | 
			
		||||
            </div>
 | 
			
		||||
 | 
			
		||||
            <div id="table-totals" cellspacing="0"></div>
 | 
			
		||||
        </td>
 | 
			
		||||
    </tr>
 | 
			
		||||
    </tbody>
 | 
			
		||||
</table>
 | 
			
		||||
</div>
 | 
			
		||||
<!-- End Footer -->
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user