mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Cleanup navigation for smaller screens
* Navbar becomes accordion when window width is <= 980px
This commit is contained in:
parent
66d3bf35fb
commit
d97300c4ab
4 changed files with 44 additions and 37 deletions
|
@ -1,6 +1,7 @@
|
|||
HEAD
|
||||
-----------
|
||||
|
||||
- Fix sidekiq-web's navbar on mobile devices and windows <= 980px (ezkl)
|
||||
- Fix Capistrano task for first deploys [#259]
|
||||
- Worker subclasses now properly inherit sidekiq\_options set in
|
||||
their superclass [#221]
|
||||
- Add random jitter to scheduler to spread polls across POLL\_INTERVAL
|
||||
|
|
|
@ -1,27 +1,6 @@
|
|||
/*
|
||||
*= require vendor/bootstrap
|
||||
*= require layout
|
||||
*= require vendor/bootstrap-responsive
|
||||
*= require_self
|
||||
*/
|
||||
body {
|
||||
position: relative;
|
||||
padding-top: 90px;
|
||||
}
|
||||
|
||||
td form {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
td form .btn {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
code {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
.hero-unit {
|
||||
padding: 30px;
|
||||
}
|
||||
|
|
22
web/assets/stylesheets/layout.css
Normal file
22
web/assets/stylesheets/layout.css
Normal file
|
@ -0,0 +1,22 @@
|
|||
body {
|
||||
position: relative;
|
||||
padding-top: 90px;
|
||||
}
|
||||
|
||||
td form {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
td form .btn {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
code {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
.hero-unit {
|
||||
padding: 30px;
|
||||
}
|
|
@ -7,22 +7,27 @@ html
|
|||
.navbar.navbar-fixed-top
|
||||
.navbar-inner
|
||||
.container
|
||||
a.btn.btn-navbar data-toggle="collapse" data-target=".nav-collapse"
|
||||
span.icon-bar
|
||||
span.icon-bar
|
||||
span.icon-bar
|
||||
a.brand href='#{{root_path}}'
|
||||
| Sidekiq
|
||||
ul.nav
|
||||
li
|
||||
a href='#{{root_path}}' Home
|
||||
li
|
||||
a href='#{{root_path}}queues' Queues
|
||||
li
|
||||
a href='#{{root_path}}retries' Retries
|
||||
li
|
||||
a href='#{{root_path}}scheduled' Scheduled
|
||||
ul.nav.pull-right
|
||||
li
|
||||
a Redis: #{location}
|
||||
li
|
||||
a #{Time.now.utc}
|
||||
div.nav-collapse
|
||||
ul.nav
|
||||
li
|
||||
a href='#{{root_path}}' Home
|
||||
li
|
||||
a href='#{{root_path}}queues' Queues
|
||||
li
|
||||
a href='#{{root_path}}retries' Retries
|
||||
li
|
||||
a href='#{{root_path}}scheduled' Scheduled
|
||||
ul.nav.pull-right
|
||||
li
|
||||
a Redis: #{location}
|
||||
li
|
||||
a #{Time.now.utc}
|
||||
|
||||
.container
|
||||
== yield
|
||||
|
|
Loading…
Reference in a new issue