debian-mirror-gitlab/app/views/projects/find_file/show.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
1.4 KiB
Text
Raw Normal View History

2020-07-28 23:09:34 +05:30
- page_title _("Find File"), @ref
2022-11-25 23:54:43 +05:30
- add_page_specific_style 'page_bundles/tree'
2022-08-13 15:12:31 +05:30
.file-finder-holder.tree-holder.clearfix.js-file-finder{ 'data-file-find-url': "#{escape_javascript(project_files_path(@project, @ref, format: :json))}", 'data-find-tree-url': escape_javascript(project_tree_path(@project, @ref)), 'data-blob-url-template': escape_javascript(project_blob_path(@project, @ref)) }
2016-06-02 11:05:42 +05:30
.nav-block
.tree-ref-holder
2023-04-23 21:23:45 +05:30
#js-blob-ref-switcher{ data: { project_id: @project.id, ref: @ref, namespace: "/-/find_file" } }
%ul.breadcrumb.repo-breadcrumb
2018-11-08 19:23:39 +05:30
%li.breadcrumb-item
2017-09-10 17:25:29 +05:30
= link_to project_tree_path(@project, @ref) do
= @project.path
2018-11-08 19:23:39 +05:30
%li.file-finder.breadcrumb-item
2017-09-10 17:25:29 +05:30
%input#file_find.form-control.file-finder-input{ type: "text", placeholder: _('Find by path'), autocomplete: 'off' }
2017-08-17 22:00:37 +05:30
.tree-content-holder
.table-holder
2018-11-20 20:47:30 +05:30
%table.table.files-slider{ class: "table_#{@hex_path} tree-table" }
%tbody
2019-12-21 20:55:43 +05:30
.col-12.empty-state.hidden
2023-07-09 08:55:56 +05:30
.svg-150.svg-content
= image_tag('illustrations/empty-state/empty-search-md.svg', alt: 'No files svg', lazy: true)
2019-12-21 20:55:43 +05:30
.text-center
%h4
= _('There are no matching files')
%p.text-secondary
= _('Try using a different search term to find the file you are looking for.')
2022-05-07 20:08:51 +05:30
= gl_loading_icon(size: 'md', css_class: 'gl-mt-3 loading')