2021-12-28 23:49:18 +01:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "UTF-8" >
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" >
< title > {{ TITLE }}< / title >
2022-01-30 17:46:59 +01:00
< meta name = "description" content = "Simple, free and open source way to host polls for people to vote on. Create your own polls and share them with others!" >
< meta property = "og:type" content = "website" / >
< meta property = "og:title" content = "{{ TITLE }}" / >
< meta property = "og:description" content = "Simple, free and open source way to host polls for people to vote on. Create your own polls and share them with others!" / >
< meta property = "og:url" content = "{{ CANONICAL_HOST }}" / >
< meta property = "og:image" content = "" / >
< meta property = "og:site_name" content = "Poll.Horse" / >
< meta content = "#FFD756" data-react-helmet = "true" name = "theme-color" / >
< link rel = "canonical" href = "{{ CANONICAL_HOST }}" / >
< meta name = ”robots” content = ”index,nofollow” >
2021-12-29 19:22:38 +01:00
< link rel = "preconnect" href = "https://fonts.googleapis.com" >
< link rel = "preconnect" href = "https://fonts.gstatic.com" crossorigin >
< link href = "https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;700&display=swap" rel = "stylesheet" >
2021-12-28 23:49:18 +01:00
< link rel = "stylesheet" href = "/static/css/main.css" >
2022-01-11 21:00:44 +01:00
< link rel = "stylesheet" href = "/static/css/index.css" >
2022-01-30 16:59:11 +01:00
< script nonce = "{{ CORS_SCRIPT_NONCE }}" type = "text/javascript" >
2022-01-01 14:36:25 +01:00
const MAX_POLL_OPTIONS = "{{ MAX_POLL_OPTIONS }}";
const MAX_CHARACTER_LENGTH = "{{ MAX_CHARACTER_LENGTH }}";
< / script >
2022-01-30 16:59:11 +01:00
< script nonce = "{{ CORS_SCRIPT_NONCE }}" type = "text/javascript" src = "/static/js/index.js" defer = "true" async = "true" > < / script >
2021-12-28 23:49:18 +01:00
< / head >
< body >
2021-12-29 19:22:38 +01:00
< header >
< h1 > Poll.horse< / h1 >
2022-01-30 17:46:59 +01:00
< h2 > Make voting on things simpler< / h2 >
2021-12-29 19:22:38 +01:00
< / header >
< main >
2022-01-01 13:54:58 +01:00
< section class = "error {{ FORM_SUBMISSION_ERROR_SHOWN_CLASS }}" >
{{ FORM_SUBMISSION_ERROR }}
< / section >
2021-12-29 19:22:38 +01:00
< section class = "notepad" >
< div class = "notepad-border" > < / div >
2022-01-01 04:13:24 +01:00
< form action = "{{ BACKEND_BASE_PATH }}/_backend/poll-form" method = "POST" >
< section class = "poll-title" >
2022-01-01 14:36:25 +01:00
< input id = "poll-title" name = "poll-title" type = "text" maxlength = "{{ MAX_CHARACTER_LENGTH }}" placeholder = "Enter your question here" value = "{{ FORM_TITLE }}" >
2022-01-01 04:13:24 +01:00
< / section >
< section id = "poll-options" class = "poll-options" >
{{ FORM_OPTION_DIVS }}
< / section >
< section class = "poll-footer" >
2022-01-11 21:00:44 +01:00
< div id = "extend-message" > Used < span id = "options-counter" > 0< / span > /{{ MAX_POLL_OPTIONS }} options.< br > New boxes appear automatically.< / div >
2022-01-01 04:13:24 +01:00
< select id = "dupe-check" name = "dupe-check" >
< option value = "ip" { { FORM_DUPECHECK_IP } } > IP-based duplication checking< / option >
< option value = "cookie" { { FORM_DUPECHECK_COOKIE } } > Cookie-based duplication checking< / option >
< option value = "none" { { FORM_DUPECHECK_NONE } } > No duplication checking< / option >
< / select >
< br >
< label >
< input type = "checkbox" name = "multi-select" { { FORM_MULTI_SELECT } } id = "multiple" >
2022-01-01 13:54:30 +01:00
< span > Multiple Choice< / span >
2022-01-01 04:13:24 +01:00
< / label >
< br >
2022-01-11 21:00:44 +01:00
< input type = "submit" name = "submit" value = "Create poll" id = "submit-button" >
< input type = "submit" name = "submit" value = "Add options" formaction = "#" formmethod = "get" id = "add-options-button" >
2022-01-06 15:36:03 +01:00
< / section >
< / form >
2021-12-29 19:22:38 +01:00
< / section >
< / main >
< footer >
< ul >
2022-01-04 22:11:27 +01:00
{{ FOOTER_LINKS }}
2021-12-29 19:22:38 +01:00
< / ul >
2022-01-30 19:24:54 +01:00
< div class = "copyright" > {{ GIT_URL }} {{ FOOTER_COPYRIGHT }}< / div >
2021-12-29 19:22:38 +01:00
< / footer >
2021-12-28 23:49:18 +01:00
< / body >
< / html >