github.com/Azareal/Gosora@v0.0.0-20210729070923-553e66b59003/templates/widget_online.html (about)

     1  <div class="rowblock rowhead widget_online">
     2  	<div class="rowitem"><h1>{{.Name}}</h1></div>
     3  </div>
     4  <div class="rowblock rowlist bgavatars not_grid widget_online">
     5  	{{if lt .UserCount 30}}
     6  	{{range .Users}}<div class="rowitem"style="background-image:url('{{.Avatar}}');">
     7  		<img src="{{.Avatar}}"class="bgsub"alt="Avatar"aria-hidden="true">
     8  		<a class="rowTitle"href="{{.Link}}">{{.Name}}</a>
     9  	</div>
    10  	{{else}}<div class="rowitem rowmsg">{{lang "widget.online_none_online"}}</div>{{end}}
    11  	{{else}}<div class="rowitem rowmsg">{{langf "widget.online_some_online" .UserCount}}</div>{{end}}
    12  </div>