mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-19 01:31:34 +00:00
Added db keys as hover message (title attrib) in
table headers of uploads lists. They will merely serve as reminders for those who want to use the sort keys. Fixed registration and token change dates displaying when unset. Bumped v1 version string and rebuilt client assets.
This commit is contained in:
parent
9c56dd327a
commit
8cd76a31f9
2
dist/js/dashboard.js
vendored
2
dist/js/dashboard.js
vendored
File diff suppressed because one or more lines are too long
2
dist/js/dashboard.js.map
vendored
2
dist/js/dashboard.js.map
vendored
File diff suppressed because one or more lines are too long
@ -732,13 +732,13 @@ page.getUploads = (params = {}) => {
|
||||
<thead>
|
||||
<tr>
|
||||
<th><input id="selectAll" class="checkbox" type="checkbox" title="Select all" data-action="select-all"></th>
|
||||
<th>File name</th>
|
||||
${params.album === undefined ? `<th>${params.all ? 'User' : 'Album'}</th>` : ''}
|
||||
${allAlbums ? '<th>Album</th>' : ''}
|
||||
<th>Size</th>
|
||||
${params.all ? '<th>IP</th>' : ''}
|
||||
<th>Upload date</th>
|
||||
${hasExpiryDateColumn ? '<th>Expiry date</th>' : ''}
|
||||
<th title="Key: name">File name</th>
|
||||
${params.album === undefined ? `<th title="Key: ${params.all ? 'userid">User' : 'albumid">Album'}</th>` : ''}
|
||||
${allAlbums ? '<th title="Key: albumid">Album</th>' : ''}
|
||||
<th title="Key: size">Size</th>
|
||||
${params.all ? '<th title="Key: ip">IP</th>' : ''}
|
||||
<th title="Key: timestamp">Upload date</th>
|
||||
${hasExpiryDateColumn ? '<th title="Key: expirydate">Expiry date</th>' : ''}
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -2061,12 +2061,12 @@ page.getUsers = (params = {}) => {
|
||||
<thead>
|
||||
<tr>
|
||||
<th><input id="selectAll" class="checkbox" type="checkbox" title="Select all" data-action="select-all"></th>
|
||||
<th>Username</th>
|
||||
<th title="Key: username">Username</th>
|
||||
<th>Uploads</th>
|
||||
<th>Usage</th>
|
||||
<th>Group</th>
|
||||
<th>Registration date</th>
|
||||
<th>Last token update</th>
|
||||
<th title="Key: permission">Group</th>
|
||||
<th title="Key: registration">Registration date</th>
|
||||
<th title="Key: timestamp">Last token update</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -2102,10 +2102,10 @@ page.getUsers = (params = {}) => {
|
||||
displayGroup
|
||||
}
|
||||
|
||||
const prettyDate = user.registration !== undefined
|
||||
const prettyDate = user.registration
|
||||
? page.getPrettyDate(new Date(user.registration * 1000))
|
||||
: '-'
|
||||
const prettyTokenUpdate = user.timestamp !== undefined
|
||||
const prettyTokenUpdate = user.timestamp
|
||||
? page.getPrettyDate(new Date(user.timestamp * 1000))
|
||||
: '-'
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"1": "1589649062",
|
||||
"1": "1589650309",
|
||||
"2": "1589010026",
|
||||
"3": "1581416390",
|
||||
"4": "1581416390",
|
||||
|
Loading…
Reference in New Issue
Block a user