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 addCommas(nStr) | |
| { | |
| nStr += ''; | |
| x = nStr.split('.'); | |
| x1 = x[0]; | |
| x2 = x.length > 1 ? '.' + x[1] : ''; | |
| var rgx = /(\d+)(\d{3})/; | |
| while (rgx.test(x1)) { | |
| x1 = x1.replace(rgx, '$1' + ',' + '$2'); |
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
| using System; | |
| using System.Text; | |
| using System.Text.RegularExpressions; | |
| using System.Web; | |
| using System.Web.Mvc; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Net; | |
| using System.Net.Http; |
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
| @inherits Umbraco.Web.Mvc.UmbracoTemplatePage | |
| @{ | |
| var mediaRoot = Model.Content.GetPropertyValue<IPublishedContent>("formsAndDocs"); | |
| } | |
| <div id="formsDocsArea"> | |
| @if(mediaRoot != null && Model.Content.GetPropertyValue<string>("asHideShow") == "True"){ | |
| foreach( var item in mediaRoot.Children()){ |
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
| contentGrid:{ | |
| "name":"Main Layout", | |
| "sections":[ | |
| { | |
| "grid":12, | |
| "rows":[ | |
| { | |
| "name":"Single Cell Row", | |
| "areas":[ | |
| { |
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
| function getDateInfo(info) { | |
| var test = info.toString(); | |
| $.ajax({ | |
| type: 'POST', | |
| url: "/umbraco/surface/rendercalendar/listevents", | |
| //contentType: "application/json; charset=utf-8", | |
| data: {'matchThis': test}, | |
| datatype: "json", | |
| success: function (data) { | |
| console.log(data); |
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
| [ | |
| { | |
| "label": "Show by state", | |
| "description": "Show this row for the following states.", | |
| "key": "state", | |
| "view": "/App_Plugins/StatePicker/state-picker-list.html", | |
| "applyTo": "row", | |
| "defaultConfig": { | |
| "selectMultiple": true, | |
| "displaySelectInversed": true, |
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
| @inherits Umbraco.Web.Mvc.UmbracoTemplatePage | |
| @using System.Text | |
| @using System.Text.RegularExpressions | |
| @using Examine; | |
| @using Examine.LuceneEngine.SearchCriteria; | |
| @{ | |
| Layout = "InsideMain.cshtml"; | |
| } | |
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
| @inherits UmbracoViewPage<dynamic> | |
| @using Umbraco.Web.Templates | |
| @using Newtonsoft.Json.Linq | |
| @* | |
| Razor helpers located at the bottom of this file | |
| *@ | |
| @if (Model != null && Model.sections != null) | |
| { |