Browse Source

ajout couleur stream

master
Cabillot Julien 5 years ago
parent
commit
fbf5c62265
2 changed files with 4 additions and 10 deletions
  1. 12
      root/css/admin.css
  2. 2
      templates/status.php

12
root/css/admin.css

@ -2,7 +2,7 @@ html {
font-family : "Roboto", "Helvetica Neue", Helvetica, sans-serif;
font-size: 13px;
background: rgb(242, 242, 242);
padding-bottom: 1em;
padding-bottom: 2.5em;
}
a {
@ -67,12 +67,7 @@ div.list div {
div.listdl {
float: left;
}
div.listdl div {
margin-bottom: 1em;
height: 100%;
width: 85%;
margin-right: 2em;
}
table.listdl {
@ -91,7 +86,7 @@ table.liststream {
background-color: #78909c;
}
.downloaded {
.downloaded, .finished {
background-color: #29b6f6;
}
@ -111,4 +106,3 @@ a.btn {
background: #fa963f;
padding: 10px 20px 10px 20px;
}

2
templates/status.php

@ -63,7 +63,7 @@ foreach([ $listAdded, $listDownloading, $listDownloaded, $listDupp ] as $cat) {
foreach([ $streamBegin, $streamFinished ] as $cat) {
foreach($cat as $element) {
?>
<tr>
<tr class="<?= $element['cstate']; ?>">
<td><?= $element['filename']; ?></td>
<td>
<img src="/img/ip.png" height=16 width=16 title="<?= $element['ip']; ?>" alt="<?= $element['ip']; ?>">

Loading…
Cancel
Save