Skip to content

Commit

Permalink
new: Hidden field to trick dumb bots
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Jan 9, 2025
1 parent 793acee commit 7f67926
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion website/web/sri.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dropzone.css": "b3Wb3Os4sxJRdYkfCWtFjvuN/OlfBNtBGJknON+zbxU6M7GRYdII8m1W7TMsls/kwuwtq1wt7TvuF58Sd/4AGg=="
},
"ribbon.css": "2hAsQwCClHQ7b6VthbKYIkUPam4Ef6wbSxa3+nK0UuqCHezvPMr3aqpz16gD0lyYop55VEd/dhzZJLA4WMAplQ==",
"style.css": "P+uDhEXPpEd6kypt5NaBQOP7fT+4NkM98Wqu+w0FsQu+aucA8xVMQwJp/nY2ZW8++LeQFC+rhPv8FZ4fI+89xA=="
"style.css": "5tR+N2rAS7EVbcFeEJB8vizeG3AQ8ej1I8Iu+UuLDVe8GVcrnDMUFS+5xwHw95XqiVTKFbbJ8HZL+klvSno+CQ=="
},
"images": {
"favicons": {
Expand Down
11 changes: 11 additions & 0 deletions website/web/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,17 @@ a, *[onclick], *[title] {
color: #bcbcbc;
}

/* boaty */
.boatymcboat {
opacity: 0;
position: absolute;
top: 0;
left: 0;
height: 0;
width: 0;
z-index: -1;
}

#dropzone{
background-color:#eee;
height:300px;
Expand Down
5 changes: 5 additions & 0 deletions website/web/templates/analysis.html
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,11 @@ <h4 class="modal-title">Send message to {{admin_name}}</h4>
<div class="col-md-8"><textarea name="message" required rows="10" style="width:100%" id="message"></textarea></div>
</div>
</div>
<!-- boat fields -->
<label class="boatymcboat form-label" for="name">Your Name</label>
<input class="boatymcboat" autocomplete="off" type="text" id="name" name="name"
placeholder="Your fav boat name here">
<!-- end -->
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-10 d-none alert alert-info" id="notifySuccess">Your message has been correctly sent.</div>
Expand Down

0 comments on commit 7f67926

Please sign in to comment.