mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
pkg_details: Convert most action links to forms
Use forms and POST instead of GET for following actions: * Flagging/Unflagging a package out-of-date * Voting for a package and removing votes * Enabling/Disabling notifications Use CSS to make the submit buttons of these forms look like links. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
be80aa0f01
commit
3bc951e3d8
2 changed files with 49 additions and 6 deletions
|
@ -14,3 +14,22 @@
|
|||
#pkg-stats td.stat-desc {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
#actionlist form {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#actionlist .text-button {
|
||||
color: #07b;
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
#actionlist .text-button:hover {
|
||||
text-decoration: underline;
|
||||
color: #666;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue