]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add previews
authorJulius Härtl <jus@bitgrid.net>
Wed, 19 Aug 2020 15:00:04 +0000 (17:00 +0200)
committerJulius Härtl <jus@bitgrid.net>
Wed, 19 Aug 2020 15:07:30 +0000 (17:07 +0200)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
16 files changed:
apps/dashboard/img/previews/anatoly-mikhaltsov-butterfly-wing-scale.jpg [new file with mode: 0644]
apps/dashboard/img/previews/bernard-spragg-new-zealand-fern.jpg [new file with mode: 0644]
apps/dashboard/img/previews/bernie-cetonia-aurata-take-off-composition.jpg [new file with mode: 0644]
apps/dashboard/img/previews/dejan-krsmanovic-ribbed-red-metal.jpg [new file with mode: 0644]
apps/dashboard/img/previews/eduardo-neves-pedra-azul.jpg [new file with mode: 0644]
apps/dashboard/img/previews/european-space-agency-barents-bloom.jpg [new file with mode: 0644]
apps/dashboard/img/previews/hannes-fritz-flippity-floppity.jpg [new file with mode: 0644]
apps/dashboard/img/previews/hannes-fritz-roulette.jpg [new file with mode: 0644]
apps/dashboard/img/previews/hannes-fritz-sea-spray.jpg [new file with mode: 0644]
apps/dashboard/img/previews/kamil-porembinski-clouds.jpg [new file with mode: 0644]
apps/dashboard/img/previews/lali-masriera-yellow-bricks.jpg [new file with mode: 0644]
apps/dashboard/img/previews/nasa-waxing-crescent-moon.jpg [new file with mode: 0644]
apps/dashboard/img/previews/rawpixel-pink-tapioca-bubbles.jpg [new file with mode: 0644]
apps/dashboard/img/previews/tommy-chau-already.jpg [new file with mode: 0644]
apps/dashboard/img/previews/tommy-chau-lion-rock-hill.jpg [new file with mode: 0644]
apps/dashboard/src/components/BackgroundSettings.vue

