🎨 后台管理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="col-xs-12">
<div class="box box-primary"> <div class="box box-primary">
<div class="box-body table-responsive no-padding"> <div class="box-body table-responsive no-padding">
<table class="table table-bordered table-hover"> <table class="table table-hover">
<thead> <tbody>
<tr> <tr>
<th><@spring.message code='common.th.file-name' /></th> <th><@spring.message code='common.th.file-name' /></th>
<th><@spring.message code='common.th.date' /></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.file-type' /></th>
<th><@spring.message code='common.th.control' /></th> <th><@spring.message code='common.th.control' /></th>
</tr> </tr>
</thead>
<tbody>
<#if backups?size gt 0> <#if backups?size gt 0>
<#list backups?sort_by("createAt")?reverse as backup> <#list backups?sort_by("createAt")?reverse as backup>
<tr> <tr>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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