From 2d0f77448a18413f3f64883dd4f5fbf398a395ed Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 13 May 2018 22:42:38 +0300 Subject: [PATCH] Improve proposals --- resources/views/proposals/grapesjs.blade.php | 11 ++++----- storage/templates/clean.html | 25 ++++++++++---------- 2 files changed, 17 insertions(+), 19 deletions(-) diff --git a/resources/views/proposals/grapesjs.blade.php b/resources/views/proposals/grapesjs.blade.php index 901e22a9ae6d..880d78dbe2e7 100644 --- a/resources/views/proposals/grapesjs.blade.php +++ b/resources/views/proposals/grapesjs.blade.php @@ -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', '\ \ \ \
\ @@ -83,8 +81,7 @@ $(function() {
'); - var listItemsBlock = blockManager.get('list-items'); - listItemsBlock.set('content', '\ + blockManager.get('list-items').set('content', '\ \ \ - - - + $client.city, $client.state$client.postal_code +

- + + + +
\ diff --git a/storage/templates/clean.html b/storage/templates/clean.html index cfdb2a9e593d..a94ca8aab540 100755 --- a/storage/templates/clean.html +++ b/storage/templates/clean.html @@ -13,23 +13,24 @@
+

Prepared for:

$client.name

$client.address1
- $client.city, $client.state $client.postal_code

-
-

Prepared by:

- -

-
- ,

-
+

Prepared by:

+ +

+
+ ,

+