mirror of https://github.com/halo-dev/halo
🎨 完成部分翻译
parent
9290c03f86
commit
b1f47f9151
|
@ -44,4 +44,49 @@ admin.menu.user = 用户
|
|||
admin.menu.profile = 个人资料
|
||||
admin.menu.settings = 设置
|
||||
admin.menu.blog-settings = 博客设置
|
||||
admin.menu.blog-backup = 博客备份
|
||||
admin.menu.blog-backup = 博客备份
|
||||
|
||||
# 后台首页
|
||||
admin.index.title = 仪表盘
|
||||
admin.index.btn.widgets = 部件选项
|
||||
admin.index.bread.index = 首页
|
||||
admin.index.bread.active = 仪表盘
|
||||
admin.index.widgets.title = 部件选项
|
||||
admin.index.widgets.post-count = 文章总数
|
||||
admin.index.widgets.posts = 文章
|
||||
admin.index.widgets.comment-count = 评论总数
|
||||
admin.index.widgets.comments = 评论
|
||||
admin.index.widgets.attachment-count = 附件总数
|
||||
admin.index.widgets.attachments = 附件
|
||||
admin.index.widgets.day-count = 成立天数
|
||||
admin.index.widgets.post-lastest = 最新文章
|
||||
admin.index.widgets.comment-lastest = 最新评论
|
||||
admin.index.widgets.logs-lastest = 最新日志
|
||||
admin.index.widgets.btn.clear-logs = 清空日志
|
||||
admin.index.blog-data.motto = 加油!不要因为走的太远,而忘了当初为什么出发。
|
||||
|
||||
# 通用
|
||||
common.btn.save = 保存
|
||||
common.btn.view-all = 查看所有
|
||||
common.btn.upload-image = 上传图片
|
||||
common.btn.define = 确定
|
||||
|
||||
common.radio.display = 显示
|
||||
common.radio.hide = 隐藏
|
||||
|
||||
common.th.title = 标题
|
||||
common.th.status = 状态
|
||||
common.th.date = 日期
|
||||
common.th.comment-author = 评论者
|
||||
common.th.comment-page = 评论页面
|
||||
common.th.content = 内容
|
||||
common.th.action = 事件
|
||||
common.th.result = 结果
|
||||
|
||||
|
||||
common.status.published = 已发布
|
||||
common.status.checking = 待审核
|
||||
common.status.recycle-bin = 回收站
|
||||
common.status.draft = 草 稿
|
||||
|
||||
common.text.no-data = 暂无数据
|
||||
|
|
|
@ -44,4 +44,49 @@ admin.menu.user = User
|
|||
admin.menu.profile = Your Profile
|
||||
admin.menu.settings = Settings
|
||||
admin.menu.blog-settings = Blog Settings
|
||||
admin.menu.blog-backup = Blog Backup
|
||||
admin.menu.blog-backup = Blog Backup
|
||||
|
||||
# admin index
|
||||
admin.index.title = Dashboard
|
||||
admin.index.btn.widgets = Widgets options
|
||||
admin.index.bread.index = Home
|
||||
admin.index.bread.active = Dashboard
|
||||
admin.index.widgets.title = Widgets options
|
||||
admin.index.widgets.post-count = Posts count
|
||||
admin.index.widgets.posts = Posts
|
||||
admin.index.widgets.comment-count = Comments count
|
||||
admin.index.widgets.comments = Comments
|
||||
admin.index.widgets.attachment-count = Attachments count
|
||||
admin.index.widgets.attachments = Attachments
|
||||
admin.index.widgets.day-count = Day count
|
||||
admin.index.widgets.post-lastest = Newest posts
|
||||
admin.index.widgets.comment-lastest = Newest comments
|
||||
admin.index.widgets.logs-lastest = Newest logs
|
||||
admin.index.widgets.btn.clear-logs = Clear logs
|
||||
admin.index.blog-data.motto = Come on! Don’t forget why you left because you’re too far away.
|
||||
|
||||
# 通用
|
||||
common.btn.save = Save
|
||||
common.btn.view-all = View all
|
||||
common.btn.upload-image = Upload images
|
||||
common.btn.define = OK
|
||||
|
||||
common.radio.display = Display
|
||||
common.radio.hide = Hide
|
||||
|
||||
common.th.title = Title
|
||||
common.th.status = Status
|
||||
common.th.date = Date
|
||||
common.th.comment-author = Author
|
||||
common.th.comment-page = Page
|
||||
common.th.content = Content
|
||||
common.th.action = Action
|
||||
common.th.result = Result
|
||||
|
||||
common.status.published = Published
|
||||
common.status.checking = Pending Review
|
||||
common.status.recycle-bin = Recycle bin
|
||||
common.status.draft = Draft
|
||||
|
||||
common.text.no-data = No data
|
||||
|
||||
|
|
|
@ -44,4 +44,49 @@ admin.menu.user = 用户
|
|||
admin.menu.profile = 个人资料
|
||||
admin.menu.settings = 设置
|
||||
admin.menu.blog-settings = 博客设置
|
||||
admin.menu.blog-backup = 博客备份
|
||||
admin.menu.blog-backup = 博客备份
|
||||
|
||||
# 后台首页
|
||||
admin.index.title = 仪表盘
|
||||
admin.index.btn.widgets = 部件选项
|
||||
admin.index.bread.index = 首页
|
||||
admin.index.bread.active = 仪表盘
|
||||
admin.index.widgets.title = 部件选项
|
||||
admin.index.widgets.post-count = 文章总数
|
||||
admin.index.widgets.posts = 文章
|
||||
admin.index.widgets.comment-count = 评论总数
|
||||
admin.index.widgets.comments = 评论
|
||||
admin.index.widgets.attachment-count = 附件总数
|
||||
admin.index.widgets.attachments = 附件
|
||||
admin.index.widgets.day-count = 成立天数
|
||||
admin.index.widgets.post-lastest = 最新文章
|
||||
admin.index.widgets.comment-lastest = 最新评论
|
||||
admin.index.widgets.logs-lastest = 最新日志
|
||||
admin.index.widgets.btn.clear-logs = 清空日志
|
||||
admin.index.blog-data.motto = 加油!不要因为走的太远,而忘了当初为什么出发。
|
||||
|
||||
# 通用
|
||||
common.btn.save = 保存
|
||||
common.btn.view-all = 查看所有
|
||||
common.btn.upload-image = 上传图片
|
||||
common.btn.define = 确定
|
||||
|
||||
common.radio.display = 显示
|
||||
common.radio.hide = 隐藏
|
||||
|
||||
common.th.title = 标题
|
||||
common.th.status = 状态
|
||||
common.th.date = 日期
|
||||
common.th.comment-author = 评论者
|
||||
common.th.comment-page = 评论页面
|
||||
common.th.content = 内容
|
||||
common.th.action = 事件
|
||||
common.th.result = 结果
|
||||
|
||||
|
||||
common.status.published = 已发布
|
||||
common.status.checking = 待审核
|
||||
common.status.recycle-bin = 回收站
|
||||
common.status.draft = 草 稿
|
||||
|
||||
common.text.no-data = 暂无数据
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<#compress >
|
||||
<#include "module/_macro.ftl">
|
||||
<@head title="${options.blog_title} | 后台管理"></@head>
|
||||
<@head title="${options.blog_title} | <@spring.message code='admin.index.title' >"></@head>
|
||||
<div class="wrapper">
|
||||
<!-- 顶部栏模块 -->
|
||||
<#include "module/_header.ftl">
|
||||
|
@ -15,15 +15,15 @@
|
|||
}
|
||||
</style>
|
||||
<section class="content-header">
|
||||
<h1 style="display: inline-block;">仪表盘</h1>
|
||||
<h1 style="display: inline-block;"><@spring.message code='admin.index.title' /></h1>
|
||||
<a id="btnWidgetsOption" href="#">
|
||||
部件选项
|
||||
<@spring.message code='admin.index.btn.widgets' />
|
||||
</a>
|
||||
<ol class="breadcrumb">
|
||||
<li>
|
||||
<a href="/admin"><i class="fa fa-dashboard"></i> 首页</a>
|
||||
<a href="/admin"><i class="fa fa-dashboard"></i> <@spring.message code='admin.index.bread.index' /></a>
|
||||
</li>
|
||||
<li class="active">仪表盘</li>
|
||||
<li class="active"><@spring.message code='admin.index.bread.active' /></li>
|
||||
</ol>
|
||||
</section>
|
||||
<section class="content container-fluid">
|
||||
|
@ -32,94 +32,94 @@
|
|||
<div class="col-lg-12 col-xs-12" id="widgetOptionsPanel" style="display: none">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">部件选项</h3>
|
||||
<h3 class="box-title"><@spring.message code='admin.index.widgets.title' /></h3>
|
||||
</div>
|
||||
<form class="form-horizontal" id="widgetsOption">
|
||||
<div class="box-body">
|
||||
<div class="col-sm-6 col-xs-6">
|
||||
<div class="form-group">
|
||||
<label for="widgetPostCount" class="col-sm-4 control-label">文章总数:</label>
|
||||
<label for="widgetPostCount" class="col-sm-4 control-label"><@spring.message code='admin.index.widgets.post-count' />:</label>
|
||||
<div class="col-sm-8">
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="widget_postcount" id="widgetPostCount" value="true" ${((options.widget_postcount?default('true'))=='true')?string('checked','')}> 显示
|
||||
<input type="radio" name="widget_postcount" id="widgetPostCount" value="true" ${((options.widget_postcount?default('true'))=='true')?string('checked','')}> <@spring.message code='common.radio.display' />
|
||||
</label>
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="widget_postcount" id="widgetPostCount" value="false" ${((options.widget_postcount?default('true'))=='false')?string('checked','')}> 隐藏
|
||||
<input type="radio" name="widget_postcount" id="widgetPostCount" value="false" ${((options.widget_postcount?default('true'))=='false')?string('checked','')}> <@spring.message code='common.radio.hide' />
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="widgetCommentCount" class="col-sm-4 control-label">评论总数:</label>
|
||||
<label for="widgetCommentCount" class="col-sm-4 control-label"><@spring.message code='admin.index.widgets.comment-count' />:</label>
|
||||
<div class="col-sm-8">
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="widget_commentcount" id="widgetCommentCount" value="true" ${((options.widget_commentcount?default('true'))=='true')?string('checked','')}> 显示
|
||||
<input type="radio" name="widget_commentcount" id="widgetCommentCount" value="true" ${((options.widget_commentcount?default('true'))=='true')?string('checked','')}> <@spring.message code='common.radio.display' />
|
||||
</label>
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="widget_commentcount" id="widgetCommentCount" value="false" ${((options.widget_commentcount?default('true'))=='false')?string('checked','')}> 隐藏
|
||||
<input type="radio" name="widget_commentcount" id="widgetCommentCount" value="false" ${((options.widget_commentcount?default('true'))=='false')?string('checked','')}> <@spring.message code='common.radio.hide' />
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="widgetAttachmentCount" class="col-sm-4 control-label">附件总数:</label>
|
||||
<label for="widgetAttachmentCount" class="col-sm-4 control-label"><@spring.message code='admin.index.widgets.attachment-count' />:</label>
|
||||
<div class="col-sm-8">
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="widget_attachmentcount" id="widgetAttachmentCount" value="true" ${((options.widget_attachmentcount?default('true'))=='true')?string('checked','')}> 显示
|
||||
<input type="radio" name="widget_attachmentcount" id="widgetAttachmentCount" value="true" ${((options.widget_attachmentcount?default('true'))=='true')?string('checked','')}> <@spring.message code='common.radio.display' />
|
||||
</label>
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="widget_attachmentcount" id="widgetAttachmentCount" value="false" ${((options.widget_attachmentcount?default('true'))=='false')?string('checked','')}> 隐藏
|
||||
<input type="radio" name="widget_attachmentcount" id="widgetAttachmentCount" value="false" ${((options.widget_attachmentcount?default('true'))=='false')?string('checked','')}> <@spring.message code='common.radio.hide' />
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="widgetDayCount" class="col-sm-4 control-label">成立天数:</label>
|
||||
<label for="widgetDayCount" class="col-sm-4 control-label"><@spring.message code='admin.index.widgets.day-count' />:</label>
|
||||
<div class="col-sm-8">
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="widget_daycount" id="widgetDayCount" value="true" ${((options.widget_daycount?default('true'))=='true')?string('checked','')}> 显示
|
||||
<input type="radio" name="widget_daycount" id="widgetDayCount" value="true" ${((options.widget_daycount?default('true'))=='true')?string('checked','')}> <@spring.message code='common.radio.display' />
|
||||
</label>
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="widget_daycount" id="widgetDayCount" value="false" ${((options.widget_daycount?default('true'))=='false')?string('checked','')}> 隐藏
|
||||
<input type="radio" name="widget_daycount" id="widgetDayCount" value="false" ${((options.widget_daycount?default('true'))=='false')?string('checked','')}> <@spring.message code='common.radio.hide' />
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6 col-xs-6">
|
||||
<div class="form-group">
|
||||
<label for="widgetPostLastest" class="col-sm-4 control-label">最新文章:</label>
|
||||
<label for="widgetPostLastest" class="col-sm-4 control-label"><@spring.message code='admin.index.widgets.post-lastest' />:</label>
|
||||
<div class="col-sm-8">
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="widget_postlastest" id="widgetPostLastest" value="true" ${((options.widget_postlastest?default('true'))=='true')?string('checked','')}> 显示
|
||||
<input type="radio" name="widget_postlastest" id="widgetPostLastest" value="true" ${((options.widget_postlastest?default('true'))=='true')?string('checked','')}> <@spring.message code='common.radio.display' />
|
||||
</label>
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="widget_postlastest" id="widgetPostLastest" value="false" ${((options.widget_postlastest?default('true'))=='false')?string('checked','')}> 隐藏
|
||||
<input type="radio" name="widget_postlastest" id="widgetPostLastest" value="false" ${((options.widget_postlastest?default('true'))=='false')?string('checked','')}> <@spring.message code='common.radio.hide' />
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="widgetCommentLastest" class="col-sm-4 control-label">最新评论:</label>
|
||||
<label for="widgetCommentLastest" class="col-sm-4 control-label"><@spring.message code='admin.index.widgets.comment-lastest' />:</label>
|
||||
<div class="col-sm-8">
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="widget_commentlastest" id="widgetCommentLastest" value="true" ${((options.widget_commentlastest?default('true'))=='true')?string('checked','')}> 显示
|
||||
<input type="radio" name="widget_commentlastest" id="widgetCommentLastest" value="true" ${((options.widget_commentlastest?default('true'))=='true')?string('checked','')}> <@spring.message code='common.radio.display' />
|
||||
</label>
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="widget_commentlastest" id="widgetCommentLastest" value="false" ${((options.widget_commentlastest?default('true'))=='false')?string('checked','')}> 隐藏
|
||||
<input type="radio" name="widget_commentlastest" id="widgetCommentLastest" value="false" ${((options.widget_commentlastest?default('true'))=='false')?string('checked','')}> <@spring.message code='common.radio.hide' />
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="widgetLogsLastest" class="col-sm-4 control-label">最新日志:</label>
|
||||
<label for="widgetLogsLastest" class="col-sm-4 control-label"><@spring.message code='admin.index.widgets.logs-lastest' />:</label>
|
||||
<div class="col-sm-8">
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="widget_logslastest" id="widgetLogsLastest" value="true" ${((options.widget_logslastest?default('true'))=='true')?string('checked','')}> 显示
|
||||
<input type="radio" name="widget_logslastest" id="widgetLogsLastest" value="true" ${((options.widget_logslastest?default('true'))=='true')?string('checked','')}> <@spring.message code='common.radio.display' />
|
||||
</label>
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="widget_logslastest" id="widgetLogsLastest" value="false" ${((options.widget_logslastest?default('true'))=='false')?string('checked','')}> 隐藏
|
||||
<input type="radio" name="widget_logslastest" id="widgetLogsLastest" value="false" ${((options.widget_logslastest?default('true'))=='false')?string('checked','')}> <@spring.message code='common.radio.hide' />
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer">
|
||||
<button type="button" class="btn btn-primary pull-right" onclick="saveOptions('widgetsOption')">保存</button>
|
||||
<button type="button" class="btn btn-primary pull-right" onclick="saveOptions('widgetsOption')"><@spring.message code='common.btn.save' /></button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -127,34 +127,34 @@
|
|||
<#if options.widget_postcount?default("true")=="true">
|
||||
<div class="col-lg-3 col-xs-6" id="widgetPostCountBody">
|
||||
<div class="small-box bg-aqua">
|
||||
<div class="inner"><h3><@articleTag method="postsCount">${postsCount?default(0)}</@articleTag></h3><p>文章</p></div>
|
||||
<div class="inner"><h3><@articleTag method="postsCount">${postsCount?default(0)}</@articleTag></h3><p><@spring.message code='admin.index.widgets.posts' /></p></div>
|
||||
<div class="icon"><i class="ion ion-bag"></i></div>
|
||||
<a data-pjax="true" href="/admin/posts" class="small-box-footer">查看所有 <i class="fa fa-arrow-circle-right"></i></a>
|
||||
<a data-pjax="true" href="/admin/posts" class="small-box-footer"><@spring.message code='common.btn.view-all' /> <i class="fa fa-arrow-circle-right"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</#if>
|
||||
<#if options.widget_commentcount?default("true")=="true">
|
||||
<div class="col-lg-3 col-xs-6" id="widgetCommentCountBody">
|
||||
<div class="small-box bg-green">
|
||||
<div class="inner"><h3>${commentCount?default(0)}</h3><p>评论</p></div>
|
||||
<div class="inner"><h3>${commentCount?default(0)}</h3><p><@spring.message code='admin.index.widgets.comments' /></p></div>
|
||||
<div class="icon"><i class="ion ion-stats-bars"></i></div>
|
||||
<a data-pjax="true" href="/admin/comments" class="small-box-footer">查看所有 <i class="fa fa-arrow-circle-right"></i></a>
|
||||
<a data-pjax="true" href="/admin/comments" class="small-box-footer"><@spring.message code='common.btn.view-all' /> <i class="fa fa-arrow-circle-right"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</#if>
|
||||
<#if options.widget_attachmentcount?default("true")=="true">
|
||||
<div class="col-lg-3 col-xs-6" id="widgetAttachmentCountBody">
|
||||
<div class="small-box bg-yellow">
|
||||
<div class="inner"><h3>${mediaCount?default(0)}</h3><p>媒体库</p></div>
|
||||
<div class="inner"><h3>${mediaCount?default(0)}</h3><p><@spring.message code='admin.index.widgets.attachments' /></p></div>
|
||||
<div class="icon"><i class="ion ion-person-add"></i></div>
|
||||
<a data-pjax="true" href="/admin/attachments" class="small-box-footer">上传图片 <i class="fa fa-arrow-circle-right"></i></a>
|
||||
<a data-pjax="true" href="/admin/attachments" class="small-box-footer"><@spring.message code='common.btn.upload-image' /> <i class="fa fa-arrow-circle-right"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</#if>
|
||||
<#if options.widget_daycount?default("true")=="true">
|
||||
<div class="col-lg-3 col-xs-6" id="widgetDayCountBody">
|
||||
<div class="small-box bg-red">
|
||||
<div class="inner"><h3 id="blogStart">1</h3><p>成立天数</p></div>
|
||||
<div class="inner"><h3 id="blogStart"></h3><p><@spring.message code='admin.index.widgets.day-count' /></p></div>
|
||||
<div class="icon"><i class="ion ion-pie-graph"></i></div>
|
||||
<a href="#" class="small-box-footer" data-toggle="modal" data-target="#blogInfo">${options.blog_start?default('0000-00-00')} <i class="fa fa-star"></i></a>
|
||||
</div>
|
||||
|
@ -167,7 +167,7 @@
|
|||
<div class="col-lg-6 col-xs-12" id="widgetPostLastestBody">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">最新文章</h3>
|
||||
<h3 class="box-title"><@spring.message code='admin.index.widgets.post-lastest' /></h3>
|
||||
<div class="box-tools">
|
||||
<button type="button" class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip" title="Collapse">
|
||||
<i class="fa fa-minus"></i>
|
||||
|
@ -178,9 +178,9 @@
|
|||
<table class="table table-bordered table-hover text-center">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="50%">标题</th>
|
||||
<th>状态</th>
|
||||
<th>日期</th>
|
||||
<th width="50%"><@spring.message code='common.th.title' /></th>
|
||||
<th><@spring.message code='common.th.status' /></th>
|
||||
<th><@spring.message code='common.th.date' /></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -194,18 +194,18 @@
|
|||
</#if>
|
||||
<td class="text-center">
|
||||
<#if post.postStatus==0>
|
||||
<span class="label bg-green">已发布</span>
|
||||
<span class="label bg-green"><@spring.message code='common.status.published' /></span>
|
||||
<#elseif post.postStatus==1>
|
||||
<span class="label bg-yellow">草 稿</span>
|
||||
<span class="label bg-yellow"><@spring.message code='common.status.draft' /></span>
|
||||
<#else>
|
||||
<span class="label bg-red">回收站</span>
|
||||
<span class="label bg-red"><@spring.message code='common.status.recycle-bin' /></span>
|
||||
</#if>
|
||||
</td>
|
||||
<td>${post.postDate?if_exists?string("yyyy-MM-dd HH:mm")}</td>
|
||||
</tr>
|
||||
</#list>
|
||||
<#else>
|
||||
<tr><td>暂无数据</td></tr>
|
||||
<tr><td><@spring.message code='common.text.no-data' /></td></tr>
|
||||
</#if>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -217,7 +217,7 @@
|
|||
<div class="col-lg-6 col-xs-12" id="widgetCommentLastestBody">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">最新评论</h3>
|
||||
<h3 class="box-title"><@spring.message code='admin.index.widgets.comment-lastest' /></h3>
|
||||
<div class="box-tools">
|
||||
<button type="button" class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip" title="Collapse">
|
||||
<i class="fa fa-minus"></i>
|
||||
|
@ -228,11 +228,11 @@
|
|||
<table class="table table-bordered table-hover text-center">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>评论者</th>
|
||||
<th>评论页面</th>
|
||||
<th width="30%">内容</th>
|
||||
<th>状态</th>
|
||||
<th>时间</th>
|
||||
<th><@spring.message code='common.th.comment-author' /></th>
|
||||
<th><@spring.message code='common.th.comment-page' /></th>
|
||||
<th width="30%"><@spring.message code='common.th.content' /></th>
|
||||
<th><@spring.message code='common.th.status' /></th>
|
||||
<th><@spring.message code='common.th.date' /></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -263,13 +263,13 @@
|
|||
<td>
|
||||
<#switch comment.commentStatus>
|
||||
<#case 0>
|
||||
<span class="label bg-green">已发布</span>
|
||||
<span class="label bg-green"><@spring.message code='common.status.published' /></span>
|
||||
<#break >
|
||||
<#case 1>
|
||||
<span class="label bg-yellow">待审核</span>
|
||||
<span class="label bg-yellow"><@spring.message code='common.status.checking' /></span>
|
||||
<#break >
|
||||
<#case 2>
|
||||
<span class="label bg-red">回收站</span>
|
||||
<span class="label bg-red"><@spring.message code='common.status.recycle-bin' /></span>
|
||||
<#break >
|
||||
</#switch>
|
||||
</td>
|
||||
|
@ -277,7 +277,7 @@
|
|||
</tr>
|
||||
</#list>
|
||||
<#else>
|
||||
<tr><td>暂无数据</td></tr>
|
||||
<tr><td><@spring.message code='common.text.no-data' /></td></tr>
|
||||
</#if>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -289,14 +289,14 @@
|
|||
<div class="col-lg-6 col-xs-12" id="widgetLogsLastestBody">
|
||||
<div class="box box-primary">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">最新日志</h3>
|
||||
<h3 class="box-title"><@spring.message code='admin.index.widgets.logs-lastest' /></h3>
|
||||
<div class="box-tools">
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn btn-box-tool dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
|
||||
<i class="fa fa-bars"></i></button>
|
||||
<ul class="dropdown-menu pull-right" role="menu">
|
||||
<li><a href="#" onclick="openAllLogs()">查看所有</a></li>
|
||||
<li><a href="/admin/logs/clear">清空日志</a></li>
|
||||
<li><a href="#" onclick="openAllLogs()"><@spring.message code='common.btn.view-all' /></a></li>
|
||||
<li><a href="/admin/logs/clear"><@spring.message code='admin.index.widgets.btn.clear-logs' /></a></li>
|
||||
</ul>
|
||||
<button type="button" class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip" title="Collapse">
|
||||
<i class="fa fa-minus"></i>
|
||||
|
@ -308,10 +308,10 @@
|
|||
<table class="table table-bordered table-hover text-center">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>事件</th>
|
||||
<th>结果</th>
|
||||
<th><@spring.message code='common.th.action' /></th>
|
||||
<th><@spring.message code='common.th.result' /></th>
|
||||
<th>IP</th>
|
||||
<th>时间</th>
|
||||
<th><@spring.message code='common.th.date' /></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -325,7 +325,7 @@
|
|||
</tr>
|
||||
</#list>
|
||||
<#else>
|
||||
<tr><td>暂无数据</td></tr>
|
||||
<tr><td><@spring.message code='common.text.no-data' /></td></tr>
|
||||
</#if>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -340,7 +340,7 @@
|
|||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title" id="myModalLabel">博客数据</h4>
|
||||
<h4 class="modal-title" id="blog-data">博客数据</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>「${options.blog_title?if_exists}」已经运行了<span id="blogStartDay"></span>天了。</p>
|
||||
|
@ -350,10 +350,10 @@
|
|||
<p>累计获得了${commentCount}条评论。</p>
|
||||
<p>累计添加了<@commonTag method="links">${links?size}</@commonTag>个友链。</p>
|
||||
<p>文章总访问${postViewsSum?default(0L)}次。</p>
|
||||
<p>加油!不要因为走的太远,而忘了当初为什么出发。</p>
|
||||
<p><@spring.message code='admin.index.blog-data.motto' /></p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>
|
||||
<button type="button" class="btn btn-primary" data-dismiss="modal"><@spring.message code='common.btn.define' /></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue