diff --git a/app/assets/images/Gear-UI.PNG b/app/assets/images/Gear-UI.PNG index 1b4291ad8fb3be13ac030f650fb54741aa7b159e..c1d84e06da6f50f656780aaa2750950fcf0cf1f0 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 c6925c0edd279f9cc38cce949ad61586b4b17d52..f57f8d09c8643a3b21d35932cf8c5f2f90786d71 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 e00264986ac3b6176e59201f07016070469c13ea..0000000000000000000000000000000000000000 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 cb5d0590efadff8b35007ac6f6dc07b2d6d326c9..0000000000000000000000000000000000000000 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 316d5d4287a2766fa88ddf83b7c321e179e214b0..0000000000000000000000000000000000000000 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 ca9001b4c3c0f743016907e62eee9641c04faaf9..b8c938d0e2d3afa2a1ac101581f34e169b4cacd9 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 62ed6320db1f5f6daa24f6b4b8f8fad966dd99ce..8172a45a86d0633d86418d05ecb91a9df8f87740 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 d36b458da83afb9dec61004d91d125782152c413..0bf1bc18ece8625b3c8756fbfcc0b1f94112b5be 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