ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/DecentralizedMedia/Web/index.msp
Revision: 545
Committed: 2005-07-03T03:56:51-07:00 (20 years ago) by douglas
File size: 1094 byte(s)
Log Message:
Whee!!

File Contents

# Content
1 <?xml version="1.0"?>
2 <waf:logic xmlns:waf="http://www.saurik.com/menes-waf/0.9">
3
4 <waf:include file="DecentralizedMedia.hh"/>
5
6 <waf:set-status code="200"/>
7 <waf:add-header name="Content-Type" value="text/html; charset=utf-8"/>
8
9 DecentralizedMedia& media(*static_cast< DecentralizedMedia* >(& server));
10
11 <html>
12 <head>
13 <title>Decentralized Media</title>
14 <link rel="stylesheet" href="style.css" type="text/css" />
15 </head>
16 <body>
17 <h1>Decentralized Media</h1>
18 <table>
19 <waf:logic>
20 _foreach (const _L< MediaFile >, file, media.player.GetPlaylist()) if (_index == media.player.GetPosition())
21 {
22 <tr>
23 <th>{_index + 1}</th>
24 <th>{file->artist}</th>
25 <th>{file->title}</th>
26 <th>{file->album}</th>
27 <th>{file->genre}</th>
28 <th>{file->path.GetName()}</th>
29 </tr>
30 }
31 else
32 {
33 <tr>
34 <td>{_index + 1}</td>
35 <td>{file->artist}</td>
36 <td>{file->title}</td>
37 <td>{file->album}</td>
38 <td>{file->genre}</td>
39 <td>{file->path.GetName()}</td>
40 </tr>
41 }
42 </waf:logic>
43 </table>
44 <p>$Id$</p>
45 </body>
46 </html>
47
48 </waf:logic>

Properties

Name Value
svn:eol-style native
svn:keywords Id