Skip to content

Commit 9ec9cc7

Browse files
committed
d
1 parent 7bb942e commit 9ec9cc7

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

mg/maps.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
}
1313

1414
.border-status-wip {
15-
border-top: 10px solid green;
15+
border-top: 10px solid yellow;
1616
}
1717

1818
.border-status-done {
19-
border-top: 10px solid yellow;
19+
border-top: 10px solid green;
2020
}
2121
</style>
2222
</head>

mg/maps.js

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ would only put total points, rank, and current party on the always-visible card
44
then the points breakdown and quest name list in this popup thing
55
for quests, would just do name/reward visible
66
and parties everything can be visible cuz there isnt much
7+
8+
9+
add commnas
10+
diffs in card w/ username on hover | crossed out taken diffs | show all except maps.locked ( https://media.discordapp.net/attachments/332717696812711948/529928461360431110/unknown.png )
11+
collapsable by quests/generalmaps/ranked
12+
sizes (ranked like https://cdn.discordapp.com/attachments/332717696812711948/529927425384251406/unknown.png )
713
*/
814

915
$(function(){
@@ -90,10 +96,14 @@ $(function(){
9096
var map = data.maps.beatmaps[key];
9197
$('.modal-title').text(`${map.artist} - ${map.title} (${map.host})`);
9298

93-
if (map.status == 'WIP')
99+
console.log(map.status);
100+
if (map.status == 'WIP') {
101+
$('.modal-header').removeClass('bg-success');
94102
$('.modal-header').addClass('bg-warning');
95-
else
96-
$('.modal-header').addClass('bg-success');
103+
} else {
104+
$('.modal-header').removeClass('bg-warning');
105+
$('.modal-header').addClass('bg-success');
106+
}
97107

98108
$.each(map.tasks, function(k, v){
99109
var s = `<p class='${ v.status == 'WIP' ? 'text-warning' : 'text-success' }'>${v.name}: `;

0 commit comments

Comments
 (0)