Spaces:
Sleeping
Sleeping
Commit
·
41aa30f
1
Parent(s):
063e65c
initial commit
Browse files- templates/index.html +13 -13
templates/index.html
CHANGED
@@ -8,17 +8,6 @@
|
|
8 |
<link rel="stylesheet" href="templates/style.css">
|
9 |
</head>
|
10 |
<body>
|
11 |
-
<!-- Footer Section -->
|
12 |
-
<div class="row mt-5">
|
13 |
-
<div class="col-12">
|
14 |
-
<footer>
|
15 |
-
<p class="text-center text-muted">
|
16 |
-
© 2025 Interactive Text Watermark Detection. Apache 2.0.
|
17 |
-
</p>
|
18 |
-
</footer>
|
19 |
-
</div>
|
20 |
-
</div>
|
21 |
-
|
22 |
<!-- Form to input text and display tokens with color highlights and final p-value -->
|
23 |
<form method="POST" action="/">
|
24 |
<div class="mb-3">
|
@@ -33,12 +22,23 @@
|
|
33 |
<div class="mt-3">
|
34 |
{% if tokens %}
|
35 |
<p>
|
36 |
-
{% for
|
37 |
-
<span style="background-color: {{
|
38 |
{% endfor %}
|
39 |
</p>
|
40 |
<div class="alert alert-info">Final p-value: {{ pvalue }}</div>
|
41 |
{% endif %}
|
42 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
</body>
|
44 |
</html>
|
|
|
8 |
<link rel="stylesheet" href="templates/style.css">
|
9 |
</head>
|
10 |
<body>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
<!-- Form to input text and display tokens with color highlights and final p-value -->
|
12 |
<form method="POST" action="/">
|
13 |
<div class="mb-3">
|
|
|
22 |
<div class="mt-3">
|
23 |
{% if tokens %}
|
24 |
<p>
|
25 |
+
{% for i in range(tokens|length) %}
|
26 |
+
<span style="background-color: {{ colors[i] }}">{{ tokens[i] }}</span>
|
27 |
{% endfor %}
|
28 |
</p>
|
29 |
<div class="alert alert-info">Final p-value: {{ pvalue }}</div>
|
30 |
{% endif %}
|
31 |
</div>
|
32 |
+
|
33 |
+
<!-- Footer Section -->
|
34 |
+
<div class="row mt-5">
|
35 |
+
<div class="col-12">
|
36 |
+
<footer>
|
37 |
+
<p class="text-center text-muted">
|
38 |
+
© 2025 Interactive Text Watermark Detection. Apache 2.0.
|
39 |
+
</p>
|
40 |
+
</footer>
|
41 |
+
</div>
|
42 |
+
</div>
|
43 |
</body>
|
44 |
</html>
|