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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
namespace segalCollateral.Models | |
{ | |
public class Pdfmodel | |
{ | |
string T1 { get; set; } |
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
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage | |
@using System | |
@{ | |
var siteRoot = CurrentPage.AncestorOrSelf(1); | |
string thePage = ""; | |
var canonicalUrl= String.Empty; | |
var siteHost = Request.ServerVariables["HTTP_HOST"]; | |
string sepChar = " — "; |
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
@using System.Net.Mail; | |
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage | |
@{ | |
string comments = Request["comments"]; | |
string pageID = Request["theID"]; | |
if(Request.Headers["X-Requested-With"] == "XMLHttpRequest"){ | |
var pageNode = Umbraco.TypedContent(pageID.ToString()); | |
MailMessage message = new MailMessage(); | |
string fromEmail = ""; |
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
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage<ContentModels.HomePage> | |
@using ContentModels = Umbraco.Web.PublishedContentModels; | |
@{ | |
Layout = null; | |
} | |
<!DOCTYPE html> | |
<html lang="en" itemscope itemtype="http://schema.org/Article"> | |
<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
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage | |
@using RJP.MultiUrlPicker.Models; | |
@{ | |
var multiUrlPicker = Model.Content.GetPropertyValue<MultiUrls>("wantToItems"); | |
if (multiUrlPicker.Any()) | |
{ | |
<div class="row"> | |
<div class="col-sm-4"> | |
<p class="wantToHeader">I want to...</p> | |
</div> |
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
.btn3d { | |
position:relative; | |
top: -6px; | |
border:0; | |
transition: all 40ms linear; | |
margin-top:10px; | |
margin-bottom:10px; | |
margin-left:2px; | |
margin-right:2px; | |
text-transform: uppercase; |
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
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage | |
<div id="formsDocsArea"> | |
@if(@Model.Content.HasValue("docsFolder") && @Model.Content.GetPropertyValue<string>("asHideShow") == "True"){ | |
var mediaRoot = @Model.Content.GetPropertyValue("docsFolder"); | |
<!-- comment --> | |
foreach( var item in Umbraco.TypedMedia(mediaRoot).Children){ | |
if(@item.ContentType.Alias =="Folder" && Umbraco.TypedMedia(@item.Id).Children.Count() > 0){ | |
@listFolders("hs", @item, Umbraco.TypedMedia(@item.Id).Children.Count().ToString()) | |