mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-16 16:04:08 +01:00
ae0648b8f4
Fixed: Free space widgets take up less space on smaller screens
23 lines
524 B
Plaintext
23 lines
524 B
Plaintext
@using NzbDrone.Core
|
|
@model Dictionary<string, ulong>
|
|
@{
|
|
Layout = null;
|
|
}
|
|
|
|
|
|
@{
|
|
var rootDirString = "";
|
|
|
|
foreach(var rootDir in Model)
|
|
{
|
|
<div class="free-space" title="@rootDir.Key">
|
|
@rootDir.Value.ToBestFileSize(1) <span>Free</span>
|
|
</div>
|
|
|
|
rootDirString += String.Format("{0} - {1} Free\r\n", rootDir.Key, rootDir.Value.ToBestFileSize(1));
|
|
}
|
|
|
|
<div id="free-space-small" title="@Html.Encode(rootDirString)">
|
|
<i class="icon-hdd"></i>
|
|
</div>
|
|
} |