@using DiscImageChef.CommonTypes.Metadata @{ // /*************************************************************************** // The Disc Image Chef // ---------------------------------------------------------------------------- // // Filename : Index.cshtml // Author(s) : Natalia Portillo // // Component : DiscImageChef Server. // // --[ Description ] ---------------------------------------------------------- // // Renders statistics. // // --[ License ] -------------------------------------------------------------- // // This library is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as // published by the Free Software Foundation; either version 2.1 of the // License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, see . // // ---------------------------------------------------------------------------- // Copyright © 2011-2019 Natalia Portillo // ****************************************************************************/ } @{ ViewBag.Title = "DiscImageChef Statistics"; Layout = "~/Views/Shared/_Layout.cshtml"; }
Welcome to DiscImageChef Server version @ViewBag.Version
@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 Times
@filter.Name @($"{filter.Count}")
} @if (ViewBag.repMediaImages != null) {

@foreach (MediaFormat format in ViewBag.repMediaImages) { }
Media image format Times
@format.Name @($"{format.Count}")
} @if (ViewBag.repPartitions != null) {

@foreach (Partition partition in ViewBag.repPartitions) { }
Partitioning scheme Times
@partition.Name @($"{partition.Count}")
} @if (ViewBag.repFilesystems != null) {

@foreach (Filesystem filesystem in ViewBag.repFilesystems) { }
Filesystem name Times
@filesystem.Name @($"{filesystem.Count}")
} @if (ViewBag.repVirtualMedia != null) {

@foreach (MediaItem media in ViewBag.repVirtualMedia) { }
Physical type Logical type Times
@media.Type @media.SubType @($"{media.Count}")
} @if (ViewBag.repRealMedia != null) {

@foreach (MediaItem media in ViewBag.repRealMedia) { }
Physical type Logical type Times
@media.Type @media.SubType @($"{media.Count}")
} @if (ViewBag.repDevices != null) {

All devices found...

@foreach (DeviceItem device in ViewBag.repDevices) { }
Manufacturer Model Revision Bus Report
@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 }
}