@using System.Collections
@using DiscImageChef.CommonTypes.Metadata
@using DiscImageChef.Server.Models
@using Highsoft.Web.Mvc.Charts
@using Chart = Highsoft.Web.Mvc.Charts.Chart
@using Filter = DiscImageChef.Server.Models.Filter
@{
ViewBag.Title = "DiscImageChef Statistics";
}
@if(ViewBag.repOperatingSystems != null)
{
@foreach(NameValueStats os in ViewBag.repOperatingSystems)
{
|
DiscImageChef has run on @os.name @os.Value times.
|
}
}
@if(ViewBag.repVersions != null)
{
@foreach(NameValueStats version in ViewBag.repVersions)
{
|
DiscImageChef version @version.name has been used @version.Value times.
|
}
}
@if(ViewBag.repCommands != null)
{
@foreach(Command command in ViewBag.repCommands)
{
|
@command.Name has been run @command.Count times.
|
}
}
@if(ViewBag.repFilters != null)
{
@foreach(Filter filter in ViewBag.repFilters)
{
|
@filter.Name
|
@($"{filter.Count}")
|
}
}
@if(ViewBag.repMediaImages != null)
{
}
@if(ViewBag.repPartitions != null)
{
@foreach(Partition partition in ViewBag.repPartitions)
{
|
@partition.Name
|
@($"{partition.Count}")
|
}
}
@if(ViewBag.repFilesystems != null)
{
@foreach(Filesystem filesystem in ViewBag.repFilesystems)
{
|
@filesystem.Name
|
@($"{filesystem.Count}")
|
}
}
@if(ViewBag.repVirtualMedia != null)
{
}
@if(ViewBag.repRealMedia != null)
{
}
@if(ViewBag.repDevices != null)
{
@foreach(DeviceItem device in ViewBag.repDevices)
{
|
@device.Manufacturer
|
@device.Model
|
@device.Revision
|
@device.Bus
|
@if(device.ReportId != 0)
{
@Html.ActionLink("Yes", "View", "Report", new {id = device.ReportId}, new {target = "_blank"})
}
else
{ No }
|
}
}