1st commit

This commit is contained in:
IM23a-bachmannj2
2024-09-11 12:32:01 +02:00
commit c51e60ed05
10 changed files with 1124 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
<title>Gun Stats</title>
</head>
<body>
<header>
</header>
<main>
<form action="/action_page.php">
<label for="rpm">Damage:</label>
<input type="text" id="dmg" name="fname"><br><br>
<label for="rpm">RPM:</label>
<input type="text" id="rpm" name="lname"><br><br>
<input type="submit" value="Submit">
</form>
</main>
</body>
</html>
+45
View File
@@ -0,0 +1,45 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Gun Stats</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
<header>
<nav>
<a class="index-nav" href="{{ url_for('calculator') }}">Calculator</a>
</nav>
</header>
<main>
<h1>Gun Stats</h1>
<div>
<input type="text" id="search" placeholder="Search by name" onkeyup="filterTable()">
</div>
<table id="gun-stats">
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Damage</th>
<th>Damage multiplier</th>
<th>Rounds per minute</th>
<th>Magazine Size</th>
<th>Reload time</th>
<th>Gun type</th>
<th>RPS</th>
<th>DPS</th>
<th>DPM</th>
<th>Avg DPS</th>
</tr>
</thead>
<tbody>
<!-- Gun stats will be populated here -->
</tbody>
</table>
<script src="{{ url_for('static', filename='populateTable.js') }}"></script>
<script src="{{ url_for('static', filename='filterTable.js') }}"></script>
</main>
</body>
</html>