1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Update according to mperham's feedback

This commit is contained in:
Romain Dardour 2012-10-26 14:51:16 +02:00
parent ae57151cf7
commit 401c9dbe5e
39 changed files with 12 additions and 15 deletions

View file

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

0
web/assets/images/bootstrap/glyphicons-halflings.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

0
web/assets/images/logo.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 4 KiB

After

Width:  |  Height:  |  Size: 4 KiB

0
web/assets/images/status-sd8051fd480.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

0
web/assets/images/status/active.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 2 KiB

0
web/assets/images/status/idle.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

6
web/assets/javascripts/application.js Normal file → Executable file
View file

@ -26,10 +26,11 @@ $(function() {
$('a[name=poll]').data('polling', false);
pollStatus = $('.poll-status')
pollStatusText = pollStatus.find('.text')
pollStatusBadge = pollStatus.find('.badge')
pollStatusBadge.hide();
pollStatusMarkup = pollStatus.html();
$('a[name=poll]').on('click', function(e) {
e.preventDefault();
@ -41,7 +42,7 @@ $(function() {
clearInterval(pollLink.data('interval'));
pollLink.text(pollLink.data('text'));
pollStatus.hide('');
pollStatus.html(pollStatusMarkup);
pollStatusBadge.hide();
} else {
@ -62,7 +63,6 @@ $(function() {
});
livePoll = function livePoll(href){
console.log('href',href)
$.get(href, function(data) {
var responseHtml = $(data);
$('.summary').replaceWith(responseHtml.find('.summary'));

0
web/assets/javascripts/vendor/bootstrap.js vendored Normal file → Executable file
View file

0
web/assets/javascripts/vendor/jquery.js vendored Normal file → Executable file
View file

0
web/assets/javascripts/vendor/jquery.timeago.js vendored Normal file → Executable file
View file

0
web/assets/stylesheets/application.css Normal file → Executable file
View file

0
web/assets/stylesheets/layout.css Normal file → Executable file
View file

0
web/assets/stylesheets/partials/_base.scss Normal file → Executable file
View file

0
web/assets/stylesheets/partials/_colors.scss Normal file → Executable file
View file

0
web/assets/stylesheets/partials/_fonts.scss Normal file → Executable file
View file

0
web/assets/stylesheets/partials/_h5bp.scss Normal file → Executable file
View file

6
web/assets/stylesheets/partials/_layout.scss Normal file → Executable file
View file

@ -102,8 +102,6 @@ header.row{
}
li{
padding:8px 0 5px 0;
border-bottom:1px solid #DDD;
@include box-shadow(0 1px 0 white);
}
.desc{
font-size:0.8em;
@ -113,6 +111,7 @@ header.row{
color: $highlight_color;
font-size: 1.5em;
font-weight:bold;
float:right;
}
}
.poll-status{
@ -133,10 +132,7 @@ form{
margin-right:5px;
}
}
<<<<<<< HEAD
=======
>>>>>>> Layout fixes
@media (max-width: 979px){
.navbar-fixed-top, .navbar-fixed-bottom{
margin: 0 -20px;

0
web/assets/stylesheets/partials/_navbar.scss Normal file → Executable file
View file

0
web/assets/stylesheets/partials/_normalize.scss Normal file → Executable file
View file

0
web/assets/stylesheets/partials/_prettify.css Normal file → Executable file
View file

0
web/assets/stylesheets/partials/_variables.scss Normal file → Executable file
View file

0
web/assets/stylesheets/public.scss Normal file → Executable file
View file

0
web/assets/stylesheets/style.scss Normal file → Executable file
View file

0
web/assets/stylesheets/vendor/bootstrap-responsive.css vendored Normal file → Executable file
View file

0
web/assets/stylesheets/vendor/bootstrap.css vendored Normal file → Executable file
View file

0
web/assets/stylesheets/vendors.scss Normal file → Executable file
View file

0
web/views/_nav.slim Normal file → Executable file
View file

0
web/views/_paging.slim Normal file → Executable file
View file

0
web/views/_status.slim Normal file → Executable file
View file

0
web/views/_summary.slim Normal file → Executable file
View file

0
web/views/_workers.slim Normal file → Executable file
View file

7
web/views/index.slim Normal file → Executable file
View file

@ -1,8 +1,9 @@
.row.header
.span7
h3 Workers
.span2.actions
form action="#{root_path}reset" method="post"
button.btn.btn.btn-primary.btn-block type="submit" title="If you kill -9 Sidekiq, this table can fill up with old data." Clear worker list
== slim :_workers
.row
.span2
form action="#{root_path}reset" method="post"
button.btn.btn-primary.btn-block type="submit" title="If you kill -9 Sidekiq, this table can fill up with old data." Clear worker list

8
web/views/layout.slim Normal file → Executable file
View file

@ -11,15 +11,15 @@ html
#page
.container
.row
.span3.summary_bar
.span2.summary_bar
h3
span.title Status
== slim :_status
== slim :_summary
.row
.span3
.span2
a.btn.btn-block name='poll' href='#{{root_path}}poll' Live Poll
.span3.poll-status
.span2.poll-status
p
span.text
span.badge
@ -32,7 +32,7 @@ html
span.desc Time
div.data #{Time.now.utc.strftime('%H:%M:%S UTC')}
.span9
.span10
== yield
script type="text/javascript" src="#{{root_path}}assets/application.js"

0
web/views/poll.slim Normal file → Executable file
View file

0
web/views/queue.slim Normal file → Executable file
View file

0
web/views/queues.slim Normal file → Executable file
View file

0
web/views/retries.slim Normal file → Executable file
View file

0
web/views/retry.slim Normal file → Executable file
View file

0
web/views/scheduled.slim Normal file → Executable file
View file