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
// Fix for validations on simple form | |
// Need to import bootstrap functions and mixins if you want to dynamically set colors | |
// Otherwise replace theme-color... with hex color | |
@import 'bootstrap/functions'; | |
@import 'bootstrap/variables'; | |
@import 'bootstrap/mixins'; | |
.has-invalid { | |
.invalid-feedback { |
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
# This script sets up a docker machine on AWS with a static IP and DNS entry. | |
# To run this script, you need:- | |
# on AWS:- | |
# - a VPC with a public subnet | |
# - a hosted zone set up that you can add a resource record to. | |
# - a user with EC2 and Route53 permissions | |
# on your machine:- | |
# - docker-machine: https://www.docker.com/docker-toolbox |
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
<?php | |
/* | |
* Virtual Themed Page class | |
* | |
* This class implements virtual pages for a plugin. | |
* | |
* It is designed to be included then called for each part of the plugin | |
* that wants virtual pages. | |
* | |
* It supports multiple virtual pages and content generation functions. |