Added icons, helperfunction and new fancy notice message

Added icons from webcrunch resp. heroicons
Added helperfunction to display inline svg with the plugin inline-svg
Implemented fancy notice message webcrunch. Realy nice but does only
work with javascript on.
This commit is contained in:
2024-08-06 00:23:29 +02:00
parent 53e3f287ce
commit 19cf60c9a9
596 changed files with 1929 additions and 24 deletions

View File

@@ -1,10 +1,6 @@
<%= turbo_stream_from 'jobs' %>
<div class="w-full">
<div id="notice">
<% if notice.present? %>
<p class="p-4 bg-green-100 text-green-700 font-medium rounded-lg border-l-4 border-green-700"><%= notice %></p>
<% end %>
</div>
<%#= render partial: 'layouts/flash' %>
<% content_for :title, "Current Print Jobs" %>
<div class="flex justify-between items-center py-4">
<h1 class="font-bold text-hsrm-gray text-4xl">Aktuelle Plottaufträge <span class="font-semibold text-sm"><%= Date.today.strftime("%d.%m.%Y") %></span></h1>