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