Add contact form #98
@@ -10,9 +10,9 @@
|
||||
<f7-list class="form-element">
|
||||
<f7-list-input v-model:value="userEmail" label="E-mail (optional)" type="email" placeholder="Your e-mail" clear-button />
|
||||
<f7-list-input v-model:value="commentType" label="This is a... (optional)" type="select" placeholder="Select comment type">
|
||||
<option value="4">Bug</option>
|
||||
<option value="6">Feature request</option>
|
||||
<option value="9">Question</option>
|
||||
<option value="20">Bug</option>
|
||||
<option value="22">Feature request</option>
|
||||
<option value="25">Question</option>
|
||||
</f7-list-input>
|
||||
<f7-list-input v-model:value="commentTitle" label="Subject of comment (optional)" type="textarea" resizable placeholder="Type here" />
|
||||
</f7-list>
|
||||
@@ -44,17 +44,6 @@
|
||||
</style>
|
||||
|
||||
<script>
|
||||
/**********************
|
||||
* ALVINN_f7 labels
|
||||
* 20 - bug
|
||||
* 22 - enhancement
|
||||
* 25 - question
|
||||
*
|
||||
* Gitea_testing labels
|
||||
* 4 - bug
|
||||
* 6 - enhancement
|
||||
* 9 - question
|
||||
*********************/
|
||||
import { f7 } from 'framework7-vue'
|
||||
|
||||
export default {
|
||||
@@ -77,7 +66,7 @@
|
||||
methods: {
|
||||
sendFeedback () {
|
||||
var self = this
|
||||
var issueURL = `https://gitea.azgeorgis.net/api/v1/repos/jgeorgi/Gitea_testing/issues?access_token=9af8ae15b1ee5a98afcb3083bb488e4cf3c683af`
|
||||
var issueURL = `https://gitea.azgeorgis.net/api/v1/repos/Georgi_Lab/ALVINN_f7/issues?access_token=9af8ae15b1ee5a98afcb3083bb488e4cf3c683af`
|
||||
var xhr = new XMLHttpRequest()
|
||||
xhr.open("POST", issueURL)
|
||||
xhr.setRequestHeader('Content-Type', 'application/json')
|
||||
|
||||
Reference in New Issue
Block a user