🎨 后台管理ui优化

pull/56/head
ruibaby 2018-11-07 10:43:40 +08:00
parent db4abd3b7b
commit 15ac481aff
9 changed files with 150 additions and 174 deletions

View File

@ -69,8 +69,8 @@
<div class="col-xs-12">
<div class="box box-primary">
<div class="box-body table-responsive no-padding">
<table class="table table-bordered table-hover">
<thead>
<table class="table table-hover">
<tbody>
<tr>
<th><@spring.message code='common.th.file-name' /></th>
<th><@spring.message code='common.th.date' /></th>
@ -78,8 +78,6 @@
<th><@spring.message code='common.th.file-type' /></th>
<th><@spring.message code='common.th.control' /></th>
</tr>
</thead>
<tbody>
<#if backups?size gt 0>
<#list backups?sort_by("createAt")?reverse as backup>
<tr>

View File

@ -83,8 +83,8 @@
<h3 class="box-title"><@spring.message code='admin.categories.text.all-categories' /></h3>
</div>
<div class="box-body table-responsive no-padding">
<table class="table table-bordered table-hover">
<thead>
<table class="table table-hover">
<tbody>
<tr>
<th><@spring.message code='common.th.name' /></th>
<th><@spring.message code='common.th.url' /></th>
@ -92,8 +92,6 @@
<th><@spring.message code='common.th.posts-count' /></th>
<th><@spring.message code='common.th.control' /></th>
</tr>
</thead>
<tbody>
<@commonTag method="categories">
<#if categories?? && categories?size gt 0>
<#list categories as cate>

View File

@ -30,8 +30,8 @@
<div class="col-xs-12">
<div class="box box-primary">
<div class="box-body table-responsive no-padding">
<table class="table table-bordered table-hover">
<thead>
<table class="table table-hover">
<tbody>
<tr>
<th><@spring.message code='common.th.comment-author' /></th>
<th width="50%"><@spring.message code='common.th.content' /></th>
@ -39,8 +39,6 @@
<th><@spring.message code='common.th.date' /></th>
<th><@spring.message code='common.th.control' /></th>
</tr>
</thead>
<tbody>
<#if comments.content?size gt 0>
<#list comments.content as comment>
<tr>

View File

@ -204,15 +204,13 @@
</div>
</div>
<div class="box-body table-responsive no-padding">
<table class="table table-bordered table-hover text-center">
<thead>
<table class="table table-hover text-center">
<tbody>
<tr>
<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>
<#if postTopFive??>
<#list postTopFive as post>
<tr>
@ -254,8 +252,8 @@
</div>
</div>
<div class="box-body table-responsive no-padding">
<table class="table table-bordered table-hover text-center">
<thead>
<table class="table table-hover text-center">
<tbody>
<tr>
<th><@spring.message code='common.th.comment-author' /></th>
<th width="20%"><@spring.message code='common.th.comment-page' /></th>
@ -263,8 +261,6 @@
<th><@spring.message code='common.th.status' /></th>
<th><@spring.message code='common.th.date' /></th>
</tr>
</thead>
<tbody>
<#if comments??>
<#list comments as comment>
<tr>
@ -334,16 +330,14 @@
</div>
</div>
<div class="box-body table-responsive no-padding">
<table class="table table-bordered table-hover text-center">
<thead>
<table class="table table-hover text-center">
<tbody>
<tr>
<th><@spring.message code='common.th.action' /></th>
<th><@spring.message code='common.th.result' /></th>
<th>IP</th>
<th><@spring.message code='common.th.date' /></th>
</tr>
</thead>
<tbody>
<#if logs??>
<#list logs as log>
<tr>

View File

@ -101,8 +101,8 @@
<h3 class="box-title"><@spring.message code='admin.menus.text.all-menus' /></h3>
</div>
<div class="box-body table-responsive no-padding">
<table class="table table-bordered table-hover">
<thead>
<table class="table table-hover">
<tbody>
<tr>
<th><@spring.message code='common.th.name' /></th>
<th><@spring.message code='common.th.url' /></th>
@ -110,8 +110,6 @@
<th><@spring.message code='common.th.icon' /></th>
<th><@spring.message code='common.th.name' /></th>
</tr>
</thead>
<tbody>
<@commonTag method="menus">
<#if menus?? && menus?size gt 0>
<#list menus as menu>

View File

@ -30,15 +30,13 @@
<div class="tab-content" style="padding: 0;">
<div class="tab-pane active" id="internal">
<div class="box-body table-responsive no-padding">
<table class="table table-bordered table-hover">
<thead>
<table class="table table-hover">
<tbody>
<tr>
<th><@spring.message code='common.th.title' /></th>
<th><@spring.message code='common.th.url' /></th>
<th><@spring.message code='common.th.control' /></th>
</tr>
</thead>
<tbody>
<tr>
<td><@spring.message code='admin.pages.links' /></td>
<td>/links</td>
@ -61,8 +59,8 @@
</div>
<div class="tab-pane" id="pages">
<div class="box-body table-responsive no-padding">
<table class="table table-bordered table-hover">
<thead>
<table class="table table-hover">
<tbody>
<tr>
<th><@spring.message code='common.th.title' /></th>
<th><@spring.message code='common.th.url' /></th>
@ -71,8 +69,6 @@
<th><@spring.message code='common.th.date' /></th>
<th><@spring.message code='common.th.control' /></th>
</tr>
</thead>
<tbody>
<#if pages?size gt 0>
<#list pages as page>
<tr>

View File

@ -82,15 +82,13 @@
<div class="box-header with-border"><h3 class="box-title"><@spring.message code='admin.pages.links.text.all-links' /></h3></div>
<div class="box-body table-responsive no-padding">
<table class="table table-hover">
<thead>
<tbody>
<tr>
<th><@spring.message code='common.th.name' /></th>
<th><@spring.message code='common.th.site' /></th>
<th><@spring.message code='common.th.desc' /></th>
<th><@spring.message code='common.th.control' /></th>
</tr>
</thead>
<tbody>
<@commonTag method="links">
<#if links?? && links?size gt 0>
<#list links as link>

View File

@ -41,8 +41,8 @@
<div class="col-xs-12">
<div class="box box-primary">
<div class="box-body table-responsive no-padding">
<table class="table table-bordered table-hover">
<thead>
<table class="table table-hover">
<tbody>
<tr>
<th><@spring.message code='common.th.title' /></th>
<th><@spring.message code='common.th.categories' /></th>
@ -52,8 +52,6 @@
<th><@spring.message code='common.th.date' /></th>
<th><@spring.message code='common.th.control' /></th>
</tr>
</thead>
<tbody>
<#if posts.content?size gt 0>
<#list posts.content as post>
<tr>

View File

@ -12,8 +12,8 @@
<div class="col-lg-12 attachDesc" style="padding-top: 15px;">
<div class="box box-solid">
<div class="box-body table-responsive no-padding">
<table class="table table-bordered table-hover">
<thead>
<table class="table table-hover">
<tbody>
<tr>
<th><@spring.message code='admin.logs.th.log-id' /></th>
<th><@spring.message code='admin.logs.th.log-action' /></th>
@ -21,8 +21,6 @@
<th>IP</th>
<th><@spring.message code='admin.logs.th.log-datetime' /></th>
</tr>
</thead>
<tbody>
<#list logs.content as log>
<tr>
<td>${log.logId}</td>