Update chart UI, update Jquery

This commit is contained in:
2016-12-16 22:46:21 -05:00
parent 8dc1e0422c
commit 75d01a197d
17 changed files with 2773 additions and 2019 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
Html.RequiresCss("~/Content/site.css");
Html.RequiresCss("~/Content/style.css");
Html.RequiresCss("~/css/rte.css");
Html.RequiresJs("~/scripts/jquery-1.11.1.js", 0);
Html.RequiresJs("~/scripts/jquery-1.12.4.js", 0);
Html.RequiresJs("~/scripts/bootstrap.js", 0);
Html.RequiresJs("~/scripts/site.js");
}
+1 -4
View File
@@ -46,8 +46,5 @@
@helper ChartLink(dynamic item)
{
if (item.HasLeafChart)
{
@Html.Partial("DisplayTemplates/_ChartLink", (int)item.LeafInputId)
}
@Html.Partial("DisplayTemplates/_ChartLink", (int)item.LeafInputId)
}
+1 -1
View File
@@ -19,6 +19,6 @@
{
if (item.HasLeafChart)
{
@Html.Partial("DisplayTemplates/_ChartLink", (int)item.LeafInputId)
@Html.Partial("DisplayTemplates/_ChartButton", (int)item.LeafInputId)
}
}
@@ -0,0 +1,6 @@
@model int
<a href="@UmbracoContext.Current.UrlProvider.GetUrl(1100)?leafInputId=@Model" class="btn btn-default btn-xs" role="button">
<span class="glyphicon glyphicon-stats"></span>
Chart
</a>
@@ -1,5 +1,5 @@
@model int
<a href="@UmbracoContext.Current.UrlProvider.GetUrl(1100)?leafInputId=@Model" class="btn btn-default btn-xs" role="button">
<a href="@UmbracoContext.Current.UrlProvider.GetUrl(1100)?leafInputId=@Model">
<span class="glyphicon glyphicon-stats"></span>
Chart
</a>