From dfc3fb9c3a857556069bde4c27569c56a2fca848 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Wed, 9 May 2018 21:17:42 +0300 Subject: [PATCH] Working on proposals --- resources/views/proposals/grapesjs.blade.php | 41 +++++++++++++ storage/templates/clean.css | 13 ++-- storage/templates/clean.html | 62 ++++++++++++-------- 3 files changed, 87 insertions(+), 29 deletions(-) diff --git a/resources/views/proposals/grapesjs.blade.php b/resources/views/proposals/grapesjs.blade.php index 6cf18859e2ff..25477bcc301f 100644 --- a/resources/views/proposals/grapesjs.blade.php +++ b/resources/views/proposals/grapesjs.blade.php @@ -59,6 +59,47 @@ $(function() { var blockManager = grapesjsEditor.BlockManager; + var textBlock = blockManager.get('text'); + textBlock.set('content', { + type: 'text', + content: 'Insert your text here', + activeOnRender: 1 + }); + + var gridItemsBlock = blockManager.get('grid-items'); + gridItemsBlock.set('content', '\ + \ + \ + \ + \ + \ +
\ + Image\ +

Insert title here

\ +

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt

\ +
\ + Image\ +

Insert title here

\ +

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt

\ +
'); + + var listItemsBlock = blockManager.get('list-items'); + gridItemsBlock.set('content', '\ + \ + \ + \ + \ + \ +
\ + Image\ +

Insert title here

\ +

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt

\ +
\ + Image\ +

Insert title here

\ +

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt

\ +
'); + @foreach ($snippets as $snippet) blockManager.add("h{{ ($loop->index + 1) }}-block", { label: '{{ $snippet->name }}', diff --git a/storage/templates/clean.css b/storage/templates/clean.css index f29644ef128b..f35999734ab8 100755 --- a/storage/templates/clean.css +++ b/storage/templates/clean.css @@ -23,7 +23,7 @@ p span.client { margin:5px 0px 0px 0px; } -h1.heading { +h1.cover-heading { font-size: 48px; line-height: 53px; text-transform: uppercase; @@ -57,10 +57,10 @@ span.account.address1, span.account.city, span.account.state, span.account.posta } +.heading, .card-title { - font-size: 13px; + font-size: 14px; letter-spacing: 3px; - text-transform: uppercase; color: #37a3c6; font-weight: 600; } @@ -70,7 +70,6 @@ span.account.address1, span.account.city, span.account.state, span.account.posta line-height: 21px; } - a.button { background: #37a3c6; padding: 12px 25px; @@ -94,10 +93,14 @@ a.button:hover { background: #eeefef; } -table td { +.card-content { padding: 20px; } +td { + vertical-align: top; +} + tr.top-header { height: 350px; } diff --git a/storage/templates/clean.html b/storage/templates/clean.html index 0d7d99475fd4..cfdb2a9e593d 100755 --- a/storage/templates/clean.html +++ b/storage/templates/clean.html @@ -1,4 +1,4 @@ - +
@@ -7,7 +7,7 @@ @@ -30,55 +30,69 @@ +
-

New Business Proposal

+

New Business Proposal

Valid Until $validUntil

+ +
-

Project Description:

+

PROJECT DESCRIPTION:

Koala Photography seeks a full review of their historical financial records and future accounting needs. At the start, our experts carefully review your past records and assess your financial services needs according to the nature of your company and suggest the services model best suited to your requirements. The work plan is finalized only after an initial (and possibly subsequent) extensive consultation with [Client.Company]. Periodic review of our services and client feedback is an essential feature of our work plan which ensures that we remain an efficient accounting partner for your business.


+ + +

+ + +
-

Objective:

+

OBJECTIVE:

Koala Photography seeks a full review of their historical financial records and future accounting needs. At the start, our experts carefully review your past records and assess your financial services needs according to the nature of your company and suggest the services model best suited to your requirements. The work plan is finalized only after an initial (and possibly subsequent) extensive consultation with [Client.Company]. Periodic review of our services and client feedback is an essential feature of our work plan which ensures that we remain an efficient accounting partner for your business.

-

Goal:

+

GOAL:

Koala Photography seeks a full review of their historical financial records and future accounting needs. At the start, our experts carefully review your past records and assess your financial services needs according to the nature of your company and suggest the services model best suited to your requirements. The work plan is finalized only after an initial (and possibly subsequent) extensive consultation with [Client.Company]. Periodic review of our services and client feedback is an essential feature of our work plan which ensures that we remain an efficient accounting partner for your business.

+ +

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce congue auctor magna id sodales. Maecenas mollis justo sed tempor facilisis. Ut malesuada in nibh ultrices auctor. Proin id maximus ipsum. Sed eu magna ac nisl sollicitudin porta in non augue. Mauris feugiat interdum aliquam. Aliquam ultrices interdum dolor.

+ - + + + + + +
- - - - - - - - - -

Objective:

-

Koala Photography seeks a full review of their historical financial records and future accounting needs. At the start, our experts carefully review your past records and assess your financial services needs according to the nature of your company and suggest the services model best suited to your requirements. The work plan is finalized only after an initial (and possibly subsequent) extensive consultation with [Client.Company]. Periodic review of our services and client feedback is an essential feature of our work plan which ensures that we remain an efficient accounting partner for your business.

-

Objective:

-

Koala Photography seeks a full review of their historical financial records and future accounting needs. At the start, our experts carefully review your past records and assess your financial services needs according to the nature of your company and suggest the services model best suited to your requirements. The work plan is finalized only after an initial (and possibly subsequent) extensive consultation with [Client.Company]. Periodic review of our services and client feedback is an essential feature of our work plan which ensures that we remain an efficient accounting partner for your business.

-
+
+ + +

OBJECTIVE:

+

Koala Photography seeks a full review of their historical financial records and future accounting needs. At the start, our experts carefully review your past records and assess your financial services needs according to the nature of your company and suggest the services model best suited to your requirements. The work plan is finalized only after an initial (and possibly subsequent) extensive consultation with [Client.Company]. Periodic review of our services and client feedback is an essential feature of our work plan which ensures that we remain an efficient accounting partner for your business.

+ + +

OBJECTIVE:

+

Koala Photography seeks a full review of their historical financial records and future accounting needs. At the start, our experts carefully review your past records and assess your financial services needs according to the nature of your company and suggest the services model best suited to your requirements. The work plan is finalized only after an initial (and possibly subsequent) extensive consultation with [Client.Company]. Periodic review of our services and client feedback is an essential feature of our work plan which ensures that we remain an efficient accounting partner for your business.

+
+

@@ -87,13 +101,13 @@
- -

Objective:

+ +

OBJECTIVE:

Koala Photography seeks a full review of their historical financial records and future accounting needs. At the start, our experts carefully review your past records and assess your financial services needs according to the nature of your company and suggest the services model best suited to your requirements. The work plan is finalized only after an initial (and possibly subsequent) extensive consultation with [Client.Company]. Periodic review of our services and client feedback is an essential feature of our work plan which ensures that we remain an efficient accounting partner for your business.

- -

Goal:

+ +

GOAL:

Koala Photography seeks a full review of their historical financial records and future accounting needs. At the start, our experts carefully review your past records and assess your financial services needs according to the nature of your company and suggest the services model best suited to your requirements. The work plan is finalized only after an initial (and possibly subsequent) extensive consultation with [Client.Company]. Periodic review of our services and client feedback is an essential feature of our work plan which ensures that we remain an efficient accounting partner for your business.