|
|
|
|
@ -1,5 +1,4 @@
|
|
|
|
|
<% if Docuseal.demo? %><%= render 'shared/demo_alert' %><% end %>
|
|
|
|
|
<% if @pagy.count > 0 || params[:q].present? || @template_folders.present? %>
|
|
|
|
|
<div class="flex justify-between mb-4 items-center">
|
|
|
|
|
<h1 class="text-4xl font-bold"><span class="hidden md:inline">Document</span> Templates</h1>
|
|
|
|
|
<div class="flex space-x-2">
|
|
|
|
|
@ -79,23 +78,3 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<div class="card bg-base-200 h-96 mb-2">
|
|
|
|
|
<div class="card-body text-center">
|
|
|
|
|
<div class="flex items-center h-full">
|
|
|
|
|
<div class="mx-auto">
|
|
|
|
|
<div class="max-w-xl mx-auto">
|
|
|
|
|
<h1 class="text-5xl font-bold text-base-content">👋 Welcome to <%= Docuseal.product_name %></h1>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="max-w-lg mx-auto">
|
|
|
|
|
<p class="py-6 text-gray-600">Streamline document workflows, from creating customizable templates to filling and signing document forms</p>
|
|
|
|
|
<%= link_to new_template_path, class: 'base-button', data: { turbo_frame: :modal } do %>
|
|
|
|
|
<%= svg_icon('plus', class: 'w-6 h-6 stroke-2') %>
|
|
|
|
|
<span class="mr-1">Create Template</span>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|
|