diff --git a/app/assets/images/Gear-UI.PNG b/app/assets/images/Gear-UI.PNG index 1b4291ad..c1d84e06 100644 Binary files a/app/assets/images/Gear-UI.PNG and b/app/assets/images/Gear-UI.PNG differ diff --git a/app/assets/images/Home-UI.PNG b/app/assets/images/Home-UI.PNG index c6925c0e..f57f8d09 100644 Binary files a/app/assets/images/Home-UI.PNG and b/app/assets/images/Home-UI.PNG differ diff --git a/app/assets/images/blueprint_notice.png b/app/assets/images/blueprint_notice.png deleted file mode 100644 index e0026498..00000000 Binary files a/app/assets/images/blueprint_notice.png and /dev/null differ diff --git a/app/assets/images/git.png b/app/assets/images/git.png deleted file mode 100644 index cb5d0590..00000000 Binary files a/app/assets/images/git.png and /dev/null differ diff --git a/app/assets/images/home.png b/app/assets/images/home.png deleted file mode 100644 index 316d5d42..00000000 Binary files a/app/assets/images/home.png and /dev/null differ diff --git a/app/assets/stylesheets/projects.css.scss b/app/assets/stylesheets/projects.css.scss index ca9001b4..b8c938d0 100644 --- a/app/assets/stylesheets/projects.css.scss +++ b/app/assets/stylesheets/projects.css.scss @@ -561,14 +561,10 @@ h4.middle-panel { margin:0px; font-size: 12px; - border-radius: 0px; - -moz-border-radius: 0px; + margin-right:10px; + border-radius: 4px; + -moz-border-radius: 4px; - -moz-border-radius-bottomleft: 4px; - -moz-border-radius-topleft: 4px; - - border-top-left-radius: 4px; - border-bottom-left-radius: 4px; color: #666; border: 1px solid #AAA; @@ -595,16 +591,16 @@ h4.middle-panel { .chzn-single { background:white; - -moz-border-radius: 0; - border-radius: 0; - -moz-border-radius-bottomright: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - border-bottom-right-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; div { background:white; } + + span { + font-weight: normal; + } } } diff --git a/app/assets/stylesheets/style.scss b/app/assets/stylesheets/style.scss index 62ed6320..8172a45a 100644 --- a/app/assets/stylesheets/style.scss +++ b/app/assets/stylesheets/style.scss @@ -565,7 +565,7 @@ input.search-input{ background-color: #FFF; padding: 5px; padding-left: 26px; - margin-top: 4px; + margin-top: 2px; margin-right: 10px; } /*input.search-input:focus{ background-color: white; width: 216px;}*/ @@ -637,18 +637,19 @@ body.project-page .project-sidebar aside{width: 109px} body.project-page .project-sidebar aside a{ display: block; position: relative; - background: #FFF; + //background: #FFF; padding: 15px 10px; - border: 1px solid #ccc; + //border: 1px solid #ccc; margin: 10px 20px 0 0; - border-radius:5px; + //border-radius:5px; } -body.project-page .project-sidebar aside a:hover{background-color: #FFFFFF;} +//body.project-page .project-sidebar aside a:hover{background-color: #FFFFFF;} body.project-page .project-sidebar aside a span.number{float: right; border-radius: 5px; text-shadow: none; background: rgba(0,0,0,.12); text-align: center; padding: 5px 8px; position: absolute; top: 10px; right: 10px} body.project-page .project-sidebar aside a.current { color: white; background: #79C3E0; border: 1px solid #2FA0BB; + border-radius:5px; } body.project-page .project-content{ padding: 20px; display: block; margin-left: 130px; min-height: 600px} body.project-page .project-content h2{ margin-top: 6px} diff --git a/app/models/repository.rb b/app/models/repository.rb index d36b458d..0bf1bc18 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -74,7 +74,9 @@ class Repository end def repo_exists? - repo rescue false + repo && !repo.branches.empty? + rescue + false end def tags