-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into tf-add-puzzle-ant
- Loading branch information
Showing
35 changed files
with
445 additions
and
66 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
- rule: | ||
name: A001 | ||
message: Consider adding a viewport meta tag. | ||
flags: re.DOTALL|re.I | ||
# <meta name="viewport" content="width=device-width, initial-scale=1"> is a good starting point | ||
patterns: | ||
- <html[^>]*?>(?:(?!<meta[^>]*?name=([\"|'])viewport\b).)*</html> |
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
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
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
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
Empty file.
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,45 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Controls Puzzle Game</title> | ||
|
||
<script src="/static/js/htmx.min.js"></script> | ||
<script src="/static/js/json-enc.js"></script> | ||
|
||
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet"> | ||
<link href="/static/css/openday.css" rel="stylesheet"> | ||
<link id="favicon" rel="icon" type="image/x-icon" href="/static/favicon.ico"> | ||
|
||
<style> | ||
</style> | ||
</head> | ||
|
||
<body class="game-body"> | ||
<div class="container text-center my-3"> | ||
<h1 class="type-h1">Controls Puzzle Game</h1> | ||
<div class="mt-5"> | ||
<p class="text-secondary fw-bold">Updating your status...</p> | ||
<div class="spinner-border text-primary" role="presentation"> | ||
|
||
<span class="sr-only">Loading...</span> | ||
</div> | ||
</div> | ||
|
||
<form id="form" action="/submission" method="POST" class="invisible"> | ||
<input hidden type="text" id="name" name="name" value="{{ puzzle }}"> | ||
<input type="text" id="answer" name="answer" value="true" hidden> | ||
<button>Submit</button> | ||
</form> | ||
</div> | ||
|
||
<script> | ||
document.addEventListener('DOMContentLoaded', () => { | ||
document.forms['form'].submit(); | ||
}); | ||
</script> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.