2012-12-23 08:35:36 +03:00
|
|
|
@using NzbDrone.Core
|
2012-12-24 10:16:43 +03:00
|
|
|
@model Dictionary<string, ulong>
|
2012-12-23 08:35:36 +03:00
|
|
|
@{
|
|
|
|
Layout = null;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@{
|
2012-12-24 10:16:43 +03:00
|
|
|
var rootDirString = "";
|
|
|
|
|
2012-12-23 08:35:36 +03:00
|
|
|
foreach(var rootDir in Model)
|
|
|
|
{
|
2012-12-24 10:16:43 +03:00
|
|
|
<div class="free-space" title="@rootDir.Key">
|
|
|
|
@rootDir.Value.ToBestFileSize(1) <span>Free</span>
|
2012-12-23 08:35:36 +03:00
|
|
|
</div>
|
2012-12-24 10:16:43 +03:00
|
|
|
|
|
|
|
rootDirString += String.Format("{0} - {1} Free\r\n", rootDir.Key, rootDir.Value.ToBestFileSize(1));
|
2012-12-23 08:35:36 +03:00
|
|
|
}
|
2012-12-24 10:16:43 +03:00
|
|
|
|
|
|
|
<div id="free-space-small" title="@Html.Encode(rootDirString)">
|
|
|
|
<i class="icon-hdd"></i>
|
|
|
|
</div>
|
2012-12-23 08:35:36 +03:00
|
|
|
}
|