Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 15 additions & 13 deletions template/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,20 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>File Processing</title>
<link rel="stylesheet" type="text/css" href="static/styles_index.css">
<link rel="stylesheet" type="text/css" href="../static/styles_index.css">
<link rel="stylesheet" type="text/css" href="../static/styles.css">
</head>
<body>
<header>
<div class="logo">
<img src="/static/dblogo.png" alt="Logo">
</div>
<div class="title">
<h1 id="dbTitle">Databyte</h1>
</div>
</header>
<div class="container">
<h1>Study-Helper</h1>
<h1 class="header-box">Study-Helper</h1>
<form method="post" action="/process_file" enctype="multipart/form-data">
<div class="form-group">
<label for="file_type">Choose file type:</label>
Expand All @@ -24,18 +33,11 @@ <h1>Study-Helper</h1>
<input type="file" id="file" name="file" required>
</div>

<div class="form-group">
<label for="question">Your Question:</label>
<input type="text" id="question" name="question" required>
</div>

<div class="form-group">
<label for="show_summary">Show Summary:</label>
<input type="checkbox" id="show_summary" name="show_summary">
</div>

<input type="submit" value="Process">
<input id="process-box" type="submit" value="Process">
</form>
</div>
<div class="watermark-container">
<div class="watermark">Made with &nbsp;<span class="heart"> &hearts; </span> &nbsp;by Databyte</div>
</div>
</body>
</html>