fix(torrents): peers ip type info css

This commit is contained in:
OldHawk
2018-06-09 13:48:37 +08:00
parent 823804fa51
commit a314a1e4bf
2 changed files with 11 additions and 9 deletions

View File

@@ -238,7 +238,7 @@ exports.announce = function (req, res) {
query.info_hash = common.binaryToHex(query.info_hash);
req.seeder = (query.left === 0) ? true : false;
console.log(query);
// console.log(query);
done(null);
}

View File

@@ -507,19 +507,21 @@ body {
.ip-flags {
&.ip-flag4 {
cursor: pointer;
padding: 1px 5px;
color: #fff;
background-color: @brand-danger;
border-color: darken(@brand-danger, 10%);
padding: 1px 4px 0;
color: @brand-danger;
background-color: @alert-danger-bg;
font-size: 12px;
border: solid 1px @brand-danger;
border-radius: 3px;
}
&.ip-flag6 {
cursor: pointer;
margin-left: 2px;
padding: 1px 5px;
color: #fff;
background-color: @brand-success;
border-color: darken(@brand-success, 10%);
padding: 1px 4px 0;
color: @brand-success;
background-color: @alert-success-bg;
font-size: 12px;
border: solid 1px @brand-success;
border-radius: 3px;
}
}