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

new.html.haml « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ba389018d59c12cb0cecb515afcd996e651de244 (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
38
39
40
41
42
43
44
45
46
47
.project-edit-container
  .project-edit-errors
    = render 'projects/errors'
  .project-edit-content
    = form_for @project, remote: true do |f|
      .clearfix.project_name_holder
        = f.label :name do
          Project name is
        .input
          = f.text_field :name, placeholder: "Example Project", class: "xxlarge", tabindex: 1
          = f.submit 'Create project', class: "btn btn-create project-submit", tabindex: 3

      - if current_user.can_select_namespace?
        .clearfix
          = f.label :namespace_id do
            %span Namespace
          .input
            = f.select :namespace_id, namespaces_options(params[:namespace_id] || :current_user), {}, {class: 'chosen', tabindex: 2}

      .clearfix
        .input
          = link_to "#", class: 'appear-link' do
            %i.icon-upload-alt
            %span Import existing repository?
      .clearfix.appear-data.import-url-data
        = f.label :import_url do
          %span Import existing repo
        .input
          = f.text_field :import_url, class: 'xlarge', placeholder: 'https://github.com/randx/six.git'
          .light
            URL must be clonable

      %p.padded
        New projects are private by default. You choose who can see the project and commit to repository.
      %hr

      - if current_user.can_create_group?
        .clearfix
          .input.light
            Need a group for several dependent projects?
            = link_to new_group_path, class: "btn btn-tiny" do
              Create a group

.save-project-loader.hide
  %center
    = image_tag "ajax_loader.gif"
    %h3 Creating project & repository. Please wait a moment, this page will automatically refresh when ready.