mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 23:12:33 -05:00
adjust native
This commit is contained in:
1 parent
6f31bd7af8
commit
66758d45bc
21 files changed
+379
-64
No files matched your search
@@ -1,3 +1,5 @@
|
||||
<infinite-scroll id="infinite_scroll" class="<%= pagy.next ? 'col-span-full flex justify-center py-2' : 'hidden' %>" data-limit="<%= pagy.page * pagy.limit %>" data-src="<%= url_for(params: request.query_parameters.merge(local_assigns[:query_params].to_h).merge('page' => pagy.next)) if pagy.next %>">
|
||||
<%= svg_icon('loader', class: 'w-6 h-6 animate-spin') if pagy.next %>
|
||||
</infinite-scroll>
|
||||
<% if pagy.next || pagy.page > 1 %>
|
||||
<infinite-scroll id="infinite_scroll" class="col-span-full flex justify-center py-2" data-limit="<%= pagy.page * pagy.limit if pagy.page > 1 %>" data-src="<%= url_for(params: request.query_parameters.merge(local_assigns[:query_params].to_h).merge('page' => pagy.next)) if pagy.next %>">
|
||||
<%= svg_icon('loader', class: 'w-6 h-6 animate-spin') %>
|
||||
</infinite-scroll>
|
||||
<% end %>
|
||||
@@ -1,3 +1,4 @@
|
||||
<script type="application/json" id="native_path_configuration"><%= render partial: 'layouts/native_path_configuration', formats: :json %></script>
|
||||
<% if signed_in? %>
|
||||
<native-action data-placement="profile" data-icon="user">
|
||||
<%= link_to t('profile'), settings_profile_index_path %>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<% if turbo_native_app? && !turbo_frame_request? %>
|
||||
<% if turbo_native_ios? || (turbo_native_app? && !turbo_frame_request?) %>
|
||||
<% content_for(:native_modal, 'true') %>
|
||||
<% content_for(:html_title, local_assigns[:title]) if local_assigns[:title] %>
|
||||
<turbo-frame id="modal">
|
||||
<native-modal class="block max-w-lg mx-auto pb-6" data-close-after-submit="<%= local_assigns.key?(:close_after_submit) ? local_assigns[:close_after_submit] : true %>">
|
||||
|
||||
Reference in new issue
Block a user