mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
No longer truncates arguments in sidekiq-web, instead uses overflow: scroll to let you see them.
This commit is contained in:
parent
0ae5ba4d1d
commit
d8cd87aa1e
5 changed files with 12 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
|||
2.13.1
|
||||
-----------
|
||||
- Make summary bar and graphs responsive [manishval] [#1025]
|
||||
- No longer truncates args in sidekiq-web, instead sets `overflow: scroll` [jonhyman]
|
||||
|
||||
2.13.0
|
||||
-----------
|
||||
|
|
|
@ -844,4 +844,8 @@ img.smallogo {
|
|||
.rickshaw_legend li:active {
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
border-radius: 3px;
|
||||
}
|
||||
}
|
||||
.args {
|
||||
overflow: scroll;
|
||||
max-height: 100px;
|
||||
}
|
||||
|
|
|
@ -27,7 +27,8 @@ header.row
|
|||
td
|
||||
a href="#{root_path}queues/#{msg['queue']}" #{msg['queue']}
|
||||
td= msg['class']
|
||||
td= display_args(msg['args'])
|
||||
td
|
||||
div.args=display_args(msg['args'])
|
||||
input.btn.btn-primary.btn-small.pull-left type="submit" name="retry" value="#{t('RetryNow')}"
|
||||
input.btn.btn-danger.btn-small.pull-left type="submit" name="delete" value="#{t('Delete')}"
|
||||
|
||||
|
|
|
@ -14,7 +14,8 @@ table class="retry table table-bordered table-striped"
|
|||
tr
|
||||
th = t('Arguments')
|
||||
td
|
||||
code= display_args(@retry['args'], 1000)
|
||||
code
|
||||
div.args=display_args(@retry['args'])
|
||||
tr
|
||||
th JID
|
||||
td
|
||||
|
|
|
@ -24,7 +24,8 @@ header.row
|
|||
td
|
||||
a href="#{root_path}queues/#{msg['queue']}" #{msg['queue']}
|
||||
td= msg['class']
|
||||
td= display_args(msg['args'])
|
||||
td
|
||||
div.args=display_args(msg['args'])
|
||||
input.btn.btn-danger.pull-right type="submit" name="delete" value="#{t('Delete')}"
|
||||
input.btn.btn-danger.pull-right type="submit" name="add_to_queue" value="#{t('AddToQueue')}"
|
||||
- else
|
||||
|
|
Loading…
Reference in a new issue