Favicons, page improvements

This commit is contained in:
2017-01-19 10:55:11 -05:00
parent d799363651
commit b80f02a25e
53 changed files with 174 additions and 36 deletions
@@ -1,10 +1,12 @@
@using LeafWeb.WebCms.Controllers
@model Tuple<int, bool>
@{
var leafInputId = Model.Item1;
var isDeletable = Model.Item2;
}
@using (Html.BeginUmbracoForm<QueueController>("Delete", null, new { @class = "confirm", confirm_msg = "Deletion cannot be undone!" }))
@model Tuple<int, string, bool>
@{
var leafInputId = Model.Item1;
var identifier = Model.Item2;
var isDeletable = Model.Item3;
}
@using (Html.BeginUmbracoForm<QueueController>("Delete", null,
new { @class = "confirm", confirm_msg = "Deletion cannot be undone! Confirm deleting '" + identifier + "'." }))
{
<input type="hidden" name="id" value="@leafInputId"/>
<button type="submit" class="btn btn-link" @{if (!isDeletable) { <text> disabled="disabled" </text> }}>