Skip to content

Instantly share code, notes, and snippets.

View rcdelfin's full-sized avatar
:octocat:

Raymund C. Delfin rcdelfin

:octocat:
View GitHub Profile
$('intro-page-frm').each(function(){
function injectCSS(){
$iframe.contents().find('head').append(
$('<link/>', { rel: 'stylesheet', href: 'https://gist.githubusercontent.com/rcdelfin/c7037a77c92d4d554c6f1ae9f76ca328/raw/79d045d3c2d3a4bb99be22796a6628d7f21b0e56/untangl-intro-page.css', type: 'text/css' })
);
}
var $iframe = $(this);
$iframe.on('load',function(){
injectCSS();
.mauticform_wrapper {}
.mauticform-innerform {}
.mauticform-post-success {}
.mauticform-name { font-weight: bold; font-size: 1.5em; margin-bottom: 3px; }
.mauticform-description { margin-top: 2px; margin-bottom: 10px; }
.mauticform-error { margin-bottom: 10px; color: red; }
.mauticform-message { margin-bottom: 10px;color: green; }
.mauticform-row { display: block; margin-bottom: 20px; }
.mauticform-label { font-size: 1.1em; display: block; font-weight: bold; margin-bottom: 5px; }
define [
'controllers/controllers'
'services/form-data'
], (module) ->
'use strict'
NAME = 'form-data'
module.controller NAME, ['$scope', '$location', '$routeParams', 'form-data', ($scope, $location, $routeParams, formData) ->
console.log NAME, ' controller created'