@7365admin1/layer-common 3.2.2-staging.87 → 3.2.2-staging.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/SiteSettings.vue +21 -8
- package/package.json +1 -1
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<v-row no-gutters>
|
|
3
|
-
|
|
3
|
+
<!--
|
|
4
|
+
The design draws settings as a stack of bordered sections with one open
|
|
5
|
+
at a time. `multiple` is BEHAVIOUR - which sections a user may have open
|
|
6
|
+
together - so it is left exactly as it was and only the drawing changes.
|
|
7
|
+
-->
|
|
8
|
+
<v-expansion-panels multiple v-model="openPanels" class="screen-accordion">
|
|
4
9
|
<!-- SITE SETTINGS -->
|
|
5
|
-
<v-expansion-panel v-if="canManageSiteInformation"
|
|
10
|
+
<v-expansion-panel v-if="canManageSiteInformation">
|
|
6
11
|
<v-expansion-panel-title>
|
|
7
12
|
<v-icon class="mr-2">mdi-cog</v-icon>
|
|
8
13
|
Site Information
|
|
@@ -22,7 +27,7 @@
|
|
|
22
27
|
<v-img v-if="coverPhotoUrl" :src="coverPhotoUrl" aspect-ratio="16/9" cover rounded="lg"
|
|
23
28
|
class="w-100 border" />
|
|
24
29
|
<div v-else
|
|
25
|
-
class="w-100 d-flex align-center justify-center rounded-lg
|
|
30
|
+
class="w-100 d-flex align-center justify-center rounded-lg border border-dashed site-settings__placeholder"
|
|
26
31
|
style="aspect-ratio: 16/9">
|
|
27
32
|
<span class="text-caption text-medium-emphasis">No cover photo uploaded</span>
|
|
28
33
|
</div>
|
|
@@ -76,7 +81,7 @@
|
|
|
76
81
|
</v-expansion-panel>
|
|
77
82
|
|
|
78
83
|
<!-- ANPR CAMERA -->
|
|
79
|
-
<v-expansion-panel v-if="showAnprCamera && canManageANPRCamera"
|
|
84
|
+
<v-expansion-panel v-if="showAnprCamera && canManageANPRCamera">
|
|
80
85
|
<v-expansion-panel-title>
|
|
81
86
|
<v-icon class="mr-2">mdi-camera</v-icon>
|
|
82
87
|
ANPR Camera
|
|
@@ -118,7 +123,7 @@
|
|
|
118
123
|
</v-expansion-panel>
|
|
119
124
|
|
|
120
125
|
<!-- CCTV CAMERA -->
|
|
121
|
-
<v-expansion-panel v-if="showCctvCamera && canManageCCTVCamera"
|
|
126
|
+
<v-expansion-panel v-if="showCctvCamera && canManageCCTVCamera">
|
|
122
127
|
<v-expansion-panel-title>
|
|
123
128
|
<v-icon class="mr-2">mdi-cctv</v-icon>
|
|
124
129
|
CCTV Camera
|
|
@@ -129,7 +134,7 @@
|
|
|
129
134
|
</v-expansion-panel-text>
|
|
130
135
|
</v-expansion-panel>
|
|
131
136
|
|
|
132
|
-
<v-expansion-panel v-if="showDeliveryCompanies && canManageDeliveryCompanies"
|
|
137
|
+
<v-expansion-panel v-if="showDeliveryCompanies && canManageDeliveryCompanies">
|
|
133
138
|
<v-expansion-panel-title>
|
|
134
139
|
<v-icon class="mr-2">mdi-truck</v-icon>
|
|
135
140
|
Delivery Companies
|
|
@@ -140,7 +145,7 @@
|
|
|
140
145
|
</v-expansion-panel-text>
|
|
141
146
|
</v-expansion-panel>
|
|
142
147
|
|
|
143
|
-
<v-expansion-panel v-if="showResidentVisitors && canManageResidentVisitors"
|
|
148
|
+
<v-expansion-panel v-if="showResidentVisitors && canManageResidentVisitors">
|
|
144
149
|
<v-expansion-panel-title>
|
|
145
150
|
<v-icon class="mr-2">mdi-car</v-icon>
|
|
146
151
|
Resident Visitors
|
|
@@ -150,7 +155,7 @@
|
|
|
150
155
|
</v-expansion-panel-text>
|
|
151
156
|
</v-expansion-panel>
|
|
152
157
|
|
|
153
|
-
<v-expansion-panel
|
|
158
|
+
<v-expansion-panel>
|
|
154
159
|
<v-expansion-panel-title>
|
|
155
160
|
<v-icon class="mr-2">mdi-face-recognition</v-icon>
|
|
156
161
|
HID Face Reader
|
|
@@ -421,3 +426,11 @@ const saveANPRSettings = async () => {
|
|
|
421
426
|
}
|
|
422
427
|
};
|
|
423
428
|
</script>
|
|
429
|
+
|
|
430
|
+
<style scoped>
|
|
431
|
+
/* Was `bg-grey-lighten-4`: a literal light grey, so the empty cover-photo tile
|
|
432
|
+
stayed a white slab on the dark page. */
|
|
433
|
+
.site-settings__placeholder {
|
|
434
|
+
background: var(--thead);
|
|
435
|
+
}
|
|
436
|
+
</style>
|