-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
kubegu
committed
Jun 20, 2024
1 parent
60e4661
commit a2bdd6a
Showing
2 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<html> | ||
<head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<script src="https://unpkg.com/[email protected]" integrity="sha384-D1Kt99CQMDuVetoL1lrYwg5t+9QdHe7NLX/SoJYkXDFfX37iInKRy5xLSi8nO7UC" crossorigin="anonymous"></script> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<form hx-post="/games-search/" hx-target="#display-games" hx-indicator="#spinner" class="d-flex flex-wrap justify-content-center"> | ||
<div class="p-2"> | ||
<input type="text" class="form-control" id="title" name="title" placeholder="Titel des Spiels"> | ||
</div> | ||
<!-- TODO: insert option für platform--> | ||
<div class="p-2"> | ||
<select id="platformSelect" name="platform" class="form-select" style="width:auto;"> | ||
<option>Switch</option> | ||
<option>XBox</option> | ||
<option>Playstation</option> | ||
</select> | ||
</div> | ||
<div class="p-2"> | ||
<button type="submit" class="btn btn-primary">Los</button> | ||
</div> | ||
</form> | ||
<div class="d-flex justify-content-center htmx-indicator" id="spinner"> | ||
<div class="spinner-border" role="status"></div> | ||
</div> | ||
<div class="accordion" id="display-games"> | ||
|
||
</div> | ||
</div> | ||
</body> | ||
</html> |