github.com/Azareal/Gosora@v0.0.0-20210729070923-553e66b59003/templates/guilds_member_list.html (about) 1 {{template "header.html" . }} 2 {{/** TODO: Move this into a per-theme CSS file **/}} 3 {{template "guilds_css.html" . }} 4 5 {{/** TODO: Add <link> next / prev bits **/}} 6 {{/** TODO: Port the page template functions to the template interpreter **/}} 7 {{if gt .Page 1}}<div id="prevFloat" class="prev_button"><a class="prev_link" href="/guild/members/{{.Guild.ID}}?page={{subtract .Page 1}}"><</a></div>{{end}} 8 {{if ne .LastPage .Page}}<link rel="prerender" href="/guild/members/{{.Guild.ID}}?page={{add .Page 1}}" /> 9 <div id="nextFloat" class="next_button"><a class="next_link" href="/guild/members/{{.Guild.ID}}?page={{add .Page 1}}">></a></div>{{end}} 10 11 <div class="sgBackdrop"> 12 <nav class="miniMenu"> 13 <div class="menuItem"><a href="/guild/{{.Guild.ID}}">{{.Guild.Name}}</a></div> 14 <div class="menuItem"><a href="#">About</a></div> 15 <div class="menuItem"><a href="/guild/members/{{.Guild.ID}}">Members</a></div> 16 <div class="menuItem rightMenu"><a href="#">Edit</a></div> 17 <div class="menuItem rightMenu"><a href="/guild/join/{{.Guild.ID}}">Join</a></div> 18 </nav> 19 <div style="clear:both;"></div> 20 </div> 21 <main id="socialgroups_member_list" class="rowblock member_list" style="position:relative;z-index:50;"> 22 {{range .ItemList}}<div class="rowitem passive datarow" style="background-image:url({{.User.Avatar}});background-position:left;background-repeat:no-repeat;background-size:64px;padding-left:78px;{{if .Offline}}background-color:#eaeaea;{{else if gt .Rank 0}}background-color:#e6f3ff;{{end}}"> 23 <span style="float:right;"> 24 <span class="rank" style="font-size:15px;">{{.RankString}}</span><br> 25 <span class="joinedAt rowsmall">{{.JoinedAt}}</span> 26 </span> 27 <span> 28 <a class="rowtopic" href="{{.Link}}">{{.User.Name}}</a> 29 {{/** Use this for badges instead of rank? Both? Guild Titles? **/}} 30 <br><span class="rowsmall postCount">{{.PostCount}} posts</span> 31 </span> 32 </div> 33 {{end}} 34 </main> 35 {{template "footer.html" . }}