CC-1880 show content is styled
This commit is contained in:
parent
8dbb79d9e2
commit
44c830066b
2 changed files with 35 additions and 9 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue