This file contains hidden or 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
2019-08-06 00:20:22 [-][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost;dbname=craft3_local;port=3306; | |
2019-08-06 00:20:22 [-][-][-][profile begin][yii\db\Connection::open] Opening DB connection: mysql:host=localhost;dbname=craft3_local;port=3306; | |
2019-08-06 00:20:22 [-][-][-][profile end][yii\db\Connection::open] Opening DB connection: mysql:host=localhost;dbname=craft3_local;port=3306; | |
2019-08-06 00:20:22 [-][-][-][info][yii\db\Command::query] SHOW TABLES | |
2019-08-06 00:20:22 [-][-][-][profile begin][yii\db\Command::query] SHOW TABLES | |
2019-08-06 00:20:22 [-][-][-][profile end][yii\db\Command::query] SHOW TABLES | |
2019-08-06 00:20:22 [-][-][-][info][yii\web\Session::open] Session started | |
2019-08-06 00:20:22 [-][-][-][trace][craft\web\Application::_processActionRequest] Route requested: 'install/validate-site' | |
2019-08-06 00:20:22 [-][-][-][trace][yii\base\Controller::runAction] Route to run: install/validate-site | |
2019-08-06 00:20:22 [-][-][-][trace][yii\base\InlineAction::runWith |
This file contains hidden or 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
{% if entry ?? null and entry.entryImage.one() ?? null and watermark.globalWatermark.one() ?? null %} | |
{% set watermarkField = watermark.globalWatermark.one() %} | |
{# -- Check if Watermark Using active -- #} | |
{% if watermarkField.useWatermark %} | |
{# -- Watermark Image -- #} | |
{% if watermarkField.image.one() ?? null %} | |
{% set watermarkImage = watermarkField.image.one() %} | |
{% set watermarkWidth = watermarkField.width %} |
This file contains hidden or 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
{% if entry ?? null and entry.entryImage.one() ?? null and watermark.globalWatermark.one() ?? null %} | |
{% set watermarkField = watermark.globalWatermark.one() %} | |
{# -- Check if Watermark Using active -- #} | |
{% if watermarkField.useWatermark %} | |
{# -- Watermark Image -- #} | |
{% if watermarkField.image.one() ?? null %} | |
{% set watermarkImage = watermarkField.image.one() %} | |
{% set watermarkWidth = watermarkField.width %} |
This file contains hidden or 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
{# @var craft \craft\web\twig\variables\CraftVariable #} | |
{# @var entry \craft\elements\Entry #} | |
{# | |
Description of what this file is for | |
@package baukasten | |
@author Sarah Schütz [[email protected]] | |
o-freeform | |
------------------------------------------------------------ |
This file contains hidden or 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
{% include '_forms/input/_template.twig' with { | |
opt: { | |
type: 'text', | |
name: field.handle, | |
label: field.label, | |
value: field.value, | |
maxlength: field.maxLength, | |
required: field.required, | |
id: 'input' ~ field.id, |
This file contains hidden or 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
{# | |
a-input | |
Codepen: https://codepen.io/davidhellmann/pen/OOLmYq | |
------------------------------------------------------------ | |
#} | |
{# -- Set Defaults -- #} | |
{% set defaults = { | |
cn: 'a-input', | |
modifiers: [], |
This file contains hidden or 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
<script> | |
function getCookie(name) { | |
var value = "; " + document.cookie; | |
var parts = value.split("; " + name + "="); | |
if (parts.length === 2) return parts.pop().split(";").shift(); | |
} | |
// Get klaro cookie | |
var klaroCurrent; | |
var klaroCookie; |
This file contains hidden or 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
// Import our CSS | |
import styles from '../css/app.scss'; | |
// because webpack generated code does not go through babel | |
import 'core-js/modules/es.promise'; | |
import 'core-js/modules/es.array.iterator'; | |
import objectFitImages from 'object-fit-images'; | |
// App main | |
const main = async () => { |
This file contains hidden or 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
// webpack.prod.js - production builds | |
const LEGACY_CONFIG = 'legacy'; | |
const MODERN_CONFIG = 'modern'; | |
// node modules | |
const git = require('git-rev-sync'); | |
const glob = require('glob-all'); | |
const merge = require('webpack-merge'); | |
const moment = require('moment'); | |
const path = require('path'); |
This file contains hidden or 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
// webpack.settings.js - webpack settings config | |
// node modules | |
require('dotenv').config(); | |
const Terser = require('terser'); | |
const Postcss = require('postcss'); | |
const Cssnano = require('cssnano'); | |
// Webpack settings exports | |
// noinspection WebpackConfigHighlighting |