-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from Lenni009/dev
Minor adjustments
- Loading branch information
Showing
19 changed files
with
425 additions
and
107 deletions.
There are no files selected for viewing
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,2 +1,2 @@ | ||
# EisHub-Catalogue-Entry | ||
Simple interface for submitting catalogue entries to the EisHub Scribes | ||
# Eisvana-Catalogue-Entry | ||
Simple interface for submitting catalogue entries to the Eisvana Wiki Scholars |
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
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
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
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
|
||
.container { | ||
margin-block-start: 1rem; | ||
margin-block-end: 5rem; | ||
margin-block-end: 2rem; | ||
} | ||
|
||
html, | ||
|
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 @@ | ||
export const regions = ['A21117FF', 'A11117FF', 'A11127FF', 'A21127FF', 'A21107FF', 'A21107FE', 'A21117FE']; |
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,81 @@ | ||
<script setup lang="ts"> | ||
import { useCatalogueDataStore } from '../stores/catalogueData'; | ||
import { storeToRefs } from 'pinia'; | ||
import ErrorMessage from '../components/ErrorMessage.vue'; | ||
import { watchEffect } from 'vue'; | ||
const catalogueDataStore = useCatalogueDataStore(); | ||
const { artifactType, artifactRarity, modifier, value, id, isValidValue, isValidModifier, isValidId } = | ||
storeToRefs(catalogueDataStore); | ||
watchEffect(() => { | ||
modifier.value.isValid = isValidModifier.value; | ||
value.value.isValid = isValidValue.value; | ||
id.value.isValid = isValidId.value; | ||
}); | ||
</script> | ||
|
||
<template> | ||
<div class="input-group"> | ||
<div> | ||
<label class="required">Type</label> | ||
<select v-model="artifactType.value"> | ||
<option value="Ancient Skeleton">Ancient Skeleton</option> | ||
<option value="Aquatic Treasure">Aquatic Treasure</option> | ||
<option value="Biological Sample">Biological Sample</option> | ||
<option value="Delicate Flora (FARM)">Delicate Flora (mutated genes)</option> | ||
<option value="Delicate Flora (PLNT)">Delicate Flora (years)</option> | ||
<option value="Excavated Bones">Excavated Bones</option> | ||
<option value="Fossil Sample">Fossil Sample</option> | ||
<option value="Historical Document">Historical Document</option> | ||
<option value="Lost Artifact">Lost Artifact</option> | ||
<option value="Salvaged Scrap">Salvaged Scrap</option> | ||
<option value="Terrifying Sample">Terrifying Sample</option> | ||
<option value="Unearthed Treasure">Unearthed Treasure</option> | ||
</select> | ||
</div> | ||
<div> | ||
<label class="required">Rarity</label> | ||
<select v-model="artifactRarity.value"> | ||
<option value="Common">Common (Blue)</option> | ||
<option value="Uncommon">Uncommon (Purple) Treasure</option> | ||
<option value="Rare">Rare (Yellow)</option> | ||
</select> | ||
</div> | ||
<div> | ||
<label | ||
class="required" | ||
for="modifier" | ||
>Modifier</label | ||
> | ||
<input | ||
v-model="modifier.value" | ||
id="modifier" | ||
type="text" | ||
/> | ||
<ErrorMessage v-if="!isValidModifier">Must only contain numbers</ErrorMessage> | ||
</div> | ||
<div> | ||
<label | ||
class="required" | ||
for="value" | ||
>Value</label | ||
> | ||
<input | ||
v-model="value.value" | ||
id="value" | ||
type="text" | ||
/> | ||
<ErrorMessage v-if="!isValidValue">Must only contain numbers</ErrorMessage> | ||
</div> | ||
<div> | ||
<label for="id">ID (from save editor)</label> | ||
<input | ||
v-model="id.value" | ||
id="id" | ||
type="text" | ||
/> | ||
<ErrorMessage v-if="!isValidId">Must only contain numbers</ErrorMessage> | ||
</div> | ||
</div> | ||
</template> |
Oops, something went wrong.