Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-01-22 16:25:43 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-01-22 16:25:43 +0400
commit611c5a87ab0c083a43785323b09cc47f554c3ba4 (patch)
tree91665b75cf6a34c2d00c59546568de9550869816
parent3b91a103e023c1b5d013045ae06def1077a6988e (diff)
Version up to 2.1. Help page filled with simple workflow
-rw-r--r--VERSION2
-rw-r--r--app/assets/images/help_commit.pngbin0 -> 98025 bytes
-rw-r--r--app/assets/images/help_merge_request.pngbin0 -> 55785 bytes
-rw-r--r--app/assets/stylesheets/style.scss39
-rw-r--r--app/views/help/index.html.haml43
5 files changed, 83 insertions, 1 deletions
diff --git a/VERSION b/VERSION
index 654910cd09c..7ec1d6db408 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.1.0.pre
+2.1.0
diff --git a/app/assets/images/help_commit.png b/app/assets/images/help_commit.png
new file mode 100644
index 00000000000..e0a49b7123a
--- /dev/null
+++ b/app/assets/images/help_commit.png
Binary files differ
diff --git a/app/assets/images/help_merge_request.png b/app/assets/images/help_merge_request.png
new file mode 100644
index 00000000000..a6b5d3dfabd
--- /dev/null
+++ b/app/assets/images/help_merge_request.png
Binary files differ
diff --git a/app/assets/stylesheets/style.scss b/app/assets/stylesheets/style.scss
index c9262c4680c..4bb5fef9269 100644
--- a/app/assets/stylesheets/style.scss
+++ b/app/assets/stylesheets/style.scss
@@ -761,3 +761,42 @@ body, button, input, select, textarea {
padding:10px;
}
}
+
+.help_content {
+ margin:20px;
+ margin-top:71px;
+
+ h2 {
+ margin:0;
+ padding:0;
+ }
+
+ .menu {
+ float:left;
+ width:20%;
+
+ .active {
+ color: $active_bd_color;
+ }
+ }
+
+ .content {
+ float:right;
+ width:78%;
+ }
+
+ .bash {
+ @include round-borders-all(4px);
+ background:#eee;
+ padding:5px;
+ //overflow-x:scroll;
+ pre{
+ padding:0;
+ line-height:2.0;
+ margin:0;
+ font-family: 'Courier New', 'andale mono','lucida console',monospace;
+ color: #333;
+ text-align:left;
+ }
+ }
+}
diff --git a/app/views/help/index.html.haml b/app/views/help/index.html.haml
index e69de29bb2d..fd1f512bbd8 100644
--- a/app/views/help/index.html.haml
+++ b/app/views/help/index.html.haml
@@ -0,0 +1,43 @@
+- bash_lexer = Pygments::Lexer[:bash]
+%div.help_content
+ %h2
+ Gitlabhq
+ %span.right v2.1
+ %hr
+ %h3 Self Hosted Git Management
+ %h3 Fast, secure and stable solution based on Ruby on Rails & Gitolite.
+
+ %hr
+
+ .menu
+ %h3= link_to "Workflow", "#", :class => "active"
+
+ .content
+ %h3 Clone project
+ .bash
+ %pre
+ git clone git@example.com:project-name.git
+
+ %h3 Create branch with your feature
+ .bash
+ %pre
+ git checkout -b $feature_name
+
+ %h3 Write code. Commit changes
+ .bash
+ %pre
+ git commit -am "My feature is ready"
+
+ %h3 Push your branch to gitlabhq
+ .bash
+ %pre
+ git push origin $feature_name
+
+ %h3 Review your code
+ .bash= image_tag "help_commit.png", :width => 600
+
+
+ %h3 Open a merge request
+ .bash= image_tag "help_merge_request.png", :width => 600
+
+ %h3 Your team lead will review code &amp; merge it to main branch