mirror of
https://github.com/unraid/webgui.git
synced 2026-04-25 03:39:23 -05:00
Fix: Array usage bar sidenav theme
This commit is contained in:
Regular → Executable
+3
-1
@@ -1,5 +1,7 @@
|
||||
<div id="header" class="<?=$display['banner']?>">
|
||||
<unraid-header-os-version></unraid-header-os-version>
|
||||
|
||||
<? if ($display['usage'] && $themeHelper->isSidebarTheme()): ?>
|
||||
<span id='array-usage-sidenav'></span>
|
||||
<? endif; ?>
|
||||
<?include "$docroot/plugins/dynamix.my.servers/include/myservers2.php"?>
|
||||
</div>
|
||||
|
||||
Regular → Executable
+4
-2
@@ -37,10 +37,12 @@
|
||||
</div>
|
||||
<? endif; ?>
|
||||
|
||||
<? if ($display['usage']): ?>
|
||||
<? if ($display['usage'] && ! $themeHelper->isSidebarTheme()): ?>
|
||||
<? my_usage(); ?>
|
||||
<? endif; ?>
|
||||
|
||||
<? if ($display['usage'] && $themeHelper->isSidebarTheme()): ?>
|
||||
<script>$("#array-usage-sidenav").html("<?my_usage();?>");</script>
|
||||
<? endif; ?>
|
||||
<? foreach ($buttonPages as $button): ?>
|
||||
<? if (empty($button['Link'])): ?>
|
||||
<? $icon = $button['Icon']; ?>
|
||||
|
||||
@@ -2594,8 +2594,10 @@ div#title.ud {
|
||||
}
|
||||
|
||||
.usage-bar {
|
||||
position: relative;
|
||||
width: 6.4rem;
|
||||
POSITION: absolute;
|
||||
bottom: .5rem;
|
||||
left: 50%;
|
||||
width: 14rem;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user