@extends('layouts.master') @section('page_title',$website_request->website_request_name) @section('content')
{{ Form::page_header($website_request->website_request_name, "hours") }}
@include('website._website_sidebar', compact('website_request')) {{ Form::open(['url' => $save_url,'autocomplete' => 'off','files' => true]) }}
{{-- Design Plan Section --}} {{ Form::label_ex('Design Plan', \App\Helpers\FormComponentHelper::SIZE_EXLARGE) }} {{ Form::separator_row_bottom('grey-divider') }} {{-- General Section --}} {{ Form::label_ex('General', \App\Helpers\FormComponentHelper::SIZE_EXLARGE) }} {{ Form::row_select_inline('look_feel', 'Overall Look & Feel', $website_request->look_feel, \App\Models\Website_Request::$look_feel_map, 3, 8,\App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} {{ Form::row_textarea_inline('impact_area', 'Impact Area', $design_plan->impact_area, 3, 8, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} {{ Form::row_textarea_inline('visual_flow', 'Visual Flow', $design_plan->visual_flow, 3, 8, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} {{ Form::row_textarea_inline('structure', 'Structure', $design_plan->structure, 3, 8, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} {{ Form::separator_row_bottom('grey-divider') }} {{-- Layout Section --}} {{ Form::label_ex('Layout', \App\Helpers\FormComponentHelper::SIZE_EXLARGE) }}
{{ Form::row_select_inline('layout_type', 'Layout Choice', $design_plan->layout_type, \App\Models\Design_Plan::$layout_type_map, 3, 8,\App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
{{ Form::label_title('Layout / Theme',\App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
{{ Form::label_title('DESIGN DIRECTION',\App\Helpers\FormComponentHelper::SIZE_TINY) }} {{ Form::textarea_ex('layout_design_direction', $design_plan->layout_design_direction, 20) }} {{ Form::label_title('DEVELOPER NOTES',\App\Helpers\FormComponentHelper::SIZE_TINY) }} {{ Form::textarea_ex('layout_dev_direction', $design_plan->layout_dev_direction, 20) }}
{{ Form::label_title('CUSTOMER SELECTIONS',\App\Helpers\FormComponentHelper::SIZE_TINY) }} @if(!empty($business_design_package_review['selected_'.\App\Models\Design_Plan::DESIGN_PLAN_TYPE_LAYOUT_THEME])) @foreach($business_design_package_review['selected_'.\App\Models\Design_Plan::DESIGN_PLAN_TYPE_LAYOUT_THEME] as $layout) {{ Form::image($layout['url'], 'customer image', [ 'class'=>'design_image'.($layout['pivot']['selected'] == 1 ? ' selected_image' : ''), 'data-vp_atom'=>$layout['pivot']['visual_personality'], 'data-select_url'=>action('DesignPlanController@select_visual_personality', [$layout['pivot']['visual_personality']]), 'data-deselect_url'=>action('DesignPlanController@deselect_visual_personality', [$layout['pivot']['visual_personality']]), ]) }} @endforeach @else {{ Form::image(null, 'customer image', ['class'=>'design_image'])}} @endif
{{ Form::separator_row_bottom('grey-divider') }} {{-- Visual Archetype Section --}} {{ Form::label_ex('Design Elements', \App\Helpers\FormComponentHelper::SIZE_EXLARGE) }}
{{ Form::label_title('Visual Archetype',\App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
{{ Form::label_title('DESIGN DIRECTION',\App\Helpers\FormComponentHelper::SIZE_TINY) }} {{ Form::textarea_ex('archetype_design_direction', $design_plan->archetype_design_direction, 20) }} {{ Form::label_title('DEVELOPER NOTES',\App\Helpers\FormComponentHelper::SIZE_TINY) }} {{ Form::textarea_ex('archetype_dev_direction', $design_plan->archetype_dev_direction, 20) }} {{ Form::separator_row_bottom('grey-divider') }} @if(!$design_plan_links[\App\Models\Design_Plan::DESIGN_PLAN_TYPE_ARCHETYPE]->isEmpty()) {{ Form::label_title('DESIGNER LINKS',\App\Helpers\FormComponentHelper::SIZE_TINY) }} @foreach($design_plan_links[\App\Models\Design_Plan::DESIGN_PLAN_TYPE_ARCHETYPE] as $archetype) @endforeach @endif {{ Form::button_ex('ADD A LINK', 'event.preventDefault(); designer_link_form(0, "archetype")', 'archetype') }}
{{ Form::label_title('CUSTOMER SELECTIONS',\App\Helpers\FormComponentHelper::SIZE_TINY) }} @if(!empty($business_design_package_review['selected_'.\App\Models\Design_Plan::DESIGN_PLAN_TYPE_ARCHETYPE])) @foreach($business_design_package_review['selected_'.\App\Models\Design_Plan::DESIGN_PLAN_TYPE_ARCHETYPE] as $archetype)
{{ Form::image($archetype['url'], 'customer image', [ 'class'=>'design_image'.($archetype['pivot']['selected'] == 1 ? ' selected_image' : ''), 'data-vp_atom'=>$archetype['pivot']['visual_personality'], 'data-select_url'=>action('DesignPlanController@select_visual_personality', [$archetype['pivot']['visual_personality']]), 'data-deselect_url'=>action('DesignPlanController@deselect_visual_personality', [$archetype['pivot']['visual_personality']]), ]) }} {{ Form::label_title($archetype['visual_personality_source_name'],\App\Helpers\FormComponentHelper::SIZE_TINY) }}
@endforeach @else {{ Form::image(null, 'customer image', ['class'=>'design_image'])}} @endif
{{ Form::separator_row_bottom('grey-divider') }} {{-- Color Section --}}
{{ Form::label_title('Color Palette',\App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
{{ Form::label_title('DESIGN DIRECTION',\App\Helpers\FormComponentHelper::SIZE_TINY) }} {{ Form::textarea_ex('color_design_direction', $design_plan->color_design_direction, 20) }} {{ Form::label_title('DEVELOPER NOTES',\App\Helpers\FormComponentHelper::SIZE_TINY) }} {{ Form::textarea_ex('color_dev_direction', $design_plan->color_dev_direction, 20) }} {{ Form::separator_row_bottom('grey-divider') }} @if(!$design_plan_links[\App\Models\Design_Plan::DESIGN_PLAN_TYPE_COLOR]->isEmpty()) {{ Form::label_title('DESIGNER LINKS',\App\Helpers\FormComponentHelper::SIZE_TINY) }} @foreach($design_plan_links[\App\Models\Design_Plan::DESIGN_PLAN_TYPE_COLOR] as $colors) @endforeach @endif {{ Form::button_ex('ADD A LINK', 'event.preventDefault(); designer_link_form(3, "color")', 'color') }}
{{ Form::label_title('CUSTOMER SELECTIONS',\App\Helpers\FormComponentHelper::SIZE_TINY) }} @if(!empty($business_design_package_review['selected_'.\App\Models\Design_Plan::DESIGN_PLAN_TYPE_COLOR])) @foreach($business_design_package_review['selected_'.\App\Models\Design_Plan::DESIGN_PLAN_TYPE_COLOR] as $colors) {{ Form::image($colors['url'], 'customer image', [ 'class'=>'design_image'.($colors['pivot']['selected'] == 1 ? ' selected_image' : ''), 'data-vp_atom'=>$colors['pivot']['visual_personality'], 'data-select_url'=>action('DesignPlanController@select_visual_personality', [$colors['pivot']['visual_personality']]), 'data-deselect_url'=>action('DesignPlanController@deselect_visual_personality', [$colors['pivot']['visual_personality']]), ]) }} @endforeach @else {{ Form::image(null, 'customer image', ['class'=>'design_image'])}} @endif
{{ Form::separator_row_bottom('grey-divider') }} {{-- Photos Section --}}
{{ Form::label_title('Photos',\App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
{{ Form::label_title('DESIGN DIRECTION',\App\Helpers\FormComponentHelper::SIZE_TINY) }} {{ Form::textarea_ex('photo_design_direction', $design_plan->photo_design_direction, 20) }} {{ Form::label_title('DEVELOPER NOTES',\App\Helpers\FormComponentHelper::SIZE_TINY) }} {{ Form::textarea_ex('photo_dev_direction', $design_plan->photo_dev_direction, 20) }} {{ Form::separator_row_bottom('grey-divider') }} @if(!$design_plan_links[\App\Models\Design_Plan::DESIGN_PLAN_TYPE_PHOTOS]->isEmpty()) {{ Form::label_title('DESIGNER LINKS',\App\Helpers\FormComponentHelper::SIZE_TINY) }} @foreach($design_plan_links[\App\Models\Design_Plan::DESIGN_PLAN_TYPE_PHOTOS] as $photos) @endforeach @endif {{ Form::button_ex('ADD A LINK', 'event.preventDefault(); designer_link_form(4, "photo")', 'photo') }}
{{ Form::label_title('CUSTOMER SELECTIONS',\App\Helpers\FormComponentHelper::SIZE_TINY) }} @if(!empty($business_design_package_review['selected_'.\App\Models\Design_Plan::DESIGN_PLAN_TYPE_PHOTOS])) @foreach($business_design_package_review['selected_'.\App\Models\Design_Plan::DESIGN_PLAN_TYPE_PHOTOS] as $photos) {{ Form::image($photos['url'], 'customer image', [ 'class'=>'design_image'.($photos['pivot']['selected'] == 1 ? ' selected_image' : ''), 'data-vp_atom'=>$photos['pivot']['visual_personality'], 'data-select_url'=>action('DesignPlanController@select_visual_personality', [$photos['pivot']['visual_personality']]), 'data-deselect_url'=>action('DesignPlanController@deselect_visual_personality', [$photos['pivot']['visual_personality']]), ]) }} @endforeach @else {{ Form::image(null, 'customer image', ['class'=>'design_image'])}} @endif
{{ Form::separator_row_bottom('grey-divider') }} {{-- Icons Section --}}
{{ Form::label_title('Icons',\App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
{{ Form::label_title('DESIGN DIRECTION',\App\Helpers\FormComponentHelper::SIZE_TINY) }} {{ Form::textarea_ex('icon_design_direction', $design_plan->icon_design_direction, 20) }} {{ Form::label_title('DEVELOPER NOTES',\App\Helpers\FormComponentHelper::SIZE_TINY) }} {{ Form::textarea_ex('icon_dev_direction', $design_plan->icon_dev_direction, 20) }} {{ Form::separator_row_bottom('grey-divider') }} @if(!$design_plan_links[\App\Models\Design_Plan::DESIGN_PLAN_TYPE_ICONS]->isEmpty()) {{ Form::label_title('DESIGNER LINKS',\App\Helpers\FormComponentHelper::SIZE_TINY) }} @foreach($design_plan_links[\App\Models\Design_Plan::DESIGN_PLAN_TYPE_ICONS] as $icons) @endforeach @endif {{ Form::button_ex('ADD A LINK', 'event.preventDefault(); designer_link_form(5, "icon")', 'icon') }}
{{ Form::label_title('CUSTOMER SELECTIONS',\App\Helpers\FormComponentHelper::SIZE_TINY) }} @if(!empty($business_design_package_review['selected_'.\App\Models\Design_Plan::DESIGN_PLAN_TYPE_ICONS])) @foreach($business_design_package_review['selected_'.\App\Models\Design_Plan::DESIGN_PLAN_TYPE_ICONS] as $icons) {{ Form::image($icons['url'], 'customer image', [ 'class'=>'design_image'.($icons['pivot']['selected'] == 1 ? ' selected_image' : ''), 'data-vp_atom'=>$icons['pivot']['visual_personality'], 'data-select_url'=>action('DesignPlanController@select_visual_personality', [$icons['pivot']['visual_personality']]), 'data-deselect_url'=>action('DesignPlanController@deselect_visual_personality', [$icons['pivot']['visual_personality']]), ]) }} @endforeach @else {{ Form::image(null, 'customer image', ['class'=>'design_image'])}} @endif
{{ Form::separator_row_bottom('grey-divider') }} {{-- Patterns Section --}}
{{ Form::label_title('Patterns',\App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
{{ Form::label_title('DESIGN DIRECTION',\App\Helpers\FormComponentHelper::SIZE_TINY) }} {{ Form::textarea_ex('pattern_design_direction', $design_plan->pattern_design_direction, 20) }} {{ Form::label_title('DEVELOPER NOTES',\App\Helpers\FormComponentHelper::SIZE_TINY) }} {{ Form::textarea_ex('pattern_dev_direction', $design_plan->pattern_dev_direction, 20) }} {{ Form::separator_row_bottom('grey-divider') }} @if(!$design_plan_links[\App\Models\Design_Plan::DESIGN_PLAN_TYPE_PATTERNS]->isEmpty()) {{ Form::label_title('DESIGNER LINKS',\App\Helpers\FormComponentHelper::SIZE_TINY) }} @foreach($design_plan_links[\App\Models\Design_Plan::DESIGN_PLAN_TYPE_PATTERNS] as $patterns) @endforeach @endif {{ Form::button_ex('ADD A LINK', 'event.preventDefault(); designer_link_form(6, "pattern")', 'pattern') }}
{{ Form::label_title('CUSTOMER SELECTIONS',\App\Helpers\FormComponentHelper::SIZE_TINY) }} @if(!empty($business_design_package_review['selected_'.\App\Models\Design_Plan::DESIGN_PLAN_TYPE_PATTERNS])) @foreach($business_design_package_review['selected_'.\App\Models\Design_Plan::DESIGN_PLAN_TYPE_PATTERNS] as $patterns) {{ Form::image($patterns['url'], 'customer image', [ 'class'=>'design_image'.($patterns['pivot']['selected'] == 1 ? ' selected_image' : ''), 'data-vp_atom'=>$patterns['pivot']['visual_personality'], 'data-select_url'=>action('DesignPlanController@select_visual_personality', [$patterns['pivot']['visual_personality']]), 'data-deselect_url'=>action('DesignPlanController@deselect_visual_personality', [$patterns['pivot']['visual_personality']]), ]) }} @endforeach @else {{ Form::image(null, 'customer image', ['class'=>'design_image'])}} @endif
{{ Form::separator_row_bottom('grey-divider') }} {{-- Texture Section --}}
{{ Form::label_title('Textures',\App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
{{ Form::label_title('DESIGN DIRECTION',\App\Helpers\FormComponentHelper::SIZE_TINY) }} {{ Form::textarea_ex('texture_design_direction', $design_plan->texture_design_direction, 20) }} {{ Form::label_title('DEVELOPER NOTES',\App\Helpers\FormComponentHelper::SIZE_TINY) }} {{ Form::textarea_ex('texture_dev_direction', $design_plan->texture_dev_direction, 20) }} {{ Form::separator_row_bottom('grey-divider') }} @if(!$design_plan_links[\App\Models\Design_Plan::DESIGN_PLAN_TYPE_TEXTURES]->isEmpty()) {{ Form::label_title('DESIGNER LINKS',\App\Helpers\FormComponentHelper::SIZE_TINY) }} @foreach($design_plan_links[\App\Models\Design_Plan::DESIGN_PLAN_TYPE_TEXTURES] as $textures) @endforeach @endif {{ Form::button_ex('ADD A LINK', 'event.preventDefault(); designer_link_form(7, "texture")', 'texture') }}
{{ Form::label_title('CUSTOMER SELECTIONS',\App\Helpers\FormComponentHelper::SIZE_TINY) }} @if(!empty($business_design_package_review['selected_'.\App\Models\Design_Plan::DESIGN_PLAN_TYPE_TEXTURES])) @foreach($business_design_package_review['selected_'.\App\Models\Design_Plan::DESIGN_PLAN_TYPE_TEXTURES] as $textures) {{ Form::image($textures['url'], 'customer image', [ 'class'=>'design_image'.($textures['pivot']['selected'] == 1 ? ' selected_image' : ''), 'data-vp_atom'=>$textures['pivot']['visual_personality'], 'data-select_url'=>action('DesignPlanController@select_visual_personality', [$textures['pivot']['visual_personality']]), 'data-deselect_url'=>action('DesignPlanController@deselect_visual_personality', [$textures['pivot']['visual_personality']]), ]) }} @endforeach @else {{ Form::image(null, 'customer image', ['class'=>'design_image'])}} @endif
{{ Form::separator_row_bottom('grey-divider') }} {{-- Typography Section --}}
{{ Form::label_title('TYPOGRAPHY',\App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
{{ Form::label_title('DESIGN DIRECTION',\App\Helpers\FormComponentHelper::SIZE_TINY) }} {{ Form::textarea_ex('typography_design_direction', $design_plan->typography_design_direction, 20) }} {{ Form::label_title('DEVELOPER NOTES',\App\Helpers\FormComponentHelper::SIZE_TINY) }} {{ Form::textarea_ex('typography_dev_direction', $design_plan->typography_dev_direction, 20) }} {{ Form::separator_row_bottom('grey-divider') }} @if(!$design_plan_links[\App\Models\Design_Plan::DESIGN_PLAN_TYPE_TYPOGRAPHY]->isEmpty()) {{ Form::label_title('DESIGNER LINKS',\App\Helpers\FormComponentHelper::SIZE_TINY) }} @foreach($design_plan_links[\App\Models\Design_Plan::DESIGN_PLAN_TYPE_TYPOGRAPHY] as $typography) @endforeach @endif {{ Form::button_ex('ADD A LINK', 'designer_link_form(10, "typography")', 'typography') }}
{{ Form::separator_row_bottom('grey-divider') }} {{ Form::label_title('DESIGNER FONT SELECTIONS',\App\Helpers\FormComponentHelper::SIZE_TINY) }}
{{ Form::row_text_inline('heading_1', 'Heading 1', $design_plan->heading_1, 4, 8, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} {{ Form::row_text_inline('heading_2', 'Heading 2', $design_plan->heading_2, 4, 8, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} {{ Form::row_text_inline('heading_3', 'Heading 3', $design_plan->heading_3, 4, 8, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} {{ Form::row_text_inline('body_text', 'Body Text', $design_plan->body_text, 4, 8, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} {{ Form::row_text_inline('navigation', 'Navigation', $design_plan->navigation, 4, 8, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} {{ Form::row_text_inline('links', 'Links', $design_plan->links, 4, 8, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} {{ Form::row_text_inline('link_hover', 'Link Hover', $design_plan->link_hover, 4, 8, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }} {{ Form::hidden('business', $business->business) }}
{{ Form::separator_row_bottom('grey-divider') }} {{-- Inspiration Sites Section --}} {{ Form::label_ex('Inspiration Sites', \App\Helpers\FormComponentHelper::SIZE_EXLARGE) }} {{ Form::button_save('ADD A SITE', 'add_site', 'add_site') }}
@if(!empty($inspiration_sites)) @foreach($inspiration_sites as $inspiration_site) {{ Form::separator_row_bottom('grey-divider separator_'.$inspiration_site->inspiration_site) }}
{{ Form::label_title('Link', \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
{{ Form::label_title('Characteristic', \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
{{ $inspiration_site->characteristics }}
{{ Form::label_styled('Comments', null, \App\Helpers\FormComponentHelper::SIZE_MEDIUM, 4) }} {{ Form::textarea_styled('saved_comments', $inspiration_site->comments, 'design-plan-textarea', true, 8, null, 'comments_'.$inspiration_site->inspiration_site) }}
{{ Form::button_tiny('EDIT', 'event.preventDefault(); show_edit_form("'.$inspiration_site->inspiration_site.'")','edit_site_'.$inspiration_site->inspiration_site) }} {{ Form::button_tiny('DELETE', 'event.preventDefault(); post_delete_inspiration("'.$inspiration_site->inspiration_site.'")','delete_site_'.$inspiration_site->inspiration_site) }}
{{ Form::separator_row_empty() }}
@endforeach @endif
{{ Form::row_text_inline('url', 'Link', null, 4, 8, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
{{ Form::label_title('Characteristic', \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
@foreach(\App\Models\Inspiration_Site::$inspiration_site_charateristic_map as $key => $value) @if($key != 'impact_area')
@endif {{ Form::checkbox_row($key.'_check_option', null, $value, null, $key.'_checkbox', 4) }} @endforeach
{{ Form::row_textarea_inline('comments', 'Comments', null, 4, 8, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
@if(\App\Providers\AuthServiceProvider::user_has_permission([\App\Providers\AuthServiceProvider::CSMCCT,\App\Providers\AuthServiceProvider::GATE_DESIGN_MANAGER])) {{ Form::button_safe_save('Save', null, 'save-inspiration', \App\Helpers\FormComponentHelper::SIZE_SMALL) }} {{ Form::button_link('Cancel', $cancel_url, 'cancel-inspiration', \App\Helpers\FormComponentHelper::SIZE_SMALL) }} @endif
{{ Form::separator_row_bottom('grey-divider') }} {{-- Requested Features Section --}} {{ Form::label_ex('Requested Features', \App\Helpers\FormComponentHelper::SIZE_EXLARGE) }}
{{ Form::label_title('',\App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
@include('shared._website_functionality_edit', ['data' => $sales_prep, 'title' => 'Website Functionality List', 'other_title' => 'Features Requested', 'is_edit' => true]) {{ Form::hidden('redirect', null, ['class' => 'promo_input input-field-default'])}} {{ Form::label_title('DEVELOPER NOTES',\App\Helpers\FormComponentHelper::SIZE_TINY) }} {{ Form::textarea_ex('feature_dev_direction', $design_plan->feature_dev_direction, 20) }}
@if(\App\Providers\AuthServiceProvider::user_has_permission([\App\Providers\AuthServiceProvider::CSMCCT,\App\Providers\AuthServiceProvider::GATE_DESIGN_MANAGER])) {{ Form::button_save('Save', 'save') }} {{ Form::button_link('Cancel', $cancel_url) }} @endif
{{ Form::close() }}
@endsection @section('page_script') @include('shared_script._website_sidebar_script') @endsection @section('page_style') @endsection