CC-1880 show content is styled

This commit is contained in:
Naomi 2011-02-10 20:27:25 -05:00
parent 8dbb79d9e2
commit 44c830066b
2 changed files with 35 additions and 9 deletions

View File

@ -1,12 +1,24 @@
<div id="show_content_dialog">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="datatable">
<tr>
<th>Start</th>
<th>Title</th>
<th>Creator</th>
<th>Album</th>
<th>Length</th>
<th>Genre</th>
</tr>
<?php $i=0; ?>
<?php foreach($this->showContent as $row): ?>
<div>
<span><?php echo $row["starts"] ?></span>
<span><?php echo $row["track_title"] ?></span>
<span><?php echo $row["artist_name"] ?></span>
<span><?php echo $row["album_title"] ?></span>
<span><?php echo $row["length"] ?></span>
<span><?php echo $row["genre"] ?></span>
</div>
<tr class="<?php if($i&1){echo "even";}else{echo "odd";}?>">
<td><?php echo $row["starts"] ?></td>
<td><?php echo $row["track_title"] ?></td>
<td><?php echo $row["artist_name"] ?></td>
<td><?php echo $row["album_title"] ?></td>
<td><?php echo $row["length"] ?></td>
<td><?php echo $row["genre"] ?></td>
</tr>
<?php $i=$i+1; ?>
<?php endforeach; ?>
</table>
</div>

View File

@ -1301,11 +1301,15 @@ ul.errors li {
background-color:#ff753c;
}
.playing-list {
background-color:#b4e0f7;
background-color:#b0dcf2;
}
.odd.playing-list {
background-color:#bfe5f8;
}
.gap {
background-color:#da5454;
}
/*---//////////////////// END NOW PLAYING COLORS ////////////////////---*/
.icon-link, .ui-widget-content a.icon-link {
color: #646464;
position: relative;
@ -1335,4 +1339,14 @@ ul.errors li {
.button-bar .icon-link {
float:left;
margin:7px 0 0 1px;
}
#show_content_dialog .datatable tr:first-child td {
border-top:none;
}
#show_content_dialog .datatable {
margin-top:8px;
}