Add search for activity logs
This commit is contained in:
@@ -50,7 +50,8 @@
|
||||
{% if has_more %}
|
||||
<tr id="load-more-row">
|
||||
<td colspan="5" class="p-4 text-center">
|
||||
<button hx-get="{{ url_for('settings.settings_activity_logs', offset=offset + limit) }}"
|
||||
<button
|
||||
hx-get="{{ url_for('settings.settings_activity_logs', offset=offset + limit, search_query=search_query) }}"
|
||||
hx-target="#load-more-row" hx-swap="outerHTML"
|
||||
class="inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md text-cyan-700 bg-cyan-100 hover:bg-cyan-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-cyan-500 transition-colors">
|
||||
Load More...
|
||||
|
||||
Reference in New Issue
Block a user