Update chart UI, update Jquery
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user