diff --git a/cmd/server/assets/apikeys/index.html b/cmd/server/assets/apikeys/index.html
index dd2d8c19a..313835523 100644
--- a/cmd/server/assets/apikeys/index.html
+++ b/cmd/server/assets/apikeys/index.html
@@ -75,8 +75,9 @@
{{.APIKeyPreview}}
diff --git a/cmd/server/assets/apikeys/new.html b/cmd/server/assets/apikeys/new.html
index 994b846fc..daa5bf101 100644
--- a/cmd/server/assets/apikeys/new.html
+++ b/cmd/server/assets/apikeys/new.html
@@ -28,25 +28,18 @@ New API key
diff --git a/cmd/server/assets/apikeys/show.html b/cmd/server/assets/apikeys/show.html
index f9a9452db..e1a597ed0 100644
--- a/cmd/server/assets/apikeys/show.html
+++ b/cmd/server/assets/apikeys/show.html
@@ -26,17 +26,17 @@ {{$authApp.Name}} API key
{{if $apiKey}}
-
-
-
-
- This is your API key - it will only be displayed once. You
- must securely save this API key elsewhere!
-
+
+
+
+
+ This is your API key - it will only be displayed once. You
+ must securely save this API key elsewhere!
+
-
+
+
-
{{end}}
@@ -61,6 +61,8 @@ {{$authApp.Name}} API key
Device (can verify codes)
{{else if $authApp.IsAdminType}}
Admin (can issue codes)
+ {{else if $authApp.IsStatsType}}
+ Stats (can view stats)
{{else}}
Unknown
{{end}}
@@ -68,111 +70,113 @@ {{$authApp.Name}} API key
-
-
-
-
- Loading chart...
+ {{if $authApp.IsAdminType}}
+
-
-
-
-
-
-
-
-
- This chart reflects the number of codes issued by
- {{$authApp.Name}}.
-
-
- This chart does not include codes that were issued by users
- via the UI or codes that were issued using a different API key.
-
+
+
+
+
+
+
+ This chart reflects the number of codes issued by
+ {{$authApp.Name}}.
+
+
+ This chart does not include codes that were issued by users
+ via the UI or codes that were issued using a different API key.
+
+
-
-
-
-
-
+
+ }
+
+ {{end}}
|