mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
994aed0752
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
93 lines
3.5 KiB
PHP
93 lines
3.5 KiB
PHP
@extends('settings.template')
|
|
|
|
@section('section')
|
|
|
|
<div class="title">
|
|
<h3 class="font-weight-bold">Account Settings</h3>
|
|
</div>
|
|
<hr>
|
|
<form method="post">
|
|
@csrf
|
|
<div class="form-group row">
|
|
<label for="name" class="col-sm-3 col-form-label font-weight-bold text-right">Name</label>
|
|
<div class="col-sm-9">
|
|
<input type="text" class="form-control" id="name" name="name" placeholder="Your Name" value="{{Auth::user()->profile->name}}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group row">
|
|
<label for="name" class="col-sm-3 col-form-label font-weight-bold text-right">Username</label>
|
|
<div class="col-sm-9">
|
|
<input type="text" class="form-control" id="name" name="username" placeholder="Username" value="{{Auth::user()->profile->username}}" readonly>
|
|
</div>
|
|
</div>
|
|
<div class="form-group row">
|
|
<label class="col-sm-3 col-form-label font-weight-bold text-right">Bio</label>
|
|
<div class="col-sm-9">
|
|
<textarea class="form-control" name="bio" placeholder="Add a bio here" rows="2">{{Auth::user()->profile->bio}}</textarea>
|
|
<small class="form-text text-muted">
|
|
Max length: {{config('pixelfed.max_bio_length')}} characters.
|
|
</small>
|
|
</div>
|
|
</div>
|
|
<div class="pt-5">
|
|
<p class="font-weight-bold text-muted text-center">Private Information</p>
|
|
</div>
|
|
<div class="form-group row">
|
|
<label for="email" class="col-sm-3 col-form-label font-weight-bold text-right">Email</label>
|
|
<div class="col-sm-9">
|
|
<input type="email" class="form-control" id="email" name="email" placeholder="Email Address" value="{{Auth::user()->email}}" readonly>
|
|
</div>
|
|
</div>
|
|
{{--<div class="form-group row">
|
|
<label for="inputPassword3" class="col-sm-3 col-form-label">Password</label>
|
|
<div class="col-sm-9">
|
|
<input type="password" class="form-control" id="inputPassword3" placeholder="Password">
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
<fieldset class="form-group">
|
|
<div class="row">
|
|
<legend class="col-form-label col-sm-3 pt-0">Radios</legend>
|
|
<div class="col-sm-9">
|
|
<div class="form-check">
|
|
<input class="form-check-input" type="radio" name="gridRadios" id="gridRadios1" value="option1" checked>
|
|
<label class="form-check-label" for="gridRadios1">
|
|
First radio
|
|
</label>
|
|
</div>
|
|
<div class="form-check">
|
|
<input class="form-check-input" type="radio" name="gridRadios" id="gridRadios2" value="option2">
|
|
<label class="form-check-label" for="gridRadios2">
|
|
Second radio
|
|
</label>
|
|
</div>
|
|
<div class="form-check disabled">
|
|
<input class="form-check-input" type="radio" name="gridRadios" id="gridRadios3" value="option3" disabled>
|
|
<label class="form-check-label" for="gridRadios3">
|
|
Third disabled radio
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
<div class="form-group row">
|
|
<div class="col-sm-3">Checkbox</div>
|
|
<div class="col-sm-9">
|
|
<div class="form-check">
|
|
<input class="form-check-input" type="checkbox" id="gridCheck1">
|
|
<label class="form-check-label" for="gridCheck1">
|
|
Example checkbox
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div>--}}
|
|
<hr>
|
|
<div class="form-group row">
|
|
<div class="col-sm-9">
|
|
<button type="submit" class="btn btn-primary">Submit</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
@endsection
|