2021-10-14 20:02:54 +05:30
|
|
|
<. include!("../components/base/top.html"); .>
|
2021-10-14 17:13:09 +05:30
|
|
|
<body class="survey__body">
|
|
|
|
<main class="survey__container">
|
2021-10-27 11:39:37 +05:30
|
|
|
<. include!("../components/error/index.html"); .>
|
2021-10-14 17:13:09 +05:30
|
|
|
<div id="pre-bench">
|
|
|
|
<h1>Click to Start Benchmark</h1>
|
2021-10-14 21:25:19 +05:30
|
|
|
<form class="new-campaign__form" accept-charset="utf-8">
|
|
|
|
<label class="form__label" for="name">
|
|
|
|
Device name
|
|
|
|
<input
|
|
|
|
class="form__input"
|
|
|
|
name="name"
|
|
|
|
required
|
|
|
|
id="name"
|
|
|
|
type="text"
|
|
|
|
/>
|
|
|
|
</label>
|
2021-10-14 17:13:09 +05:30
|
|
|
|
2021-10-14 21:25:19 +05:30
|
|
|
<!-- <button id="start" type="submit">Start</button> -->
|
2021-10-27 11:39:37 +05:30
|
|
|
<button id="start" class="form__submit" type="submit">Start</button>
|
2021-10-14 21:25:19 +05:30
|
|
|
</form>
|
2021-10-14 17:13:09 +05:30
|
|
|
</div>
|
|
|
|
|
|
|
|
<noscript>
|
|
|
|
<b>
|
|
|
|
This is a WASM benchmark, please enable JavScript to run it. We don't
|
|
|
|
collect any data and
|
2021-10-27 11:39:37 +05:30
|
|
|
<a href="https://github.com/mCaptcha/survey"
|
2021-10-14 17:13:09 +05:30
|
|
|
>source code is available here</a
|
|
|
|
>
|
|
|
|
</b>
|
|
|
|
</noscript>
|
|
|
|
|
|
|
|
<div id="bench">
|
|
|
|
<h1 id="status" class="name">Running benchmark</h1>
|
2021-10-27 11:39:37 +05:30
|
|
|
<div id="counter"></div>
|
|
|
|
<button class="btn" id="advance">Show Advanced Log</button>
|
2021-10-14 17:13:09 +05:30
|
|
|
|
2021-10-27 11:39:37 +05:30
|
|
|
<div id="winner-instructions">
|
|
|
|
<h2>Winner Announcement</h2>
|
|
|
|
<p>
|
2021-10-28 09:55:21 +05:30
|
|
|
The winners will be announed on the organisation website
|
|
|
|
<a href="https://mcaptcha.org/blog/survey" target="_blank">here</a> on
|
|
|
|
December 1, 2021. The winning submission IDs will be published and the
|
|
|
|
winners expected to provide the submission proof to claim their
|
|
|
|
rewards.
|
2021-10-27 11:39:37 +05:30
|
|
|
</p>
|
|
|
|
</div>
|
2021-10-14 21:25:19 +05:30
|
|
|
<div id="submission-proof"></div>
|
2021-10-14 17:13:09 +05:30
|
|
|
|
2021-10-27 11:39:37 +05:30
|
|
|
<div class="advance-log" id="device-info"></div>
|
2021-10-14 17:13:09 +05:30
|
|
|
|
2021-10-27 11:39:37 +05:30
|
|
|
<table class="advance-log">
|
2021-10-14 17:13:09 +05:30
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Difficulty factor</th>
|
|
|
|
<th>Duration(ms)</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody id="stats"></tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</main>
|
2021-10-14 20:02:54 +05:30
|
|
|
<. include!("../components/footer/index.html"); .>
|
2021-10-14 17:13:09 +05:30
|
|
|
</body>
|
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-10-27 11:39:37 +05:30
|
|
|
padding: 0;
|
2021-10-14 17:13:09 +05:30
|
|
|
display: hidden;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pre-bench,
|
|
|
|
#bench {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
margin: 40px auto;
|
|
|
|
align-items: center;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
#bench {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-10-27 11:39:37 +05:30
|
|
|
.survey__container {
|
|
|
|
flex: 2;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2021-10-14 17:13:09 +05:30
|
|
|
#status {
|
|
|
|
max-width: 80%;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
margin: 40px auto;
|
|
|
|
width: 40%;
|
|
|
|
}
|
|
|
|
|
|
|
|
td,
|
|
|
|
th {
|
|
|
|
border: 1px solid #999;
|
|
|
|
padding: 0.5rem;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
color: green;
|
|
|
|
}
|
|
|
|
|
|
|
|
#device-info {
|
|
|
|
margin: auto;
|
2021-10-27 11:39:37 +05:30
|
|
|
font-size: 0.8rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.advance-log > b,
|
|
|
|
div {
|
|
|
|
font-size: 0.8rem;
|
|
|
|
}
|
|
|
|
.advance-log {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#winner-instructions {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#submission-proof {
|
|
|
|
margin: 15px auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
#submission-proof > div,
|
|
|
|
b {
|
|
|
|
font-size: 1.2rem;
|
|
|
|
font-family: monospace, monospace;
|
2021-10-14 17:13:09 +05:30
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<script src="<.= &*crate::GLUE .>"></script>
|
2021-10-14 20:02:54 +05:30
|
|
|
<. include!("../components/base/bottom.html"); .>
|