summaryrefslogtreecommitdiff
path: root/template/directory.st
blob: b6db5dd62dbce8aee10e224794d4e7a6157cea6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<html>
  <head>
    $if(cur)$
    <title>dump.fm directory [$cur$]</title>
    $else$
    <title>dump.fm directory</title>
    $endif$
    $head()$
    <link rel="stylesheet" type="text/css" href="/static/css/dump.css">
    <script>
      jQuery(document).ready(initDirectory);
    </script>
    
    
  </head>
  <body class="profile">
    $banner()$
    <div id="chatrap">
      <div id="log">   
        <br>
                         <div id="dprofile">
            <h2> DUMP STARS </h2><br><h3>Ordered by fav count</h3>
            
            
            </div>
        <div id="dposts">
          <br>
     
          $if(users)$
          $users:{ dump | 
          <div class="dlogged-dump" id="message-$dump.message_id$">
            <a href="/$dump.nick$">
              $if(dump.score_ent)$
              <h8>
                fav score: $dump.score$ 
                <h9>$dump.score_ent$</h9>
              </h8>
	      $endif$
            <div id="usernicks">  <b>$dump.nick$</b></div>
              $if(dump.avatar)$
              <div id="dlogavatar">
                <img height="50" width="50" src="$dump.avatar$" />
              </div>
              $else$
              <div id="dlogavatar">
                <img height="50" width="50" src="/static/img/noinfo.png" />
              </div>
              $endif$
            </a>
            <div id="infotxt"><b>last post</b></div>
            <span class="linkify">$dump.content$</span>
            <hr />
            $share_buttons()$
            </div>
          }$
          $else$
          <span>No more users!</span>
          $endif$
          <div id="pnav">
            $if(prev)$
            <div id="pnavn"><a href="/directory$prev$">BACK</a></div>
            $endif$
            $if(users)$
            <div id="pnavo"> <a href="/directory$next$">MOAR!</a></div>
            $endif$            
          </div>                
          <div id="footer">
            $footer()$
          </div>
        </div>
  </body>
</html>