Leaf Charter integration

This commit is contained in:
2016-03-10 11:18:25 -05:00
parent 72caa74bb2
commit c761952a8a
7 changed files with 44 additions and 25 deletions
+7 -8
View File
@@ -1,8 +1,7 @@
<img src="@Url.Action("LeafCharts", new {number=0})" alt="image" />
<img src="@Url.Action("LeafCharts", new {number=1})" alt="image" />
<img src="@Url.Action("LeafCharts", new {number=2})" alt="image" />
<img src="@Url.Action("LeafCharts", new {number=3})" alt="image" />
<img src="@Url.Action("LeafCharts", new {number=4})" alt="image" />
<img src="@Url.Action("LeafCharts", new {number=5})" alt="image" />
<img src="@Url.Action("LeafCharts", new {number=6})" alt="image" />
<img src="@Url.Action("LeafCharts", new {number=7})" alt="image" />
@using LeafWeb.Web.Charter
@model int
@for (int i = 0; i < 8; i++)
{
<img src="@Url.Action("LeafCharts", new {leafInputFileId = Model, number=@i})" alt="image" height="@LeafWebCharter.ChartHeight" width="@LeafWebCharter.ChartWidth" />
}
+3 -2
View File
@@ -5,7 +5,7 @@
var grid = new WebGrid(Model, rowsPerPage: 45);
}
<h1>Results</h1>
<h1>Result Status</h1>
@grid.GetHtml(columns:
grid.Columns(
@@ -13,7 +13,8 @@
grid.Column("LeafInputSiteId", "Site Id"),
grid.Column("LeafInputFilename", "Filename"),
grid.Column("LeafInputName", "Submitted By"),
grid.Column("CurrentStatus", "Status")
grid.Column("CurrentStatus", "Status"),
grid.Column("Chart", "Chart", item => @Html.ActionLink("Chart", "Index", "LeafCharter", new { leafInputFileId = item.LeafInputFileId}, new {}))
),
htmlAttributes: new { @class = "table table-striped table-bordered table-hover table-condensed" }
)
+2 -3
View File
@@ -30,9 +30,8 @@
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Leaf Data <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="/LeafInput">Leaf Input</a></li>
<li><a href="/LeafOutput">Leaf Output</a></li>
<li><a href="/LeafCharter">Leaf Charts</a></li>
<li><a href="/LeafInput">Submit Data</a></li>
<li><a href="/LeafOutput">Result Status</a></li>
</ul>
</li>
<li>