Skip to content

Instantly share code, notes, and snippets.

@georgeroubie
georgeroubie / dynamic-form-workflow-email.html
Created February 20, 2017 09:38
When you submit an Orchard CMS form you need to notify user-admin. This is a basic email template.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>{Site.SiteName}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body style="margin: 0px; padding: 0px;">
<table border="0" align="center" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse;" bgcolor="#eeebeb">
<tr>
@georgeroubie
georgeroubie / _ionic-grid-extension.sass
Created September 30, 2016 10:16
Extend Ionic Grid with sass
// Extend ionic sass grid offset
@for $i from 1 through 100 {
.col-offset-#{$i} {
margin-left: percentage($i)/100;
}
}
// Extend ionic sass grid
@for $i from 1 through 100 {
.col-#{$i} {