mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
Update setting layouts
This commit is contained in:
parent
3d814de9a6
commit
9bd53524c7
4 changed files with 230 additions and 171 deletions
|
@ -1,7 +1,30 @@
|
||||||
@extends('settings.template')
|
@extends('layouts.app')
|
||||||
|
|
||||||
@section('section')
|
@section('content')
|
||||||
|
@if (session('status'))
|
||||||
|
<div class="alert alert-primary px-3 h6 text-center">
|
||||||
|
{{ session('status') }}
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
@if ($errors->any())
|
||||||
|
<div class="alert alert-danger px-3 h6 text-center">
|
||||||
|
@foreach($errors->all() as $error)
|
||||||
|
<p class="font-weight-bold mb-1">{{ $error }}</li>
|
||||||
|
@endforeach
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
@if (session('error'))
|
||||||
|
<div class="alert alert-danger px-3 h6 text-center">
|
||||||
|
{{ session('error') }}
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="card shadow-none border mt-5">
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-12 p-3 p-md-5">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<h3 class="font-weight-bold">Update Password</h3>
|
<h3 class="font-weight-bold">Update Password</h3>
|
||||||
</div>
|
</div>
|
||||||
|
@ -27,12 +50,17 @@
|
||||||
<input type="password" class="form-control" name="password_confirmation" placeholder="Confirm new password">
|
<input type="password" class="form-control" name="password_confirmation" placeholder="Confirm new password">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<div class="col-12 text-right">
|
<div class="col-12 text-right">
|
||||||
<button type="submit" class="btn btn-primary font-weight-bold py-0 px-5">Submit</button>
|
<button type="submit" class="btn btn-primary font-weight-bold py-0 px-5">Submit</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
@endsection
|
@endsection
|
|
@ -1,7 +1,12 @@
|
||||||
@extends('settings.template')
|
@extends('layouts.app')
|
||||||
|
|
||||||
@section('section')
|
|
||||||
|
|
||||||
|
@section('content')
|
||||||
|
<div class="container">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="card shadow-none border mt-5">
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-12 p-3 p-md-5">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<h3 class="font-weight-bold">Edit Two-Factor Authentication</h3>
|
<h3 class="font-weight-bold">Edit Two-Factor Authentication</h3>
|
||||||
</div>
|
</div>
|
||||||
|
@ -27,7 +32,11 @@
|
||||||
<a class="btn btn-outline-danger btn-sm px-4 font-weight-bold remove-device" href="#">Remove</a>
|
<a class="btn btn-outline-danger btn-sm px-4 font-weight-bold remove-device" href="#">Remove</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@push('scripts')
|
@push('scripts')
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
@extends('settings.template')
|
@extends('layouts.app')
|
||||||
|
|
||||||
@section('section')
|
|
||||||
|
|
||||||
|
@section('content')
|
||||||
|
<div class="container">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="card shadow-none border mt-5">
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-12 p-3 p-md-5">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<h3 class="font-weight-bold">Two-Factor Authentication Recovery Codes</h3>
|
<h3 class="font-weight-bold">Two-Factor Authentication Recovery Codes</h3>
|
||||||
</div>
|
</div>
|
||||||
|
@ -28,5 +33,10 @@
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
@endsection
|
@endsection
|
|
@ -1,7 +1,12 @@
|
||||||
@extends('settings.template')
|
@extends('layouts.app')
|
||||||
|
|
||||||
@section('section')
|
|
||||||
|
|
||||||
|
@section('content')
|
||||||
|
<div class="container">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="card shadow-none border mt-5">
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-12 p-3 p-md-5">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<h3 class="font-weight-bold">Setup Two-Factor Authentication</h3>
|
<h3 class="font-weight-bold">Setup Two-Factor Authentication</h3>
|
||||||
</div>
|
</div>
|
||||||
|
@ -80,6 +85,13 @@
|
||||||
</code>
|
</code>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
@push('scripts')
|
@push('scripts')
|
||||||
|
|
Loading…
Add table
Reference in a new issue