Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.Linq; | |
using System.Web.Mvc; | |
using Umbraco.Course.Models; | |
using Umbraco.Web.Mvc; | |
namespace Awesome.FormDemo.Controllers | |
{ | |
public class TicketOrderController : SurfaceController | |
{ |
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
<select id="provincia" name="provincia"> | |
<option value="ag">Agrigento</option> | |
<option value="al">Alessandria</option> | |
<option value="an">Ancona</option> | |
<option value="ao">Aosta</option> | |
<option value="ar">Arezzo</option> | |
<option value="ap">Ascoli Piceno</option> | |
<option value="at">Asti</option> | |
<option value="av">Avellino</option> | |
<option value="ba">Bari</option> |
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
#!/usr/bin/env bash | |
# Usage: bash uninstall_vmware.bash | |
remove() { | |
entry="$1" | |
echo -ne "Removing \e[1;34m$entry\e[0m... " | |
sudo rm -rf "$entry" &> /tmp/uninstall-vmware.log | |
if [[ ! -e "$entry" ]]; then | |
echo -e "\e[1;32mOK\e[0m" |
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
.jarallax { | |
position: relative; | |
background-size: cover; | |
background-repeat: no-repeat; | |
left: 50%; | |
top: 50%; | |
min-width: 100%; | |
min-height: 100%; | |
-webkit-transform: translate(-50%,-50%); | |
-moz-transform: translate(-50%,-50%); |
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.UmbracoViewPage<IPublishedContent> | |
@using Articulate; | |
@using Articulate.Models; | |
@using Umbraco; | |
@using Umbraco.Web; | |
@using Umbraco.Core; | |
@using Umbraco.Core.Models; | |
@using System.Linq; | |
@using System; | |
@{ |
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 FEE.Domain | |
@inherits UmbracoTemplatePage | |
@{ | |
Layout = "FEEMaster.cshtml"; | |
var featuredImage = CoverImageProvider.GetCoverImageOrDefault(CurrentPage.featuredImage); | |
} | |
@section bodyClass {subpage} | |
@*TODO maybe implement:https://github.com/warrenbuckley/CWS-Umbraco-Standard-Membership/blob/master/CWSUmbracoStandardMembership/Views/AuthSurface/ResetPassword.cshtml |
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.Macros.PartialViewMacroPage | |
@{ var mediaId = Model.MacroParameters["mediaId"]; } | |
@helper DisplayFolder(dynamic folder, bool collapsed) { | |
var items = folder.Children().OrderBy("DocumentTypeAlias Desc,Name"); | |
if (items.Any()) { | |
<a class="list-group-item" role="button" aria-expanded="false" data-toggle="collapse" href="#macro-mediaList-folder-@folder.Id"> | |
<i class="glyphicon glyphicon-folder-open"></i> @folder.Name | |
</a> | |
<div class="list-group @(collapsed?"collapse":"collapse in") well well-sm" id="macro-mediaList-folder-@folder.Id"> | |
@foreach(var item in items) { |
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.Macros.PartialViewMacroPage | |
@using Umbraco.Web.Models | |
@{ | |
var folders = Model.GetParameterValue<string>("mediaFolder", "") | |
.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries); | |
var subFolders = Model.GetParameterValue<bool>("subFolders", true); | |
var selection = Umbraco.TypedMedia(folders).Where(x => x != null); |