diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-04-09 16:58:54 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-04-21 19:28:17 +0300 |
commit | 26ea08c2b05b2050f16224f6dd729b195c9e5d5e (patch) | |
tree | df49d480ba543b00f789ba35620c074882db86e7 /app/assets | |
parent | b3e2939aa2904c92aba0399d511cb05228bfc9be (diff) | |
download | gitlab-ci-26ea08c2b05b2050f16224f6dd729b195c9e5d5e.tar.gz |
Improved runner page for project
* ability to add runner to several projects
* render runner status (online, offline, disabled)
* two column style of page: specific and shared runners
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/stylesheets/generic/common.scss | 27 | ||||
-rw-r--r-- | app/assets/stylesheets/sections/runners.scss | 22 |
2 files changed, 49 insertions, 0 deletions
diff --git a/app/assets/stylesheets/generic/common.scss b/app/assets/stylesheets/generic/common.scss index 1b6a90f..721d931 100644 --- a/app/assets/stylesheets/generic/common.scss +++ b/app/assets/stylesheets/generic/common.scss @@ -74,3 +74,30 @@ line-height: 1.6; } } + +/** light list with border-bottom between li **/ +ul.bordered-list { + margin: 5px 0px; + padding: 0px; + li { + padding: 5px 0; + border-bottom: 1px solid #EEE; + overflow: hidden; + display: block; + margin: 0px; + &:last-child { border:none } + &.active { + background: #f9f9f9; + a { font-weight: bold; } + } + } + + &.top-list { + li:first-child { + padding-top: 0; + h4, h5 { + margin-top: 0; + } + } + } +} diff --git a/app/assets/stylesheets/sections/runners.scss b/app/assets/stylesheets/sections/runners.scss index ae098fe..a9111a7 100644 --- a/app/assets/stylesheets/sections/runners.scss +++ b/app/assets/stylesheets/sections/runners.scss @@ -10,3 +10,25 @@ background: #3498db; } } + +.runner-status-online { + color: green; +} + +.runner-status-offline { + color: gray; +} + +.runner-status-paused { + color: red; +} + +.runner { + .btn { + padding: 1px 6px; + } + + h4 { + font-weight: normal; + } +} |