Commit 28bc7370 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

add button to generate a new captcha

parent e721da7d
......@@ -4,4 +4,5 @@ return [
'2' => 'Bitte geben Sie die 5 Zeichen aus dem Bild oder dem Audioplayer in die Eingabebox ein und bestätigen Sie mit "OK" um zur Ergebnisseite zu gelangen.',
'3' => 'Captcha eingeben',
'4' => 'Auf diesem Gerät nicht erneut fragen (optional; setzt einen Cookie)',
'5' => 'Neues Captcha generieren'
];
......@@ -4,4 +4,5 @@ return [
'2' => 'Please enter the five characters from the picture or the audioplayer into the input field and confirm with "OK" to get to the result page.',
'3' => 'Enter captcha',
'4' => 'Do not ask again on this device (optional; sets a cookie)',
'5' => 'Generate a new captcha'
];
......@@ -4,4 +4,5 @@ return [
'2' => 'Introduzca los cinco caracteres de la imagen o del reproductor de audio en el campo de entrada y confirme con "OK" para llegar a la página de resultados.',
'3' => 'Entrar en captcha',
'4' => 'No volver a preguntar en este dispositivo (opcional, establece una cookie)',
'5' => 'Generar un nuevo Captcha'
];
......@@ -2,7 +2,7 @@
display: flex;
justify-content: center;
flex-direction: column;
margin-bottom: 2rem;
margin-bottom: .5rem;
>img {
max-width: 100%;
......@@ -24,4 +24,23 @@
&>input[type=checkbox] {
cursor: pointer;
}
}
#submit-group {
display: flex;
align-items: center;
gap: 1rem;
margin-top: 1rem;
max-width: 100%;
flex-wrap: wrap;
>button {
min-width: 8rem;
flex-grow: 1;
}
>a {
display: block;
white-space: nowrap;
}
}
\ No newline at end of file
......@@ -26,6 +26,9 @@
<input type="checkbox" name="dnaa" id="dnaa" @if(Request::has("dnaa"))checked @endif>
<label for="dnaa">@lang('captcha.4')</label>
</div>
<p><button type="submit" class="btn btn-success" name="check">OK</button></p>
<div id="submit-group">
<button type="submit" class="btn btn-success" name="check">OK</button>
<a href="{{ url()->full() }}">@lang('captcha.5')</a>
</div>
</form>
@endsection
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment