Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Dfer.Site
dfphp.dfer.site
提交
338c85af
dfphp.dfer.site
项目概览
Dfer.Site
/
dfphp.dfer.site
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
dfphp.dfer.site
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
338c85af
编写于
4月 25, 2024
作者:
Dfer.Site
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
5.5.3
上级
50c76d80
变更
15
隐藏空白更改
内联
并排
Showing
15 changed file
with
683 addition
and
700 deletion
+683
-700
public/view/admin/column/article.htm
public/view/admin/column/article.htm
+55
-57
public/view/admin/column/link.htm
public/view/admin/column/link.htm
+59
-61
public/view/admin/column/message.htm
public/view/admin/column/message.htm
+67
-68
public/view/admin/column/music.htm
public/view/admin/column/music.htm
+59
-61
public/view/admin/column/notepad.htm
public/view/admin/column/notepad.htm
+18
-19
public/view/admin/column/notepad_ss.htm
public/view/admin/column/notepad_ss.htm
+41
-45
public/view/admin/home/guests.htm
public/view/admin/home/guests.htm
+56
-57
public/view/admin/home/html.htm
public/view/admin/home/html.htm
+64
-65
public/view/admin/home/menu.htm
public/view/admin/home/menu.htm
+77
-77
public/view/admin/home/roles.htm
public/view/admin/home/roles.htm
+59
-60
public/view/admin/home/user.htm
public/view/admin/home/user.htm
+18
-17
public/view/admin/public/common.htm
public/view/admin/public/common.htm
+91
-93
public/view/homepage/public/common.htm
public/view/homepage/public/common.htm
+11
-9
public/view/homepage/public/common_m.htm
public/view/homepage/public/common_m.htm
+7
-10
version
version
+1
-1
未找到文件。
public/view/admin/column/article.htm
浏览文件 @
338c85af
<df-body>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"ibox float-e-margins"
>
<div
class=
"ibox-title"
>
<h5>
>>
</h5>
</div>
<div
class=
"ibox-content"
>
<div
class=
"row form-horizontal form-group"
>
<div
class=
"col-sm-1"
>
<a
href=
'{:split_url(str("admin/column/%s_add",[areas\admin\model\ArticleModel::getName()]))}'
class=
"btn btn-primary btn-sm"
><i
class=
"fa fa-plus"
></i>
添加
</a>
</div>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"ibox float-e-margins"
>
<div
class=
"ibox-title"
>
<h5>
>>
</h5>
</div>
<div
class=
"ibox-content"
>
<div
class=
"row form-horizontal form-group"
>
<div
class=
"col-sm-1"
>
<a
href=
'{:split_url(str("admin/column/%s_add",[areas\admin\model\ArticleModel::getName()]))}'
class=
"btn btn-primary btn-sm"
><i
class=
"fa fa-plus"
></i>
添加
</a>
</div>
</div>
<table
class=
"table table-striped table-bordered table-hover datatable-o
ne"
>
<thead>
<tr>
<th
width=
"50"
>
编号
</th>
<th
width=
"150"
>
标题
</th>
<th
width=
"150"
>
操作
</th>
</tr>
</thead>
<tbody>
<df-each
$
output
>
<tr>
<td>
{$index}
</td>
<td>
{::title}
</td>
<td
class=
'center'
>
<a
href=
'{:split_url(str("admin/column/%s_add/%s",[areas\admin\model\ArticleModel::getName(),$value[0]]))}'
>
[编辑]
</a>
<!--<a href='{:split_url("homepage/column/columndel/%s")}' onclick='return confirm("您确认要删除吗?")'>[删除]</a>-->
</td>
</tr>
</df-each>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<table
class=
"table table-striped table-bordered table-hover datatable-one"
id=
"tableO
ne"
>
<thead>
<tr>
<th
width=
"50"
>
编号
</th>
<th
width=
"150"
>
标题
</th>
<th
width=
"150"
>
操作
</th>
</tr>
</thead>
<tbody>
<df-each
$
output
>
<tr>
<td>
{$index}
</td>
<td>
{::title}
</td>
<td
class=
'center'
>
<a
href=
'{:split_url(str("admin/column/%s_add/%s",[areas\admin\model\ArticleModel::getName(),$value[0]]))}'
>
[编辑]
</a>
<!--<a href='{:split_url("homepage/column/columndel/%s")}' onclick='return confirm("您确认要删除吗?")'>[删除]</a>-->
</td>
</tr>
</df-each>
</tbody>
</table>
</div>
</div>
</div>
</div>
</df-body>
<df-footer>
<!-- ********************** DATATABLE START ********************** -->
<link
href=
"https://oss.dfer.site/datatables/1.13.8/css/jquery.dataTables.min.css"
rel=
"stylesheet"
>
<script
src=
"https://oss.dfer.site/datatables/1.13.8/js/jquery.dataTables.min.js"
></script>
<script
src=
"https://oss.dfer.site/datatables/1.13.8/js/dataTables.bootstrap.min.js"
></script>
<!-- ********************** DATATABLE START ********************** -->
<link
rel=
"stylesheet"
href=
"https://oss.dfer.site/datatables/2.0.5/css/dataTables.dataTables.min.css"
/>
<script
src=
"https://oss.dfer.site/datatables/2.0.5/js/dataTables.min.js"
></script>
<script>
$
(
document
).
ready
(
function
()
{
new
DataTable
(
'
#tableOne
'
,
{
language
:
{
url
:
'
https://oss.dfer.site/datatables/2.0.5/i18n/zh.json
'
},
aLengthMenu
:
[
10
,
50
,
100
],
iDisplayLength
:
10
});
});
</script>
<!-- ********************** DATATABLE END ********************** -->
<script>
$
(
document
).
ready
(
function
()
{
$
(
'
.datatable-one
'
).
dataTable
({
language
:
{
url
:
'
https://oss.dfer.site/datatables/1.13.8/i18n/zh.json
'
},
aLengthMenu
:
[
10
,
50
,
100
],
//更改显示记录数选项
iDisplayLength
:
10
//默认显示的记录数
});
});
</script>
<!-- ********************** DATATABLE END ********************** -->
</df-footer>
</df-footer>
public/view/admin/column/link.htm
浏览文件 @
338c85af
...
...
@@ -2,73 +2,71 @@
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"ibox float-e-margins"
>
<div
class=
"ibox-title"
>
<h5>
>>
</h5>
</div>
<div
class=
"ibox-content"
>
<div
class=
"row form-horizontal form-group"
>
<div
class=
"col-sm-1"
>
<a
href=
'{:split_url(str("admin/column/%s_add",[areas\admin\model\LinkModel::getName()]))}'
class=
"btn btn-primary btn-sm"
><i
class=
"fa fa-plus"
></i>
添加
</a>
</div>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"ibox float-e-margins"
>
<div
class=
"ibox-title"
>
<h5>
>>
</h5>
</div>
<div
class=
"ibox-content"
>
<div
class=
"row form-horizontal form-group"
>
<div
class=
"col-sm-1"
>
<a
href=
'{:split_url(str("admin/column/%s_add",[areas\admin\model\LinkModel::getName()]))}'
class=
"btn btn-primary btn-sm"
><i
class=
"fa fa-plus"
></i>
添加
</a>
</div>
</div>
<table
class=
"table table-striped table-bordered table-hover datatable-o
ne"
>
<thead>
<tr>
<th
width=
"50"
>
编号
</th>
<th
width=
"100"
>
名称
</th>
<th
width=
"150"
>
路径
</th>
<th
width=
"150"
>
操作
</th>
</tr>
</thead>
<tbody>
<df-each
$
output
>
</div>
<table
class=
"table table-striped table-bordered table-hover datatable-one"
id=
"tableO
ne"
>
<thead>
<tr>
<th
width=
"50"
>
编号
</th>
<th
width=
"100"
>
名称
</th>
<th
width=
"150"
>
路径
</th>
<th
width=
"150"
>
操作
</th>
</tr>
</thead>
<tbody>
<df-each
$
output
>
<tr>
<td>
{$index}
</td>
<td>
<a
href=
'#'
>
{::title}
</a>
</td>
<td>
{::src}
</td>
<td
class=
'center'
>
<a
href=
'{:split_url(str("admin/column/%s_add/%s",[areas\admin\model\LinkModel::getName(),$value[0]]))}'
>
[编辑]
</a>
<a
href=
'{:split_url(str("admin/column/%s_del/%s",[areas\admin\model\LinkModel::getName(),$value[0]]))}'
onclick=
'return confirm("您确认要删除吗?")'
>
[删除]
</a>
</td>
</tr>
</df-each>
</tbody>
</table>
</div>
</div>
</div>
</div>
<tr>
<td>
{$index}
</td>
<td>
<a
href=
'#'
>
{::title}
</a>
</td>
<td>
{::src}
</td>
<td
class=
'center'
>
<a
href=
'{:split_url(str("admin/column/%s_add/%s",[areas\admin\model\LinkModel::getName(),$value[0]]))}'
>
[编辑]
</a>
<a
href=
'{:split_url(str("admin/column/%s_del/%s",[areas\admin\model\LinkModel::getName(),$value[0]]))}'
onclick=
'return confirm("您确认要删除吗?")'
>
[删除]
</a>
</td>
</tr>
</df-each>
</tbody>
</table>
</div>
</div>
</div>
</div>
</df-body>
<df-footer>
<!-- ********************** DATATABLE START ********************** -->
<link
href=
"https://oss.dfer.site/datatables/1.13.8/css/jquery.dataTables.min.css"
rel=
"stylesheet"
>
<script
src=
"https://oss.dfer.site/datatables/1.13.8/js/jquery.dataTables.min.js"
></script>
<script
src=
"https://oss.dfer.site/datatables/1.13.8/js/dataTables.bootstrap.min.js"
></script>
<script>
$
(
document
).
ready
(
function
()
{
$
(
'
.datatable-one
'
).
dataTable
({
language
:
{
url
:
'
https://oss.dfer.site/datatables/1.13.8/i18n/zh.json
'
},
aLengthMenu
:
[
10
,
50
,
100
],
//更改显示记录数选项
iDisplayLength
:
10
//默认显示的记录数
});
});
</script>
<!-- ********************** DATATABLE END ********************** -->
<!-- ********************** DATATABLE START ********************** -->
<link
rel=
"stylesheet"
href=
"https://oss.dfer.site/datatables/2.0.5/css/dataTables.dataTables.min.css"
/>
<script
src=
"https://oss.dfer.site/datatables/2.0.5/js/dataTables.min.js"
></script>
<script>
$
(
document
).
ready
(
function
()
{
new
DataTable
(
'
#tableOne
'
,
{
language
:
{
url
:
'
https://oss.dfer.site/datatables/2.0.5/i18n/zh.json
'
},
aLengthMenu
:
[
10
,
50
,
100
],
iDisplayLength
:
10
});
});
</script>
<!-- ********************** DATATABLE END ********************** -->
</df-footer>
public/view/admin/column/message.htm
浏览文件 @
338c85af
...
...
@@ -2,81 +2,80 @@
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"ibox float-e-margins"
>
<div
class=
"ibox-title"
>
<h5>
>>
</h5>
</div>
<div
class=
"ibox-content"
>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"ibox float-e-margins"
>
<div
class=
"ibox-title"
>
<h5>
>>
</h5>
</div>
<div
class=
"ibox-content"
>
<table
class=
"table table-striped table-bordered table-hover datatable-o
ne"
>
<thead>
<tr>
<th
width=
"50"
>
编号
</th>
<th
width=
"100"
>
姓名
</th>
<th
width=
"100"
>
联系方式
</th>
<th
width=
"100"
>
内容
</th>
<th
width=
"100"
>
阅读状态
</th>
<th
width=
"150"
>
时间
</th>
<th
width=
"150"
>
操作
</th>
</tr>
</thead>
<tbody>
<df-each
$
output
>
<tr>
<td>
{$index}
</td>
<td><a
href=
'{:split_url(str("admin/column/%s_view/%s",[table_name("MessageModel"),$value[0]]))}'
>
{::name}
</a>
</td>
<td>
<a
target=
"_blank"
href=
'mailto:{:Common::findStr($v["e_mail"],"@")?$value["e_mail"]:$value["e_mail"]."@qq.com"}?subject={::content}'
>
{::e_mail}
</a>
</td>
<td>
{::content}
</td>
<td>
{:$value['status']?'已读':'未读'}
</td>
<td>
{::time}
</td>
<td
class=
'center'
>
<a
href=
'{:split_url(str("admin/home/%s_del/%s",[areas\admin\model\MessageModel::getName(),$value[0]]))}'
onclick=
'return confirm("您确认要删除吗?")'
>
[删除]
</a>
</td>
</tr>
</df-each>
</tbody>
</table>
</div>
</div>
</div>
</div>
<table
class=
"table table-striped table-bordered table-hover datatable-one"
id=
"tableO
ne"
>
<thead>
<tr>
<th
width=
"50"
>
编号
</th>
<th
width=
"100"
>
姓名
</th>
<th
width=
"100"
>
联系方式
</th>
<th
width=
"100"
>
内容
</th>
<th
width=
"100"
>
阅读状态
</th>
<th
width=
"150"
>
时间
</th>
<th
width=
"150"
>
操作
</th>
</tr>
</thead>
<tbody>
<df-each
$
output
>
<tr>
<td>
{$index}
</td>
<td><a
href=
'{:split_url(str("admin/column/%s_view/%s",[table_name("MessageModel"),$value[0]]))}'
>
{::name}
</a>
</td>
<td>
<a
target=
"_blank"
href=
'mailto:{:Common::findStr($v["e_mail"],"@")?$value["e_mail"]:$value["e_mail"]."@qq.com"}?subject={::content}'
>
{::e_mail}
</a>
</td>
<td>
{::content}
</td>
<td>
{:$value['status']?'已读':'未读'}
</td>
<td>
{::time}
</td>
<td
class=
'center'
>
<a
href=
'{:split_url(str("admin/home/%s_del/%s",[areas\admin\model\MessageModel::getName(),$value[0]]))}'
onclick=
'return confirm("您确认要删除吗?")'
>
[删除]
</a>
</td>
</tr>
</df-each>
</tbody>
</table>
</div>
</div>
</div>
</div>
</df-body>
<df-footer>
<!-- ********************** DATATABLE START ********************** -->
<link
href=
"https://oss.dfer.site/datatables/1.13.8/css/jquery.dataTables.min.css"
rel=
"stylesheet"
>
<script
src=
"https://oss.dfer.site/datatables/1.13.8/js/jquery.dataTables.min.js"
></script>
<script
src=
"https://oss.dfer.site/datatables/1.13.8/js/dataTables.bootstrap.min.js"
></script>
<!-- ********************** DATATABLE START ********************** -->
<link
rel=
"stylesheet"
href=
"https://oss.dfer.site/datatables/2.0.5/css/dataTables.dataTables.min.css"
/>
<script
src=
"https://oss.dfer.site/datatables/2.0.5/js/dataTables.min.js"
></script>
<script>
$
(
document
).
ready
(
function
()
{
new
DataTable
(
'
#tableOne
'
,
{
language
:
{
url
:
'
https://oss.dfer.site/datatables/2.0.5/i18n/zh.json
'
},
aLengthMenu
:
[
10
,
50
,
100
],
iDisplayLength
:
10
});
});
</script>
<!-- ********************** DATATABLE END ********************** -->
<script>
$
(
document
).
ready
(
function
()
{
$
(
'
.datatable-one
'
).
dataTable
({
language
:
{
url
:
'
https://oss.dfer.site/datatables/1.13.8/i18n/zh.json
'
},
aLengthMenu
:
[
10
,
50
,
100
],
//更改显示记录数选项
iDisplayLength
:
10
//默认显示的记录数
});
});
</script>
<!-- ********************** DATATABLE END ********************** -->
<script>
//pc端发送QQ信息
QQ_msg
=
function
(
qqN
)
{
<script>
//pc端发送QQ信息
QQ_msg
=
function
(
qqN
)
{
window
.
open
(
'
http://wpa.qq.com/msgrd?v=3&site=qq&menu=yes&uin=
'
+
qqN
,
'
_blank
'
,
'
height=1024,toolbar=no,scrollbars=no,menubar=no,status=no
'
);
window
.
open
(
'
http://wpa.qq.com/msgrd?v=3&site=qq&menu=yes&uin=
'
+
qqN
,
'
_blank
'
,
'
height=1024,toolbar=no,scrollbars=no,menubar=no,status=no
'
);
}
</script>
}
</script>
</df-footer>
public/view/admin/column/music.htm
浏览文件 @
338c85af
<df-body>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"ibox float-e-margins"
>
<div
class=
"ibox-title"
>
<h5>
>>
</h5>
</div>
<div
class=
"ibox-content"
>
<div
class=
"row form-horizontal form-group"
>
<div
class=
"col-sm-1"
>
<a
href=
'{:split_url(str("admin/column/%s_add",[areas\admin\model\MusicModel::getName()]))}'
class=
"btn btn-primary btn-sm"
><i
class=
"fa fa-plus"
></i>
添加
</a>
</div>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"ibox float-e-margins"
>
<div
class=
"ibox-title"
>
<h5>
>>
</h5>
</div>
<div
class=
"ibox-content"
>
<div
class=
"row form-horizontal form-group"
>
<div
class=
"col-sm-1"
>
<a
href=
'{:split_url(str("admin/column/%s_add",[areas\admin\model\MusicModel::getName()]))}'
class=
"btn btn-primary btn-sm"
><i
class=
"fa fa-plus"
></i>
添加
</a>
</div>
</div>
<table
class=
"table table-striped table-bordered table-hover datatable-o
ne"
>
<thead>
<tr>
<th
width=
"50"
>
编号
</th>
<th
width=
"100"
>
名称
</th>
<th
width=
"150"
>
路径
</th>
<th
width=
"150"
>
操作
</th>
</tr>
</thead>
<tbody>
<df-each
$
output
>
<tr>
<td>
{$index}
</td>
<td>
<a
href=
'#'
>
{::title}
</a>
</td>
<td>
{::src}
</td>
<td
class=
'center'
>
<a
href=
'{:split_url(str("admin/column/%s_add/%s",[areas\admin\model\MusicModel::getName(),$value[0]]))}'
>
[编辑]
</a>
<a
href=
'{:split_url(str("admin/column/%s_del/%s",[areas\admin\model\MusicModel::getName(),$value[0]]))}'
onclick=
'return confirm("您确认要删除吗?")'
>
[删除]
</a>
</td>
</tr>
</df-each>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<table
class=
"table table-striped table-bordered table-hover datatable-one"
id=
"tableO
ne"
>
<thead>
<tr>
<th
width=
"50"
>
编号
</th>
<th
width=
"100"
>
名称
</th>
<th
width=
"150"
>
路径
</th>
<th
width=
"150"
>
操作
</th>
</tr>
</thead>
<tbody>
<df-each
$
output
>
<tr>
<td>
{$index}
</td>
<td>
<a
href=
'#'
>
{::title}
</a>
</td>
<td>
{::src}
</td>
<td
class=
'center'
>
<a
href=
'{:split_url(str("admin/column/%s_add/%s",[areas\admin\model\MusicModel::getName(),$value[0]]))}'
>
[编辑]
</a>
<a
href=
'{:split_url(str("admin/column/%s_del/%s",[areas\admin\model\MusicModel::getName(),$value[0]]))}'
onclick=
'return confirm("您确认要删除吗?")'
>
[删除]
</a>
</td>
</tr>
</df-each>
</tbody>
</table>
</div>
</div>
</div>
</div>
</df-body>
<df-footer>
<!-- ********************** DATATABLE START ********************** -->
<link
rel=
"stylesheet"
href=
"https://oss.dfer.site/datatables/2.0.5/css/dataTables.dataTables.min.css"
/>
<script
src=
"https://oss.dfer.site/datatables/2.0.5/js/dataTables.min.js"
></script>
<script>
$
(
document
).
ready
(
function
()
{
new
DataTable
(
'
#tableOne
'
,
{
language
:
{
url
:
'
https://oss.dfer.site/datatables/2.0.5/i18n/zh.json
'
},
aLengthMenu
:
[
10
,
50
,
100
],
iDisplayLength
:
10
});
});
</script>
<!-- ********************** DATATABLE END ********************** -->
<!-- ********************** DATATABLE START ********************** -->
<link
href=
"https://oss.dfer.site/datatables/1.13.8/css/jquery.dataTables.min.css"
rel=
"stylesheet"
>
<script
src=
"https://oss.dfer.site/datatables/1.13.8/js/jquery.dataTables.min.js"
></script>
<script
src=
"https://oss.dfer.site/datatables/1.13.8/js/dataTables.bootstrap.min.js"
></script>
<script>
$
(
document
).
ready
(
function
()
{
$
(
'
.datatable-one
'
).
dataTable
({
language
:
{
url
:
'
https://oss.dfer.site/datatables/1.13.8/i18n/zh.json
'
},
aLengthMenu
:
[
10
,
50
,
100
],
//更改显示记录数选项
iDisplayLength
:
10
//默认显示的记录数
});
});
</script>
<!-- ********************** DATATABLE END ********************** -->
</df-footer>
public/view/admin/column/notepad.htm
浏览文件 @
338c85af
...
...
@@ -12,7 +12,7 @@
class=
"btn btn-primary btn-sm"
><i
class=
"fa fa-plus"
></i>
添加
</a>
</div>
</div>
<table
class=
"table table-striped table-bordered table-hover datatable-one"
>
<table
class=
"table table-striped table-bordered table-hover datatable-one"
id=
"tableOne"
>
<thead>
<tr>
<th
width=
"50"
>
编号
</th>
...
...
@@ -24,13 +24,13 @@
<tbody>
<df-each
$
output
>
<tr>
<td>
{$
num
}
</td>
<td>
{$
index
}
</td>
<td>
<a
href=
'{:split_url(str("admin/column/%s_view/%s",[table_name("NotepadModel"),$value[0]]))}'
>
<df-val
value=
"title"
/></a>
</td>
<td>
{
$
time}
</td>
<td>
{
::
time}
</td>
<td
class=
'center'
>
<a
href=
'{:split_url(str("admin/column/%s_add/%s",[table_name("NotepadModel"),$value[0]]))}'
>
[编辑]
</a>
...
...
@@ -49,21 +49,20 @@
</df-body>
<df-footer>
<!-- ********************** DATATABLE START ********************** -->
<link
rel=
"stylesheet"
href=
"https://oss.dfer.site/datatables/2.0.5/css/dataTables.dataTables.min.css"
/>
<script
src=
"https://oss.dfer.site/datatables/2.0.5/js/dataTables.min.js"
></script>
<script>
$
(
document
).
ready
(
function
()
{
new
DataTable
(
'
#tableOne
'
,
{
language
:
{
url
:
'
https://oss.dfer.site/datatables/2.0.5/i18n/zh.json
'
},
aLengthMenu
:
[
10
,
50
,
100
],
iDisplayLength
:
10
});
}
);
</script>
<!-- ********************** DATATABLE END ********************** -->
<!-- ********************** DATATABLE START ********************** -->
<link
href=
"https://oss.dfer.site/datatables/1.13.8/css/jquery.dataTables.min.css"
rel=
"stylesheet"
>
<script
src=
"https://oss.dfer.site/datatables/1.13.8/js/jquery.dataTables.min.js"
></script>
<script
src=
"https://oss.dfer.site/datatables/1.13.8/js/dataTables.bootstrap.min.js"
></script>
<script>
$
(
document
).
ready
(
function
()
{
$
(
'
.datatable-one
'
).
dataTable
({
language
:
{
url
:
'
https://oss.dfer.site/datatables/1.13.8/i18n/zh.json
'
},
aLengthMenu
:
[
10
,
50
,
100
],
//更改显示记录数选项
iDisplayLength
:
10
//默认显示的记录数
});
});
</script>
<!-- ********************** DATATABLE END ********************** -->
</df-footer>
public/view/admin/column/notepad_ss.htm
浏览文件 @
338c85af
...
...
@@ -14,7 +14,7 @@
</div>
</div>
<table
class=
"table table-striped table-bordered table-hover"
id=
"
dataTabl
e"
>
<table
class=
"table table-striped table-bordered table-hover"
id=
"
tableOn
e"
>
<thead>
<tr>
<th
width=
"50"
>
编号
</th>
...
...
@@ -34,49 +34,45 @@
<df-footer>
<!-- ********************** DATATABLE START ********************** -->
<link
href=
"https://oss.dfer.site/datatables/1.13.8/css/jquery.dataTables.min.css"
rel=
"stylesheet"
>
<script
src=
"https://oss.dfer.site/datatables/1.13.8/js/jquery.dataTables.min.js"
></script>
<script
src=
"https://oss.dfer.site/datatables/1.13.8/js/dataTables.bootstrap.min.js"
></script>
<script>
$
(
document
).
ready
(
function
()
{
var
table
=
new
DataTable
(
'
#dataTable
'
,
{
columns
:
[{
data
:
'
id
'
},
{
data
:
"
title
"
},
{
data
:
"
time
"
},
{
data
:
"
opt
"
,
orderable
:
false
,
searchable
:
false
}
],
order
:
[
[
0
,
'
desc
'
],
[
1
,
'
asc
'
]
],
processing
:
true
,
serverSide
:
true
,
ajax
:
{
url
:
''
,
type
:
'
POST
'
},
language
:
{
url
:
'
https://oss.dfer.site/datatables/1.13.8/i18n/zh.json
'
},
aLengthMenu
:
[
10
,
50
,
100
],
//更改显示记录数选项
iDisplayLength
:
10
,
//默认显示的记录数
});
});
</script>
<!-- ********************** DATATABLE END ********************** -->
<!-- ********************** DATATABLE START ********************** -->
<link
href=
"https://oss.dfer.site/datatables/1.13.8/css/jquery.dataTables.min.css"
rel=
"stylesheet"
>
<script
src=
"https://oss.dfer.site/datatables/1.13.8/js/jquery.dataTables.min.js"
></script>
<script>
$
(
document
).
ready
(
function
()
{
var
table
=
new
DataTable
(
'
#tableOne
'
,
{
columns
:
[{
data
:
'
id
'
},
{
data
:
"
title
"
},
{
data
:
"
time
"
},
{
data
:
"
opt
"
,
orderable
:
false
,
searchable
:
false
}
],
order
:
[
[
0
,
'
desc
'
],
[
1
,
'
asc
'
]
],
processing
:
true
,
serverSide
:
true
,
ajax
:
{
url
:
''
,
type
:
'
POST
'
},
language
:
{
url
:
'
https://oss.dfer.site/datatables/2.0.5/i18n/zh.json
'
},
aLengthMenu
:
[
10
,
50
,
100
],
iDisplayLength
:
10
});
});
</script>
<!-- ********************** DATATABLE END ********************** -->
</df-footer>
public/view/admin/home/guests.htm
浏览文件 @
338c85af
<df-body>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"ibox float-e-margins"
>
<div
class=
"ibox-title"
>
<h5>
>>
</h5>
</div>
<div
class=
"ibox-content"
>
<div
class=
"row form-horizontal form-group"
>
<div
class=
"col-sm-1"
>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"ibox float-e-margins"
>
<div
class=
"ibox-title"
>
<h5>
>>
</h5>
</div>
<div
class=
"ibox-content"
>
<div
class=
"row form-horizontal form-group"
>
<div
class=
"col-sm-1"
>
</div>
</div>
</div>
<table
class=
"table table-striped table-bordered table-hover datatable-o
ne"
>
<thead>
<tr>
<th
width=
"50"
>
编号
</th>
<th
width=
"100"
>
ip
</th>
<th
width=
"150"
>
浏览器
</th>
<th
width=
"150"
>
访问次数
</th>
<th
width=
"150"
>
首次访问
</th>
<th
width=
"150"
>
最近访问
</th>
</div>
<table
class=
"table table-striped table-bordered table-hover datatable-one"
id=
"tableO
ne"
>
<thead>
<tr>
<th
width=
"50"
>
编号
</th>
<th
width=
"100"
>
ip
</th>
<th
width=
"150"
>
浏览器
</th>
<th
width=
"150"
>
访问次数
</th>
<th
width=
"150"
>
首次访问
</th>
<th
width=
"150"
>
最近访问
</th>
</tr>
</thead>
<tbody>
</tr>
</thead>
<tbody>
<df-each
$
output
>
<tr>
<td>
{$index}
</td>
<td>
<a
href=
'#'
>
{::ip}
</a>
</td>
<td>
{::browser}
</td>
<td>
{::hits}
</td>
<td>
{::first_time}
</td>
<td>
{::time}
</td>
</tr>
</df-each>
</tbody>
</table>
</div>
</div>
</div>
</div>
<df-each
$
output
>
<tr>
<td>
{$index}
</td>
<td>
<a
href=
'#'
>
{::ip}
</a>
</td>
<td>
{::browser}
</td>
<td>
{::hits}
</td>
<td>
{::first_time}
</td>
<td>
{::time}
</td>
</tr>
</df-each>
</tbody>
</table>
</div>
</div>
</div>
</div>
</df-body>
<df-footer>
<!-- ********************** DATATABLE START ********************** -->
<link
href=
"https://oss.dfer.site/datatables/1.13.8/css/jquery.dataTables.min.css"
rel=
"stylesheet"
>
<script
src=
"https://oss.dfer.site/datatables/1.13.8/js/jquery.dataTables.min.js"
></script>
<script
src=
"https://oss.dfer.site/datatables/1.13.8/js/dataTables.bootstrap.min.js"
></script>
<script>
$
(
document
).
ready
(
function
()
{
$
(
'
.datatable-one
'
).
dataTable
({
language
:
{
url
:
'
https://oss.dfer.site/datatables/1.13.8/i18n/zh.json
'
},
aLengthMenu
:
[
10
,
50
,
100
],
//更改显示记录数选项
iDisplayLength
:
10
//默认显示的记录数
});
});
</script>
<!-- ********************** DATATABLE END ********************** -->
<!-- ********************** DATATABLE START ********************** -->
<link
rel=
"stylesheet"
href=
"https://oss.dfer.site/datatables/2.0.5/css/dataTables.dataTables.min.css"
/>
<script
src=
"https://oss.dfer.site/datatables/2.0.5/js/dataTables.min.js"
></script>
<script>
$
(
document
).
ready
(
function
()
{
new
DataTable
(
'
#tableOne
'
,
{
language
:
{
url
:
'
https://oss.dfer.site/datatables/2.0.5/i18n/zh.json
'
},
aLengthMenu
:
[
10
,
50
,
100
],
iDisplayLength
:
10
});
});
</script>
<!-- ********************** DATATABLE END ********************** -->
</df-footer>
public/view/admin/home/html.htm
浏览文件 @
338c85af
<df-body>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"ibox float-e-margins"
>
<div
class=
"ibox-title"
>
<h5>
>>
</h5>
</div>
<div
class=
"ibox-content"
>
<div
class=
"row form-horizontal form-group"
>
<div
class=
"col-sm-1"
>
<a
href=
'{:split_url(str("%s_add",[table_name("HtmlModel")]))}'
class=
"btn btn-primary btn-sm"
><i
class=
"fa fa-plus"
></i>
添加
</a>
</div>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"ibox float-e-margins"
>
<div
class=
"ibox-title"
>
<h5>
>>
</h5>
</div>
<div
class=
"ibox-content"
>
<div
class=
"row form-horizontal form-group"
>
<div
class=
"col-sm-1"
>
<a
href=
'{:split_url(str("%s_add",[table_name("HtmlModel")]))}'
class=
"btn btn-primary btn-sm"
><i
class=
"fa fa-plus"
></i>
添加
</a>
</div>
</div>
<table
class=
"table table-striped table-bordered table-hover datatable-o
ne"
>
<thead>
<tr>
<th
width=
"50"
>
编号
</th>
<th
width=
"100"
>
文件名
</th>
<th
width=
"150"
>
路径
</th>
<th
width=
"150"
>
备注
</th>
<th
width=
"150"
>
操作
</th>
</tr>
</thead>
<tbody>
</div>
<table
class=
"table table-striped table-bordered table-hover datatable-one"
id=
"tableO
ne"
>
<thead>
<tr>
<th
width=
"50"
>
编号
</th>
<th
width=
"100"
>
文件名
</th>
<th
width=
"150"
>
路径
</th>
<th
width=
"150"
>
备注
</th>
<th
width=
"150"
>
操作
</th>
</tr>
</thead>
<tbody>
<df-each
$
output
>
<tr>
<df-echo
val=
"$num"
/>
<td>
{$index}
</td>
<td>
<a
href=
'/html/{::file_n}'
>
{::file_n}
</a>
</td>
<td>
<a
href=
'{:split_url($value["src"])}'
>
{::src}
</a>
</td>
<td>
{::comment}
</td>
<td
class=
'center'
>
<a
href=
'{:split_url(str("admin/home/%s_add/%s",[table_name("HtmlModel"),$value[0]]))}'
>
[编辑]
</a>
<a
href=
'{:split_url(str("admin/home/%s_del/%s",[table_name("HtmlModel"),$value[0]]))}'
onclick=
'return confirm("您确认要删除吗?")'
>
[删除]
</a>
</td>
</tr>
</df-each>
</tbody>
</table>
</div>
</div>
</div>
</div>
<df-each
$
output
>
<tr>
<df-echo
val=
"$num"
/>
<td>
{$index}
</td>
<td>
<a
href=
'/html/{::file_n}'
>
{::file_n}
</a>
</td>
<td>
<a
href=
'{:split_url($value["src"])}'
>
{::src}
</a>
</td>
<td>
{::comment}
</td>
<td
class=
'center'
>
<a
href=
'{:split_url(str("admin/home/%s_add/%s",[table_name("HtmlModel"),$value[0]]))}'
>
[编辑]
</a>
<a
href=
'{:split_url(str("admin/home/%s_del/%s",[table_name("HtmlModel"),$value[0]]))}'
onclick=
'return confirm("您确认要删除吗?")'
>
[删除]
</a>
</td>
</tr>
</df-each>
</tbody>
</table>
</div>
</div>
</div>
</div>
</df-body>
<df-footer>
<!-- ********************** DATATABLE START ********************** -->
<link
href=
"https://oss.dfer.site/datatables/1.13.8/css/jquery.dataTables.min.css"
rel=
"stylesheet"
>
<script
src=
"https://oss.dfer.site/datatables/1.13.8/js/jquery.dataTables.min.js"
></script>
<script
src=
"https://oss.dfer.site/datatables/1.13.8/js/dataTables.bootstrap.min.js"
></script>
<script>
$
(
document
).
ready
(
function
()
{
$
(
'
.datatable-one
'
).
dataTable
({
language
:
{
url
:
'
https://oss.dfer.site/datatables/1.13.8/i18n/zh.json
'
},
aLengthMenu
:
[
10
,
50
,
100
],
//更改显示记录数选项
iDisplayLength
:
10
//默认显示的记录数
});
});
</script>
<!-- ********************** DATATABLE END ********************** -->
<!-- ********************** DATATABLE START ********************** -->
<link
rel=
"stylesheet"
href=
"https://oss.dfer.site/datatables/2.0.5/css/dataTables.dataTables.min.css"
/>
<script
src=
"https://oss.dfer.site/datatables/2.0.5/js/dataTables.min.js"
></script>
<script>
$
(
document
).
ready
(
function
()
{
new
DataTable
(
'
#tableOne
'
,
{
language
:
{
url
:
'
https://oss.dfer.site/datatables/2.0.5/i18n/zh.json
'
},
aLengthMenu
:
[
10
,
50
,
100
],
iDisplayLength
:
10
});
});
</script>
<!-- ********************** DATATABLE END ********************** -->
</df-footer>
public/view/admin/home/menu.htm
浏览文件 @
338c85af
...
...
@@ -3,89 +3,89 @@
<df-body>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"ibox float-e-margins"
>
<div
class=
"ibox-title"
>
<h5>
{$title}
</h5>
</div>
<div
class=
"ibox-content"
>
<div
class=
"row form-horizontal form-group"
>
<div
class=
"col-sm-1"
>
<a
href=
'{:url("admin","home",table_name("MenuModel")."_add",null,array("parent_id"=>$param,"parent"=>$parent))}'
class=
"btn btn-primary btn-sm"
><i
class=
"fa fa-plus"
></i>
添加
</a>
</div>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"ibox float-e-margins"
>
<div
class=
"ibox-title"
>
<h5>
{$title}
</h5>
</div>
<div
class=
"ibox-content"
>
<div
class=
"row form-horizontal form-group"
>
<div
class=
"col-sm-1"
>
<a
href=
'{:url("admin","home",table_name("MenuModel")."_add",null,array("parent_id"=>$param,"parent"=>$parent))}'
class=
"btn btn-primary btn-sm"
><i
class=
"fa fa-plus"
></i>
添加
</a>
</div>
<df-if
$
param
>
<div
class=
"col-sm-1"
>
<a
href=
'{:url("admin","home",table_name("MenuModel"),$l_parent_id,array("parent"=>$l_parent))}'
class=
"btn btn-primary btn-sm"
><i
class=
"fa fa-backward"
></i>
返回
</a>
</div>
<div
class=
"col-sm-1"
>
<a
href=
'{:url("admin","home",table_name("MenuModel"))}'
class=
"btn btn-primary btn-sm"
><i
class=
"fa fa-home"
></i>
主菜单
</a>
</div>
</df-if>
<df-if
$
param
>
<div
class=
"col-sm-1"
>
<a
href=
'{:url("admin","home",table_name("MenuModel"),$l_parent_id,array("parent"=>$l_parent))}'
class=
"btn btn-primary btn-sm"
><i
class=
"fa fa-backward"
></i>
返回
</a>
</div>
<div
class=
"col-sm-1"
>
<a
href=
'{:url("admin","home",table_name("MenuModel"))}'
class=
"btn btn-primary btn-sm"
><i
class=
"fa fa-home"
></i>
主菜单
</a>
</div>
</df-if>
</div>
<table
class=
"table table-striped table-bordered table-hover datatable-o
ne"
>
<thead>
<tr>
<th
width=
"50"
>
编号
</th>
<th
width=
"50"
>
id
</th>
<th
width=
"100"
>
标题
</th>
<th
width=
"100"
>
路径
</th>
<th
width=
"150"
>
排序
</th>
<th
width=
"150"
>
操作
</th>
</tr>
</thead>
<tbody>
</div>
<table
class=
"table table-striped table-bordered table-hover datatable-one"
id=
"tableO
ne"
>
<thead>
<tr>
<th
width=
"50"
>
编号
</th>
<th
width=
"50"
>
id
</th>
<th
width=
"100"
>
标题
</th>
<th
width=
"100"
>
路径
</th>
<th
width=
"150"
>
排序
</th>
<th
width=
"150"
>
操作
</th>
</tr>
</thead>
<tbody>
<df-each
$
output
>
<tr>
<td>
{$index}
</td>
<td>
{::id}
</td>
<td>
{::title}
</td>
<td>
{:urldecode($v['src'])}
</td>
<td>
{::order_num}
</td>
<td
class=
'center'
>
<a
{
:empty
($
value
['
src
'])?
''
:
'
hidden
'
}
href=
'{:url("admin","home",table_name("MenuModel"),$value[0],array("parent"=>$parent.",".$param))}'
>
[下级]
</a>
<a
href=
'{:url("admin","home",table_name("MenuModel")."_add",$value[0],array("parent_id"=>$param,"parent"=>$parent))}'
>
[编辑]
</a>
<df-if
param
('
admin
')||$
is_df
>
<a
href=
'{:url("admin","home",table_name("MenuModel")."_del",$value[0],array("parent_id"=>$param,"parent"=>$parent))}'
onclick=
'return confirm("您确认要删除吗?")'
>
[删除]
</a>
</df-if>
</td>
</tr>
</df-each>
</tbody>
</table>
</div>
</div>
</div>
</div>
<df-each
$
output
>
<tr>
<td>
{$index}
</td>
<td>
{::id}
</td>
<td>
{::title}
</td>
<td>
{:urldecode($v['src'])}
</td>
<td>
{::order_num}
</td>
<td
class=
'center'
>
<a
{
:empty
($
value
['
src
'])?
''
:
'
hidden
'
}
href=
'{:url("admin","home",table_name("MenuModel"),$value[0],array("parent"=>$parent.",".$param))}'
>
[下级]
</a>
<a
href=
'{:url("admin","home",table_name("MenuModel")."_add",$value[0],array("parent_id"=>$param,"parent"=>$parent))}'
>
[编辑]
</a>
<df-if
param
('
admin
')||$
is_df
>
<a
href=
'{:url("admin","home",table_name("MenuModel")."_del",$value[0],array("parent_id"=>$param,"parent"=>$parent))}'
onclick=
'return confirm("您确认要删除吗?")'
>
[删除]
</a>
</df-if>
</td>
</tr>
</df-each>
</tbody>
</table>
</div>
</div>
</div>
</div>
</df-body>
<df-footer>
<!-- ********************** DATATABLE START ********************** -->
<link
href=
"https://oss.dfer.site/datatables/1.13.8/css/jquery.dataTables.min.css"
rel=
"stylesheet"
>
<script
src=
"https://oss.dfer.site/datatables/1.13.8/js/jquery.dataTables.min.js"
></script
>
<script
src=
"https://oss.dfer.site/datatables/1.13.8/js/dataTables.bootstrap
.min.js"
></script>
<script>
$
(
document
).
ready
(
function
()
{
$
(
'
.datatable-one
'
).
dataTable
(
{
language
:
{
url
:
'
https://oss.dfer.site/datatables/1.13.8
/i18n/zh.json
'
},
aLengthMenu
:
[
10
,
50
,
100
],
//更改显示记录数选项
iDisplayLength
:
10
//默认显示的记录数
});
});
</script>
<!-- ********************** DATATABLE END ********************** -->
<!-- ********************** DATATABLE START ********************** --
>
<link
rel=
"stylesheet"
href=
"https://oss.dfer.site/datatables/2.0.5/css/dataTables.dataTables.min.css"
/
>
<script
src=
"https://oss.dfer.site/datatables/2.0.5/js/dataTables
.min.js"
></script>
<script>
$
(
document
).
ready
(
function
()
{
new
DataTable
(
'
#tableOne
'
,
{
language
:
{
url
:
'
https://oss.dfer.site/datatables/2.0.5
/i18n/zh.json
'
},
aLengthMenu
:
[
10
,
50
,
100
],
iDisplayLength
:
10
});
});
</script>
<!-- ********************** DATATABLE END ********************** -->
</df-footer>
public/view/admin/home/roles.htm
浏览文件 @
338c85af
<df-body>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"ibox float-e-margins"
>
<div
class=
"ibox-title"
>
<h5>
>>
</h5>
</div>
<div
class=
"ibox-content"
>
<div
class=
"row form-horizontal form-group"
>
<div
class=
"col-sm-1"
>
<a
href=
'{:split_url(str("admin/home/%s_add",[table_name("RolesModel")]))}'
class=
"btn btn-primary btn-sm"
><i
class=
"fa fa-plus"
></i>
添加
</a>
</div>
<div
class=
"row"
>
<div
class=
"col-sm-12"
>
<div
class=
"ibox float-e-margins"
>
<div
class=
"ibox-title"
>
<h5>
>>
</h5>
</div>
<div
class=
"ibox-content"
>
<div
class=
"row form-horizontal form-group"
>
<div
class=
"col-sm-1"
>
<a
href=
'{:split_url(str("admin/home/%s_add",[table_name("RolesModel")]))}'
class=
"btn btn-primary btn-sm"
><i
class=
"fa fa-plus"
></i>
添加
</a>
</div>
</div>
<table
class=
"table table-striped table-bordered table-hover datatable-o
ne"
>
<thead>
<tr>
<th
width=
"50"
>
编号
</th>
<th
width=
"100"
>
名称
</th>
<th
width=
"150"
>
内容
</th>
<th
width=
"150"
>
操作
</th>
</tr>
</thead>
<tbody>
</div>
<table
class=
"table table-striped table-bordered table-hover datatable-one"
id=
"tableO
ne"
>
<thead>
<tr>
<th
width=
"50"
>
编号
</th>
<th
width=
"100"
>
名称
</th>
<th
width=
"150"
>
内容
</th>
<th
width=
"150"
>
操作
</th>
</tr>
</thead>
<tbody>
<df-each
$
output
>
<tr>
<td>
{$index}
</td>
<td>
{::nm}
</td>
<td>
{::roles}
</td>
<td
class=
'center'
>
<a
href=
'{:split_url(sprintf("admin/home/%s_add/%s",table_name("RolesModel"),$value[0]))}'
>
[编辑]
</a>
<a
href=
'{:split_url(sprintf("admin/home/%s_del/%s",table_name("RolesModel"),$value[0]))}'
onclick=
'return confirm("您确认要删除吗?")'
>
[删除]
</a>
</td>
</tr>
</df-each>
</tbody>
</table>
</div>
</div>
</div>
</div>
<df-each
$
output
>
<tr>
<td>
{$index}
</td>
<td>
{::nm}
</td>
<td>
{::roles}
</td>
<td
class=
'center'
>
<a
href=
'{:split_url(sprintf("admin/home/%s_add/%s",table_name("RolesModel"),$value[0]))}'
>
[编辑]
</a>
<a
href=
'{:split_url(sprintf("admin/home/%s_del/%s",table_name("RolesModel"),$value[0]))}'
onclick=
'return confirm("您确认要删除吗?")'
>
[删除]
</a>
</td>
</tr>
</df-each>
</tbody>
</table>
</div>
</div>
</div>
</div>
</df-body>
<df-footer>
<!-- ********************** DATATABLE START ********************** -->
<link
href=
"https://oss.dfer.site/datatables/1.13.8/css/jquery.dataTables.min.css"
rel=
"stylesheet"
>
<script
src=
"https://oss.dfer.site/datatables/1.13.8/js/jquery.dataTables.min.js"
></script>
<script
src=
"https://oss.dfer.site/datatables/1.13.8/js/dataTables.bootstrap.min.js"
></script>
<script>
$
(
document
).
ready
(
function
()
{
$
(
'
.datatable-one
'
).
dataTable
({
language
:
{
url
:
'
https://oss.dfer.site/datatables/1.13.8/i18n/zh.json
'
},
aLengthMenu
:
[
10
,
50
,
100
],
//更改显示记录数选项
iDisplayLength
:
10
//默认显示的记录数
});
});
</script>
<!-- ********************** DATATABLE END ********************** -->
<!-- ********************** DATATABLE START ********************** -->
<link
rel=
"stylesheet"
href=
"https://oss.dfer.site/datatables/2.0.5/css/dataTables.dataTables.min.css"
/>
<script
src=
"https://oss.dfer.site/datatables/2.0.5/js/dataTables.min.js"
></script>
<script>
$
(
document
).
ready
(
function
()
{
new
DataTable
(
'
#tableOne
'
,
{
language
:
{
url
:
'
https://oss.dfer.site/datatables/2.0.5/i18n/zh.json
'
},
aLengthMenu
:
[
10
,
50
,
100
],
iDisplayLength
:
10
});
});
</script>
<!-- ********************** DATATABLE END ********************** -->
</df-footer>
public/view/admin/home/user.htm
浏览文件 @
338c85af
...
...
@@ -18,7 +18,7 @@
class=
"btn btn-primary btn-sm"
><i
class=
"fa fa-plus"
></i>
添加
</a>
</div>
</div>
<table
class=
"table table-striped table-bordered table-hover datatable-one"
>
<table
class=
"table table-striped table-bordered table-hover datatable-one"
id=
"tableOne"
>
<thead>
<tr>
<th
width=
"50"
>
编号
</th>
...
...
@@ -57,21 +57,22 @@
</df-body>
<df-footer>
<!-- ********************** DATATABLE START ********************** -->
<link
href=
"https://oss.dfer.site/datatables/1.13.8/css/jquery.dataTables.min.css"
rel=
"stylesheet"
>
<script
src=
"https://oss.dfer.site/datatables/1.13.8/js/jquery.dataTables.min.js"
></script>
<script
src=
"https://oss.dfer.site/datatables/1.13.8/js/dataTables.bootstrap.min.js"
></script>
<script>
$
(
document
).
ready
(
function
()
{
$
(
'
.datatable-one
'
).
dataTable
({
language
:
{
url
:
'
https://oss.dfer.site/datatables/1.13.8/i18n/zh.json
'
},
aLengthMenu
:
[
10
,
50
,
100
],
//更改显示记录数选项
iDisplayLength
:
10
//默认显示的记录数
});
});
</script>
<!-- ********************** DATATABLE END ********************** -->
<!-- ********************** DATATABLE START ********************** -->
<link
rel=
"stylesheet"
href=
"https://oss.dfer.site/datatables/2.0.5/css/dataTables.dataTables.min.css"
/>
<script
src=
"https://oss.dfer.site/datatables/2.0.5/js/dataTables.min.js"
></script>
<script>
$
(
document
).
ready
(
function
()
{
new
DataTable
(
'
#tableOne
'
,
{
language
:
{
url
:
'
https://oss.dfer.site/datatables/2.0.5/i18n/zh.json
'
},
aLengthMenu
:
[
10
,
50
,
100
],
iDisplayLength
:
10
});
});
</script>
<!-- ********************** DATATABLE END ********************** -->
</df-footer>
public/view/admin/public/common.htm
浏览文件 @
338c85af
<html>
<head>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
<meta
http-equiv=
"content-type"
content=
"text/html;charset=utf-8"
/>
<!-- ********************** layui START ********************** -->
<link
href=
"https://api.dfer.site/gitcode/github_dfer/layui/main/dist/css/layui.css"
rel=
"stylesheet"
>
<script
src=
"https://api.dfer.site/gitcode/github_dfer/layui/main/dist/layui.js"
></script>
<!-- ********************** layui END ********************** -->
<!-- ********************** bootstrap START ********************** -->
<link
href=
"https://api.dfer.site/gitee/github_dfer/bootstrap/v5.3.2/dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
<script
src=
"https://api.dfer.site/gitee/github_dfer/bootstrap/v5.3.2/dist/js/bootstrap.min.js"
></script>
<!-- ********************** bootstrap END ********************** -->
<!-- ********************** fontawesome START ********************** -->
<link
href=
"https://oss.dfer.site/fontawesome/v5.15.4/css/all.css"
rel=
"stylesheet"
type=
"text/css"
>
<!-- ********************** fontawesome END ********************** -->
<!-- ********************** jq START ********************** -->
<script
src=
"https://api.dfer.site/gitcode/github_dfer/jquery/3.7.1/dist/jquery.min.js"
></script>
<script
src=
"{:VIEW_ASSETS}/jquery.ext.js"
></script>
<!-- ********************** jq END ********************** -->
<link
href=
"{:VIEW_ASSETS}/admin/css/style.css?v=4.1.0"
rel=
"stylesheet"
>
<script
src=
"{:VIEW_ASSETS}/js.ext.js"
></script>
<script
src=
"{:VIEW_ASSETS}/DfTools.js"
></script>
<script
src=
"{:VIEW_ASSETS}/admin/js/content.js?v=1.0.0"
></script>
<df-header
/>
</head>
<body
class=
"gray-bg"
>
<div
class=
"wrapper wrapper-content"
>
<df-body
/>
</div>
</body>
<df-footer
/>
<script>
var
df_tools
=
new
DfTools
();
const
UPLOAD_API
=
{
UEDITOR
:
'
/admin/upload/ueditor_upload
'
,
WEB_UPLOADER
:
'
/admin/upload/web_upload
'
};
//上传
function
upload
(
trigger_obj
,
preview_obj
,
input_obj
,
upload_api
=
UPLOAD_API
.
UEDITOR
)
{
var
uploader
=
WebUploader
.
create
({
auto
:
true
,
pick
:
trigger_obj
,
server
:
upload_api
,
method
:
'
POST
'
});
var
input_obj
=
input_obj
??
'
#input_obj
'
;
uploader
.
on
(
'
uploadBeforeSend
'
,
function
()
{
console
.
log
(
'
uploadBeforeSend
'
)
$
(
preview_obj
).
after
(
`
<head>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
<meta
http-equiv=
"content-type"
content=
"text/html;charset=utf-8"
/>
<!-- ********************** layui START ********************** -->
<link
href=
"https://oss.dfer.site/layui/v2.9.8/css/layui.css"
rel=
"stylesheet"
>
<script
src=
"https://oss.dfer.site/layui/v2.9.8/layui.js"
></script>
<!-- ********************** layui END ********************** -->
<!-- ********************** bootstrap START ********************** -->
<link
href=
"https://oss.dfer.site/bootstrap/v5.3.3/css/bootstrap.min.css"
rel=
"stylesheet"
>
<script
src=
"https://oss.dfer.site/bootstrap/v5.3.3/js/bootstrap.min.js"
></script>
<!-- ********************** bootstrap END ********************** -->
<!-- ********************** fontawesome START ********************** -->
<link
href=
"https://oss.dfer.site/fontawesome/v5.15.4/css/all.css"
rel=
"stylesheet"
type=
"text/css"
>
<!-- ********************** fontawesome END ********************** -->
<!-- ********************** jq START ********************** -->
<script
src=
"https://oss.dfer.site/jquery/3.7.1/jquery.min.js"
></script>
<!-- ********************** jq END ********************** -->
<link
href=
"{:VIEW_ASSETS}/admin/css/style.css?v=4.1.0"
rel=
"stylesheet"
>
<script
src=
"{:VIEW_ASSETS}/js.ext.js"
></script>
<script
src=
"{:VIEW_ASSETS}/jquery.ext.js"
></script>
<script
src=
"{:VIEW_ASSETS}/DfTools.js"
></script>
<script
src=
"{:VIEW_ASSETS}/admin/js/content.js?v=1.0.0"
></script>
<df-header
/>
</head>
<body
class=
"gray-bg"
>
<div
class=
"wrapper wrapper-content"
>
<df-body
/>
</div>
</body>
<df-footer
/>
<script>
var
df_tools
=
new
DfTools
();
const
UPLOAD_API
=
{
UEDITOR
:
'
/admin/upload/ueditor_upload
'
,
WEB_UPLOADER
:
'
/admin/upload/web_upload
'
};
//上传
function
upload
(
trigger_obj
,
preview_obj
,
input_obj
,
upload_api
=
UPLOAD_API
.
UEDITOR
)
{
var
uploader
=
WebUploader
.
create
({
auto
:
true
,
pick
:
trigger_obj
,
server
:
upload_api
,
method
:
'
POST
'
});
var
input_obj
=
input_obj
??
'
#input_obj
'
;
uploader
.
on
(
'
uploadBeforeSend
'
,
function
()
{
console
.
log
(
'
uploadBeforeSend
'
)
$
(
preview_obj
).
after
(
`
<div class="layui-progress layui-progress-big" lay-showpercent="true" lay-filter="
${
input_obj
.
replace
(
'
#
'
,
''
)}
">
<div class="layui-progress-bar layui-bg-red" lay-percent="0%"></div>
</div>
`
);
});
uploader
.
on
(
'
uploadProgress
'
,
function
(
file
,
percentage
)
{
per
=
Math
.
round
(
percentage
*
100
)
layui
.
use
(
'
element
'
,
function
()
{
var
element
=
layui
.
element
;
console
.
log
(
input_obj
.
replace
(
'
#
'
,
''
),
`
${
per
}
%`
);
element
.
progress
(
input_obj
.
replace
(
'
#
'
,
''
),
`
${
per
}
%`
)
})
});
uploader
.
on
(
'
uploadSuccess
'
,
function
(
file
,
response
)
{
if
(
response
.
status
==
false
)
$
(
preview_obj
).
html
(
response
.
msg
);
else
{
//获取原始数据
var
type
=
response
.
data
.
type
;
var
url
=
response
.
data
.
url
;
if
(
type
==
'
img
'
)
$
(
preview_obj
).
html
(
`<img src="
${
url
}
" />`
);
else
$
(
preview_obj
).
append
(
`<div>
${
url
}
</div>`
);
$
(
input_obj
).
val
(
url
);
}
});
uploader
.
on
(
'
uploadError
'
,
function
(
file
)
{
$
(
preview_obj
).
html
(
"
上传失败
"
);
});
}
</script>
});
uploader
.
on
(
'
uploadProgress
'
,
function
(
file
,
percentage
)
{
per
=
Math
.
round
(
percentage
*
100
)
layui
.
use
(
'
element
'
,
function
()
{
var
element
=
layui
.
element
;
console
.
log
(
input_obj
.
replace
(
'
#
'
,
''
),
`
${
per
}
%`
);
element
.
progress
(
input_obj
.
replace
(
'
#
'
,
''
),
`
${
per
}
%`
)
})
});
uploader
.
on
(
'
uploadSuccess
'
,
function
(
file
,
response
)
{
if
(
response
.
status
==
false
)
$
(
preview_obj
).
html
(
response
.
msg
);
else
{
//获取原始数据
var
type
=
response
.
data
.
type
;
var
url
=
response
.
data
.
url
;
if
(
type
==
'
img
'
)
$
(
preview_obj
).
html
(
`<img src="
${
url
}
" />`
);
else
$
(
preview_obj
).
append
(
`<div>
${
url
}
</div>`
);
$
(
input_obj
).
val
(
url
);
}
});
uploader
.
on
(
'
uploadError
'
,
function
(
file
)
{
$
(
preview_obj
).
html
(
"
上传失败
"
);
});
}
</script>
</html>
public/view/homepage/public/common.htm
浏览文件 @
338c85af
...
...
@@ -19,19 +19,21 @@
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
/>
<link
rel=
"shortcut icon"
href=
"{:DEFAULT_ADMIN_ASSETS}/img/favicon.ico"
/>
<link
rel=
"apple-touch-icon"
href=
"{:DEFAULT_ADMIN_ASSETS}/img/favicon.png"
/>
<!--=========自定义alert=========-->
<!-- ********************** 自定义alert START ********************** -->
<!-- <link rel="stylesheet" type="text/css" href="{:VIEW_ASSETS}/sweetalert/sweetalert.css">
<script type="text/javascript" src="{:VIEW_ASSETS}/sweetalert/sweetalert-dev.js"></script> -->
<!--=========引用=========-->
<!-- ********************** 自定义alert END ********************** -->
<!-- ********************** jq START ********************** -->
<script
src=
"https://api.dfer.site/gitcode/github_dfer/jquery/3.7.1/dist/jquery.min.js"
></script>
<script
src=
"{:DEFAULT_ADMIN_ASSETS}/jquery.ext.js"
></script>
<script
src=
"https://oss.dfer.site/jquery/3.7.1/jquery.min.js"
></script>
<!-- ********************** jq END ********************** -->
<!-- ********************** layui START ********************** -->
<link
href=
"https://
api.dfer.site/gitcode/github_dfer/layui/main/dist
/css/layui.css"
rel=
"stylesheet"
>
<script
src=
"https://
api.dfer.site/gitcode/github_dfer/layui/main/dist
/layui.js"
></script>
<link
href=
"https://
oss.dfer.site/layui/v2.9.8
/css/layui.css"
rel=
"stylesheet"
>
<script
src=
"https://
oss.dfer.site/layui/v2.9.8
/layui.js"
></script>
<!-- ********************** layui END ********************** -->
<!-- ********************** loader START ********************** -->
...
...
@@ -40,13 +42,13 @@
<!-- ********************** loader END ********************** -->
<!-- ********************** bootstrap START ********************** -->
<link
href=
"https://api.dfer.site/gitee/github_dfer/bootstrap/v5.3.2/dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
<script
src=
"https://api.dfer.site/gitee/github_dfer/bootstrap/v5.3.2/dist/js/bootstrap.min.js"
></script>
<link
href=
"https://oss.dfer.site/bootstrap/v5.3.3/css/bootstrap.min.css"
rel=
"stylesheet"
>
<script
src=
"https://oss.dfer.site/bootstrap/v5.3.3/js/bootstrap.min.js"
></script>
<!-- ********************** bootstrap END ********************** -->
<!--<script src="/assets/font_family/init.js"></script>-->
<script
src=
"{:DEFAULT_ADMIN_ASSETS}/js.ext.js"
></script>
<script
src=
"{:DEFAULT_ADMIN_ASSETS}/jquery.ext.js"
></script>
<script
src=
"{:DEFAULT_ADMIN_ASSETS}/DfTools.js"
></script>
...
...
public/view/homepage/public/common_m.htm
浏览文件 @
338c85af
...
...
@@ -20,31 +20,28 @@
<link
rel=
"shortcut icon"
href=
"{:DEFAULT_ADMIN_ASSETS}/img/favicon.ico"
/>
<link
rel=
"apple-touch-icon"
href=
"{:DEFAULT_ADMIN_ASSETS}/img/favicon.png"
/>
<!--=========引用=========-->
<!-- ********************** jq START ********************** -->
<script
src=
"https://api.dfer.site/gitcode/github_dfer/jquery/3.7.1/dist/jquery.min.js"
></script>
<script
src=
"{:DEFAULT_ADMIN_ASSETS}/jquery.ext.js"
></script>
<script
src=
"https://oss.dfer.site/jquery/3.7.1/jquery.min.js"
></script>
<!-- ********************** jq END ********************** -->
<!-- ********************** mui START ********************** -->
<link
rel=
"stylesheet"
href=
"https://
api.dfer.site/gitcode/github_dfer/mui/master/dist
/css/mui.min.css"
/>
<script
src=
"https://
api.dfer.site/gitcode/github_dfer/mui/master/dist
/js/mui.min.js"
></script>
<link
rel=
"stylesheet"
href=
"https://
oss.dfer.site/mui/3.7.1
/css/mui.min.css"
/>
<script
src=
"https://
oss.dfer.site/mui/3.7.1
/js/mui.min.js"
></script>
<!-- ********************** mui END ********************** -->
<!-- ********************** layui START ********************** -->
<link
href=
"https://
api.dfer.site/gitcode/github_dfer/layui/main/dist
/css/layui.css"
rel=
"stylesheet"
>
<script
src=
"https://
api.dfer.site/gitcode/github_dfer/layui/main/dist
/layui.js"
></script>
<link
href=
"https://
oss.dfer.site/layui/v2.9.8
/css/layui.css"
rel=
"stylesheet"
>
<script
src=
"https://
oss.dfer.site/layui/v2.9.8
/layui.js"
></script>
<!-- ********************** layui END ********************** -->
<!-- ********************** loader START ********************** -->
<link
rel=
"stylesheet"
href=
"{:VIEW_ASSETS}/loaders/main.css"
/>
<script
src=
"{:VIEW_ASSETS}/loaders/main.js"
></script>
<!-- ********************** loader END ********************** -->
<link
rel=
"stylesheet"
href=
"{:VIEW_ASSETS}/homepage/css/init.css"
/>
<link
rel=
"stylesheet"
href=
"{:VIEW_ASSETS}/homepage/css/init.css"
/>
<!--<script src="/assets/font_family/init.js"></script>-->
<script
src=
"{:DEFAULT_ADMIN_ASSETS}/jquery.ext.js"
></script>
<script
src=
"{:DEFAULT_ADMIN_ASSETS}/DfTools.js"
></script>
<style>
...
...
version
浏览文件 @
338c85af
5.5.
2
5.5.
3
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录