Merge latest
This commit is contained in:
7 files changed
+15
-23
No files matched your search
@@ -10,7 +10,7 @@
|
||||
|
||||
<!-- Main display -->
|
||||
<section>
|
||||
<div class="mt-2 max-w-md mx-auto bg-white px-8 py-6 rounded-lg shadow-md flex flex-col justify-center">
|
||||
<div class="my-2 mx-4 md:max-w-md md:mx-auto bg-white px-8 py-6 rounded-lg shadow-md flex flex-col justify-center">
|
||||
<div class="flex flex-row justify-between text-right">
|
||||
<h1 class="text-lg font-medium">Assets:</h1>
|
||||
<h1 class="text-lg font-medium"><%= assets.length %></h1>
|
||||
@@ -24,13 +24,14 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="w-md my-6 max-w-md mx-auto px-4 flex flex-row justify-between">
|
||||
<div class="my-6 md:w-md md:mx-auto px-4 flex flex-row justify-between">
|
||||
<button
|
||||
id="dropdown-filters-button"
|
||||
value=""
|
||||
data-dropdown-toggle="dropdown-filters"
|
||||
class="text-center w-sm py-2 py-2 mx-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-blue-600
|
||||
hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 cursor-pointer"
|
||||
class="text-center w-sm py-2 mx-2 px-4 border
|
||||
border-transparent rounded-md shadow-sm text-sm font-medium
|
||||
text-white bg-blue-600 hover:bg-blue-700 focus:outline-none cursor-pointer"
|
||||
type="button"
|
||||
>
|
||||
<span class="inline-flex items-center">
|
||||
@@ -64,6 +65,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<button
|
||||
class="text-center w-sm py-2 py-2 mx-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-blue-600
|
||||
hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 cursor-pointer"
|
||||
@@ -77,7 +79,7 @@
|
||||
<hr class="h-px my-8 bg-gray-500 border-0 mx-10">
|
||||
|
||||
<!-- list each asset and create hidden popup modal for view/edit -->
|
||||
<section class="mt-6">
|
||||
<section class="my-6 mx-4">
|
||||
<% if (assets.length == 0) { %>
|
||||
<div class="max-w-md mx-auto mb-10 rounded-lg shadow-md text-white font-bold bg-red-400 py-4 text-center">
|
||||
You have no assets, create a new asset.
|
||||
|
||||
Reference in new issue
Block a user