mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-03-18 21:50:33 +01:00
jf_activity: paginated list in ui
added POST route for pagination to activity route, a count route, and modified Search and PaginatedList a bit to support lists without search fields (essentially just running an empty search). Visible by clicking on a user's name in the accounts tab.
This commit is contained in:
15
ts/modules/row.ts
Normal file
15
ts/modules/row.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
export abstract class TableRow {
|
||||
protected _row: HTMLTableRowElement;
|
||||
|
||||
remove() {
|
||||
this._row.remove();
|
||||
}
|
||||
asElement(): HTMLTableRowElement {
|
||||
return this._row;
|
||||
}
|
||||
|
||||
constructor() {
|
||||
this._row = document.createElement("tr");
|
||||
this._row.classList.add("border-b", "border-dashed", "dark:border-dotted", "dark:border-stone-700");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user