1
0
Fork 0
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:
Jonathan Hyman 2013-07-25 18:36:23 -04:00
parent 0ae5ba4d1d
commit d8cd87aa1e
5 changed files with 12 additions and 4 deletions

View file

@ -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
-----------

View file

@ -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;
}

View file

@ -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')}"

View file

@ -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

View file

@ -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