Make device list live and add cursor pointer to breadcrumbs
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<div class="h-full w-full bg-gray-50 relative overflow-y-auto container mx-auto">
|
||||
<main>
|
||||
<div class="px-4 pt-8" id="container">
|
||||
<div hx-get="{{ url_for('devices') }}" hx-trigger="load">
|
||||
<div hx-get="{{ url_for('devices') }}" hx-trigger="load, every 5s">
|
||||
<div class="flex justify-center">
|
||||
<div role="status">
|
||||
<svg aria-hidden="true"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<ol class="inline-flex items-center space-x-1 md:space-x-3">
|
||||
<li class="inline-flex items-center">
|
||||
<a hx-get="{{ url_for('devices') }}" hx-push-url="true" hx-target="#container"
|
||||
class="inline-flex items-center text-sm font-medium text-gray-700 hover:text-blue-600 dark:text-gray-400 dark:hover:text-white">
|
||||
class="inline-flex items-center text-sm font-medium text-gray-700 hover:text-blue-600 dark:text-gray-400 dark:hover:text-white cursor-pointer">
|
||||
<svg aria-hidden="true" class="w-4 h-4 mr-2" fill="currentColor" viewBox="0 0 20 20"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<ol class="inline-flex items-center space-x-1 md:space-x-3">
|
||||
<li class="inline-flex items-center">
|
||||
<a hx-get="{{ url_for('devices') }}" hx-target="#container" class="inline-flex items-center text-sm font-medium text-gray-700 hover:text-blue-600
|
||||
dark:text-gray-400 dark:hover:text-white">
|
||||
dark:text-gray-400 dark:hover:text-white cursor-pointer">
|
||||
<svg aria-hidden="true" class="w-4 h-4 mr-2" fill="currentColor" viewBox="0 0 20 20"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
|
||||
Reference in New Issue
Block a user