Skip to content

Commit

Permalink
Tooltips added for details table
Browse files Browse the repository at this point in the history
  • Loading branch information
bengtmagnus committed Jan 27, 2025
1 parent 633180c commit 41db737
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions static/js/queue.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ function updateQueue (all) {
}
if (all) {
let features = ''
features += item.durable ? ' D' : ''
features += item.auto_delete ? ' AD' : ''
features += item.exclusive ? ' E' : ''
document.getElementById('q-features').textContent = features
features += item.durable ? ' <span title="Durable">D</span>' : ''
features += item.auto_delete ? ' <span title="Auto delete">AD</span>' : ''
features += item.exclusive ? ' <span title="Exclusive">E</span>' : ''
document.getElementById('q-features').innerHTML = features
document.querySelector('#pagename-label').textContent = queue + ' in virtual host ' + item.vhost
document.querySelector('.queue').textContent = queue
if (item.policy) {
Expand Down
4 changes: 4 additions & 0 deletions static/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1368,6 +1368,10 @@ footer .logo {
color: #CDCBC9;
}

#q-features span {
cursor: help;
}

.small-table {
width: 50%;
max-width: 600px;
Expand Down

0 comments on commit 41db737

Please sign in to comment.