@if (loading) { 载入中 } @else if (!user) { Osaet Admin 登录后台 用户名 密码 登录 {{ loginMessage }} } @else { 首页 / @if (view === 'list') { 文章 } @else { 文章 / {{ draft.title || '新文章' }} } {{ user.username }} 退出 @if (feedback) { } @if (view === 'list') { Posts 文章管理 全部 草稿 已发布 归档 新文章 @if (posts.length === 0) { 暂无文章 } @else { 标题 标签 状态 更新时间 操作 @for (post of posts; track post.id) { {{ post.title || '未命名' }} {{ tagText(post) }} {{ statusText(post.status) }} {{ formatDate(post.updatedAt) }} 编辑 删除 } } ← 上一页 {{ pageNumber }} = totalPages" (click)="nextPage()"> 下一页 → } @else { {{ currentPost ? '版本 ' + currentPost.version : '新文章' }} {{ draft.title || '开始写作' }} @if (hasUnsavedChanges()) { } {{ uploadingAsset ? '上传中' : '上传图片' }} {{ saving ? '保存中' : '保存' }} 构建 标题 Slug ✦ 状态 草稿 已发布 归档 创建时间 封面 标签 摘要 正文 Markdown 编辑 预览 分栏 @if (editorMode !== 'preview') { } @if (editorMode !== 'edit') { } {{ editorMessage }} {{ autosaveStatus }} @if (currentBuildJob) { Build Job {{ buildStatusText(currentBuildJob.status) }} {{ showBuildLog ? '收起日志' : '查看日志' }} ID {{ currentBuildJob.id }} 开始 {{ formatDate(currentBuildJob.startedAt) }} 结束 {{ formatDate(currentBuildJob.finishedAt) }} @if (currentBuildJob.error) { {{ currentBuildJob.error }} } @if (showBuildLog) { {{ currentBuildJob.log || '暂无日志' }} } } } }
Osaet Admin
{{ loginMessage }}
Posts
暂无文章
{{ currentPost ? '版本 ' + currentPost.version : '新文章' }}
{{ editorMessage }}
Build Job
{{ currentBuildJob.error }}
{{ currentBuildJob.log || '暂无日志' }}