Jon Solow commited on
Commit
f45b43b
·
1 Parent(s): fffd0cd

Add legend

Browse files
src/pages/80_Maximum_Roster_Strategy.py CHANGED
@@ -96,6 +96,12 @@ def get_position_breakdown(df: pd.DataFrame, position_abbr: str, position_full_s
96
  <div class="grid-container-{len(time_slots)}">
97
  {grid_code_str}
98
  </div>
 
 
 
 
 
 
99
  """,
100
  height=1000,
101
  scrolling=True,
 
96
  <div class="grid-container-{len(time_slots)}">
97
  {grid_code_str}
98
  </div>
99
+ <br>
100
+ <div class="grid-legend">Colors Legend:
101
+ <div class="drop-player">Drop Player</div> |
102
+ <div class="light-hold-player">Light Hold Player</div> |
103
+ <div class="hold-player">Strong Hold Player</div>
104
+ </div>
105
  """,
106
  height=1000,
107
  scrolling=True,
src/style.css CHANGED
@@ -45,6 +45,14 @@
45
  border-right: 1px solid white;
46
  }
47
 
 
 
 
 
 
 
 
 
48
 
49
  .grid-container-6 {
50
  display: grid;
 
45
  border-right: 1px solid white;
46
  }
47
 
48
+ .grid-legend {
49
+ color: white;
50
+ border: 1px solid white;
51
+ display: flex;
52
+ gap: 5px;
53
+ justify-content: center;
54
+ font-size: x-small;
55
+ }
56
 
57
  .grid-container-6 {
58
  display: grid;