mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(fastapi): render Logged-in as page on authenticated /login
This was missed during the initial porting of the /login route. Modifications: ------------- - A form is now used for the [Logout] link and some css was needed to deal with positioning. Closes #186 Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
fd8d23a379
commit
9bfe2b07ba
4 changed files with 104 additions and 79 deletions
|
@ -232,7 +232,7 @@ input#search-action-submit {
|
|||
|
||||
/* Styling used to clone <a> styles for a form.link button. */
|
||||
form.link, form.link button {
|
||||
display: inline-block;
|
||||
display: inline;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
form.link button {
|
||||
|
@ -247,3 +247,11 @@ form.link button:hover {
|
|||
cursor: pointer;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Customize form.link when used inside of a page. */
|
||||
div.box form.link p {
|
||||
margin: .33em 0 1em;
|
||||
}
|
||||
div.box form.link button {
|
||||
padding: 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue