diff --git a/.github/workflows/configurator.yml b/.github/workflows/web.yml similarity index 83% rename from .github/workflows/configurator.yml rename to .github/workflows/web.yml index 930cc37..e518387 100644 --- a/.github/workflows/configurator.yml +++ b/.github/workflows/web.yml @@ -1,4 +1,4 @@ -name: Configurator deployer +name: Web deployer on: push: @@ -16,7 +16,7 @@ jobs: defaults: run: - working-directory: ./configurator + working-directory: ./web steps: - name: Checkout code @@ -36,4 +36,4 @@ jobs: - name: Deploy uses: JamesIves/github-pages-deploy-action@v4 with: - folder: ./configurator/.output/public + folder: ./web/.output/public diff --git a/README.md b/README.md index 8174d37..b6c429a 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ If you have any existing VCF files from the [original author](https://github.com In both cases, it's probably best to re-create them by either writing them yourself OR... use the convient configuration GUI! Using this tool, you can easily generate configuration files for your vehicles. You can find it here: -[![Open VCF Configurator](https://dabuttonfactory.com/button.png?t=MISS+ELS+VCF+Configurator&f=Open+Sans-Bold&ts=16&tc=fff&hp=45&vp=20&c=10&bgt=unicolored&bgc=1a37a8&be=1&bs=1&bc=fff)](https://matsn0w.github.io/MISS-ELS) +[![Open VCF Configurator](https://dabuttonfactory.com/button.png?t=MISS+ELS+VCF+Configurator&f=Open+Sans-Bold&ts=16&tc=fff&hp=45&vp=20&c=10&bgt=unicolored&bgc=1a37a8&be=1&bs=1&bc=fff)](https://matsn0w.github.io/MISS-ELS/configurator) ## 💭 Questions or problems? diff --git a/configurator/components/lights.vue b/configurator/components/lights.vue deleted file mode 100644 index 96ea2d8..0000000 --- a/configurator/components/lights.vue +++ /dev/null @@ -1,103 +0,0 @@ - - - diff --git a/configurator/components/statics.vue b/configurator/components/statics.vue deleted file mode 100644 index 245afb1..0000000 --- a/configurator/components/statics.vue +++ /dev/null @@ -1,83 +0,0 @@ - - - diff --git a/configurator/public/favicon.ico b/configurator/public/favicon.ico deleted file mode 100644 index 18993ad..0000000 Binary files a/configurator/public/favicon.ico and /dev/null differ diff --git a/docs/adding_vcfs.md b/docs/adding_vcfs.md index 0394337..46cd72d 100644 --- a/docs/adding_vcfs.md +++ b/docs/adding_vcfs.md @@ -3,7 +3,7 @@ In order to 'install' a new VCF for a vehicle, you have to perform some steps. Don't worry, you'll get it once you've done it a couple of times! 1. Make sure the vehicle has some extras to work with -2. Create a new VCF, either by using [the Configurator](https://matsn0w.github.io/MISS-ELS) or by writing it yourself +2. Create a new VCF, either by using [the Configurator](https://matsn0w.github.io/MISS-ELS/configurator) or by writing it yourself 3. Save the file in `.../your resource/xmlFiles/`, make sure it is an `.xml` file 4. Restart the MISS ELS resource if it was currently running diff --git a/configurator/.gitignore b/web/.gitignore similarity index 100% rename from configurator/.gitignore rename to web/.gitignore diff --git a/configurator/.npmrc b/web/.npmrc similarity index 100% rename from configurator/.npmrc rename to web/.npmrc diff --git a/configurator/README.md b/web/README.md similarity index 95% rename from configurator/README.md rename to web/README.md index 0496ac8..3f02dac 100644 --- a/configurator/README.md +++ b/web/README.md @@ -1,4 +1,4 @@ -# MISS ELS VCF Configurator +# MISS-ELS web Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more. diff --git a/configurator/app.vue b/web/app.vue similarity index 100% rename from configurator/app.vue rename to web/app.vue diff --git a/configurator/assets/css/main.scss b/web/assets/css/main.scss similarity index 100% rename from configurator/assets/css/main.scss rename to web/assets/css/main.scss diff --git a/web/assets/images/MISS-ELS.png b/web/assets/images/MISS-ELS.png new file mode 100644 index 0000000..9e5c8c3 Binary files /dev/null and b/web/assets/images/MISS-ELS.png differ diff --git a/configurator/components/LocalStorageButton.vue b/web/components/LocalStorageButton.vue similarity index 100% rename from configurator/components/LocalStorageButton.vue rename to web/components/LocalStorageButton.vue diff --git a/configurator/components/importButton.vue b/web/components/importButton.vue similarity index 100% rename from configurator/components/importButton.vue rename to web/components/importButton.vue diff --git a/web/components/lights.vue b/web/components/lights.vue new file mode 100644 index 0000000..c01d52e --- /dev/null +++ b/web/components/lights.vue @@ -0,0 +1,162 @@ + + + diff --git a/configurator/components/patterns.vue b/web/components/patterns.vue similarity index 82% rename from configurator/components/patterns.vue rename to web/components/patterns.vue index 39ad373..58ac9c0 100644 --- a/configurator/components/patterns.vue +++ b/web/components/patterns.vue @@ -69,8 +69,9 @@ :key="j" :id="`${pattern.name}_extra_${extra.id}`" class="light py-4" - >{{ extra?.id }} + {{ extra?.id }} + {{ misc.id }} + {{ misc.id }} +
@@ -93,17 +95,24 @@
@@ -22,45 +22,53 @@
-

Attention! From now on, we are storing data in the browser's memory.

+

+ Attention! From now on, we are storing data in the browser's memory. +

- To prevent data loss, we store your current VCF in your local browser data.
- When you revisit the configurator, the last VCF file you modified will be loaded again.
- Do you not want this? Or do you want to start with an empty VCF? Then you can disable local storage.
- This can be done via the button below or the button at the top right.
- Resetting can be done via the button below or at the very bottom of the page. + To prevent data loss, we store your current VCF in your local + browser data. +
+ When you revisit the configurator, the last VCF file you modified + will be loaded again. +
+ Do you not want this? Or do you want to start with an empty VCF? + Then you can disable local storage. +
+ This can be done via the button below or the button at the top + right. +
+ Resetting can be done via the button below or at the very bottom + of the page.

-
+
-
-
+ @@ -85,20 +93,40 @@

{{ VCF.configuration.version ?? "Unknown" }}

-