diff --git a/apps/dashboard/img/previews/anatoly-mikhaltsov-butterfly-wing-scale.jpg b/apps/dashboard/img/previews/anatoly-mikhaltsov-butterfly-wing-scale.jpg
new file mode 100644 (file)
index 0000000..a749442
Binary files /dev/null and b/apps/dashboard/img/previews/anatoly-mikhaltsov-butterfly-wing-scale.jpg differ
diff --git a/apps/dashboard/img/previews/bernard-spragg-new-zealand-fern.jpg b/apps/dashboard/img/previews/bernard-spragg-new-zealand-fern.jpg
new file mode 100644 (file)
index 0000000..49844a6
Binary files /dev/null and b/apps/dashboard/img/previews/bernard-spragg-new-zealand-fern.jpg differ
diff --git a/apps/dashboard/img/previews/bernie-cetonia-aurata-take-off-composition.jpg b/apps/dashboard/img/previews/bernie-cetonia-aurata-take-off-composition.jpg
new file mode 100644 (file)
index 0000000..08fd5cf
Binary files /dev/null and b/apps/dashboard/img/previews/bernie-cetonia-aurata-take-off-composition.jpg differ
diff --git a/apps/dashboard/img/previews/dejan-krsmanovic-ribbed-red-metal.jpg b/apps/dashboard/img/previews/dejan-krsmanovic-ribbed-red-metal.jpg
new file mode 100644 (file)
index 0000000..b4430b2
Binary files /dev/null and b/apps/dashboard/img/previews/dejan-krsmanovic-ribbed-red-metal.jpg differ
diff --git a/apps/dashboard/img/previews/eduardo-neves-pedra-azul.jpg b/apps/dashboard/img/previews/eduardo-neves-pedra-azul.jpg
new file mode 100644 (file)
index 0000000..e62eb04
Binary files /dev/null and b/apps/dashboard/img/previews/eduardo-neves-pedra-azul.jpg differ
diff --git a/apps/dashboard/img/previews/european-space-agency-barents-bloom.jpg b/apps/dashboard/img/previews/european-space-agency-barents-bloom.jpg
new file mode 100644 (file)
index 0000000..d23a07e
Binary files /dev/null and b/apps/dashboard/img/previews/european-space-agency-barents-bloom.jpg differ
diff --git a/apps/dashboard/img/previews/hannes-fritz-flippity-floppity.jpg b/apps/dashboard/img/previews/hannes-fritz-flippity-floppity.jpg
new file mode 100644 (file)
index 0000000..2c6a91f
Binary files /dev/null and b/apps/dashboard/img/previews/hannes-fritz-flippity-floppity.jpg differ
diff --git a/apps/dashboard/img/previews/hannes-fritz-roulette.jpg b/apps/dashboard/img/previews/hannes-fritz-roulette.jpg
new file mode 100644 (file)
index 0000000..4d69e57
Binary files /dev/null and b/apps/dashboard/img/previews/hannes-fritz-roulette.jpg differ
diff --git a/apps/dashboard/img/previews/hannes-fritz-sea-spray.jpg b/apps/dashboard/img/previews/hannes-fritz-sea-spray.jpg
new file mode 100644 (file)
index 0000000..08b24f5
Binary files /dev/null and b/apps/dashboard/img/previews/hannes-fritz-sea-spray.jpg differ
diff --git a/apps/dashboard/img/previews/kamil-porembinski-clouds.jpg b/apps/dashboard/img/previews/kamil-porembinski-clouds.jpg
new file mode 100644 (file)
index 0000000..8103148
Binary files /dev/null and b/apps/dashboard/img/previews/kamil-porembinski-clouds.jpg differ
diff --git a/apps/dashboard/img/previews/lali-masriera-yellow-bricks.jpg b/apps/dashboard/img/previews/lali-masriera-yellow-bricks.jpg
new file mode 100644 (file)
index 0000000..01861cf
Binary files /dev/null and b/apps/dashboard/img/previews/lali-masriera-yellow-bricks.jpg differ
diff --git a/apps/dashboard/img/previews/nasa-waxing-crescent-moon.jpg b/apps/dashboard/img/previews/nasa-waxing-crescent-moon.jpg
new file mode 100644 (file)
index 0000000..8c46e37
Binary files /dev/null and b/apps/dashboard/img/previews/nasa-waxing-crescent-moon.jpg differ
diff --git a/apps/dashboard/img/previews/rawpixel-pink-tapioca-bubbles.jpg b/apps/dashboard/img/previews/rawpixel-pink-tapioca-bubbles.jpg
new file mode 100644 (file)
index 0000000..483c710
Binary files /dev/null and b/apps/dashboard/img/previews/rawpixel-pink-tapioca-bubbles.jpg differ
diff --git a/apps/dashboard/img/previews/tommy-chau-already.jpg b/apps/dashboard/img/previews/tommy-chau-already.jpg
new file mode 100644 (file)
index 0000000..46976b0
Binary files /dev/null and b/apps/dashboard/img/previews/tommy-chau-already.jpg differ
diff --git a/apps/dashboard/img/previews/tommy-chau-lion-rock-hill.jpg b/apps/dashboard/img/previews/tommy-chau-lion-rock-hill.jpg
new file mode 100644 (file)
index 0000000..59a3e13
Binary files /dev/null and b/apps/dashboard/img/previews/tommy-chau-lion-rock-hill.jpg differ
index 4fc23363ec3c56566f2355235619496f90e689ab..984bb438911bceb53da32cb0ddae618ced0940d6 100644 (file)
@@ -52,7 +52,7 @@
                        :class="{ 'icon-loading': loading === shippedBackground.name, active: background === shippedBackground.name }"
                        tabindex="0"
                        class="background"
-                       :style="{ 'background-image': 'url(' + shippedBackground.url + ')' }"
+                       :style="{ 'background-image': 'url(' + shippedBackground.preview + ')' }"
                        @click="setShipped(shippedBackground.name)"
                        @keyup.enter="setShipped(shippedBackground.name)"
                        @keyup.space="setShipped(shippedBackground.name)" />
@@ -87,6 +87,7 @@ export default {
                                return {
                                        name: item,
                                        url: prefixWithBaseUrl(item),
+                                       preview: prefixWithBaseUrl('previews/' + item),
                                        details: shippedBackgroundList[item],
                                }
                        })