mirror of
https://github.com/correl/melpa.git
synced 2024-12-22 11:08:54 +00:00
Use pointer cursor when hovering sortable table headings
This commit is contained in:
parent
ab8f52dde9
commit
bbb9f0da5e
2 changed files with 8 additions and 5 deletions
|
@ -37,4 +37,7 @@ a[name] { /* Stop navbar from hiding anchors */
|
|||
}
|
||||
.muted {
|
||||
color: #999;
|
||||
}
|
||||
.sortable {
|
||||
cursor: pointer;
|
||||
}
|
|
@ -208,12 +208,12 @@
|
|||
m("table#package-list.table.table-bordered.table-responsive.table-hover", [
|
||||
m("thead", [
|
||||
m("tr", [
|
||||
m("th", {onclick: sortToggler("name")}, ["Package", sortIndicator("name")]),
|
||||
m("th", {onclick: sortToggler("description")}, ["Description", sortIndicator("description")]),
|
||||
m("th", {onclick: sortToggler("version")}, ["Version", sortIndicator("version")]),
|
||||
m("th.sortable", {onclick: sortToggler("name")}, ["Package", sortIndicator("name")]),
|
||||
m("th.sortable", {onclick: sortToggler("description")}, ["Description", sortIndicator("description")]),
|
||||
m("th.sortable", {onclick: sortToggler("version")}, ["Version", sortIndicator("version")]),
|
||||
m("th", "Recipe"),
|
||||
m("th", {onclick: sortToggler("fetcher")}, ["Source", sortIndicator("fetcher")]),
|
||||
m("th", {onclick: sortToggler("downloads")}, ["DLs", sortIndicator("downloads")]),
|
||||
m("th.sortable", {onclick: sortToggler("fetcher")}, ["Source", sortIndicator("fetcher")]),
|
||||
m("th.sortable", {onclick: sortToggler("downloads")}, ["DLs", sortIndicator("downloads")]),
|
||||
])
|
||||
]),
|
||||
m("tbody",
|
||||
|
|
Loading…
Reference in a new issue