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

target_branch_dropdown.html.haml « fixtures « javascripts « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 821fb7940a0e4d252d14ad64489d88add8452ab2 (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
%form.js-edit-blob-form
  %input{type: 'hidden', name: 'target_branch', value: 'master'}
  %div
    .dropdown
      %button.dropdown-menu-toggle.js-project-branches-dropdown.js-target-branch{type: 'button', data: {toggle: 'dropdown', selected: 'master', field_name: 'target_branch', form_id: '.js-edit-blob-form'}}
      .dropdown-menu.dropdown-menu-selectable.dropdown-menu-paging
        .dropdown-page-one
          .dropdown-title 'Select branch'
          .dropdown-input
            %input.dropdown-input-field{type: 'search', value: ''}
            %i.fa.fa-search.dropdown-input-search
            %i.fa.fa-times-dropdown-input-clear.js-dropdown-input-clear{role: 'button'}
          .dropdown-content
          .dropdown-footer
            %ul.dropdown-footer-list
              %li
                %a.create-new-branch.dropdown-toggle-page{href: "#"}
                  Create new branch
        .dropdown-page-two.dropdown-new-branch
          %button.dropdown-title-button.dropdown-menu-back{type: 'button'}
          .dropdown_title 'Create new branch'
          .dropdown_content
            %input#new_branch_name.default-dropdown-input{ type: "text", placeholder: "Name new branch" }
              %button.btn.btn-primary.pull-left.js-new-branch-btn{ type: "button" }
                Create
              %button.btn.btn-default.pull-right.js-cancel-branch-btn{ type: "button" }
                Cancel
  %button{type: 'submit'}