Application improvements

* Change favicon
* Display account banned status on admin search
* Pull in application version from Webpack
* Add "Feedback" button in footer and github references
* Fix faction icons to make them the same size
* PaginatedList component now supports back
* Tabbed navs support back
* Hide Pagination when only one page
* Improve admin table style and size
This commit is contained in:
Chord 2019-12-31 09:46:34 -05:00
parent 817796e181
commit fa6e168ccc
23 changed files with 244 additions and 158 deletions

View file

@ -350,7 +350,7 @@ export async function search(term, pagination) {
const values = ['%'+term.toUpperCase()+'%', start_id, pagination.items_per_page];
try {
const accounts = await pool.query('SELECT id, username, gm FROM accounts ' +
const accounts = await pool.query('SELECT id, username, gm, inactive FROM accounts ' +
'WHERE upper(username) LIKE $1 '+
` ORDER BY username OFFSET $2 LIMIT $3`, values);
const characters = await pool.query('SELECT id, name, account_id, faction_id FROM characters ' +