Преглед на файлове

feat: adiciona botao de adicionar na linha

ebagabee преди 1 седмица
родител
ревизия
2493cf63be
променени са 1 файла, в които са добавени 17 реда и са изтрити 17 реда
  1. 17 17
      src/pages/kanban/KanbanPage.vue

+ 17 - 17
src/pages/kanban/KanbanPage.vue

@@ -37,12 +37,23 @@
           <span class="text-weight-bold text-white" style="font-size: 14px">
           <span class="text-weight-bold text-white" style="font-size: 14px">
             {{ column.label }}
             {{ column.label }}
           </span>
           </span>
-          <q-badge
-            color="white"
-            :text-color="column.badgeTextColor"
-            :label="columnMap[column.phase].length"
-            style="font-size: 11px"
-          />
+          <div class="row items-center gap-xs">
+            <q-badge
+              color="white"
+              :text-color="column.badgeTextColor"
+              :label="columnMap[column.phase].length"
+              style="font-size: 11px"
+            />
+            <q-btn
+              flat
+              round
+              dense
+              icon="mdi-plus"
+              color="white"
+              size="sm"
+              @click="openDialog(null, column.phase)"
+            />
+          </div>
         </div>
         </div>
 
 
         <!-- Draggable card list -->
         <!-- Draggable card list -->
@@ -65,17 +76,6 @@
             />
             />
           </template>
           </template>
         </draggable>
         </draggable>
-
-        <!-- Add button -->
-        <q-btn
-          flat
-          color="grey-6"
-          icon="mdi-plus"
-          label="Adicionar"
-          class="q-mt-xs full-width"
-          style="border-radius: 8px; border: 1px dashed #ccc"
-          @click="openDialog(null, column.phase)"
-        />
       </div>
       </div>
     </div>
     </div>
   </div>
   </div>