added upload function

This commit is contained in:
Marlon Portmann committed 2022-11-15 13:18:14 +01:00
1 parent f365ca3592
commit 0e5f580c74
3 files changed
+80 -1

No files matched your search

+20 -1
View File
@@ -12,6 +12,19 @@ dbVerbindungErzeugen()
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SPINN MIT!</title>
<link rel="stylesheet" href="/css/style.css">
<script>UPLOADCARE_LOCALE="de"
UPLOADCARE_LOCALE_TRANSLATIONS = {
buttons: {
choose: {
files: {
other: 'Bild hochladen'
}
}
}
}</script>
</head>
<body>
<h1>spinn mit!!</h1>
@@ -26,14 +39,20 @@ dbVerbindungErzeugen()
<div id="idee_container">
<img src="/images/cancel.png" id="cancel">
<div id="idee">
</div>
<div class="image-preview" id="image-upload">
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://ucarecdn.com/libs/widget/3.x/uploadcare.full.min.js"></script>
<script src="js/functions.js"></script>
<script src="js/main.js"></script>