1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 12:12:48 +01:00

Improve proposals

This commit is contained in:
Hillel Coren 2018-05-13 22:42:38 +03:00
parent 50c624a967
commit 2d0f77448a
2 changed files with 17 additions and 19 deletions

View File

@ -58,16 +58,14 @@ $(function() {
}]);
var blockManager = grapesjsEditor.BlockManager;
var textBlock = blockManager.get('text');
textBlock.set('content', {
blockManager.get('text').set('content', {
type: 'text',
content: 'Insert your text here',
activeOnRender: 1
});
var gridItemsBlock = blockManager.get('grid-items');
gridItemsBlock.set('content', '\
blockManager.get('grid-items').set('content', '\
<table>\
<tr>\
<td class="card-content">\
@ -83,8 +81,7 @@ $(function() {
</tr>\
</table>');
var listItemsBlock = blockManager.get('list-items');
listItemsBlock.set('content', '\
blockManager.get('list-items').set('content', '\
<table>\
<tr>\
<td class="card-content">\

View File

@ -13,23 +13,24 @@
</tr>
<tr align="center" class="grey-bg proposal-info">
<td>
<td width="50%">
<p class="blue-upper">Prepared for:</p>
<h3 class="client name">$client.name</h3>
<p>
<span class="client address1">$client.address1</span><br/>
<span class="client city">$client.city</span>, <span class="client state">$client.state</span> <span class="client postal-code">$client.postal_code</span></p>
</td>
<td>
<p class="blue-upper">Prepared by:</p>
<h3 class="account name">$account.name</h3>
<p>
<span class="account address1">$account.address1</span><br/>
<span class="account city">$account.city</span>, <span class="account state">$account.state</span> <span class="account postal-code">$account.postal_code</span></p>
</td>
</tr>
<span class="client city">$client.city</span>, <span class="client state">$client.state</span> <span class="client postal-code">$client.postal_code</span>
</p>
</td>
</tr>
<td width="50%">
<p class="blue-upper">Prepared by:</p>
<h3 class="account name">$account.name</h3>
<p>
<span class="account address1">$account.address1</span><br/>
<span class="account city">$account.city</span>, <span class="account state">$account.state</span> <span class="account postal-code">$account.postal_code</span></p>
</td>
</tr>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0">