summaryrefslogtreecommitdiff
path: root/template/directory.st
blob: e99866a19778ba7af85dd1efadfd48e253df1eec (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
73
74
75
76
77
78
79
80
81
82
83
84
<!--/*

       //  hump.fm
     _oo\
    (__/ \  _  _
       \  \/ \/ \
       (         )\
        \_______/  \
         [[] [[] [[] [[]
         [[] [[] [[] [[]

-->
<html>
  <head>
    $if(cur)$
    <title>hump.fm directory [$cur$]</title>
    $else$
    <title>hump.fm directory</title>
    $endif$
    $head()$
    <script type="text/javascript" src="/static/js/pages/directory_init.js?v=20260203"></script>
  </head>
  <body class="profile">
    $banner()$
    <div id="chatrap">
      <div id="log">   
        <br>
        <div id="dprofile">
          <h2> Directory </h2><br>
          <h3>Ordered by fav count</h3><br>
        </div>
        <div id="dposts">
          <br>
     
          $if(users)$
          $users:{ hump |
          <div class="dlogged-hump hump is-relative $if(hump.favorited)$favorite$endif$" id="message-$hump.message_id$">
                <div id="usernicks"> <a href="/$hump.nick$"> <b>$hump.nick$'s</b>
              $if(hump.score_ent)$
                fav score: $hump.score$
                <h9>$hump.score_ent$</h9>
              </a></div>
	      $endif$
          
              $if(hump.avatar)$
             <a href="/$hump.nick$">  <div id="dlogavatar">
                <img height="50" width="50" src="$hump.avatar$" />
              </div>
              $else$
              <div id="dlogavatar">
                <img height="50" width="50" src="/static/img/noinfo.png" />
              </div></a>
              $endif$
            </a>
            <div id="infotxt"><b>last post</b></div>
            <span class="linkify">$hump.content$</span>
            <hr />
            $share_buttons(hump=hump)$
            </div>
          }$
          $else$
          <span>No more users!</span>
          $endif$

  <div id="pnav">
   $if(users)$
              $if(next)$
              <div id="pnavn"><a href="/directory$next$">next &#9758;</a></div> 
              $endif$
  $endif$  
              &nbsp;
              $if(prev)$
              <div id="pnavo">  <a href="/directory$prev$">&#9756; prev</a></div>
              $endif$
              
              <br><br>
            </div>

          <div id="footer">
            $footer()$
          </div>
        </div>
  </body>
</html>