add "add device" button
Browse files- index.html +5 -1
- iot-dashboard.html +5 -1
index.html
CHANGED
|
@@ -148,8 +148,12 @@
|
|
| 148 |
<div class="bg-white dark:bg-gray-800 rounded-lg shadow p-6">
|
| 149 |
<h2 class="text-lg font-semibold mb-4">Quick Actions</h2>
|
| 150 |
<div class="grid grid-cols-2 gap-4">
|
|
|
|
|
|
|
|
|
|
|
|
|
| 151 |
<button class="bg-primary-500 hover:bg-primary-600 text-white p-4 rounded-lg flex flex-col items-center justify-center">
|
| 152 |
-
|
| 153 |
<span>Toggle Device</span>
|
| 154 |
</button>
|
| 155 |
<button class="bg-secondary-500 hover:bg-secondary-600 text-white p-4 rounded-lg flex flex-col items-center justify-center">
|
|
|
|
| 148 |
<div class="bg-white dark:bg-gray-800 rounded-lg shadow p-6">
|
| 149 |
<h2 class="text-lg font-semibold mb-4">Quick Actions</h2>
|
| 150 |
<div class="grid grid-cols-2 gap-4">
|
| 151 |
+
<button class="bg-blue-500 hover:bg-blue-600 text-white p-4 rounded-lg flex flex-col items-center justify-center">
|
| 152 |
+
<i data-feather="plus" class="w-6 h-6 mb-2"></i>
|
| 153 |
+
<span>Add Device</span>
|
| 154 |
+
</button>
|
| 155 |
<button class="bg-primary-500 hover:bg-primary-600 text-white p-4 rounded-lg flex flex-col items-center justify-center">
|
| 156 |
+
<i data-feather="power" class="w-6 h-6 mb-2"></i>
|
| 157 |
<span>Toggle Device</span>
|
| 158 |
</button>
|
| 159 |
<button class="bg-secondary-500 hover:bg-secondary-600 text-white p-4 rounded-lg flex flex-col items-center justify-center">
|
iot-dashboard.html
CHANGED
|
@@ -102,8 +102,12 @@
|
|
| 102 |
<i data-feather="plus" class="mr-2 h-4 w-4"></i>
|
| 103 |
Add Device
|
| 104 |
</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
</div>
|
| 106 |
-
|
| 107 |
|
| 108 |
<!-- Stats Cards -->
|
| 109 |
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
|
|
|
|
| 102 |
<i data-feather="plus" class="mr-2 h-4 w-4"></i>
|
| 103 |
Add Device
|
| 104 |
</button>
|
| 105 |
+
<button class="inline-flex items-center px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-green-500 hover:bg-green-600">
|
| 106 |
+
<i data-feather="upload" class="mr-2 h-4 w-4"></i>
|
| 107 |
+
Import
|
| 108 |
+
</button>
|
| 109 |
</div>
|
| 110 |
+
</div>
|
| 111 |
|
| 112 |
<!-- Stats Cards -->
|
| 113 |
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
|