IT FINALLY CLICKED, added logic behind uploads
This commit is contained in:
20
currencyproj/home/templates/index.html
Normal file
20
currencyproj/home/templates/index.html
Normal file
@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" dir="ltr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<form action="" method="POST">{% csrf_token %}
|
||||
<label for="choice">What are we gonna upload today?</label>
|
||||
<select name="choices" id="choices">
|
||||
<option value="image">Picture</option>
|
||||
<option value="video">Video</option>
|
||||
</select>
|
||||
|
||||
<button type="submit"> Submit </button>
|
||||
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
10
currencyproj/home/templates/uploadImage.html
Normal file
10
currencyproj/home/templates/uploadImage.html
Normal file
@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" dir="ltr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>test</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>test 1</h1>
|
||||
</body>
|
||||
</html>
|
10
currencyproj/home/templates/uploadVideo.html
Normal file
10
currencyproj/home/templates/uploadVideo.html
Normal file
@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" dir="ltr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>test2</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>test2</h1>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user