small things
This commit is contained in:
parent
95467dc041
commit
37f6ca5eda
@ -511,7 +511,7 @@ router.post('/user/manage', wrap(async (req, res, next) => {
|
||||
}))
|
||||
|
||||
// Change user password
|
||||
router.post('/user/manage/password', wrap(async (req, res, next) => {
|
||||
router.post('/user/manage/password', accountLimiter, wrap(async (req, res, next) => {
|
||||
if (!req.session.user) return next()
|
||||
|
||||
if (req.body.csrf !== req.session.csrf) {
|
||||
@ -562,7 +562,7 @@ router.post('/user/manage/password', wrap(async (req, res, next) => {
|
||||
}))
|
||||
|
||||
// Change email address
|
||||
router.post('/user/manage/email', wrap(async (req, res, next) => {
|
||||
router.post('/user/manage/email', accountLimiter, wrap(async (req, res, next) => {
|
||||
if (!req.session.user) return next()
|
||||
|
||||
if (req.body.csrf !== req.session.csrf) {
|
||||
|
46
src/style/footer.styl
Normal file
46
src/style/footer.styl
Normal file
@ -0,0 +1,46 @@
|
||||
footer
|
||||
padding: 20px
|
||||
background: #e9f6fd
|
||||
background: -moz-linear-gradient(top, #e9f6fd 0%, #d3eefb 100%)
|
||||
background: -webkit-linear-gradient(top, #e9f6fd 0%,#d3eefb 100%)
|
||||
background: linear-gradient(to bottom, #e9f6fd 0%,#d3eefb 100%)
|
||||
border-top: 1px solid #ddd
|
||||
text-align: center
|
||||
.copyright
|
||||
display: inline-block
|
||||
text-align: center
|
||||
font-size: 90%
|
||||
vertical-align: top
|
||||
margin-top: 35px
|
||||
padding: 15px
|
||||
margin-left: 5vw
|
||||
.squeebot
|
||||
width: 200px
|
||||
.logo
|
||||
font-family: "Open Sans"
|
||||
font-weight: bold
|
||||
text-transform: uppercase
|
||||
text-shadow: 2px 2px 1px #007104
|
||||
color: #00b300
|
||||
letter-spacing: 5px
|
||||
user-select: none
|
||||
font-size: 30px
|
||||
text-align: inherit
|
||||
cursor: pointer
|
||||
display: inline-block
|
||||
.part1, .part2
|
||||
display: inline-block
|
||||
.part1
|
||||
color: #03A9F4
|
||||
text-shadow: 2px 2px 1px #0059a0
|
||||
margin-right: 5px
|
||||
|
||||
@media all and (max-width: 800px)
|
||||
footer
|
||||
.squeebot
|
||||
margin: 0
|
||||
width: 150px
|
||||
margin: auto
|
||||
display: block
|
||||
.copyright
|
||||
margin-left: 0
|
@ -131,25 +131,6 @@ section
|
||||
.fa-github
|
||||
background-color: green
|
||||
|
||||
footer
|
||||
padding: 20px
|
||||
background: #e9f6fd
|
||||
background: -moz-linear-gradient(top, #e9f6fd 0%, #d3eefb 100%)
|
||||
background: -webkit-linear-gradient(top, #e9f6fd 0%,#d3eefb 100%)
|
||||
background: linear-gradient(to bottom, #e9f6fd 0%,#d3eefb 100%)
|
||||
border-top: 1px solid #ddd
|
||||
text-align: center
|
||||
.copyright
|
||||
display: inline-block
|
||||
text-align: center
|
||||
font-size: 90%
|
||||
vertical-align: top
|
||||
margin-top: 35px
|
||||
padding: 15px
|
||||
margin-left: 5vw
|
||||
.squeebot
|
||||
width: 200px
|
||||
|
||||
.wrapper
|
||||
overflow: hidden
|
||||
min-height: 100vh
|
||||
@ -602,14 +583,6 @@ select
|
||||
display: inline-block !important
|
||||
.logo
|
||||
font-size: 10vw
|
||||
footer
|
||||
.squeebot
|
||||
margin: 0
|
||||
width: 150px
|
||||
margin: auto
|
||||
display: block
|
||||
.copyright
|
||||
margin-left: 0
|
||||
.document
|
||||
padding: 5px
|
||||
.tos
|
||||
|
@ -5,6 +5,7 @@ html
|
||||
meta(name="viewport", content="width=device-width, initial-scale=1")
|
||||
block links
|
||||
link(rel="stylesheet", type="text/css", href="/style/main.css")
|
||||
link(rel="stylesheet", type="text/css", href="/style/footer.css")
|
||||
link(rel="stylesheet", type="text/css", href="//fonts.googleapis.com/css?family=Open+Sans")
|
||||
link(rel="stylesheet", type="text/css", href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css")
|
||||
script(src="/script/main.js")
|
||||
|
Reference in New Issue
Block a user