Initial baseline: LaraBlog core with plugin commerce surface.
Captures the current working tree after theme slots, ArticleAccess, and the payment / paid-content plugins so subsequent work has a reviewable git history.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
@extends('theme::layout')
|
||||
|
||||
@section('content')
|
||||
<div class="panel article-body">
|
||||
<h1 class="page-title">个人资料</h1>
|
||||
@if ($errors->any())
|
||||
<ul class="flash">
|
||||
@foreach($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@endif
|
||||
<p class="meta">用户名:{{ $user->username ?: $user->name }}</p>
|
||||
<form class="stack" method="post" action="{{ url('/post.php') }}">
|
||||
@csrf
|
||||
<input type="hidden" name="action" value="modpro">
|
||||
<label>邮箱</label>
|
||||
<input type="email" name="email" value="{{ old('email', $user->email) }}">
|
||||
<label>网站</label>
|
||||
<input type="url" name="url" value="{{ old('url', $user->url) }}">
|
||||
<label>新密码(留空不改)</label>
|
||||
<input type="password" name="password">
|
||||
<label>确认新密码</label>
|
||||
<input type="password" name="password_confirmation">
|
||||
<button type="submit">保存</button>
|
||||
</form>
|
||||
<form class="stack" method="post" action="{{ url('/post.php') }}">
|
||||
@csrf
|
||||
<input type="hidden" name="action" value="logout">
|
||||
<button type="submit">退出登录</button>
|
||||
</form>
|
||||
</div>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user