BigW Consortium Gitlab

show.html.haml 959 Bytes
Newer Older
1
- page_title "Find File", @ref
2
= render "projects/commits/head"
3

4
.file-finder-holder.tree-holder.clearfix.js-file-finder{ 'data-file-find-url': "#{escape_javascript(project_files_path(@project, @ref, @options.merge(format: :json)))}", 'data-find-tree-url': escape_javascript(project_tree_path(@project, @ref)), 'data-blob-url-template': escape_javascript(project_blob_path(@project, @id || @commit.id)) }
5
  .nav-block
6 7 8 9
    .tree-ref-holder
      = render 'shared/ref_switcher', destination: 'find_file', path: @path
    %ul.breadcrumb.repo-breadcrumb
      %li
10
        = link_to project_tree_path(@project, @ref) do
11 12
          = @project.path
      %li.file-finder
13
        %input#file_find.form-control.file-finder-input{ type: "text", placeholder: _('Find by path'), autocomplete: 'off' }
14

15
  .tree-content-holder
16
    .table-holder
17
      %table.table.files-slider{ class: "table_#{@hex_path} tree-table table-striped" }
18 19
        %tbody
      = spinner nil, true