Compare commits

..

2 Commits

Author SHA1 Message Date
David Böhm
583b513510 Fixed links if partial rendered from model broadcast 2024-08-04 15:58:58 +02:00
David Böhm
2df2ced8b9 Small notice css change 2024-08-04 15:57:24 +02:00
2 changed files with 3 additions and 3 deletions

View File

@@ -16,9 +16,9 @@
<span class="p-1.5 text-xs font-medium uppercase tracking-wider bg-opacity-50 text-status-<%= job.status.to_sym %> bg-status-<%= job.status %>-light rounded-lg"><%= job.status %></span> <span class="p-1.5 text-xs font-medium uppercase tracking-wider bg-opacity-50 text-status-<%= job.status.to_sym %> bg-status-<%= job.status %>-light rounded-lg"><%= job.status %></span>
</td> </td>
<td class="p-3 text-sm text-left text-hsrm-gray whitespace-nowrap"> <td class="p-3 text-sm text-left text-hsrm-gray whitespace-nowrap">
<%= link_to "edit", edit_job_url(job), class: "p-1.5 ml-2 rounded-lg bg-gray-100 font-medium" %> <%= link_to "edit", edit_job_path(job), class: "p-1.5 ml-2 rounded-lg bg-gray-100 font-medium" %>
<% if job.able_to_cancel? %> <% if job.able_to_cancel? %>
<%= button_to "cancel", cancel_job_url(job), method: :patch, class: "p-1.5 ml-2 rounded-lg bg-gray-100 font-medium" %> <%= button_to "cancel", cancel_job_path(job), method: :patch, class: "p-1.5 ml-2 rounded-lg bg-gray-100 font-medium" %>
<% end %> <% end %>
</td> </td>
</tr> </tr>

View File

@@ -2,7 +2,7 @@
<div class="w-full"> <div class="w-full">
<div id="notice"> <div id="notice">
<% if notice.present? %> <% if notice.present? %>
<p class="p-4 bg-green-100 text-green-700 font-medium rounded-lg border-l-4"><%= notice %></p> <p class="p-4 bg-green-100 text-green-700 font-medium rounded-lg border-l-4 border-green-700"><%= notice %></p>
<% end %> <% end %>
</div> </div>
<% content_for :title, "Current Print Jobs" %> <% content_for :title, "Current Print Jobs" %>