summaryrefslogtreecommitdiff
path: root/app/views/projects/wikis/git_access.html.haml
blob: ba3f2cadc4811ca0c129ceb2d5ce995b64da2730 (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
- page_title "Git Access", "Wiki"
= render "header_title"

= render 'nav'
.row-content-block
  %span.oneline
    Git access for
    %strong= @project_wiki.path_with_namespace

  .pull-right
    = render "shared/clone_panel", project: @project_wiki

.git-empty.prepend-top-default
  %fieldset
    %legend Install Gollum:
    %pre.dark
      :preserve
        gem install gollum

    %legend Clone Your Wiki:
    %pre.dark
      :preserve
        git clone #{ content_tag(:span, default_url_to_repo(@project_wiki), class: 'clone')}
        cd #{h @project_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