Files
docuseal/app/views/esign_settings/index.html.erb
T

42 lines
1.9 KiB
Plaintext
Raw Normal View History

2023-06-03 00:16:38 +03:00
<div class="flex flex-wrap space-y-4 md:flex-nowrap md:space-y-0">
2023-06-01 01:13:12 +03:00
<%= render 'shared/settings_nav' %>
2023-06-03 00:16:38 +03:00
<div class="flex-grow max-w-xl mx-auto">
2023-06-30 01:26:13 +03:00
<h1 class="text-4xl font-bold mb-4">PDF Signature</h1>
2023-06-24 12:27:34 +03:00
<div id="result">
<p class="mb-2">
Upload signed PDF file to validate its signature:
</p>
</div>
<%= form_for '', url: settings_esign_index_path, method: :post, html: { enctype: 'multipart/form-data' } do |f| %>
2023-06-24 12:27:34 +03:00
<%= f.button type: 'submit', class: 'flex' do %>
<div class="disabled mb-3">
<%= svg_icon('loader', class: 'w-5 h-5 animate-spin inline') %>
Analyzing...
</div>
<% end %>
<file-dropzone data-is-direct-upload="false" data-name="verify_attachments" data-submit-on-upload="true" class="w-full">
2023-06-29 02:04:17 +03:00
<label for="file" class="w-full block h-32 relative bg-base-200 hover:bg-base-200/70 rounded-md border border-base-content border-dashed">
2023-06-24 12:27:34 +03:00
<div class="absolute top-0 right-0 left-0 bottom-0 flex items-center justify-center">
<div class="flex flex-col items-center">
<span data-target="file-dropzone.icon">
<%= svg_icon('cloud_upload', class: 'w-10 h-10') %>
</span>
<span data-target="file-dropzone.loading" class="hidden">
<%= svg_icon('loader', class: 'w-10 h-10 animate-spin') %>
</span>
<div class="font-medium mb-1">
Verify Signed PDF
</div>
<div class="text-xs">
2023-07-08 17:07:07 +03:00
<span class="font-medium">Click to upload</span> or drag and drop files
2023-06-24 12:27:34 +03:00
</div>
</div>
<input id="file" name="files[]" class="hidden" data-action="change:file-dropzone#onSelectFiles" data-target="file-dropzone.input" type="file" accept="application/pdf" multiple>
2023-06-24 12:27:34 +03:00
</div>
2023-06-01 01:13:12 +03:00
</label>
</file-dropzone>
<% end %>
2023-05-30 00:55:14 +03:00
</div>
2023-06-03 00:16:38 +03:00
<div class="w-0 md:w-52"></div>
2023-05-30 00:55:14 +03:00
</div>