-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
134 additions
and
23 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/dash/favicon.ico><title>dash</title><link rel=stylesheet href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css><link href=/dash/css/app.d43809be.css rel=preload as=style><link href=/dash/css/chunk-vendors.604e650f.css rel=preload as=style><link href=/dash/js/app.d33ea983.js rel=preload as=script><link href=/dash/js/chunk-vendors.6963660c.js rel=preload as=script><link href=/dash/css/chunk-vendors.604e650f.css rel=stylesheet><link href=/dash/css/app.d43809be.css rel=stylesheet></head><body><noscript><strong>We're sorry but dash doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/dash/js/chunk-vendors.6963660c.js></script><script src=/dash/js/app.d33ea983.js></script></body></html> | ||
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/dash/favicon.ico><title>dash</title><link rel=stylesheet href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"><link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css><link href=/dash/css/app.0ade64ad.css rel=preload as=style><link href=/dash/css/chunk-vendors.604e650f.css rel=preload as=style><link href=/dash/js/app.1ecb4b3e.js rel=preload as=script><link href=/dash/js/chunk-vendors.6963660c.js rel=preload as=script><link href=/dash/css/chunk-vendors.604e650f.css rel=stylesheet><link href=/dash/css/app.0ade64ad.css rel=stylesheet></head><body><noscript><strong>We're sorry but dash doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/dash/js/chunk-vendors.6963660c.js></script><script src=/dash/js/app.1ecb4b3e.js></script></body></html> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
src/dash/src/components/Wizards/Helpers/BackgroundStyle.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<template> | ||
<v-radio-group v-model="background" row> | ||
<v-radio value="no" label="Aucun" /> | ||
<v-radio | ||
v-for="(backgroundData, backgroundName, index) in backgroundsList" | ||
v-bind:key="`background-${index}`" | ||
v-bind:value="`${backgroundName}.${backgroundData['ext']}`" | ||
> | ||
<template v-slot:label> | ||
<img v-if="backgroundData.thumb" v-bind:src="basePath + backgroundName + '-thumb.' + backgroundData.ext" /> | ||
<img v-else v-bind:src="basePath + backgroundName + '.' + backgroundData.ext" /> | ||
</template> | ||
</v-radio> | ||
</v-radio-group> | ||
</template> | ||
|
||
<script> | ||
import Communication from "@/libs/Communication"; | ||
export default { | ||
name: "BackgroundStyle", | ||
props: { | ||
value: { | ||
type: String, | ||
default: "no" | ||
} | ||
}, | ||
data: () => ({ | ||
basePath: "/data/backgrounds/", | ||
backgroundsList: [] | ||
}), | ||
mounted() { | ||
Communication.get("/api/dash/backgrounds", files => { | ||
console.log(this.value); | ||
this.backgroundsList = files; | ||
console.log(this.value); | ||
}); | ||
}, | ||
computed: { | ||
background: { | ||
get() { | ||
return this.value; | ||
}, | ||
set(newValue) { | ||
this.$emit("input", newValue); | ||
} | ||
} | ||
} | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters