summaryrefslogtreecommitdiff
path: root/app/views/projects/wikis/git_access.html.haml
blob: 71e2b48d37070fefbf7840c9b535654d8717d9bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
= render 'nav'
%h3.page_title
  Git Access
  %strong= @gollum_wiki.path_with_namespace
  = render 'main_links'

%br
.content
  .project_clone_panel
    .row
      .span7
        .form-horizontal
          .input-prepend.project_clone_holder
            %button{class: "btn active", :"data-clone" => @gollum_wiki.ssh_url_to_repo} SSH
            %button{class: "btn", :"data-clone" => @gollum_wiki.http_url_to_repo}= Gitlab.config.gitlab.protocol.upcase
            = text_field_tag :project_clone, @gollum_wiki.url_to_repo, class: "one_click_select input-xxlarge", readonly: true
  .git-empty
    %fieldset
      %legend Install Gollum:
      %pre.dark
        :preserve
          gem install gollum

      %legend Clone Your Wiki:
      %pre.dark
        :preserve
          git clone #{@gollum_wiki.ssh_url_to_repo}
          cd #{@gollum_wiki.path}

      %legend Start Gollum And Edit Locally:
      %pre.dark
        :preserve
          gollum
          == Sinatra/1.3.5 has taken the stage on 4567 for development with backup from Thin
          >> Thin web server (v1.5.0 codename Knife)
          >> Maximum connections set to 1024
          >> Listening on 0.0.0.0:4567, CTRL+C to stop