This commit is contained in:
2020-04-24 22:41:20 +00:00
parent ccac04313c
commit 4d209743d3
3 changed files with 35 additions and 3 deletions

View File

@@ -70,6 +70,7 @@ CURRENT TODOs
todo: Picture input in attachments
https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/2080
https://w3c.github.io/html-media-capture/#examples
todo: attachment reveal button looks weird below wiki reveal button when read-write
- open read only see if it looks better if they're teh same and make it so with wiki or

View File

@@ -94,6 +94,9 @@
multiple
chips
></v-file-input>
<v-text-field
v-model="notes"
:label="$ay.t('AttachmentNotes')"

View File

@@ -1,9 +1,37 @@
<template>
<UnderConstruction />
<!-- <UnderConstruction /> -->
<div>
Media capture test:
<div class="mt-6">
Generic capture not specified:
<input id="imageInput" type="file" accept="image/*;" capture />
</div>
<div class="mt-6">
Self facing camera:
<input type="file" name="image" accept="image/*" capture="user" />
</div>
<div class="mt-6">
Video, environment facing camera:
<input type="file" name="video" accept="video/*" capture="environment" />
</div>
<div class="mt-6">
Audio:
<input type="file" name="audio" accept="audio/*" capture />
</div>
<div class="mt-6">
Audio, video and image accept types:
<input
type="file"
name="audio"
accept="image/*;video/*;audio/*;"
capture
/>
</div>
</div>
</template>
<script>
import UnderConstruction from "../components/underconstruction.vue";
// import UnderConstruction from "../components/underconstruction.vue";
/**
*
*
@@ -17,7 +45,7 @@ import UnderConstruction from "../components/underconstruction.vue";
*/
export default {
components: {
UnderConstruction
// UnderConstruction
},
beforeCreate() {
window.$gz.eventBus.$emit("menu-change", {