Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fgqyxxlr
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yaru
fgqyxxlr
Commits
372c198d
Commit
372c198d
authored
Aug 19, 2018
by
RuoYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
占位符显示问题
parent
9631720a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
7 deletions
+14
-7
src/main/java/com/ruoyi/framework/shiro/service/PasswordService.java
+2
-2
src/main/resources/application.yml
+1
-1
src/main/resources/static/ruoyi/css/ry-ui.css
+6
-0
src/main/resources/static/ruoyi/css/ry-ui.min.css
+3
-2
src/main/resources/templates/index.html
+2
-2
No files found.
src/main/java/com/ruoyi/framework/shiro/service/PasswordService.java
View file @
372c198d
...
...
@@ -52,13 +52,13 @@ public class PasswordService
}
if
(
retryCount
.
incrementAndGet
()
>
Integer
.
valueOf
(
maxRetryCount
).
intValue
())
{
AsyncManager
.
me
().
execute
(
AsyncFactory
.
recordLogininfor
(
loginName
,
Constants
.
LOGIN_FAIL
,
MessageUtils
.
message
(
"user.password.retry.limit.exceed"
),
maxRetryCount
));
AsyncManager
.
me
().
execute
(
AsyncFactory
.
recordLogininfor
(
loginName
,
Constants
.
LOGIN_FAIL
,
MessageUtils
.
message
(
"user.password.retry.limit.exceed"
,
maxRetryCount
)
));
throw
new
UserPasswordRetryLimitExceedException
(
Integer
.
valueOf
(
maxRetryCount
).
intValue
());
}
if
(!
matches
(
user
,
password
))
{
AsyncManager
.
me
().
execute
(
AsyncFactory
.
recordLogininfor
(
loginName
,
Constants
.
LOGIN_FAIL
,
MessageUtils
.
message
(
"user.password.retry.limit.count"
),
retryCount
,
password
));
AsyncManager
.
me
().
execute
(
AsyncFactory
.
recordLogininfor
(
loginName
,
Constants
.
LOGIN_FAIL
,
MessageUtils
.
message
(
"user.password.retry.limit.count"
,
retryCount
,
password
)
));
loginRecordCache
.
put
(
loginName
,
retryCount
);
throw
new
UserPasswordNotMatchException
();
}
...
...
src/main/resources/application.yml
View file @
372c198d
...
...
@@ -9,7 +9,7 @@ ruoyi:
#头像上传路径
profile
:
D:/profile/
# 获取ip地址开关
addressEnabled
:
fals
e
addressEnabled
:
tru
e
#开发环境配置
server
:
#服务端口
...
...
src/main/resources/static/ruoyi/css/ry-ui.css
View file @
372c198d
...
...
@@ -259,6 +259,12 @@ label{
color
:
#333
;
}
@media
(
max-width
:
768px
)
{
.select-list
{
display
:
none
;
}
}
.select-list
li
{
float
:
left
;
color
:
#333
;
...
...
src/main/resources/static/ruoyi/css/ry-ui.min.css
View file @
372c198d
/*!
* ruoyi.css
* Author: Ruoyi
*/
.box
{
position
:
relative
;
border-radius
:
3px
;
background
:
#fff
;
border-top
:
3px
solid
#d2d6de
;
margin-bottom
:
20px
;
width
:
100%
;
box-shadow
:
0
1px
1px
rgba
(
0
,
0
,
0
,
0.1
)}
.box-header
:before
,
.box-body
:before
,
.box-footer
:before
,
.box-header
:after
,
.box-body
:after
,
.box-footer
:after
{
content
:
" "
;
display
:
table
}
.box-header
:after
,
.box-body
:after
,
.box-footer
:after
{
clear
:
both
}
.btn-box-tool
{
padding
:
5px
;
font-size
:
12px
;
background
:
transparent
;
color
:
#97a0b3
}
.open
.btn-box-tool
,
.btn-box-tool
:hover
{
color
:
#606c84
}
.box-main
{
margin
:
0
;
border
:
0
;
padding-top
:
2px
;
border-radius
:
0
;
box-shadow
:
none
}
.box-main
>
.box-header
{
border-bottom
:
1px
solid
#eee
;
padding
:
12px
10px
2px
15px
}
.box-header
.box-title
{
display
:
inline-block
;
font-size
:
18px
;
margin
:
0
;
line-height
:
1
}
.box-main
>
.box-header
.box-title
{
font-size
:
16px
;
margin-bottom
:
13px
;
float
:
left
}
.box-main
>
.box-header
.box-title
.fa
{
font-size
:
14px
;
padding-right
:
3px
;
margin-top
:
-2px
}
.box-main
>
.box-header
.box-tools
{
position
:
relative
;
top
:
-5px
;
right
:
0
}
.box-main
>
.box-header
.box-tools
.btn
{
padding
:
3px
10px
5px
10px
;
font-size
:
14px
;
margin-bottom
:
2px
}
.box-main
>
.box-header
.box-tools
.btn-box-tool
{
padding
:
4px
2px
}
.box-main
form
>
.box-footer
,
.nav-main
form
>
.box-footer
{
background
:
#fafafa
}
.box-main
form
>
.box-footer
.row
,
.nav-main
form
>
.box-footer
.row
{
margin
:
5px
0
5px
-25px
}
.select2-container--default
.select2-selection--multiple
.select2-selection__choice
{
background-color
:
#1ab394
;
border-color
:
#1ab394
;
padding
:
1px
10px
;
color
:
#fff
}
.select2-container--default
.select2-selection--multiple
.select2-selection__choice__remove
{
margin-right
:
5px
;
color
:
rgba
(
255
,
255
,
255
,
0.7
)}
.select2-container--default
.select2-selection--multiple
.select2-selection__choice__remove
:hover
{
color
:
#fff
}
.select2-container
.select2-selection--single
.select2-selection__rendered
{
padding-right
:
10px
}
label
.error
{
position
:
absolute
;
right
:
18px
;
top
:
5px
;
color
:
#ef392b
;
font-size
:
12px
}
.Validform_error
,
input
.error
,
select
.error
{
background-color
:
#fbe2e2
;
border-color
:
#c66161
;
color
:
#c00
}
.Validform_wrong
,
.Validform_right
,
.Validform_warning
{
display
:
inline-block
;
height
:
20px
;
font-size
:
12px
;
vertical-align
:
middle
;
padding-left
:
25px
}
.loaderbox
{
display
:
inline-block
;
min-width
:
125px
;
padding
:
10px
;
margin
:
0
auto
;
color
:
#000
!important
;
font-size
:
13px
;
font-weight
:
400
;
text-align
:
center
;
vertical-align
:
middle
;
border
:
1px
solid
#ddd
;
background-color
:
#eee
;
-webkit-border-radius
:
2px
;
-moz-border-radius
:
2px
;
-ms-border-radius
:
2px
;
-o-border-radius
:
2px
;
border-radius
:
2px
;
-webkit-box-shadow
:
0
1px
8px
rgba
(
0
,
0
,
0
,
0.1
);
-moz-box-shadow
:
0
1px
8px
rgba
(
0
,
0
,
0
,
0.1
);
box-shadow
:
0
1px
8px
rgba
(
0
,
0
,
0
,
0.1
)}
.loaderbox
.loading-activity
{
float
:
left
;
width
:
18px
;
height
:
18px
;
border
:
solid
2px
transparent
;
border-top-color
:
#000
;
border-left-color
:
#000
;
border-radius
:
10px
;
-webkit-animation
:
pace-spinner
400ms
linear
infinite
;
-moz-animation
:
pace-spinner
400ms
linear
infinite
;
-ms-animation
:
pace-spinner
400ms
linear
infinite
;
-o-animation
:
pace-spinner
400ms
linear
infinite
;
animation
:
pace-spinner
400ms
linear
infinite
}
@media
(
max-width
:
767px
){
.loading-activity
{
width
:
18px
;
height
:
18px
}}
@-ms-keyframes
pace-spinner
{
0
%
{
-ms-transform
:
rotate
(
0deg
);
transform
:
rotate
(
0deg
)}
100
%
{
-ms-transform
:
rotate
(
360deg
);
transform
:
rotate
(
360deg
)}}
@keyframes
pace-spinner
{
0
%
{
transform
:
rotate
(
0deg
)}
100
%
{
transform
:
rotate
(
360deg
)}}
ul
{
margin
:
0
;
padding
:
0
;
-webkit-tap-highlight-color
:
rgba
(
0
,
0
,
0
,
0
)}
li
{
list-style
:
none
}
.time-input
{
display
:
block
;
width
:
100%
;
padding-left
:
10px
}
label
{
font-weight
:
normal
}
.container-div
{
padding
:
10px
35px
;
height
:
100%
}
.container-div
.row
{
height
:
100%
}
.select-info
{
width
:
100%
;
background
:
#fff
;
border-radius
:
6px
;
margin-top
:
10px
;
padding-bottom
:
13px
;
box-shadow
:
1px
1px
3px
rgba
(
0
,
0
,
0
,
.2
)}
.select-info
{
position
:
relative
}
.select-info
.save-btn
,
.select-info
.close-btn
{
width
:
20px
;
position
:
absolute
;
right
:
20px
;
top
:
15px
;
cursor
:
pointer
}
.select-info
.save-btn
{
right
:
50px
}
.select-info
.col-sm-6
.control-label
{
color
:
#333
}
.select-list
li
{
float
:
left
;
color
:
#333
;
margin
:
5px
15px
5px
0
}
.select-list
li
input
{
border
:
1px
solid
#ddd
;
border-radius
:
4px
;
background
:
transparent
;
outline
:
0
;
height
:
30px
;
width
:
280px
}
.select-list
li
.submit-btn
{
border
:
0
;
border-radius
:
4px
;
background
:
transparent
;
outline
:
0
;
width
:
40px
;
height
:
23px
}
.select-list
li
select
{
border
:
1px
solid
#ddd
;
border-radius
:
4px
;
background
:
transparent
;
outline
:
0
;
height
:
30px
;
width
:
280px
}
.select-list
.time
input
{
width
:
133px
}
.time
label
,
.time
span
,
.time
input
{
float
:
left
}
.time
label
{
margin-top
:
5px
}
.time
span
{
display
:
block
;
margin
:
5px
5px
}
.search-btn
{
background-color
:
#1ab394
;
border-color
:
#1ab394
;
color
:
#FFF
;
margin-bottom
:
5px
;
display
:
inline-block
;
padding
:
6px
12px
;
margin-bottom
:
0
;
font-size
:
14px
;
font-weight
:
400
;
line-height
:
1.42857143
;
text-align
:
center
;
white-space
:
nowrap
;
border-radius
:
3px
;
vertical-align
:
middle
;
cursor
:
pointer
}
.table-striped
{
min-height
:
75%
}
.table-striped
.bootstrap-table
{
border
:
0
!important
}
.table-striped
.table
,
.fixed-table-container
,
table
,
.table-striped
.table
,
.table
>
thead
>
tr
>
th
,
.table
>
tbody
>
tr
>
th
,
.table
>
tfoot
>
tr
>
th
,
.table
>
thead
>
tr
>
td
,
.table
>
tbody
>
tr
>
td
,
.table
>
tfoot
>
tr
>
td
{
border-bottom
:
1px
solid
#ccc
!important
;
background-color
:
transparent
!important
}
.table-striped
.table
,
.fixed-table-container
,
table
,
.table-striped
.table
,
.table
>
thead
>
tr
>
th
,
.table
>
tbody
>
tr
>
th
,
.table
>
tfoot
>
tr
>
th
,
.table
>
thead
>
tr
>
td
,
.table
>
tbody
>
tr
>
td
,
.table
>
tfoot
>
tr
>
td
{
background-color
:
transparent
!important
;
border
:
0
}
.table-striped
.table
>
thead
>
tr
>
th
,
.table-striped
.table
>
tbody
>
tr
>
th
{
border-bottom
:
1px
solid
#ccc
!important
;
border-top
:
0
!important
}
.table-striped
.table
>
thead
:first-child
>
tr
:first-child
>
th
{
color
:
#333
}
.table-bordered
td
,
.table-bordered
th
{
border
:
1px
solid
#ddd
!important
}
\ No newline at end of file
*/
.box
{
position
:
relative
;
border-radius
:
3px
;
background
:
#fff
;
border-top
:
3px
solid
#d2d6de
;
margin-bottom
:
20px
;
width
:
100%
;
box-shadow
:
0
1px
1px
rgba
(
0
,
0
,
0
,
0.1
)}
.box-header
:before
,
.box-body
:before
,
.box-footer
:before
,
.box-header
:after
,
.box-body
:after
,
.box-footer
:after
{
content
:
" "
;
display
:
table
}
.box-header
:after
,
.box-body
:after
,
.box-footer
:after
{
clear
:
both
}
.btn-box-tool
{
padding
:
5px
;
font-size
:
12px
;
background
:
transparent
;
color
:
#97a0b3
}
.open
.btn-box-tool
,
.btn-box-tool
:hover
{
color
:
#606c84
}
.box-main
{
margin
:
0
;
border
:
0
;
padding-top
:
2px
;
border-radius
:
0
;
box-shadow
:
none
}
.box-main
>
.box-header
{
border-bottom
:
1px
solid
#eee
;
padding
:
12px
10px
2px
15px
}
.box-header
.box-title
{
display
:
inline-block
;
font-size
:
18px
;
margin
:
0
;
line-height
:
1
}
.box-main
>
.box-header
.box-title
{
font-size
:
16px
;
margin-bottom
:
13px
;
float
:
left
}
.box-main
>
.box-header
.box-title
.fa
{
font-size
:
14px
;
padding-right
:
3px
;
margin-top
:
-2px
}
.box-main
>
.box-header
.box-tools
{
position
:
relative
;
top
:
-5px
;
right
:
0
}
.box-main
>
.box-header
.box-tools
.btn
{
padding
:
3px
10px
5px
10px
;
font-size
:
14px
;
margin-bottom
:
2px
}
.box-main
>
.box-header
.box-tools
.btn-box-tool
{
padding
:
4px
2px
}
.box-main
form
>
.box-footer
,
.nav-main
form
>
.box-footer
{
background
:
#fafafa
}
.box-main
form
>
.box-footer
.row
,
.nav-main
form
>
.box-footer
.row
{
margin
:
5px
0
5px
-25px
}
.select2-container--default
.select2-selection--multiple
.select2-selection__choice
{
background-color
:
#1ab394
;
border-color
:
#1ab394
;
padding
:
1px
10px
;
color
:
#fff
}
.select2-container--default
.select2-selection--multiple
.select2-selection__choice__remove
{
margin-right
:
5px
;
color
:
rgba
(
255
,
255
,
255
,
0.7
)}
.select2-container--default
.select2-selection--multiple
.select2-selection__choice__remove
:hover
{
color
:
#fff
}
.select2-container
.select2-selection--single
.select2-selection__rendered
{
padding-right
:
10px
}
label
.error
{
position
:
absolute
;
right
:
18px
;
top
:
5px
;
color
:
#ef392b
;
font-size
:
12px
}
.Validform_error
,
input
.error
,
select
.error
{
background-color
:
#fbe2e2
;
border-color
:
#c66161
;
color
:
#c00
}
.Validform_wrong
,
.Validform_right
,
.Validform_warning
{
display
:
inline-block
;
height
:
20px
;
font-size
:
12px
;
vertical-align
:
middle
;
padding-left
:
25px
}
.loaderbox
{
display
:
inline-block
;
min-width
:
125px
;
padding
:
10px
;
margin
:
0
auto
;
color
:
#000
!important
;
font-size
:
13px
;
font-weight
:
400
;
text-align
:
center
;
vertical-align
:
middle
;
border
:
1px
solid
#ddd
;
background-color
:
#eee
;
-webkit-border-radius
:
2px
;
-moz-border-radius
:
2px
;
-ms-border-radius
:
2px
;
-o-border-radius
:
2px
;
border-radius
:
2px
;
-webkit-box-shadow
:
0
1px
8px
rgba
(
0
,
0
,
0
,
0.1
);
-moz-box-shadow
:
0
1px
8px
rgba
(
0
,
0
,
0
,
0.1
);
box-shadow
:
0
1px
8px
rgba
(
0
,
0
,
0
,
0.1
)}
.loaderbox
.loading-activity
{
float
:
left
;
width
:
18px
;
height
:
18px
;
border
:
solid
2px
transparent
;
border-top-color
:
#000
;
border-left-color
:
#000
;
border-radius
:
10px
;
-webkit-animation
:
pace-spinner
400ms
linear
infinite
;
-moz-animation
:
pace-spinner
400ms
linear
infinite
;
-ms-animation
:
pace-spinner
400ms
linear
infinite
;
-o-animation
:
pace-spinner
400ms
linear
infinite
;
animation
:
pace-spinner
400ms
linear
infinite
}
@media
(
max-width
:
767px
){
.loading-activity
{
width
:
18px
;
height
:
18px
}}
@-ms-keyframes
pace-spinner
{
0
%
{
-ms-transform
:
rotate
(
0deg
);
transform
:
rotate
(
0deg
)}
100
%
{
-ms-transform
:
rotate
(
360deg
);
transform
:
rotate
(
360deg
)}}
@keyframes
pace-spinner
{
0
%
{
transform
:
rotate
(
0deg
)}
100
%
{
transform
:
rotate
(
360deg
)}}
ul
{
margin
:
0
;
padding
:
0
;
-webkit-tap-highlight-color
:
rgba
(
0
,
0
,
0
,
0
)}
li
{
list-style
:
none
}
.time-input
{
display
:
block
;
width
:
100%
;
padding-left
:
10px
}
label
{
font-weight
:
normal
}
.container-div
{
padding
:
10px
35px
;
height
:
100%
}
.container-div
.row
{
height
:
100%
}
.select-info
{
width
:
100%
;
background
:
#fff
;
border-radius
:
6px
;
margin-top
:
10px
;
padding-bottom
:
13px
;
box-shadow
:
1px
1px
3px
rgba
(
0
,
0
,
0
,
.2
)}
.select-info
{
position
:
relative
}
.select-info
.save-btn
,
.select-info
.close-btn
{
width
:
20px
;
position
:
absolute
;
right
:
20px
;
top
:
15px
;
cursor
:
pointer
}
.select-info
.save-btn
{
right
:
50px
}
.select-info
.col-sm-6
.control-label
{
color
:
#333
}
@media
(
max-width
:
768px
){
.select-list
{
display
:
none
}}
.select-list
li
{
float
:
left
;
color
:
#333
;
margin
:
5px
15px
5px
0
}
.select-list
li
input
{
border
:
1px
solid
#ddd
;
border-radius
:
4px
;
background
:
transparent
;
outline
:
0
;
height
:
30px
;
width
:
280px
}
.select-list
li
.submit-btn
{
border
:
0
;
border-radius
:
4px
;
background
:
transparent
;
outline
:
0
;
width
:
40px
;
height
:
23px
}
.select-list
li
select
{
border
:
1px
solid
#ddd
;
border-radius
:
4px
;
background
:
transparent
;
outline
:
0
;
height
:
30px
;
width
:
280px
}
.select-list
.time
input
{
width
:
133px
}
.time
label
,
.time
span
,
.time
input
{
float
:
left
}
.time
label
{
margin-top
:
5px
}
.time
span
{
display
:
block
;
margin
:
5px
5px
}
.search-btn
{
background-color
:
#1ab394
;
border-color
:
#1ab394
;
color
:
#FFF
;
margin-bottom
:
5px
;
display
:
inline-block
;
padding
:
6px
12px
;
margin-bottom
:
0
;
font-size
:
14px
;
font-weight
:
400
;
line-height
:
1.42857143
;
text-align
:
center
;
white-space
:
nowrap
;
border-radius
:
3px
;
vertical-align
:
middle
;
cursor
:
pointer
}
.table-striped
{
min-height
:
75%
}
.table-striped
.bootstrap-table
{
border
:
0
!important
}
.table-striped
.table
,
.fixed-table-container
,
table
,
.table-striped
.table
,
.table
>
thead
>
tr
>
th
,
.table
>
tbody
>
tr
>
th
,
.table
>
tfoot
>
tr
>
th
,
.table
>
thead
>
tr
>
td
,
.table
>
tbody
>
tr
>
td
,
.table
>
tfoot
>
tr
>
td
{
border-bottom
:
1px
solid
#ccc
!important
;
background-color
:
transparent
!important
;
border
:
0
}
.table-striped
.table
>
thead
>
tr
>
th
,
.table-striped
.table
>
tbody
>
tr
>
th
{
border-bottom
:
1px
solid
#ccc
!important
;
border-top
:
0
!important
}
.table-striped
.table
>
thead
:first-child
>
tr
:first-child
>
th
{
color
:
#333
}
.table-bordered
td
,
.table-bordered
th
{
border
:
1px
solid
#ddd
!important
}
\ No newline at end of file
src/main/resources/templates/index.html
View file @
372c198d
...
...
@@ -86,9 +86,9 @@
</div>
</form>
</div>
<ul
class=
"nav navbar-top-links navbar-right"
>
<ul
class=
"nav navbar-top-links navbar-right
welcome-message
"
>
<li>
<span
class=
"m-r-sm text-muted
welcome-message
"
>
欢迎来到若依管理后台.
</span>
<span
class=
"m-r-sm text-muted"
>
欢迎来到若依管理后台.
</span>
</li>
<li><a
id=
"fullScreen"
><i
class=
"fa fa-arrows-alt"
></i>
全屏
</a></li>
<li><a
th:href=
"@{logout}"
><i
class=
"fa fa-sign-out"
></i>
退出
</a></li>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment