mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -08:00
af7ccf3beb
Signed-off-by: snipe <snipe@snipe.net>
60 lines
2.4 KiB
PHP
60 lines
2.4 KiB
PHP
@extends('layouts/basic')
|
|
|
|
|
|
{{-- Page content --}}
|
|
@section('content')
|
|
<div class="container">
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div class="col-md-4 col-md-offset-4">
|
|
<form role="form" action="{{ 'two-factor' }}" method="POST">
|
|
|
|
<div class="box login-box">
|
|
<div class="box-header">
|
|
<h2 class="box-title"> {{ trans('admin/settings/general.two_factor') }}</h2>
|
|
</div>
|
|
|
|
|
|
<div class="login-box-body">
|
|
<div class="row">
|
|
|
|
|
|
<!-- Notifications -->
|
|
@include('notifications')
|
|
|
|
<div class="col-md-12">
|
|
<!-- CSRF Token -->
|
|
<input type="hidden" name="_token" value="{{ csrf_token() }}" />
|
|
|
|
<fieldset>
|
|
<div class="form-group{{ $errors->has('secret') ? ' has-error' : '' }}">
|
|
<input class="form-control" placeholder="{{ trans('admin/settings/general.two_factor_secret') }}" name="two_factor_secret" type="text" aria-label="two_factor_secret" autofocus>
|
|
{!! $errors->first('two_factor_secret', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="box-footer">
|
|
<button class="btn btn-lg btn-primary btn-block">{{ trans('general.submit') }}</button>
|
|
</div>
|
|
<div class="col-md-12 col-sm-12 col-xs-12 text-right" style="padding-top: 10px;">
|
|
<a href="{{ route('logout.get') }}" onclick="document.getElementById('logout-form').submit(); return false;">
|
|
{{ trans('general.cancel') }}
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
<form id="logout-form" action="{{ route('logout.post') }}" method="POST" style="display: none;">
|
|
{{ csrf_field() }}
|
|
</form>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@stop
|