aboutsummaryrefslogtreecommitdiffstats
path: root/api/templates
diff options
context:
space:
mode:
authorPinapelz <donaldshan1@outlook.com>2023-09-18 17:41:59 -0700
committerPinapelz <donaldshan1@outlook.com>2023-09-18 17:41:59 -0700
commitc2239d5e360d8d44a18e76c562d03a01dea05c74 (patch)
tree898360217353744ade79750bb1dc6be16070c227 /api/templates
Initial Commit
Diffstat (limited to 'api/templates')
-rw-r--r--api/templates/index.html38
-rw-r--r--api/templates/server_auth.html22
2 files changed, 60 insertions, 0 deletions
diff --git a/api/templates/index.html b/api/templates/index.html
new file mode 100644
index 0000000..5bdf1ad
--- /dev/null
+++ b/api/templates/index.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <link rel= "stylesheet" type= "text/css" href= "{{ url_for('static',filename='index.css') }}">
+ <title>reCAPTCHA Image Selection Panel</title>
+ </head>
+
+ <body>
+ <div id="recaptcha-container">
+ <div class="recaptcha-header" id="recaptcha-title">
+ </div>
+ <button class="regenerate-btn" onclick="fetchCaptchaImages()">
+ Regenerate Captcha
+ </button>
+ <button class="submit-btn">Submit</button>
+ </div>
+ <div id="end-message">
+ <!-- Will be populated with JS -->>
+ </div>
+ <div id="answer-table-container">
+ <table id="answer-table">
+ <thead>
+ <tr>
+ <th>Image</th>
+ <th>Name</th>
+ <th>Answer (ID)</th>
+ </tr>
+ </thead>
+ <tbody>
+ <!-- Answers will be populated here -->
+ </tbody>
+ </table>
+ </div>
+ <script src="{{ url_for('static', filename='index.js') }}"></script>
+ </body>
+</html> \ No newline at end of file
diff --git a/api/templates/server_auth.html b/api/templates/server_auth.html
new file mode 100644
index 0000000..cf37aa8
--- /dev/null
+++ b/api/templates/server_auth.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <link rel= "stylesheet" type= "text/css" href= "{{ url_for('static',filename='index.css') }}">
+ <title>Server Side Auth</title>
+ </head>
+
+ <body>
+ <div id="recaptcha-container">
+ <div class="recaptcha-header" id="recaptcha-title">
+ </div>
+ <button class="regenerate-btn" onclick="fetchCaptchaImages()">
+ Regenerate Captcha
+ </button>
+ <button class="submit-btn">Submit</button>
+ </div>
+ <script src="{{ url_for('static', filename='server_auth.js') }}"></script>
+ </body>
+
+</html> \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage