openidec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

index.tpl (720B)


      1 {{template "header.tpl" $}}
      2 <table id="echolist" cellspacing=0 cellpadding=0>
      3 <tr class="title">
      4 <th>Echo</th>
      5 <th class="extra">Topics</th>
      6 <th class="extra">Posts</th>
      7 <th>Last</th>
      8 </tr>
      9 {{range $k, $_ := .Echoes }}
     10 {{ if is_even $k }}
     11 <tr class="even">
     12 {{ else }}
     13 <tr class="odd">
     14 {{ end }}
     15 <td class="echo"><a href="{{$.PfxPath}}/{{.Name}}/">{{.Name}}</a><br>
     16 <span class="info">{{ index $.Echolist.Info .Name }}</span>
     17 </td>
     18 <td class="topics extra">{{.Topics}}</td>
     19 <td class="count extra">{{.Count}}</td>
     20 <td class="info">{{with .Msg}}<span class="subj">{{.Subj}}</span><br><a href="{{$.PfxPath}}/echo/{{.Echo}}">{{.Date | fdate}}</a> by {{.From}}{{end}}</td>
     21 </tr>
     22 {{ end }}
     23 </table>
     24 
     25 {{template "footer.tpl"}}