return next();
}
+ ttl = Math.round(ttl / 60);
+
res.render('banned', {
slogan: utils.randomSlogan(),
- ttl: Math.round(ttl / 60)
+ ttl: (ttl || 'less than a') + ' minute' + (ttl < 2 ? '' : 's')
});
});
};
}
.well {
background-color: #DDDDDD;
- margin-bottom: 18px;
}
.alert {
margin-bottom: 9px;
}
+.ban, .leaderboard-wrapper, .well, #summary {
+ margin-bottom: 18px;
+}
.submit-button {
margin-left: 120px;
margin-top: 9px;
.leaderboard-wrapper {
height: 349px;
overflow: auto;
- margin-bottom: 18px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
#summary {
text-align: center;
- margin-bottom: 18px;
}
#users-wrapper {
margin-left: 120px;
section
.row
.span12.offset2
- .alert.alert-error.alert-block
+ .alert.alert-error.alert-block.ban
h4.alert-heading Error!
| Yuo have been banned.
br
- | Your ban will expire in #{ttl} minutes.
+ | Your ban will expire in #{ttl}.
block scripts