Made the elo system work. Colorized the leaderboard. Better data structure. Improved the HTML. Custom form system. Added Sessions
This commit is contained in:
@@ -8,12 +8,10 @@
|
||||
<title>QRank</title>
|
||||
|
||||
<!-- Also apple support -->
|
||||
<link rel="icon" type="image/png" href="/assets/favicon.ico">
|
||||
<link rel="apple-touch-icon" href="/assets/favicon.ico">
|
||||
<link rel="shortcut icon" href="/assets/favicon.ico">
|
||||
<link rel="icon" type="image/png" href="/assets/favicon.png">
|
||||
|
||||
<!-- Only one stylesheet for now -->
|
||||
<link rel="stylesheet" href="/assets/styles.css">
|
||||
<link rel="stylesheet" type="text/css" href="/assets/styles.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -38,15 +36,7 @@
|
||||
</div>
|
||||
<div class="container">
|
||||
<!-- Information messages for the user -->
|
||||
{{if .Error}}
|
||||
<div class="alert alert-error">{{.Error}}</div>
|
||||
{{end}}
|
||||
{{if .Success}}
|
||||
<div class="alert alert-success">{{.Success}}</div>
|
||||
{{end}}
|
||||
{{if .Message}}
|
||||
<div class="alert alert-info">{{.Message}}</div>
|
||||
{{end}}
|
||||
{{if .Message}}<div class="message">{{.Message}}</div>{{end}}
|
||||
|
||||
<!-- This is shorthand for a define along with a template -->
|
||||
{{block "content" .}}{{end}}
|
||||
|
||||
Reference in New Issue
Block a user