fix formatting
This commit is contained in:
parent
697cb30f0f
commit
17125a0334
|
@ -2,7 +2,7 @@
|
|||
NoCompile=true
|
||||
*/}}
|
||||
{{ define "clanMembers" }}
|
||||
{{ with . }}
|
||||
{ with . }}
|
||||
<div class="ui three column center aligned stackable grid">
|
||||
{{ $teamJSON := teamJSON }}
|
||||
{{ range .members }}
|
||||
|
|
|
@ -40,7 +40,8 @@ Include=clan_members.html
|
|||
|
||||
{{ $global.T "%s" (.description | htmlescaper) | html }}
|
||||
{{ end }}
|
||||
<br><br><table class="ui very basic two column compact table nopad">
|
||||
<br><br>
|
||||
<table class="ui very basic two column compact table nopad">
|
||||
<tbody>
|
||||
{{ with (.Get "clans/stats?id=%d&m=%d" .ClanID (.Gin.Query "mode"))}}
|
||||
<td></td>
|
||||
|
@ -90,21 +91,27 @@ Include=clan_members.html
|
|||
<form id="register-form" class="ui form" method="post" action="/c/{{ .ClanID }}">
|
||||
{{ ieForm .Gin }}
|
||||
</form>
|
||||
<div class="ui one item menu"><button tabindex="1" class="ui primary button" style="background-color:rgba(255,0,0,.5)" type="submit" form="register-form">{{ .T "Disband Clan" }}</button></div>
|
||||
<div class="ui one item menu"><button tabindex="1" class="ui primary button"
|
||||
style="background-color:rgba(255,0,0,.5)" type="submit"
|
||||
form="register-form">{{ .T "Disband Clan" }}</button></div>
|
||||
{{ else }}
|
||||
<form id="register-form" class="ui form" method="post" action="/c/{{ .ClanID }}">
|
||||
{{ ieForm .Gin }}
|
||||
</form>
|
||||
<div class="ui one item menu"><button tabindex="1" class="ui primary button" style="background-color:rgba(255,0,0,.3)" type="submit" form="register-form">{{ .T "Leave Clan" }}</button></div>
|
||||
<div class="ui one item menu"><button tabindex="1" class="ui primary button"
|
||||
style="background-color:rgba(255,0,0,.3)" type="submit"
|
||||
form="register-form">{{ .T "Leave Clan" }}</button></div>
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
<div class="ui one item menu" id="join-menu"><a class="item" style="background-color:rgba(255,0,0,.3)">Already joined a clan</a></div>
|
||||
<div class="ui one item menu" id="join-menu"><a class="item"
|
||||
style="background-color:rgba(255,0,0,.3)">Already joined a clan</a></div>
|
||||
{{end}}
|
||||
{{ else }}
|
||||
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
<div class="ui one item menu" id="join-menu"><a class="item" href="/login" style="background-color:rgba(0,128,255,.3)">Please login to join a clan</a></div>
|
||||
<div class="ui one item menu" id="join-menu"><a class="item" href="/login"
|
||||
style="background-color:rgba(0,128,255,.3)">Please login to join a clan</a></div>
|
||||
|
||||
{{ end }}
|
||||
<h1 class="ui heading">{{ .T "Clan Owner" }}</h1>
|
||||
|
|
Loading…
Reference in New Issue
Block a user