<!DOCTYPE html>
<html>
<head>
    <meta content="text/html; charset=utf-8" http-equiv="content-type"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title data-localization="poll_title">Zero Knowledge Date Picker</title>
    <link rel="icon" type="image/png"
        href="/customize/main-favicon.png"
        data-main-favicon="/customize/main-favicon.png"
        data-alt-favicon="/customize/alt-favicon.png"
        id="favicon" />
    <link rel="stylesheet" href="/customize/main.css" />
    <script data-main="main" src="/bower_components/requirejs/require.js"></script>
    <script>
        require.config({
            waitSeconds: 60,
        });
    </script>
    <style>
        html, body {
            width: 100;
            margin-top: 1.25em;
            height: auto;
        }
        #main {
            margin: auto;
        }
        .clickable {
            cursor: pointer;
        }
        #adduser, #addoption {
            font-weight: bold;
        }

    </style>
</head>
<body>

<div id="main">

<div id="toolbar" class="buttons">
</div>
<h1 id="mainTitle">CryptPoll</h1>
<h2 data-localization="poll_subtitle"></h2>

<p data-localization="poll_p_save"></p>
<p data-localization="poll_p_encryption"></p>

<hr>
<br>

<form class="realtime">
    <input type="text" id="title" placeholder="title"><br />
    <textarea id="description" placeholder="description"></textarea>

    <p id="howToUse" data-localization="poll_p_howtouse"></p>

    <!-- Table markup-->
    <table id="table">

        <!-- Table header -->
            <thead>
                <tr>
                    <td>
                        <div id="adduser" class="clickable" data-localization="poll_addUserButton" data-localization-title="poll_addUserButtonTitle"></div>
                    </td>
                </tr>
            </thead>
        <!-- Table footer -->
            <tfoot>
                <tr>
                    <td>
                        <div id="addoption" class="clickable" data-localization="poll_addOptionButton" data-localization-title="poll_addOptionButtonTitle"></div>
                    </td>
                </tr>
            </tfoot>
        <!-- Table body -->
            <tbody>
            </tbody>
    </table>
</form>


<div class="modal" id="wizard-modal">
    <button id="close-wizard" class="button action" data-localization="poll_closeWizardButton" data-localization-title="poll_closeWizardButtonTitle"></button>
    <div class="center">
        <div id="modal-toolbar">
            <button id="get-options" class="action button" data-localization="poll_wizardComputeButton"></button>
            <button id="clear-table" class="action button" data-localization="poll_wizardClearButton"></button>

        </div>

        <h2 data-localization="poll_wizardDescription"></h2>

        <table id="wizard-table">
            <thead>
                <tr>
                    <td>
                        <div id="adddate" class="clickable" data-localization="poll_wizardAddDateButton"></div>
                    </td>
                </tr>
            </thead>
            <tfoot>
                <tr>
                    <td>
                        <div id="addtime" class="clickable" data-localization="poll_wizardAddTimeButton"></div>
                    </td>
                </tr>
            </tfoot>
            <tbody>
            </tbody>
        </table>
    </div>
</div>