Skip to content

Commit

Permalink
Merge pull request #14938 from ncounter/button-request-list
Browse files Browse the repository at this point in the history
  • Loading branch information
ncounter committed Sep 21, 2023
2 parents b49bd62 + cacf81c commit 5741403
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/api/app/assets/stylesheets/webui/datatables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ table.dataTable.table-sm {
}

.table-hover tbody tr:hover {
background-color: $gray-300;
background-color: $gray-100;
}

#projects-datatable_wrapper .dataTables_paginate {
Expand Down
9 changes: 9 additions & 0 deletions src/api/app/assets/stylesheets/webui/requests.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@
left: -2px;
}

.request_link {
@extend .d-block;
@extend .btn;
@extend .btn-link;
@extend .border;
max-width: 90px;
margin: auto;
}

@include media-breakpoint-up(sm) {
.order-sm-1 {
order: 1;
Expand Down
4 changes: 2 additions & 2 deletions src/api/app/views/webui/shared/bs_requests/index.json.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"<%= escape_javascript(new_or_update_request(row)) %>",
"<%= escape_javascript(row.priority) %>",
"<%= escape_javascript(link_to(
'<span class="fa-stack">
'<span class="fa-stack half-font-size me-2">
<i class="far fa-file fa-stack-2x"></i>
<i class="fas fa-search fa-stack-1x"></i>
</span>'.html_safe,
</span><span class="text-nowrap">View</span>'.html_safe,
request_show_path(row.number),
{ title: "Show request ##{row.number}", class: :request_link })) %>"
<% end %>
Expand Down

0 comments on commit 5741403

Please sign in to comment.