abfe0a472a
Added the view counter, it currently collects data without exposing it to the admin. Added an API for scheduling tasks which run once every second and once every fifteen minutes. Added a generated map containing all the routes with the function names as keys. Added the request counter to the generated router. Added more ARIA Labels and moved various bits and pieces into the CSS files for flexibility. Removed a bunch of redundant avatar checks in the templates. Improved the mobile friendliness of Cosora. Fixed various issues in the other themes. Refactored the file listener. Gosora now resyncs newly created theme files not just modified ones. Gosora now resyncs renamed theme files not just modified ones.
36 lines
1.9 KiB
HTML
36 lines
1.9 KiB
HTML
{{template "header.html" . }}
|
|
{{/** TODO: Move this into a per-theme CSS file **/}}
|
|
{{template "guilds_css.html" . }}
|
|
|
|
{{/** TODO: Add <link> next / prev bits **/}}
|
|
{{/** TODO: Port the page template functions to the template interpreter **/}}
|
|
{{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}}
|
|
{{if ne .LastPage .Page}}<link rel="prerender" href="/guild/members/{{.Guild.ID}}?page={{add .Page 1}}" />
|
|
<div id="nextFloat" class="next_button"><a class="next_link" href="/guild/members/{{.Guild.ID}}?page={{add .Page 1}}">></a></div>{{end}}
|
|
|
|
<div class="sgBackdrop">
|
|
<nav class="miniMenu">
|
|
<div class="menuItem"><a href="/guild/{{.Guild.ID}}">{{.Guild.Name}}</a></div>
|
|
<div class="menuItem"><a href="#">About</a></div>
|
|
<div class="menuItem"><a href="/guild/members/{{.Guild.ID}}">Members</a></div>
|
|
<div class="menuItem rightMenu"><a href="#">Edit</a></div>
|
|
<div class="menuItem rightMenu"><a href="/guild/join/{{.Guild.ID}}">Join</a></div>
|
|
</nav>
|
|
<div style="clear: both;"></div>
|
|
</div>
|
|
<main id="socialgroups_member_list" class="rowblock member_list" style="position: relative;z-index: 50;">
|
|
{{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}}">
|
|
<span style="float: right;">
|
|
<span class="rank" style="font-size: 15px;">{{.RankString}}</span><br />
|
|
<span class="joinedAt rowsmall">{{.JoinedAt}}</span>
|
|
</span>
|
|
<span>
|
|
<a class="rowtopic" href="{{.Link}}">{{.User.Name}}</a>
|
|
{{/** Use this for badges instead of rank? Both? Guild Titles? **/}}
|
|
<br /><span class="rowsmall postCount">{{.PostCount}} posts</span>
|
|
</span>
|
|
</div>
|
|
{{end}}
|
|
</main>
|
|
{{template "footer.html" . }}
|