updated templates && styles
This commit is contained in:
parent
0121873d35
commit
1a9f7fd72e
2 changed files with 15 additions and 0 deletions
|
@ -1,9 +1,16 @@
|
||||||
*{
|
*{
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||||
|
|
||||||
|
}
|
||||||
|
.content {
|
||||||
|
max-width: 500px;
|
||||||
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2{
|
h2{
|
||||||
|
padding-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
small{
|
small{
|
||||||
|
|
|
@ -8,6 +8,13 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<div class="content">
|
||||||
|
<h2>Online Members</h2>
|
||||||
|
<ul>
|
||||||
|
{{range .Clients}}
|
||||||
|
<li>{{.Nickname}}</li>
|
||||||
|
{{end}}
|
||||||
|
</ul>
|
||||||
<h2>{{.Server.Name}}</h2>
|
<h2>{{.Server.Name}}</h2>
|
||||||
<!-- <small>{{.Server.Version}}</small> -->
|
<!-- <small>{{.Server.Version}}</small> -->
|
||||||
{{$clients := .Clients}}
|
{{$clients := .Clients}}
|
||||||
|
@ -20,6 +27,7 @@
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
Loading…
Reference in a new issue