mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +00:00
Update Settings view, add account delete link
This commit is contained in:
parent
3c5cdf9e31
commit
41ad06fc7e
1 changed files with 16 additions and 3 deletions
|
@ -106,21 +106,34 @@
|
||||||
<div class="col-sm-9">
|
<div class="col-sm-9">
|
||||||
<div class="custom-control custom-radio custom-control-inline">
|
<div class="custom-control custom-radio custom-control-inline">
|
||||||
<input type="radio" id="profileLayout1" name="profile_layout" class="custom-control-input" {{Auth::user()->profile->profile_layout != 'moment' ? 'checked':''}} value="metro">
|
<input type="radio" id="profileLayout1" name="profile_layout" class="custom-control-input" {{Auth::user()->profile->profile_layout != 'moment' ? 'checked':''}} value="metro">
|
||||||
<label class="custom-control-label" for="profileLayout1">Metro</label>
|
<label class="custom-control-label" for="profileLayout1">MetroUI</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="custom-control custom-radio custom-control-inline">
|
<div class="custom-control custom-radio custom-control-inline">
|
||||||
<input type="radio" id="profileLayout2" name="profile_layout" class="custom-control-input" {{Auth::user()->profile->profile_layout == 'moment' ? 'checked':''}} value="moment">
|
<input type="radio" id="profileLayout2" name="profile_layout" class="custom-control-input" {{Auth::user()->profile->profile_layout == 'moment' ? 'checked':''}} value="moment">
|
||||||
<label class="custom-control-label" for="profileLayout2">Moment</label>
|
<label class="custom-control-label" for="profileLayout2">MomentUI</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
|
@if(config('pixelfed.account_deletion') == true)
|
||||||
|
<div class="form-group row py-3">
|
||||||
|
<div class="col-12 d-flex align-items-center justify-content-between">
|
||||||
|
<a class="font-weight-bold" href="{{route('settings.remove.temporary')}}">Temporarily Disable Account</a>
|
||||||
|
<button type="submit" class="btn btn-primary font-weight-bold float-right">Submit</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<hr>
|
||||||
|
<p class="mb-0 text-center pt-4">
|
||||||
|
<a class="font-weight-bold text-danger" href="{{route('settings.remove.permanent')}}">Delete Account</a>
|
||||||
|
</p>
|
||||||
|
@else
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<div class="col-12 d-flex align-items-center justify-content-between">
|
<div class="col-12 d-flex align-items-center justify-content-between">
|
||||||
<a class="font-weight-bold" href="{{route('settings.remove.temporary')}}">Temporarily Disable Account</a>
|
<a class="font-weight-bold" href="{{route('settings.remove.temporary')}}">Temporarily Disable Account</a>
|
||||||
<button type="submit" class="btn btn-primary font-weight-bold float-right">Submit</button>
|
<button type="submit" class="btn btn-primary font-weight-bold float-right">Submit</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@endif
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
@endsection
|
@endsection
|
||||||
|
|
Loading…
Reference in a new issue