summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-26 13:37:18 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-26 13:37:18 -0800
commit6a2384e0bc7d0b703c8f6af144c85af47eae6630 (patch)
tree278c629ca37a0460dfac76353a60fb495dc18338
parent3e47ea5064f7e93cadb0ef347dfa27517552a4a0 (diff)
downloadgitlab-ce-6a2384e0bc7d0b703c8f6af144c85af47eae6630.tar.gz
Make draft UI for creating new file in empty repository
-rw-r--r--app/assets/stylesheets/generic/buttons.scss5
-rw-r--r--app/views/projects/empty.html.haml11
2 files changed, 16 insertions, 0 deletions
diff --git a/app/assets/stylesheets/generic/buttons.scss b/app/assets/stylesheets/generic/buttons.scss
index d098f1ecaa2..3b360275065 100644
--- a/app/assets/stylesheets/generic/buttons.scss
+++ b/app/assets/stylesheets/generic/buttons.scss
@@ -173,6 +173,11 @@
margin-right: 0px;
}
}
+
+ &.btn-lg {
+ font-size: 15px;
+ line-height: 1.4;
+ }
}
.btn-block {
diff --git a/app/views/projects/empty.html.haml b/app/views/projects/empty.html.haml
index 2e46de6bfe0..3a42fce43e9 100644
--- a/app/views/projects/empty.html.haml
+++ b/app/views/projects/empty.html.haml
@@ -3,6 +3,17 @@
= render "home_panel"
+.center.well
+ %h3
+ The repository for this project is empty
+ %p.lead
+ You can
+ = link_to '#', class: 'btn btn-new btn-lg' do
+ add a file
+ &nbsp;or push it via command line.
+
+%h4
+ %strong Command line instructions
%div.git-empty
%fieldset
%legend Git global setup