Files
godot-showreel-voting/templates/before-you-vote.html
Iñigo b031a52d6a Flask remake (#23)
* initial backend setup

* copied db setup

* added login

* added autoincrement to ids

* update db again

* added script to populate with test data

* added functionality to fetch videos

* added vote functionality

* added logic to update video info

* added history

* updated readme

* Update thank you page

* fixed small bugs

* small improvements

* added admin view, UI fix

* fix vote buttons style

* added pagination

* added command to load sample data from csv

* Autoplay videos

* Adding before you vote page

* added yt video id extractor

* improve visibility for the history page votes

* added logic for before you vote disclaimer

* Remind people to set videos to unlisted and allowed for embed

* Update home.html

* Update home.html

* Add progress bar to total

* Small adjustments

* fix home {% if user %}

* Update macros.html

* limit vote views to users with specific roles

* added endpoint to delete votes

* added confirmation to the delete vote action

* Update non-fund members CTA

* allow voting to specific fund members

* added result csv endpoint

* updated auth

* revert adding 'vote_allowed' column, merged it into is_staff

* added `is_fund_member` attribute to table and updated code

* refactored code

* update style for voting page

* updated readme

* Add static files

* remove options from dropdown for users that can't vote

* added keyboard shortcuts to vote buttons

* added azerty support for shortcuts

* update skip to S key

* remove placeholder

---------

Co-authored-by: Emi <2206700+coppolaemilio@users.noreply.github.com>
2025-10-02 12:07:03 +02:00

31 lines
993 B
HTML

<style>
main {
max-width: 600px;
margin: 20px auto;
background-color: #7d7d7d1c;
padding: 20px;
border-radius: 15px;
}
section {
margin: 40px 0px;
}
h1 {
/* margin-top: 1em; */
margin-bottom: 0.5em;
}
p {
margin-bottom: 1em;
}
</style>
<main>
<h1>Before you vote!</h1>
<p>The goal of the showreel is not to choose the best games overall, but to select those that would make the most impressive additions to the showreel.</p>
<p>If a project seems out of place, please take a moment to review its store page or the category it was submitted to before voting. This helps ensure a fair and thoughtful selection process.</p>
<p>Please make sure to read the <a href="/about">about page</a> to know more about the submission requirements and guidelines.</p>
<a class="button" href="/vote">Continue</a>
</main>
<script>
localStorage.setItem("first-vote", true)
</script>