soiz1's picture
Update templates/index.html
69ccddc verified
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>新しいプロジェクトのアップロード</title>
</head>
<body>
<h1>新しいプロジェクトをアップロード</h1>
<form method="POST" enctype="multipart/form-data">
<label for="thumbnail">サムネイル画像をアップロード:</label>
<input type="file" name="thumbnail" accept="image/*" required><br><br>
<label for="group">所属グループ (省略可能):</label>
<input type="text" name="group"><br><br>
<label for="name">プロジェクト名:</label>
<input type="text" name="name" required><br><br>
<label for="explanation">プロジェクトの説明:</label>
<textarea name="explanation" rows="4" cols="50" required></textarea><br><br>
<label for="file_data">テキストファイルをアップロード:</label>
<input type="file" name="file_data" accept=".txt" required><br><br>
<button type="submit">アップロード</button>
</form>
</body>
</html>