Cachet/resources/views/auth/two-factor-auth.blade.php

44 lines
14 KiB
PHP
Raw Normal View History

@extends('layout.clean')
2015-06-13 14:36:02 +01:00
@section('bodyClass', 'login')
@section('content')
2015-06-13 14:36:02 +01:00
<div class="container">
<div class="row">
<div class="form-bg">
<div class="logo">
<svg viewBox="0 0 1512 296" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
<g id="Cachet" sketch:type="MSArtboardGroup">
<g id="Icon" sketch:type="MSLayerGroup" transform="translate(8.000000, 10.000000)">
<path d="M203.656247,22.5075363 L207.908364,18.25542 C187.59758,6.63914745 164.074118,0 139,0 C62.2324198,0 0,62.2324198 0,139 C0,215.76758 62.2324198,278 139,278 C215.76758,278 278,215.76758 278,139 C278,121.94987 274.930156,105.616742 269.313035,90.5231813 L269.313035,90.5231813 L264.787268,95.0489482 C269.594876,108.809354 272.208333,123.599474 272.208333,139 C272.208333,212.568931 212.568931,272.208333 139,272.208333 C65.431069,272.208333 5.79166667,212.568931 5.79166667,139 C5.79166667,65.431069 65.431069,5.79166667 139,5.79166667 C162.4632,5.79166667 184.509555,11.8578965 203.656247,22.5075363 L203.656247,22.5075363 Z" id="Oval-1" stroke="#FFFFFF" stroke-width="12" sketch:type="MSShapeGroup"></path>
<path d="M105.697915,173.088048 L106.528258,172.257705 L271.176539,7.60942419 L277.5405,1.24546317 L290.268422,13.9733853 L283.904461,20.3373463 L119.25618,184.985627 L118.425837,185.81597 L105.697917,198.543894 L99.3339556,192.179933 L53.3919048,146.237882 L47.0279438,139.873921 L59.7558659,127.145999 L66.1198269,133.50996 L105.697915,173.088048 L105.697915,173.088048 Z" id="Line" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>
</g>
<path d="M335,147 C335,136.33328 336.874981,125.708386 340.625,115.125 C344.375019,104.541614 349.833298,95.083375 357,86.75 C364.166702,78.416625 372.999948,71.6250262 383.5,66.375 C394.000052,61.1249738 405.9166,58.5 419.25,58.5 C435.083413,58.5 448.583278,62.0832975 459.75,69.25 C470.916722,76.4167025 479.249973,85.7499425 484.75,97.25 L470.75,105.75 C467.916652,99.9166375 464.50002,95.00002 460.5,91 C456.49998,86.99998 452.16669,83.7500125 447.5,81.25 C442.83331,78.7499875 438.000025,76.9583387 433,75.875 C427.999975,74.7916613 423.083358,74.25 418.25,74.25 C407.58328,74.25 398.166708,76.416645 390,80.75 C381.833292,85.083355 374.958361,90.749965 369.375,97.75 C363.791639,104.750035 359.583348,112.624956 356.75,121.375 C353.916652,130.125044 352.5,138.999955 352.5,148 C352.5,157.833382 354.208316,167.249955 357.625,176.25 C361.041684,185.250045 365.708304,193.208299 371.625,200.125 C377.541696,207.041701 384.541626,212.541646 392.625,216.625 C400.708374,220.708354 409.499953,222.75 419,222.75 C424.000025,222.75 429.124974,222.125006 434.375,220.875 C439.625026,219.624994 444.708309,217.625014 449.625,214.875 C454.541691,212.124986 459.083313,208.708354 463.25,204.625 C467.416687,200.541646 470.916652,195.583363 473.75,189.75 L488.25,197.25 C485.416652,203.9167 481.416693,209.791641 476.25,214.875 C471.083307,219.958359 465.333365,224.249982 459,227.75 C452.666635,231.250018 445.958369,233.916657 438.875,235.75 C431.791631,237.583343 424.833368,238.5 418,238.5 C405.833273,238.5 394.666718,235.83336 384.5,230.5 C374.333282,225.16664 365.58337,218.208376 358.25,209.625 C350.91663,201.041624 345.208354,191.291721 341.125,180.375 C337.041646,169.458279 335,158.33339 335,147 L335,147 Z M549,239.5 C542.3333,239.5 536.250027,238.458344 530.75,236.375 C525.249973,234.291656 520.541686,231.416685 516.625,227.75 C512.708314,224.083315 509.666677,219.833358 507.5,215 C505.333323,210.166642 504.25,205.08336 504.25,199.75 C504.25,193.74997 505.58332,188.291691 508.25,183.375 C510.91668,178.458309 514.666642,174.250018 519.5,170.75 C524.333357,167.249982 530.124966,164.541676 536.875,162.625 C543.625034,160.708324 551.083292,159.75 559.25,159.75 C565.750032,159.75 572.416632,160.333327 579.25,161.5 C586.083368,162.666673 592.16664,164.333323 597.5,166.5 L597.5,154.75 C597.5,143.249943 594.208366,134.125034 587.625,127.375 C581.041634,120.624966 572.166722,117.25 561,117.25 C553.999965,117.25 547.041701,118.58332 540.125,121.25 C533.208299,123.91668 526.166702,127.749975 519,132.75 L513,121.5 C521.500043,115.833305 529.74996,111.583348 537.75,108.75 C545.75004,105.916652 554.08329,104.5 562.75,104.5 C578.583413,104.5 591.16662,109.083287 600.5,118.25 C609.83338,127.416713 614.5,140.083253 614.5,156.25 L614.5,215 C614.5,219.66669 616.49998,222 620.5,222 L620.5,237 C619.16666,237.166668 617.916673,237.291666 616.75,237.375 C615.583327,237.458334 614.583337,237.5 613.75,237.5 C610.41665,237.5 607.375014,236.50001 604.625,234.5 C601.874986,232.49999 600.333335,229.50002 600,225.5 L599.5,215.25 C593.833305,222.916705 586.375046,228.874979 577.125,233.125 C567.874954,237.375021 558.500047,239.5 549,239.5 L549,239.5 Z M553.25,226.5 C560.750037,226.5 568.208296,224.875016 575.625,221.625 C583.041704,218.374984 588.916645,213.916695 593.25,208.25 C594.416673,206.749992 595.416663,205.125009 596.25,203.375 C597.083337,201.624991 597.5,200.000008 597.5,198.5 L597.5,177.25 C591.833305,175.083323 585.916698,173.416673 579.75,172.25 C573.583302,171.083327 567.583363,170.5 561.75,170.5 C549.583273,170.5 539.708371,172.958309 532.125,177.875 C524.541629,182.791691 520.75,189.58329 520.75,198.25 C520.75,201.750018 521.41666,205.16665 522.75,208.5 C524.08334,211.83335 526.124986,214.83332 528.875,217.5 C531.625014,220.16668 534.99998,222.333325 539,224 C543.00002,225.666675 547.749973,226.5 553.25,226.5 L553.25,226.5 Z M643,171.5 C643,162.333288 644.583318,153.666708 647.75,145.5 C650.916682,137.333292 655.374971,130.208364 661.125,124.125 C666.875029,118.041636 673.74996,113.250018 681.75,109.75 C689.75004,106.249982
</g>
</g>
</svg>
</div>
2015-06-13 14:36:02 +01:00
<form method="POST" action="/auth/2fa" accept-charset="UTF-8">
<fieldset>
<p>{{ trans('dashboard.login.two-factor') }}</p>
2015-06-13 14:36:02 +01:00
@if(Session::has('error'))
<p class="text-danger">{{ Session::get('error') }}</p>
@endif
<div class="form-group">
<label class="sr-only">{{ trans('forms.login.2fauth') }}</label>
<input type="text" name="code" class="form-control" placeholder="{{ trans('forms.login.2fauth') }}" required>
</div>
<div class="form-group">
<button type="submit" class="btn btn-lg btn-block btn-white btn-trans">{{ trans('dashboard.login.login') }}</button>
</div>
</fieldset>
</form>
</div>
</div>
</div>
@stop