Round -> input number
This commit is contained in:
parent
a0e04b7967
commit
7a9849808f
11
index.html
11
index.html
|
@ -14,7 +14,7 @@
|
|||
setTimeout(function() {
|
||||
argon2.hash({
|
||||
pass: $("#input_name").val(),
|
||||
salt: $("#select_wahlgang").val(),
|
||||
salt: "Abstimmung " + str($("#vote-round").val()),
|
||||
time: 1000,
|
||||
mem: 4096,
|
||||
hashLen: 32,
|
||||
|
@ -30,16 +30,13 @@
|
|||
<div class="d-flex flex-row justify-content-center p-5">
|
||||
<div class="p-2"><h1>Abstimm-ID Rechner</h1></div>
|
||||
</div>
|
||||
<div class="d-flex flex-row justify-content-center p-5">
|
||||
<div class="d-flex flex-row justify-content-center px-5 py-2">
|
||||
<div class="p-2" style="">
|
||||
<div class="input-group">
|
||||
<div class=input-group-prepend>
|
||||
<select class="custom-select" id="select_wahlgang">
|
||||
<option>Abstimmung 1</option>
|
||||
<option>Abstimmung 2</option>
|
||||
<option>Abstimmung 3</option>
|
||||
</select>
|
||||
<label class="input-group-text" for="vote-round">Abstimmung</label>
|
||||
</div>
|
||||
<input type="number" id="vote-round">
|
||||
<input type="text" class="form-control" placeholder="Vor- und Nachname" id="input_name">
|
||||
<div class="input-group-append">
|
||||
<button class="btn btn-success" type="button" onclick="calculate_hash();">Berechnen</button>
|
||||
|
|
Loading…
Reference in a new issue