<!DOCTYPE html>
<html lang="en" data-bs-theme="dark">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script>
      if (/Mobi|Android/i.test(navigator.userAgent)) {
          // Wenn der Benutzer ein mobiles Gerät verwendet
          document.querySelector('meta[name="viewport"]').setAttribute('content', 'width=device-width, initial-scale=0.8');
      }
    </script>
    <meta name="author" content="Spoty">
    <meta name="description" content="A website to visualize the karuta collection.">
    <title>Natsuki | Karuta Collection Viewer</title>
    <link rel="icon" type="image/png" href="{{ url_for('static', filename='img/icon_round.png') }}">
    <meta property="og:image" content="https://cdn.discordapp.com/attachments/1068967834920689826/1209924869979111474/image.png">


    <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://getbootstrap.com/docs/5.3/assets/css/docs.css" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Varela+Round&display=swap" rel="stylesheet">
    <script src="{{ url_for('static', filename='js/upload.js') }}"></script>
    <noscript>Sorry, your browser does not support JavaScript!</noscript>
</head>
    <body>
        <div class="body">
            <h1>Upload CSV File</h1>
            <form action="/upload" method="post" enctype="multipart/form-data" id="csv-form">
                <input type="file" name="csv_file" accept=".csv" onchange="submitForm(event)">
            </form>
            <div class="container fixed-bottom">
                <footer class="d-flex flex-wrap justify-content-between align-items-center py-3 my-4 border-top">
                  <div class="col-md-4 d-flex align-items-center">
                    <span class="mb-3 mb-md-0 text-body-secondary">© 2024 Natsuki</span>
                  </div>
              
                  <ul class="nav col-md-4 justify-content-end">
                    <li class="nav-item"><a href="/about" class="nav-link px-2 text-body-secondary">About</a></li>
                  </ul>
                </footer>
            </div>
        </div>
    </body>
</html>
