mirror of
https://github.com/plausible/analytics.git
synced 2024-12-28 12:01:39 +03:00
c263df5805
* add basic ui * remove TODO * credo * allow folder upload * redirect external * mention folder, use folder icon for file picker * back to multiple file upload * mention zip * escape dots in archive filename
21 lines
725 B
Plaintext
21 lines
725 B
Plaintext
<div class="max-w-lg w-full mx-auto bg-white dark:bg-gray-800 shadow-md rounded p-6 mb-4 mt-8">
|
|
<h2 class="text-xl font-black dark:text-gray-100">Import from CSV files</h2>
|
|
|
|
<div class="my-3 space-y-1.5 text-sm text-gray-400">
|
|
<p>
|
|
Please ensure each file follows
|
|
<.styled_link href="https://plausible.io/docs/csv-import">
|
|
our CSV format guidelines.
|
|
</.styled_link>
|
|
</p>
|
|
|
|
<p>
|
|
You can upload multiple files simultaneously by either selecting them in the file dialog or dragging and dropping them into the designated area.
|
|
</p>
|
|
</div>
|
|
|
|
<%= live_render(@conn, PlausibleWeb.Live.CSVImport,
|
|
session: %{"site_id" => @site.id, "user_id" => @current_user.id}
|
|
) %>
|
|
</div>
|