|
2 | 2 |
|
3 | 3 |
|
4 | 4 | @* Pantalla *@ |
5 | | -<div class="flex flex-grow flex-col w-full h-full overflow-hidden px-4 lg:px-6"> |
| 5 | +<div class="flex h-full w-full flex-grow flex-col overflow-hidden px-4 lg:px-6"> |
6 | 6 |
|
7 | 7 | @* Header. *@ |
8 | 8 | <LIN.Components.Layout.Header Tittle="Configuración" GoBack="true" /> |
|
15 | 15 | <div class="mt-3"> |
16 | 16 | <div class="flex flex-col justify-center py-4"> |
17 | 17 |
|
18 | | - <div class="flex items-center justify-center flex-col w-full"> |
| 18 | + <div class="flex w-full flex-col items-center justify-center"> |
19 | 19 |
|
20 | 20 | <div class="w-full"> |
21 | | - <label for="small-input" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Nombre</label> |
22 | | - <input @bind=Name type="text" id="small-input" class="block w-full appearance-none rounded-md border border-gray-200 bg-gray-50 p-2 text-gray-900 placeholder-gray-400 focus:border-current-500 focus:bg-white focus:outline-none focus:ring-current-500 sm:text-xs dark:bg-zinc-900 focus:dark:bg-[#323232] dark:border-zinc-700 dark:text-gray-100"> |
| 21 | + <label for="small-input" class="mb-2 block text-sm font-medium text-gray-900 dark:text-white">Nombre</label> |
| 22 | + <input @bind=Name type="text" id="small-input" class="block w-full appearance-none rounded-md border border-gray-200 bg-gray-50 p-2 text-gray-900 placeholder-gray-400 focus:border-current-500 focus:bg-white focus:outline-none focus:ring-current-500 dark:bg-zinc-900 dark:border-zinc-700 dark:text-gray-100 sm:text-xs focus:dark:bg-[#323232]"> |
23 | 23 | </div> |
24 | 24 |
|
25 | | - <div class="w-full mt-3.5"> |
26 | | - <label for="small-input" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Descripción</label> |
27 | | - <input @bind=Description type="text" id="small-input" class="block w-full appearance-none rounded-md border border-gray-200 bg-gray-50 p-2 text-gray-900 placeholder-gray-400 focus:border-current-500 focus:bg-white focus:outline-none focus:ring-current-500 sm:text-xs dark:bg-zinc-900 focus:dark:bg-[#323232] dark:border-zinc-700 dark:text-gray-100"> |
| 25 | + <div class="mt-3.5 w-full"> |
| 26 | + <label for="small-input" class="mb-2 block text-sm font-medium text-gray-900 dark:text-white">Descripción</label> |
| 27 | + <input @bind=Description type="text" id="small-input" class="block w-full appearance-none rounded-md border border-gray-200 bg-gray-50 p-2 text-gray-900 placeholder-gray-400 focus:border-current-500 focus:bg-white focus:outline-none focus:ring-current-500 dark:bg-zinc-900 dark:border-zinc-700 dark:text-gray-100 sm:text-xs focus:dark:bg-[#323232]"> |
28 | 28 | </div> |
29 | 29 |
|
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | 30 | </div> |
36 | 31 |
|
37 | 32 |
|
|
49 | 44 |
|
50 | 45 |
|
51 | 46 | @* Total de resultados. *@ |
52 | | - <label class="text-zinc-400 text-sm">Se encontraron @(Response?.Models.Count ?? 0) resultados</label> |
| 47 | + <label class="text-sm text-zinc-400">Se encontraron @(Response?.Models.Count ?? 0) resultados</label> |
53 | 48 |
|
54 | 49 | </div> |
55 | 50 |
|
56 | 51 |
|
57 | 52 | @* Componentes. *@ |
58 | | - <div class="flex-1 overflow-auto gap-2 UIScroll"> |
| 53 | + <div class="flex-1 UIScroll gap-2 overflow-auto"> |
59 | 54 |
|
60 | 55 |
|
61 | 56 | @* Componentes. *@ |
|
81 | 76 | @* Cargando *@ |
82 | 77 | @if (Response == null || IsLoading) |
83 | 78 | { |
84 | | - <div class="w-full flex items-center justify-center"> |
| 79 | + <div class="flex w-full items-center justify-center"> |
85 | 80 | <Loader /> |
86 | 81 | </div> |
87 | 82 | } |
|
99 | 94 | @* No hay elementos *@ |
100 | 95 | @if (Response.Models.Count <= 0) |
101 | 96 | { |
102 | | - <div class="flex rounded-lg justify-center items-center border-dashed border-2 border-zinc-300 w-full py-7 mt-3 dark:border-gray-400"> |
| 97 | + <div class="border-2 mt-3 flex w-full items-center justify-center rounded-lg border-dashed border-zinc-300 py-7 dark:border-gray-400"> |
103 | 98 | <label class="text-zinc-400 dark:text-gray-200">No tienes ningún producto</label> |
104 | 99 | </div> |
105 | 100 | } |
|
120 | 115 | @* Otros *@ |
121 | 116 | default: |
122 | 117 | { |
123 | | - <div class="flex rounded-lg justify-center items-center border-dashed border-2 border-zinc-300 w-full py-7 mt-3 dark:border-gray-400"> |
| 118 | + <div class="border-2 mt-3 flex w-full items-center justify-center rounded-lg border-dashed border-zinc-300 py-7 dark:border-gray-400"> |
124 | 119 | <label class="text-zinc-400 dark:text-gray-200">Error al obtener los productos</label> |
125 | 120 | </div> |
126 | 121 | break; |
|
0 commit comments