-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1ec386d
commit 08c28a2
Showing
9 changed files
with
247 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,25 @@ | ||
<%= turbo_frame_tag "project_directory" do %> | ||
<div class="border border-2 shadow p-3 mt-3 mb-5 bg-white rounded"> | ||
<div class="d-flex justify-content-left lead text-weight-800"> | ||
<strong>.../projects<%= @path.to_s.split('projects')[1] %></strong> | ||
<div class="d-flex justify-content-left lead text-weight-800"> | ||
<strong>.../projects<%= @path.to_s.split('projects')[1] %></strong> | ||
</div> | ||
<table class="table table-striped table-condensed w-100 table-hover caption-right"> | ||
<thead> | ||
<tr> | ||
<th><%= t('dashboard.type') %></span></th> | ||
<th><%= column_head_link(:name, sorting_params) %></th> | ||
<th><%= column_head_link(:size, sorting_params) %></th> | ||
<th><%= column_head_link(:date, sorting_params) %></th> | ||
<th><%= column_head_link(:owner, sorting_params) %></th> | ||
<th>Mode</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<%= render partial: "files", locals: { project: project, path: path, files: files, sorting_params: sorting_params } %> | ||
</tbody> | ||
</table> | ||
<div class="row content-justied-center col-6 mx-auto"> | ||
<div class="btn btn-primary"> | ||
<span><i class="fa fa-folder-open"></i> <%= files_button %></span> | ||
</div> | ||
<table class="table table-striped table-condensed w-100 table-hover caption-right"> | ||
<caption> | ||
<div class="my-2 btn btn-sm btn-primary"> | ||
<span><i class="fa fa-folder-open"></i> <%= files_button %></span> | ||
</div> | ||
</caption> | ||
<thead> | ||
<tr> | ||
<th><%= t('dashboard.type') %></span></th> | ||
<th><%= column_head_link(:name) %></th> | ||
<th><%= column_head_link(:size) %></th> | ||
<th><%= column_head_link(:date) %></th> | ||
<th><%= column_head_link(:owner) %></th> | ||
<th>Mode</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<%= render partial: "files", locals: { project: project, path: path, files: files, sorting_params: sorting_params } %> | ||
</tbody> | ||
</table> | ||
</div> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
<%= turbo_frame_tag "project_directory" do %> | ||
|
||
<div class="border border-2 shadow p-3 mt-3 mb-5 bg-white rounded"> | ||
<div class="h5 border-bottom border-1 pb-2"> | ||
<div class="row"> | ||
<div class="pl-2"> | ||
<%= link_to("", | ||
project_directory_path(project_id: @project.id, dir_path: "#{@path.parent}", sorting_params: @sorting_params), | ||
class: 'fa fa-window-close align-self-start button buttom-sm text-danger', | ||
data: { turbo_frame: "project_directory" } | ||
) | ||
%>  | ||
.../projects<%= @path.to_s.split('projects')[1] %> | ||
</div> | ||
<div class="h5 border-bottom border-1 pb-2"> | ||
<div class="row"> | ||
<div class="pl-2"> | ||
<%= link_to("", | ||
project_directory_path(project_id: @project.id, dir_path: "#{@path.parent}", sorting_params: @sorting_params), | ||
class: 'fa fa-window-close align-self-start button buttom-sm text-danger', | ||
data: { turbo_frame: "project_directory" } | ||
) | ||
%>  | ||
.../projects<%= @path.to_s.split('projects')[1] %> | ||
</div> | ||
</div> | ||
<div > | ||
<pre><%= @file %></pre> | ||
</div> | ||
<div> | ||
<div class="my-2 btn btn-sm btn-primary"> | ||
<span><i class="fa fa-folder-open"></i> <%= files_button %></span> | ||
</div> | ||
</div> | ||
<div > | ||
<pre><%= @file %></pre> | ||
</div> | ||
<hr> | ||
<div class="row content-justied-center col-6 mx-auto"> | ||
<div class="btn btn-sm btn-primary"> | ||
<span><i class="fa fa-folder-open"></i> <%= files_button %></span> | ||
</div> | ||
</div> | ||
<%- end -%> |
14 changes: 0 additions & 14 deletions
14
apps/dashboard/app/views/projects/_files_column_head.html.erb
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.