This commit is contained in:
Karl Hudgell 2015-07-03 09:51:25 +01:00
parent ef98336fb7
commit 82a3de6595
4 changed files with 25 additions and 19 deletions

View File

@ -27,6 +27,7 @@ background: #000000;
.innertube{
margin: 15px; /*Margins for inner DIV inside each DIV (to provide padding)*/
color: black;
}
* html body{ /*IE6 hack*/

View File

@ -27,6 +27,7 @@ background: #000000;
.innertube{
margin: 15px; /*Margins for inner DIV inside each DIV (to provide padding)*/
color: black;
}
* html body{ /*IE6 hack*/

View File

@ -1,5 +1,8 @@
<style type="text/css">
#header {
color: white;
}
#style{
position: absolute;
@ -9,7 +12,7 @@ width: 100%; /*Width of left frame div*/
height: 100%;
overflow: hidden; /*Disable scrollbars. Set to "scroll" to enable*/
background-color: white;
color: black;
color: white;
}
#maincontent{
@ -19,11 +22,12 @@ left: 0px; /*Set left value to WidthOfLeftFrameDiv*/
right: 300px; /*Set right value to WidthOfRightFrameDiv*/
bottom: 0;
overflow: auto;
background: #fff;
background: #000000;
}
.innertube{
margin: 15px; /*Margins for inner DIV inside each DIV (to provide padding)*/
color: black;
}
* html body{ /*IE6 hack*/
@ -49,14 +53,14 @@ width: 100%;
}
.disk {
border: 1px solid black;
border: 1px solid white;
width: 150px;
padding: 0px;
}
.used {
display block;
background: #0066FF;
background: blue;
text-align: right;
padding: 0 0 0 0;
}

View File

@ -128,34 +128,34 @@ try {
<div id="style">
<div class="innertube">
</p>
<table border=0>
<table border='0' cellspacing='0' cellpadding='1'>
<tr><td BGCOLOR='#0066FF'><font color='white'>Disk Space</font></td></tr>
<tr><td>C:\<?= $freeSpaceC ?> (of <?= $totalSpaceC ?>)</td></tr>
<tr><td><div class="disk">
<tr><td BGCOLOR='#FFFFFF'>C:\<?= $freeSpaceC ?> (of <?= $totalSpaceC ?>)</td></tr>
<tr><td BGCOLOR='#FFFFFF'><div class="disk">
<div class="used" style="width: <?= $barWidthC ?>px"><?= $diskStatusC->usedSpace() ?>%&nbsp;</div>
</div></td></tr>
<tr><td>D:\<?= $freeSpace1 ?> (of <?= $totalSpace1 ?>)</td></tr>
<tr> <tr><td><div class="disk">
<tr><td BGCOLOR='#FFFFFF'>D:\<?= $freeSpace1 ?> (of <?= $totalSpace1 ?>)</td></tr>
<tr> <tr><td BGCOLOR='#FFFFFF'><div class="disk">
<div class="used" style="width: <?= $barWidth1 ?>px"><?= $diskStatus1->usedSpace() ?>%&nbsp;</div>
</div></td></tr>
<tr><td>E:\<?= $freeSpace2 ?> (of <?= $totalSpace2 ?>)</td></tr>
<tr> <tr><td><div class="disk">
<tr><td BGCOLOR='#FFFFFF'>E:\<?= $freeSpace2 ?> (of <?= $totalSpace2 ?>)</td></tr>
<tr> <tr><td BGCOLOR='#FFFFFF'><div class="disk">
<div class="used" style="width: <?= $barWidth2 ?>px"><?= $diskStatus2->usedSpace() ?>%&nbsp;</div>
</div></td></tr>
<tr><td>F:\<?= $freeSpace3 ?> (of <?= $totalSpace3 ?>)</td></tr>
<tr> <tr><td><div class="disk">
<tr><td BGCOLOR='#FFFFFF'>F:\<?= $freeSpace3 ?> (of <?= $totalSpace3 ?>)</td></tr>
<tr> <tr><td BGCOLOR='#FFFFFF'><div class="disk">
<div class="used" style="width: <?= $barWidth3 ?>px"><?= $diskStatus3->usedSpace() ?>%&nbsp;</div>
</div></td></tr>
<tr><td>G:\<?= $freeSpace4 ?> (of <?= $totalSpace4 ?>)</td></tr>
<tr> <tr><td><div class="disk">
<tr><td BGCOLOR='#FFFFFF'>G:\<?= $freeSpace4 ?> (of <?= $totalSpace4 ?>)</td></tr>
<tr> <tr><td BGCOLOR='#FFFFFF'><div class="disk">
<div class="used" style="width: <?= $barWidth4 ?>px"><?= $diskStatus4->usedSpace() ?>%&nbsp;</div>
</div></td></tr>
<tr><td>H:\<?= $freeSpace5 ?> (of <?= $totalSpace5 ?>)</td></tr>
<tr> <tr><td><div class="disk">
<tr><td BGCOLOR='#FFFFFF'>H:\<?= $freeSpace5 ?> (of <?= $totalSpace5 ?>)</td></tr>
<tr> <tr><td BGCOLOR='#FFFFFF'><div class="disk">
<div class="used" style="width: <?= $barWidth5 ?>px"><?= $diskStatus5->usedSpace() ?>%&nbsp;</div>
</div></td></tr>
<tr><td>J:\<?= $freeSpace6 ?> (of <?= $totalSpace6 ?>)</td></tr>
<tr> <tr><td><div class="disk">
<tr><td BGCOLOR='#FFFFFF'>J:\<?= $freeSpace6 ?> (of <?= $totalSpace6 ?>)</td></tr>
<tr> <tr><td BGCOLOR='#FFFFFF'><div class="disk">
<div class="used" style="width: <?= $barWidth6 ?>px"><?= $diskStatus6->usedSpace() ?>%&nbsp;</div>
</div></td></tr>
</table>