Quellcode durchsuchen

:memo: pairsview menu and icon work started #TODO add router navigation to icon images

tags/0.0.2^2
K Rob vor 3 Jahren
Ursprung
Commit
ca145abbd7
1 geänderte Dateien mit 15 neuen und 0 gelöschten Zeilen
  1. 15
    0
      frontend/src/components/PairsList.vue

+ 15
- 0
frontend/src/components/PairsList.vue Datei anzeigen

@@ -15,7 +15,12 @@ section.pairs-list
15 15
                 .idCard
16 16
                     h3 {{ pair.profile.name }} {{ pair.profile.pid }}
17 17
                     p registered nurse
18
+        
19
+        w-button.menu-button(icon="mdi mdi-menu" xl)
18 20
 
21
+        w-menu(activator=".menu-button" arrow right) 
22
+            w-image(:src="'../../../assets/icons/chat.svg'" :width="20" :height="20")
23
+            w-image(:src="'../../../assets/icons/calendar.svg'" :width="20" :height="20")
19 24
     p(v-else) No {{ tabName }} profiles.
20 25
 </template>
21 26
 
@@ -30,6 +35,7 @@ const props = defineProps({
30 35
         default: 'paired',
31 36
     },
32 37
 })
38
+
33 39
 </script>
34 40
 
35 41
 <style lang="sass">
@@ -56,4 +62,13 @@ const props = defineProps({
56 62
                 font-size: 16px
57 63
             p
58 64
                 font-size: 14px
65
+        
66
+.w-card__content
67
+    padding: 22px
68
+    min-width: 100px
69
+    display: flex
70
+    justify-content: space-between
71
+    border: none
72
+    background: rgb(17,96,6)
73
+    background: linear-gradient(90deg, rgba(17,96,6,1) 0%, rgba(17,96,6,1) 50%, rgba(3,136,166,1) 50%, rgba(3,136,166,1) 100%)
59 74
 </style>

Laden…
Abbrechen
Speichern