This commit is contained in:
Your Name 2024-06-11 15:17:35 -04:00 committed by Henri Dickson
parent a6bd62b1a4
commit f9a76750a8
2 changed files with 2 additions and 1 deletions

View file

@ -47,6 +47,7 @@
}
.avatar {
height: calc(1rem * var(--pico-line-height) + var(--pico-nav-link-spacing-vertical) * 4);
max-height: calc(1rem * var(--pico-line-height) + var(--pico-nav-link-spacing-vertical) * 4);
max-width: calc(1rem * var(--pico-line-height) + var(--pico-nav-link-spacing-vertical) * 4);

View file

@ -52,7 +52,7 @@
readonly
value="{{ token | default:'Once generated, token will only be shown once here, previous tokens will be revoked.' }}">
<input type="submit"
{% if request.user.is_authenticated %}value="Generate"{% else %}value="Login to enerate" disabled{% endif %} />
{% if request.user.is_authenticated %}value="Generate"{% else %}value="Login to generate" disabled{% endif %} />
</form>
<p>
Click <code>Authorize</code> button below, input your token there to invoke APIs with your account, which is required for APIs like <code>/api/me</code>