Skip to content
Snippets Groups Projects
Commit 28bc7370 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

add button to generate a new captcha

parent e721da7d
No related branches found
No related tags found
1 merge request!1992Resolve "Include Audiocaptcha"
...@@ -4,4 +4,5 @@ return [ ...@@ -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.', '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', '3' => 'Captcha eingeben',
'4' => 'Auf diesem Gerät nicht erneut fragen (optional; setzt einen Cookie)', '4' => 'Auf diesem Gerät nicht erneut fragen (optional; setzt einen Cookie)',
'5' => 'Neues Captcha generieren'
]; ];
...@@ -4,4 +4,5 @@ return [ ...@@ -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.', '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', '3' => 'Enter captcha',
'4' => 'Do not ask again on this device (optional; sets a cookie)', '4' => 'Do not ask again on this device (optional; sets a cookie)',
'5' => 'Generate a new captcha'
]; ];
...@@ -4,4 +4,5 @@ return [ ...@@ -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.', '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', '3' => 'Entrar en captcha',
'4' => 'No volver a preguntar en este dispositivo (opcional, establece una cookie)', '4' => 'No volver a preguntar en este dispositivo (opcional, establece una cookie)',
'5' => 'Generar un nuevo Captcha'
]; ];
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
flex-direction: column; flex-direction: column;
margin-bottom: 2rem; margin-bottom: .5rem;
>img { >img {
max-width: 100%; max-width: 100%;
...@@ -24,4 +24,23 @@ ...@@ -24,4 +24,23 @@
&>input[type=checkbox] { &>input[type=checkbox] {
cursor: pointer; 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 @@ ...@@ -26,6 +26,9 @@
<input type="checkbox" name="dnaa" id="dnaa" @if(Request::has("dnaa"))checked @endif> <input type="checkbox" name="dnaa" id="dnaa" @if(Request::has("dnaa"))checked @endif>
<label for="dnaa">@lang('captcha.4')</label> <label for="dnaa">@lang('captcha.4')</label>
</div> </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> </form>
@endsection @endsection
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment