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
+7 -7
View File
@@ -28,15 +28,15 @@
}
@using (Html.BeginUmbracoForm<QueueController>(
@*@using (Html.BeginUmbracoForm<QueueController>(
"SendUserChartLink", null, new { @class = "confirm", confirm_msg = "Confirm sending email to user" }))
{
<input type="hidden" name="id" value="@Model.LeafInputId" />
<button type="submit" class="btn btn-default" @{if (!Model.HasLeafChart) { <text> disabled="disabled" </text> }}>
<span class="glyphicon glyphicon-send"></span> Email User Chart link
</button>
}
@DeleteLink(Model.LeafInputId, Model.IsDeletable)
}*@
@DeleteLink(Model.LeafInputId, Model.Identifier, Model.IsDeletable)
</div>
<div class="col-sm-9">
@Html.DisplayForModel()
@@ -44,11 +44,11 @@
</div>
@helper DeleteLink(int id, bool deletable)
@helper DeleteLink(int id, string identifier, bool deletable)
{
using (Html.BeginUmbracoForm<QueueController>(
"Delete", null, new { @class = "confirm", confirm_msg = "Deletion cannot be undone! Confirm deleting '" + identifier + "'." }))
{
using (Html.BeginUmbracoForm<QueueController>(
"Delete", null, new { @class = "confirm", confirm_msg = "Deletion cannot be undone!" }))
{
<input type="hidden" name="id" value="@id" />
<button type="submit" class="btn btn-default" @{if (!deletable) { <text> disabled="disabled" </text> }}>
<span class="glyphicon glyphicon-remove"></span> Delete