2017-09-26 02:43:01 +00:00
|
|
|
{{-- Pterodactyl - Panel --}}
|
2017-01-24 22:57:08 +00:00
|
|
|
{{-- Copyright (c) 2015 - 2017 Dane Everitt <dane@daneeveritt.com> --}}
|
2017-01-15 19:09:57 +00:00
|
|
|
|
2017-09-26 02:43:01 +00:00
|
|
|
{{-- This software is licensed under the terms of the MIT license. --}}
|
|
|
|
{{-- https://opensource.org/licenses/MIT --}}
|
2017-01-15 19:09:57 +00:00
|
|
|
@extends('layouts.master')
|
|
|
|
|
|
|
|
@section('title')
|
2017-01-18 01:01:26 +00:00
|
|
|
@lang('base.account.header')
|
2017-01-15 19:09:57 +00:00
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('content-header')
|
2017-01-18 01:01:26 +00:00
|
|
|
<h1>@lang('base.account.header')<small>@lang('base.account.header_sub')</small></h1>
|
2017-01-15 19:09:57 +00:00
|
|
|
<ol class="breadcrumb">
|
2017-01-18 01:01:26 +00:00
|
|
|
<li><a href="{{ route('index') }}">@lang('strings.home')</a></li>
|
|
|
|
<li class="active">@lang('strings.account')</li>
|
2017-01-15 19:09:57 +00:00
|
|
|
</ol>
|
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-6">
|
2017-01-22 21:16:43 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12">
|
|
|
|
<div class="box">
|
|
|
|
<div class="box-header with-border">
|
|
|
|
<h3 class="box-title">@lang('base.account.update_pass')</h3>
|
2017-01-15 19:09:57 +00:00
|
|
|
</div>
|
2017-01-22 21:16:43 +00:00
|
|
|
<form action="{{ route('account') }}" method="post">
|
|
|
|
<div class="box-body">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="current_password" class="control-label">@lang('base.account.current_password')</label>
|
|
|
|
<div>
|
|
|
|
<input type="password" class="form-control" name="current_password" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="new_password" class="control-label">@lang('base.account.new_password')</label>
|
|
|
|
<div>
|
|
|
|
<input type="password" class="form-control" name="new_password" />
|
|
|
|
<p class="text-muted small no-margin">@lang('auth.password_requirements')</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="new_password_again" class="control-label">@lang('base.account.new_password_again')</label>
|
|
|
|
<div>
|
|
|
|
<input type="password" class="form-control" name="new_password_confirmation" />
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-01-15 19:09:57 +00:00
|
|
|
</div>
|
2017-01-22 21:16:43 +00:00
|
|
|
<div class="box-footer">
|
|
|
|
{!! csrf_field() !!}
|
|
|
|
<input type="hidden" name="do_action" value="password" />
|
|
|
|
<input type="submit" class="btn btn-primary btn-sm" value="@lang('base.account.update_pass')" />
|
2017-01-15 19:09:57 +00:00
|
|
|
</div>
|
2017-01-22 21:16:43 +00:00
|
|
|
</form>
|
2017-01-15 19:09:57 +00:00
|
|
|
</div>
|
2017-01-22 21:16:43 +00:00
|
|
|
</div>
|
2017-01-15 19:09:57 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-6">
|
2017-01-22 21:16:43 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12">
|
|
|
|
<div class="box box-primary">
|
|
|
|
<form action="{{ route('account') }}" method="POST">
|
|
|
|
<div class="box-header with-border">
|
2018-05-13 14:13:51 +00:00
|
|
|
<h3 class="box-title">@lang('base.account.update_identity')</h3>
|
2017-01-15 19:09:57 +00:00
|
|
|
</div>
|
2017-01-22 21:16:43 +00:00
|
|
|
<div class="box-body">
|
|
|
|
<div class="row">
|
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
<label for="first_name" class="control-label">@lang('base.account.first_name')</label>
|
|
|
|
<div>
|
|
|
|
<input type="text" class="form-control" name="name_first" value="{{ Auth::user()->name_first }}" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group col-sm-6">
|
|
|
|
<label for="last_name" class="control-label">@lang('base.account.last_name')</label>
|
|
|
|
<div>
|
|
|
|
<input type="text" class="form-control" name="name_last" value="{{ Auth::user()->name_last }}" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="form-group col-xs-12">
|
|
|
|
<label for="password" class="control-label">@lang('strings.username')</label>
|
|
|
|
<div>
|
|
|
|
<input type="text" class="form-control" name="username" value="{{ Auth::user()->username }}" />
|
|
|
|
<p class="text-muted small no-margin">@lang('base.account.username_help', [ 'requirements' => '<code>a-z A-Z 0-9 _ - .</code>'])</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-01-15 19:09:57 +00:00
|
|
|
</div>
|
2017-01-22 21:16:43 +00:00
|
|
|
<div class="box-footer with-border">
|
|
|
|
{!! csrf_field() !!}
|
|
|
|
<input type="hidden" name="do_action" value="identity" />
|
2018-05-13 14:13:51 +00:00
|
|
|
<button type="submit" class="btn btn-sm btn-primary">@lang('base.account.update_identity')</button>
|
2017-01-22 21:16:43 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
2017-01-15 19:09:57 +00:00
|
|
|
</div>
|
2017-01-22 21:16:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12">
|
|
|
|
<div class="box">
|
|
|
|
<div class="box-header with-border">
|
|
|
|
<h3 class="box-title">@lang('base.account.update_email')</h3>
|
|
|
|
</div>
|
|
|
|
<form action="{{ route('account') }}" method="post">
|
|
|
|
<div class="box-body">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="new_email" class="control-label">@lang('base.account.new_email')</label>
|
|
|
|
<div>
|
|
|
|
<input type="email" class="form-control" name="new_email" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="password" class="control-label">@lang('base.account.current_password')</label>
|
|
|
|
<div>
|
2017-04-18 00:35:07 +00:00
|
|
|
<input type="password" class="form-control" name="current_password" />
|
2017-01-22 21:16:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box-footer">
|
|
|
|
{!! csrf_field() !!}
|
|
|
|
<input type="hidden" name="do_action" value="email" />
|
|
|
|
<input type="submit" class="btn btn-primary btn-sm" value="@lang('base.account.update_email')" />
|
|
|
|
</div>
|
|
|
|
</form>
|
2017-01-15 19:09:57 +00:00
|
|
|
</div>
|
2017-01-22 21:16:43 +00:00
|
|
|
</div>
|
2017-01-15 19:09:57 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|