e30707bc17
More progress has been made with PostgreSQL, but it's still incomplete and experimental. The items on the Social Group menu bar are no longer decorative and now let you jump from page to page. Social Group permissions are now fully functional. More features to come like privacy levels, secondary board permissions, etc. for Social Groups. One of our dependencies added a dependecy, so we've added that dependency as a dependency. Tweaked the ForumStore to better conform to the tests. Fixed an issue with the generated file comment stopping the build tags from being read by the compiler for a few files. Fixed the test system. Renamed the route_create_topic handler to route_topic_create_submit Moved the user table into the query generator. Fixed a bug in MySQL where it doesn't allow unique keys longer than 180 characters. Fixed a race condition in the forum deletion handler. Fixed a crash bug where Gosora crashes when [rand]0[/rand] is passed to the BBCode parser. Fixed a bug with superadmins not being able to see all the forums they should be able to. Fixed a bug in simple_forum_session_check where it assumes every request has an error. Tests: Added 8 ForumStore tests. Added 4 Auth tests. Added 14 bbcode_full_parse tests. Added 4 bbcode_regex_parse tests. Fixed a bug in one of the bbcode_full_parse tests. Apparently, routes.go wasn't commited in the previous commit o_o
35 lines
1.9 KiB
HTML
35 lines
1.9 KiB
HTML
{{template "header.html" . }}
|
|
{{/** TO-DO: Move this into a CSS file **/}}
|
|
{{template "socialgroups_css.html" . }}
|
|
|
|
{{/** TO-DO: Port the page template functions to the template interpreter **/}}
|
|
{{if gt .Page 1}}<div id="prevFloat" class="prev_button"><a class="prev_link" href="/group/members/{{.SocialGroup.ID}}?page={{subtract .Page 1}}"><</a></div>{{end}}
|
|
{{if ne .LastPage .Page}}<link rel="prerender" href="/group/members/{{.SocialGroup.ID}}?page={{add .Page 1}}" />
|
|
<div id="nextFloat" class="next_button"><a class="next_link" href="/group/members/{{.SocialGroup.ID}}?page={{add .Page 1}}">></a></div>{{end}}
|
|
|
|
<div class="sgBackdrop">
|
|
<div class="miniMenu">
|
|
<div class="menuItem"><a href="/group/{{.SocialGroup.ID}}">{{.SocialGroup.Name}}</a></div>
|
|
<div class="menuItem"><a href="#">About</a></div>
|
|
<div class="menuItem"><a href="/group/members/{{.SocialGroup.ID}}">Members</a></div>
|
|
<div class="menuItem rightMenu"><a href="#">Edit</a></div>
|
|
<div class="menuItem rightMenu"><a href="/group/join/{{.SocialGroup.ID}}">Join</a></div>
|
|
</div>
|
|
<div style="clear: both;"></div>
|
|
</div>
|
|
<div id="socialgroups_member_list" class="rowblock member_list" style="position: relative;z-index: 50;">
|
|
{{range .ItemList}}<div class="rowitem passive datarow" style="{{if .User.Avatar}}background-image: url({{.User.Avatar}});background-position: left;background-repeat: no-repeat;background-size: 64px;padding-left: 78px;{{end}}{{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? Group Titles? **/}}
|
|
<br /><span class="rowsmall postCount">{{.PostCount}} posts</span>
|
|
</span>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
{{template "footer.html" . }}
|