Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
ModStart
ModStartCMS
提交
556c0e63
ModStartCMS
项目概览
ModStart
/
ModStartCMS
通知
2
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
ModStartCMS
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
556c0e63
编写于
12月 10, 2021
作者:
ModStart
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
develop
上级
d425877c
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
50 addition
and
5 deletion
+50
-5
public/asset/common/admin.js
public/asset/common/admin.js
+1
-1
public/asset/theme/default/admin.css
public/asset/theme/default/admin.css
+1
-1
vendor/modstart/modstart/asset/common/admin.js
vendor/modstart/modstart/asset/common/admin.js
+1
-1
vendor/modstart/modstart/asset/theme/default/admin.css
vendor/modstart/modstart/asset/theme/default/admin.css
+1
-1
vendor/modstart/modstart/lang/zh/base.php
vendor/modstart/modstart/lang/zh/base.php
+1
-0
vendor/modstart/modstart/resources/asset/src/common/admin.js
vendor/modstart/modstart/resources/asset/src/common/admin.js
+3
-0
vendor/modstart/modstart/resources/asset/src/theme/default/admin.less
...art/modstart/resources/asset/src/theme/default/admin.less
+37
-0
vendor/modstart/modstart/src/Field/Id.php
vendor/modstart/modstart/src/Field/Id.php
+0
-1
vendor/modstart/modstart/views/admin/frame.blade.php
vendor/modstart/modstart/views/admin/frame.blade.php
+5
-0
未找到文件。
public/asset/common/admin.js
浏览文件 @
556c0e63
!
function
(
n
){
var
o
=
{};
function
r
(
e
){
if
(
o
[
e
])
return
o
[
e
].
exports
;
var
t
=
o
[
e
]
=
{
i
:
e
,
l
:
!
1
,
exports
:{}};
return
n
[
e
].
call
(
t
.
exports
,
t
,
t
.
exports
,
r
),
t
.
l
=!
0
,
t
.
exports
}
r
.
m
=
n
,
r
.
c
=
o
,
r
.
d
=
function
(
e
,
t
,
n
){
r
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
n
})},
r
.
r
=
function
(
e
){
"
undefined
"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"
Module
"
}),
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
})},
r
.
t
=
function
(
t
,
e
){
if
(
1
&
e
&&
(
t
=
r
(
t
)),
8
&
e
)
return
t
;
if
(
4
&
e
&&
"
object
"
==
typeof
t
&&
t
&&
t
.
__esModule
)
return
t
;
var
n
=
Object
.
create
(
null
);
if
(
r
.
r
(
n
),
Object
.
defineProperty
(
n
,
"
default
"
,{
enumerable
:
!
0
,
value
:
t
}),
2
&
e
&&
"
string
"
!=
typeof
t
)
for
(
var
o
in
t
)
r
.
d
(
n
,
o
,
function
(
e
){
return
t
[
e
]}.
bind
(
null
,
o
));
return
n
},
r
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
r
.
d
(
t
,
"
a
"
,
t
),
t
},
r
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
r
.
p
=
"
/asset//
"
,
r
(
r
.
s
=
283
)}({
283
:
function
(
e
,
t
,
n
){
!
function
(
n
){
n
(
window
).
on
(
"
load
"
,
function
(){
n
(
"
.ub-panel-frame > .right > .content.fixed, .ub-panel-dialog .panel-dialog-body
"
).
scroll
(
function
(){
var
e
=
document
.
createEvent
(
"
HTMLEvents
"
);
e
.
initEvent
(
"
scroll
"
,
!
1
,
!
0
),
window
.
dispatchEvent
(
e
)});
var
e
=
n
(
window
).
width
()
<
600
,
t
=
n
(
"
.ub-panel-frame
"
);
e
?(
t
.
find
(
"
.left-menu-shrink
"
).
on
(
"
click
"
,
function
(){
t
.
removeClass
(
"
left-toggle
"
)}),
t
.
find
(
"
.left-trigger
"
).
on
(
"
click
"
,
function
(){
t
.
addClass
(
"
left-toggle
"
)})):
t
.
find
(
"
.left-trigger
"
).
on
(
"
click
"
,
function
(){
t
.
toggleClass
(
"
left-toggle
"
),
window
.
api
.
base
.
postSuccess
(
window
.
__msAdminRoot
+
"
util/frame
"
,{
frameLeftToggle
:
t
.
is
(
"
.left-toggle
"
)},
function
(
e
){})})})}.
call
(
this
,
n
(
5
))},
5
:
function
(
e
,
t
){
e
.
exports
=
window
.
$
}});
\ No newline at end of file
!
function
(
t
){
var
o
=
{};
function
i
(
e
){
if
(
o
[
e
])
return
o
[
e
].
exports
;
var
n
=
o
[
e
]
=
{
i
:
e
,
l
:
!
1
,
exports
:{}};
return
t
[
e
].
call
(
n
.
exports
,
n
,
n
.
exports
,
i
),
n
.
l
=!
0
,
n
.
exports
}
i
.
m
=
t
,
i
.
c
=
o
,
i
.
d
=
function
(
e
,
n
,
t
){
i
.
o
(
e
,
n
)
||
Object
.
defineProperty
(
e
,
n
,{
enumerable
:
!
0
,
get
:
t
})},
i
.
r
=
function
(
e
){
"
undefined
"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"
Module
"
}),
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
})},
i
.
t
=
function
(
n
,
e
){
if
(
1
&
e
&&
(
n
=
i
(
n
)),
8
&
e
)
return
n
;
if
(
4
&
e
&&
"
object
"
==
typeof
n
&&
n
&&
n
.
__esModule
)
return
n
;
var
t
=
Object
.
create
(
null
);
if
(
i
.
r
(
t
),
Object
.
defineProperty
(
t
,
"
default
"
,{
enumerable
:
!
0
,
value
:
n
}),
2
&
e
&&
"
string
"
!=
typeof
n
)
for
(
var
o
in
n
)
i
.
d
(
t
,
o
,
function
(
e
){
return
n
[
e
]}.
bind
(
null
,
o
));
return
t
},
i
.
n
=
function
(
e
){
var
n
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
i
.
d
(
n
,
"
a
"
,
n
),
n
},
i
.
o
=
function
(
e
,
n
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)},
i
.
p
=
"
/asset//
"
,
i
(
i
.
s
=
283
)}({
283
:
function
(
e
,
n
,
t
){
!
function
(
t
){
t
(
window
).
on
(
"
load
"
,
function
(){
t
(
"
.ub-panel-frame > .right > .content.fixed, .ub-panel-dialog .panel-dialog-body
"
).
scroll
(
function
(){
var
e
=
document
.
createEvent
(
"
HTMLEvents
"
);
e
.
initEvent
(
"
scroll
"
,
!
1
,
!
0
),
window
.
dispatchEvent
(
e
)});
var
e
=
t
(
window
).
width
()
<
600
,
n
=
t
(
"
.ub-panel-frame
"
);
n
.
find
(
"
.menu-expand-all
"
).
on
(
"
click
"
,
function
(){
n
.
find
(
"
.left .menu .title
"
).
addClass
(
"
open
"
)}),
e
?(
n
.
find
(
"
.left-menu-shrink
"
).
on
(
"
click
"
,
function
(){
n
.
removeClass
(
"
left-toggle
"
)}),
n
.
find
(
"
.left-trigger
"
).
on
(
"
click
"
,
function
(){
n
.
addClass
(
"
left-toggle
"
)})):
n
.
find
(
"
.left-trigger
"
).
on
(
"
click
"
,
function
(){
n
.
toggleClass
(
"
left-toggle
"
),
window
.
api
.
base
.
postSuccess
(
window
.
__msAdminRoot
+
"
util/frame
"
,{
frameLeftToggle
:
n
.
is
(
"
.left-toggle
"
)},
function
(
e
){})})})}.
call
(
this
,
t
(
5
))},
5
:
function
(
e
,
n
){
e
.
exports
=
window
.
$
}});
\ No newline at end of file
public/asset/theme/default/admin.css
浏览文件 @
556c0e63
body
{
min-height
:
100%
;
font-family
:
"Helvetica Neue"
,
Helvetica
,
"PingFang SC"
,
"Hiragino Sans GB"
,
"Microsoft YaHei"
,
"微软雅黑"
,
Arial
,
sans-serif
;
line-height
:
1.5
;
color
:
#495060
;
-webkit-font-smoothing
:
antialiased
;
background
:
#222d32
}
html
{
background
:
#222d32
}
.ub-admin-login
{
width
:
300px
;
margin
:
0
auto
}
.ub-admin-login
.head
{
color
:
#fff
;
text-align
:
center
;
font-size
:
20px
;
padding
:
50px
0
20px
0
}
.ub-admin-login
.form
{
background
:
#fff
;
padding
:
20px
;
border-radius
:
3px
}
.ub-admin-login
.form
.line
{
padding
:
15px
10px
}
.ub-admin-login
.form
.line
input
{
width
:
100%
;
font-size
:
14px
;
line-height
:
40px
;
height
:
40px
}
.ub-admin-login
.btn
{
background
:
var
(
--color-primary
);
border-color
:
var
(
--color-primary
)}
.ub-admin-login
.btn
:active
,
.ub-admin-login
.btn
:focus
,
.ub-admin-login
.btn
:hover
{
background
:
var
(
--color-primary
)}
\ No newline at end of file
body
{
min-height
:
100%
;
font-family
:
"Helvetica Neue"
,
Helvetica
,
"PingFang SC"
,
"Hiragino Sans GB"
,
"Microsoft YaHei"
,
"微软雅黑"
,
Arial
,
sans-serif
;
line-height
:
1.5
;
color
:
#495060
;
-webkit-font-smoothing
:
antialiased
;
background
:
#222d32
}
html
{
background
:
#222d32
}
.ub-panel-frame
.left
{
overflow
:
visible
}
.ub-panel-frame
.left
:hover
.toolbar
{
display
:
block
}
.ub-panel-frame
.left
.toolbar
{
position
:
absolute
;
right
:
-1.5rem
;
border
:
0
;
width
:
1.5rem
;
bottom
:
0
;
border-radius
:
0
.5rem
.5rem
0
;
background
:
#fff
;
box-shadow
:
1px
1px
3px
#999
;
display
:
none
}
.ub-panel-frame
.left
.toolbar
a
{
display
:
inline-block
;
line-height
:
1.5rem
;
height
:
1.5rem
;
width
:
1.5rem
;
text-align
:
center
;
color
:
#999
}
.ub-panel-frame
.left
.toolbar
a
:hover
{
color
:
#ccc
}
.ub-admin-login
{
width
:
300px
;
margin
:
0
auto
}
.ub-admin-login
.head
{
color
:
#fff
;
text-align
:
center
;
font-size
:
20px
;
padding
:
50px
0
20px
0
}
.ub-admin-login
.form
{
background
:
#fff
;
padding
:
20px
;
border-radius
:
3px
}
.ub-admin-login
.form
.line
{
padding
:
15px
10px
}
.ub-admin-login
.form
.line
input
{
width
:
100%
;
font-size
:
14px
;
line-height
:
40px
;
height
:
40px
}
.ub-admin-login
.btn
{
background
:
var
(
--color-primary
);
border-color
:
var
(
--color-primary
)}
.ub-admin-login
.btn
:active
,
.ub-admin-login
.btn
:focus
,
.ub-admin-login
.btn
:hover
{
background
:
var
(
--color-primary
)}
\ No newline at end of file
vendor/modstart/modstart/asset/common/admin.js
浏览文件 @
556c0e63
!
function
(
n
){
var
o
=
{};
function
r
(
e
){
if
(
o
[
e
])
return
o
[
e
].
exports
;
var
t
=
o
[
e
]
=
{
i
:
e
,
l
:
!
1
,
exports
:{}};
return
n
[
e
].
call
(
t
.
exports
,
t
,
t
.
exports
,
r
),
t
.
l
=!
0
,
t
.
exports
}
r
.
m
=
n
,
r
.
c
=
o
,
r
.
d
=
function
(
e
,
t
,
n
){
r
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
n
})},
r
.
r
=
function
(
e
){
"
undefined
"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"
Module
"
}),
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
})},
r
.
t
=
function
(
t
,
e
){
if
(
1
&
e
&&
(
t
=
r
(
t
)),
8
&
e
)
return
t
;
if
(
4
&
e
&&
"
object
"
==
typeof
t
&&
t
&&
t
.
__esModule
)
return
t
;
var
n
=
Object
.
create
(
null
);
if
(
r
.
r
(
n
),
Object
.
defineProperty
(
n
,
"
default
"
,{
enumerable
:
!
0
,
value
:
t
}),
2
&
e
&&
"
string
"
!=
typeof
t
)
for
(
var
o
in
t
)
r
.
d
(
n
,
o
,
function
(
e
){
return
t
[
e
]}.
bind
(
null
,
o
));
return
n
},
r
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
r
.
d
(
t
,
"
a
"
,
t
),
t
},
r
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
r
.
p
=
"
/asset//
"
,
r
(
r
.
s
=
283
)}({
283
:
function
(
e
,
t
,
n
){
!
function
(
n
){
n
(
window
).
on
(
"
load
"
,
function
(){
n
(
"
.ub-panel-frame > .right > .content.fixed, .ub-panel-dialog .panel-dialog-body
"
).
scroll
(
function
(){
var
e
=
document
.
createEvent
(
"
HTMLEvents
"
);
e
.
initEvent
(
"
scroll
"
,
!
1
,
!
0
),
window
.
dispatchEvent
(
e
)});
var
e
=
n
(
window
).
width
()
<
600
,
t
=
n
(
"
.ub-panel-frame
"
);
e
?(
t
.
find
(
"
.left-menu-shrink
"
).
on
(
"
click
"
,
function
(){
t
.
removeClass
(
"
left-toggle
"
)}),
t
.
find
(
"
.left-trigger
"
).
on
(
"
click
"
,
function
(){
t
.
addClass
(
"
left-toggle
"
)})):
t
.
find
(
"
.left-trigger
"
).
on
(
"
click
"
,
function
(){
t
.
toggleClass
(
"
left-toggle
"
),
window
.
api
.
base
.
postSuccess
(
window
.
__msAdminRoot
+
"
util/frame
"
,{
frameLeftToggle
:
t
.
is
(
"
.left-toggle
"
)},
function
(
e
){})})})}.
call
(
this
,
n
(
5
))},
5
:
function
(
e
,
t
){
e
.
exports
=
window
.
$
}});
\ No newline at end of file
!
function
(
t
){
var
o
=
{};
function
i
(
e
){
if
(
o
[
e
])
return
o
[
e
].
exports
;
var
n
=
o
[
e
]
=
{
i
:
e
,
l
:
!
1
,
exports
:{}};
return
t
[
e
].
call
(
n
.
exports
,
n
,
n
.
exports
,
i
),
n
.
l
=!
0
,
n
.
exports
}
i
.
m
=
t
,
i
.
c
=
o
,
i
.
d
=
function
(
e
,
n
,
t
){
i
.
o
(
e
,
n
)
||
Object
.
defineProperty
(
e
,
n
,{
enumerable
:
!
0
,
get
:
t
})},
i
.
r
=
function
(
e
){
"
undefined
"
!=
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"
Module
"
}),
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
})},
i
.
t
=
function
(
n
,
e
){
if
(
1
&
e
&&
(
n
=
i
(
n
)),
8
&
e
)
return
n
;
if
(
4
&
e
&&
"
object
"
==
typeof
n
&&
n
&&
n
.
__esModule
)
return
n
;
var
t
=
Object
.
create
(
null
);
if
(
i
.
r
(
t
),
Object
.
defineProperty
(
t
,
"
default
"
,{
enumerable
:
!
0
,
value
:
n
}),
2
&
e
&&
"
string
"
!=
typeof
n
)
for
(
var
o
in
n
)
i
.
d
(
t
,
o
,
function
(
e
){
return
n
[
e
]}.
bind
(
null
,
o
));
return
t
},
i
.
n
=
function
(
e
){
var
n
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
i
.
d
(
n
,
"
a
"
,
n
),
n
},
i
.
o
=
function
(
e
,
n
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)},
i
.
p
=
"
/asset//
"
,
i
(
i
.
s
=
283
)}({
283
:
function
(
e
,
n
,
t
){
!
function
(
t
){
t
(
window
).
on
(
"
load
"
,
function
(){
t
(
"
.ub-panel-frame > .right > .content.fixed, .ub-panel-dialog .panel-dialog-body
"
).
scroll
(
function
(){
var
e
=
document
.
createEvent
(
"
HTMLEvents
"
);
e
.
initEvent
(
"
scroll
"
,
!
1
,
!
0
),
window
.
dispatchEvent
(
e
)});
var
e
=
t
(
window
).
width
()
<
600
,
n
=
t
(
"
.ub-panel-frame
"
);
n
.
find
(
"
.menu-expand-all
"
).
on
(
"
click
"
,
function
(){
n
.
find
(
"
.left .menu .title
"
).
addClass
(
"
open
"
)}),
e
?(
n
.
find
(
"
.left-menu-shrink
"
).
on
(
"
click
"
,
function
(){
n
.
removeClass
(
"
left-toggle
"
)}),
n
.
find
(
"
.left-trigger
"
).
on
(
"
click
"
,
function
(){
n
.
addClass
(
"
left-toggle
"
)})):
n
.
find
(
"
.left-trigger
"
).
on
(
"
click
"
,
function
(){
n
.
toggleClass
(
"
left-toggle
"
),
window
.
api
.
base
.
postSuccess
(
window
.
__msAdminRoot
+
"
util/frame
"
,{
frameLeftToggle
:
n
.
is
(
"
.left-toggle
"
)},
function
(
e
){})})})}.
call
(
this
,
t
(
5
))},
5
:
function
(
e
,
n
){
e
.
exports
=
window
.
$
}});
\ No newline at end of file
vendor/modstart/modstart/asset/theme/default/admin.css
浏览文件 @
556c0e63
body
{
min-height
:
100%
;
font-family
:
"Helvetica Neue"
,
Helvetica
,
"PingFang SC"
,
"Hiragino Sans GB"
,
"Microsoft YaHei"
,
"微软雅黑"
,
Arial
,
sans-serif
;
line-height
:
1.5
;
color
:
#495060
;
-webkit-font-smoothing
:
antialiased
;
background
:
#222d32
}
html
{
background
:
#222d32
}
.ub-admin-login
{
width
:
300px
;
margin
:
0
auto
}
.ub-admin-login
.head
{
color
:
#fff
;
text-align
:
center
;
font-size
:
20px
;
padding
:
50px
0
20px
0
}
.ub-admin-login
.form
{
background
:
#fff
;
padding
:
20px
;
border-radius
:
3px
}
.ub-admin-login
.form
.line
{
padding
:
15px
10px
}
.ub-admin-login
.form
.line
input
{
width
:
100%
;
font-size
:
14px
;
line-height
:
40px
;
height
:
40px
}
.ub-admin-login
.btn
{
background
:
var
(
--color-primary
);
border-color
:
var
(
--color-primary
)}
.ub-admin-login
.btn
:active
,
.ub-admin-login
.btn
:focus
,
.ub-admin-login
.btn
:hover
{
background
:
var
(
--color-primary
)}
\ No newline at end of file
body
{
min-height
:
100%
;
font-family
:
"Helvetica Neue"
,
Helvetica
,
"PingFang SC"
,
"Hiragino Sans GB"
,
"Microsoft YaHei"
,
"微软雅黑"
,
Arial
,
sans-serif
;
line-height
:
1.5
;
color
:
#495060
;
-webkit-font-smoothing
:
antialiased
;
background
:
#222d32
}
html
{
background
:
#222d32
}
.ub-panel-frame
.left
{
overflow
:
visible
}
.ub-panel-frame
.left
:hover
.toolbar
{
display
:
block
}
.ub-panel-frame
.left
.toolbar
{
position
:
absolute
;
right
:
-1.5rem
;
border
:
0
;
width
:
1.5rem
;
bottom
:
0
;
border-radius
:
0
.5rem
.5rem
0
;
background
:
#fff
;
box-shadow
:
1px
1px
3px
#999
;
display
:
none
}
.ub-panel-frame
.left
.toolbar
a
{
display
:
inline-block
;
line-height
:
1.5rem
;
height
:
1.5rem
;
width
:
1.5rem
;
text-align
:
center
;
color
:
#999
}
.ub-panel-frame
.left
.toolbar
a
:hover
{
color
:
#ccc
}
.ub-admin-login
{
width
:
300px
;
margin
:
0
auto
}
.ub-admin-login
.head
{
color
:
#fff
;
text-align
:
center
;
font-size
:
20px
;
padding
:
50px
0
20px
0
}
.ub-admin-login
.form
{
background
:
#fff
;
padding
:
20px
;
border-radius
:
3px
}
.ub-admin-login
.form
.line
{
padding
:
15px
10px
}
.ub-admin-login
.form
.line
input
{
width
:
100%
;
font-size
:
14px
;
line-height
:
40px
;
height
:
40px
}
.ub-admin-login
.btn
{
background
:
var
(
--color-primary
);
border-color
:
var
(
--color-primary
)}
.ub-admin-login
.btn
:active
,
.ub-admin-login
.btn
:focus
,
.ub-admin-login
.btn
:hover
{
background
:
var
(
--color-primary
)}
\ No newline at end of file
vendor/modstart/modstart/lang/zh/base.php
浏览文件 @
556c0e63
...
...
@@ -181,4 +181,5 @@ return [
'No Permission'
=>
'没有权限'
,
'Edit file'
=>
'编辑文件'
,
'Reverse Select Order'
=>
'反转选择顺序'
,
'Expand All'
=>
'展开全部'
,
];
vendor/modstart/modstart/resources/asset/src/common/admin.js
浏览文件 @
556c0e63
...
...
@@ -9,6 +9,9 @@ $(window).on('load', function () {
});
var
isMobile
=
(
$
(
window
).
width
()
<
600
)
var
$frame
=
$
(
'
.ub-panel-frame
'
);
$frame
.
find
(
'
.menu-expand-all
'
).
on
(
'
click
'
,
function
(){
$frame
.
find
(
'
.left .menu .title
'
).
addClass
(
'
open
'
);
});
if
(
isMobile
)
{
$frame
.
find
(
'
.left-menu-shrink
'
).
on
(
'
click
'
,
function
()
{
$frame
.
removeClass
(
'
left-toggle
'
);
...
...
vendor/modstart/modstart/resources/asset/src/theme/default/admin.less
浏览文件 @
556c0e63
...
...
@@ -11,6 +11,43 @@ html {
background: #222D32;
}
.ub-panel-frame {
.left {
overflow: visible;
&:hover {
.toolbar {
display: block;
}
}
.toolbar {
position: absolute;
right: -1.5rem;
border: 0;
width: 1.5rem;
bottom: 0;
border-radius: 0 0.5rem 0.5rem 0;
background: #FFF;
box-shadow: 1px 1px 3px #999;
display: none;
a {
display: inline-block;
line-height: 1.5rem;
height: 1.5rem;
width: 1.5rem;
text-align: center;
color: #999;
&:hover {
color: #CCC;
}
}
}
}
}
.ub-admin-login {
width: 300px;
margin: 0 auto;
...
...
vendor/modstart/modstart/src/Field/Id.php
浏览文件 @
556c0e63
...
...
@@ -9,5 +9,4 @@ class Id extends AbstractField
protected
$view
=
'modstart::core.field.text'
;
protected
$addable
=
false
;
protected
$editable
=
false
;
protected
$width
=
100
;
}
vendor/modstart/modstart/views/admin/frame.blade.php
浏览文件 @
556c0e63
...
...
@@ -70,6 +70,11 @@
</
div
>
@
endforeach
</
div
>
<
div
class
=
"toolbar"
>
<
a
href
=
"javascript:;"
class
=
"menu-expand-all"
title
=
"{{L('Expand All')}}"
>
<
i
class
=
"iconfont icon-move"
></
i
>
</
a
>
</
div
>
</
div
>
<
div
class
=
"right"
>
<
div
class
=
"top"
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录