api keys: rework API key UI.

* Add an explanation of what an API key is and how to use it.
* Make it possible for the site owner to view all API keys.
* Remove the requirement to re-enter your password before you can view
  your API key (to be reworked).
* Move the API key controller from maintenance/user/api_keys_controller.rb
  to a top level controller.
This commit is contained in:
evazion
2021-02-14 02:50:03 -06:00
parent ae204df4ca
commit 37061f95a6
18 changed files with 224 additions and 167 deletions

View File

@@ -55,3 +55,18 @@ footer#page-footer {
}
}
}
/* A container for the main <h1> tag, with optional right-aligned action buttons */
div.page-heading {
display: flex;
margin-bottom: 1em;
h1 {
flex-grow: 1;
line-height: 1em;
}
a {
align-self: center;
}
}