Files
ProxyPanel/resources/views/admin/profile.blade.php
兔姬桑 a0922521cf 初始化
2020-08-05 03:19:28 +08:00

38 lines
1.7 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@extends('admin.layouts')
@section('content')
<div class="page-content container">
<div class="panel">
<div class="panel-heading">
<h1 class="panel-title cyan-600"><i class="icon wb-user"></i>{{trans('home.profile')}}</h1>
</div>
@if (Session::has('successMsg'))
<div class="alert alert-success alert-dismissable">
<button class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
{{Session::get('successMsg')}}
</div>
@endif
@if($errors->any())
<div class="alert alert-danger alert-dismissable">
<button class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
<strong>{{trans('home.error')}}</strong> {{$errors->first()}}
</div>
@endif
<div class="panel-body">
<form action="/admin/profile" method="post" enctype="multipart/form-data" class="form-bordered">
<div class="form-group row">
<label for="old_password" class="col-md-2 col-form-label"> 旧密码 </label>
<input type="password" class="form-control col-md-5 round" name="old_password" id="old_password" autofocus required/>
<input type="hidden" name="_token" value="{{csrf_token()}}"/>
</div>
<div class="form-group row">
<label for="new_password" class="col-md-2 col-form-label"> 新密码 </label>
<input type="password" class="form-control col-md-5 round" name="new_password" id="new_password" required/>
</div>
<div class="form-actions">
<button type="submit" class="btn btn-success"> </button>
</div>
</form>
</div>
</div>
</div>
@endsection