game.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
       ---
       game.html (974B)
       ---
            1 {{define "title"}}Game: {{.Name}}{{end}}
            2 {{define "class"}}game{{end}}
            3 
            4 {{define "content"}}
            5 
            6 <table class="table" border="0">
            7 <thead>
            8         <tr>
            9                 <th class="name" align="left">Name</th>
           10                 <th class="title" align="left">Title</th>
           11                 <th class="playlist" align="left">Playlist</th>
           12                 <th class="viewers" align="right">Viewers</th>
           13         </tr>
           14 </thead>
           15 <tbody>
           16 {{with .TwitchGame}}
           17         {{range .Streams}}
           18                 <tr>
           19                         <td class="name"><a href="{{.Channel.Url}}">{{.Channel.Display_name}}</a></td>
           20                         <td class="title"><a href="{{.Channel.Url}}">{{.Channel.Status}}</a></td>
           21                         <td class="playlist">
           22                                 <a href="/playlist?c={{.Channel.Name}}" title="redirect to playlist file">m3u8</a> |
           23                                 <a href="/playlist?c={{.Channel.Name}}&amp;f=html" title="page with playlist link">page</a> |
           24                                 <a href="/playlist?c={{.Channel.Name}}&amp;f=plain" title="get link to url in plain-text">plain</a>
           25                         </td>
           26                         <td align="right">{{.Viewers}}</td>
           27                 </tr>
           28 
           29         {{end}}
           30 {{end}}
           31 </tbody>
           32 </table>
           33 
           34 {{end}}