Add WI entry sorting. Add new entry flash

This commit is contained in:
Cohee
2023-10-05 23:30:18 +03:00
parent 96be2ebf35
commit 85a63b3bb3
4 changed files with 94 additions and 17 deletions

View File

@ -12,7 +12,7 @@ export const PAGINATION_TEMPLATE = '<%= rangeStart %>-<%= rangeEnd %> of <%= tot
* Navigation options for pagination.
* @enum {number}
*/
export const navigation_option = { none: 0, previous: 1, last: 2, };
export const navigation_option = { none: -2000, previous: -1000, };
export function escapeHtml(str) {
return String(str).replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;');