mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-17 02:16:54 +00:00
That's a good stopping point
This commit is contained in:
parent
b0ae3c27c6
commit
a327f6cf57
5 changed files with 254 additions and 0 deletions
6
socketserver/cmd/statsweb/webroot/cal_entry.hbs
Normal file
6
socketserver/cmd/statsweb/webroot/cal_entry.hbs
Normal file
|
@ -0,0 +1,6 @@
|
|||
<td class="calentry {{if .NoData}}no_data{{end}}">
|
||||
<span class="date">{{.Date}}</span>
|
||||
{{if not .NoData}}
|
||||
<span class="uniqusers">{{.UniqUsers}}</span>
|
||||
{{end}}
|
||||
</td>
|
18
socketserver/cmd/statsweb/webroot/calendar.hbs
Normal file
18
socketserver/cmd/statsweb/webroot/calendar.hbs
Normal file
|
@ -0,0 +1,18 @@
|
|||
<table class="calendar">
|
||||
<thead>
|
||||
<th>Sunday</th>
|
||||
<th>Monday</th>
|
||||
<th>Tuesday</th>
|
||||
<th>Wednesday</th>
|
||||
<th>Thursday</th>
|
||||
<th>Friday</th>
|
||||
<th>Saturday</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{range .Weeks}}
|
||||
{{range .Days}}
|
||||
{{template "cal_entry"}}
|
||||
{{end}}
|
||||
{{end}}
|
||||
</tbody>
|
||||
</table>
|
15
socketserver/cmd/statsweb/webroot/layout.template.html
Normal file
15
socketserver/cmd/statsweb/webroot/layout.template.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Socket Server Stats Dashboard</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="header">
|
||||
{{template "header"}}
|
||||
</div>
|
||||
<div id="main">
|
||||
{{template "content"}}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue