featured.html - twitch-go - twitch.tv web application in Go
 (HTM) git clone git://git.codemadness.org/twitch-go
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       featured.html (1106B)
       ---
            1 {{define "title"}}Featured streams{{end}}
            2 {{define "class"}}featured{{end}}
            3 
            4 {{define "content"}}
            5 
            6 <table class="table" border="0">
            7 <thead>
            8         <tr>
            9                 <th class="game" align="left">Game</th>
           10                 <th class="name" align="left">Name</th>
           11                 <th class="title" align="left">Title</th>
           12                 <th class="playlist" align="left">Playlist</th>
           13                 <th class="viewers" align="right">Viewers</th>
           14         </tr>
           15 </thead>
           16 <tbody>
           17 {{range .Featured }}
           18 <tr>
           19         <td class="game"><a href="/game?g={{.Stream.Game}}">{{.Stream.Game}}</a></td>
           20         <td class="name"><a href="{{.Stream.Channel.Url}}">{{.Stream.Channel.Display_name}}</a></td>
           21         <td class="title"><a href="{{.Stream.Channel.Url}}">{{.Stream.Channel.Status}}</a></td>
           22         <td class="playlist">
           23                 <a href="/playlist?c={{.Stream.Channel.Name}}" title="redirect to playlist file">m3u8</a> |
           24                 <a href="/playlist?c={{.Stream.Channel.Name}}&amp;f=html" title="page with playlist link">page</a> |
           25                 <a href="/playlist?c={{.Stream.Channel.Name}}&amp;f=plain" title="get link to url in plain-text">plain</a>
           26         </td>
           27         <td align="right">{{.Stream.Viewers}}</td>
           28 </tr>
           29 {{end}}
           30 </tbody>
           31 </table>
           32 
           33 {{end}}