This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* | |
*/ | |
!.gitignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ContactsController.php | |
public function index(Company $company) | |
{ | |
$query = Contact::where('company_id', $company->id); | |
return view('crm.contacts.index', compact('query')); | |
} | |
// Livewire/TableComponent.php | |
public function mount(Builder $query) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html :class="{ 'theme-dark': dark }" x-data="data()" lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Modals - Windmill Dashboard</title> | |
<link | |
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" | |
rel="stylesheet" | |
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<!--[if IE 8]> | |
<html class="ie ie8" lang="en-GB" prefix="og: http://ogp.me/ns#"> | |
<![endif]--> | |
<!--[if !(IE 7) & !(IE 8)]><!--> | |
<html lang="en-GB" prefix="og: http://ogp.me/ns#"> | |
<!--<![endif]--> | |
<head> | |
<meta charset="UTF-8"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="text-align:center; padding: 40px 0"> | |
<h2>Our Happy Clients</h2> | |
<img src="http://www.twistedimage.media/wp-content/uploads/2016/11/heart328.png" style="float:left;padding:0 10px" width="350px"> | |
<img src="http://www.twistedimage.media/wp-content/uploads/2016/11/icon.png" style="float:left;padding:0 10px" width="300px"> | |
<img src="https://www.biglotteryfund.org.uk/assets/images/logos/en/pink-large.jpg" style="float:left;padding:0 10px" width="200px"><img src="http://www.twistedimage.media/wp-content/uploads/2016/11/getfile-300x129.jpeg" style="float:left;padding:20px 10px 0" width="250px"> | |
<div style="float:clear"></div> | |
</div> | |
<!-- Clearly, I'd add the styling in the CSS file, if we mde the amendments to the proper website! --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add this to the bottom of your functions.php file in your child theme. | |
// (Not using a child theme? You're a fool! Follow these instructions now, or next time | |
// you update, your changes could be overwritten: | |
// https://thrivethemes.com/tkb_item/how-to-set-up-a-thrive-child-theme/ | |
/** | |
* Shortcode that generates the 'copyright' statement for the bottom of each page | |
* (also inserts the right year!) | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Changing the Header **/ | |
header { | |
background: #d82222; // Paste in your new header colour | |
} | |
footer .fmn { | |
background: #b96363; // Paste in your new footer colour | |
} | |
/** Changing the nav links **/ | |
header ul.menu > li > a { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Paste the following into the end of your function.php file... | |
/** | |
* Filter Add URL params (like UTM codes and dynamic content) to every form in TCB and Leads | |
* | |
* @param $lead_group - (WP Post Object) Lead Group content type | |
* @param $form_type - (WP Post Object) Form Type content type | |
* @param $form_variation - (Array) Form variation data | |
* | |
* @return string - additional dynamic code to appear before </form> tag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@section('show-child-view') | |
{{-- Overwrites this section in parent --}} | |
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> | |
{{ Former::text('order_title')->class('form-control input-sm copy-destination')->label('Order Summary')->placeholder('Add summary of order here')->label('New lable from child view') }} | |
</div> | |
<div class="form-group col-lg-12 col-md-12 col-sm-12 col-xs-12"> | |
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@extends('layouts.modal') | |
@section('modal-body') | |
<h1>Create an order</h1> | |
<div class="row"> | |
{{ Former::open() | |
->role('Form') | |
->class('modal-ajax-form') | |
->tableId('orders') |
NewerOlder