add gamecard progress
This commit is contained in:
@@ -23,70 +23,70 @@
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
<table>
|
||||
<table class="lineup">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="numbercell">
|
||||
<th class="cell-square">
|
||||
</th>
|
||||
<th class="customcol">
|
||||
</th>
|
||||
<th class="numbercell">
|
||||
<th class="cell-square">
|
||||
</th>
|
||||
<th class="numbercell">
|
||||
</th>
|
||||
<th class="numbercell">1
|
||||
</th>
|
||||
<th class="numbercell">2
|
||||
</th>
|
||||
<th class="numbercell">3
|
||||
</th>
|
||||
<th class="numbercell">4
|
||||
</th>
|
||||
<th class="numbercell">5
|
||||
</th>
|
||||
<th class="numbercell">6
|
||||
</th>
|
||||
<th class="numbercell">7
|
||||
</th>
|
||||
<th class="numbercell">X
|
||||
<th class="cell-square">
|
||||
</th>
|
||||
{% for inning in '1234567X' %}
|
||||
<th class="cell-square">{{ inning }}
|
||||
</th>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for member in members_startinglineup %}
|
||||
<tr>
|
||||
<td class="numbercell">{{ member.lineup_entry.sequence | add:"1" }}</td>
|
||||
<td class="cell-square cell-smalltext cell-mono">{{ member.lineup_entry.sequence | add:"1" }}</td>
|
||||
<td class="customcol">{{ member.member.last_name }}</td>
|
||||
<td class="numbercell">{{ member.member.jersey_number }}</td>
|
||||
<td class="numbercell">{{ member.lineup_entry.label }}</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td class="cell-square cell-smalltext">{{ member.member.jersey_number }}</td>
|
||||
<td class="cell-square cell-smalltext cell-mono">{{ member.lineup_entry.label }}</td>
|
||||
{% for inning in '1234567X' %}
|
||||
<td class="cell-square"></td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<table class="lineup">
|
||||
<tbody>
|
||||
{% for member in members_startingpositiononly %}
|
||||
<tr>
|
||||
<td class="numbercell"></td>
|
||||
<td class="customcol">{{ member.member.last_name }}</td>
|
||||
<td class="numbercell">{{ member.member.jersey_number }}</td>
|
||||
<td class="numbercell">{{ member.lineup_entry.label }}</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td class="cell-square"></td>
|
||||
<td class="">{{ member.member.last_name }}</td>
|
||||
<td class="cell-square cell-smalltext">{{ member.member.jersey_number }}</td>
|
||||
<td class="cell-square cell-smalltext cell-mono">{{ member.lineup_entry.label }}</td>
|
||||
{% for inning in '1234567X' %}
|
||||
<td class="cell-square"></td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
{% for member in members_bench %}
|
||||
<tr>
|
||||
<td class="cell-square"></td>
|
||||
<td class="">{{ member.member.last_name }}</td>
|
||||
<td class="cell-square cell-smalltext">{{ member.member.jersey_number }}</td>
|
||||
<td class="cell-square cell-smalltext cell-mono">{{ member.lineup_entry.label }}</td>
|
||||
{% for inning in '1234567X' %}
|
||||
<td class="cell-square"></td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
{% for _ in blankrows_lineup %}
|
||||
<tr>
|
||||
<td class="cell-square"></td>
|
||||
<td class="">{{ member.member.last_name }}</td>
|
||||
<td class="cell-square cell-smalltext">{{ member.member.jersey_number }}</td>
|
||||
<td class="cell-square cell-smalltext cell-mono">{{ member.lineup_entry.label }}</td>
|
||||
{% for inning in '1234567X' %}
|
||||
<td class="cell-square"></td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
@@ -95,96 +95,137 @@
|
||||
</div>
|
||||
<div class="half-card">
|
||||
<div class="content card-right">
|
||||
<table class="tg">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="numbercell"></th>
|
||||
<th class="numbercell"></th>
|
||||
<th class="condensedNameCell">Available</th>
|
||||
<th class="statscell">AVG/OBP/SLG:PA</th>
|
||||
<th class="numbercell">P</th>
|
||||
<th class="numbercell">C</th>
|
||||
<th class="numbercell">IF</th>
|
||||
<th class="numbercell">OF</th>
|
||||
{% for event in events_future %}
|
||||
<th class="numbercell">
|
||||
<span style="transform: rotate(-90deg);display: inline-block">
|
||||
{{ event.data.start_date|date:'D' }}
|
||||
</span>
|
||||
</th>
|
||||
{% endfor %}
|
||||
{% for event in events_past %}
|
||||
<th class="numbercell">
|
||||
<span style="transform: rotate(-90deg);display: inline-block">
|
||||
{{ event.data.start_date|date:'D' }}
|
||||
</span>
|
||||
</th>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for member in members %}
|
||||
|
||||
<div style="width:100%">
|
||||
<table class="">
|
||||
<thead>
|
||||
<tr>
|
||||
<td class="numbercell"></td>
|
||||
<td class="numbercell available-status-code-{{ member.availability.status_code }}">{{ member.member.jersey_number }}</td>
|
||||
<td class="condensedNameCell available-status-code-{{ member.availability.status_code }}">{{ member.member.last_name }}</td>
|
||||
<td class="statscell"></td>
|
||||
<td class="numbercell">
|
||||
{% if "P" in member.member.position %}
|
||||
<i class="bi bi-check-square-fill"></i>
|
||||
{% else %}
|
||||
<i class="bi bi-square"></i>
|
||||
{% endif %}
|
||||
<td class="numbercell">
|
||||
{% if "C" in member.member.position %}
|
||||
<i class="bi bi-check-square-fill"></i>
|
||||
{% else %}
|
||||
<i class="bi bi-square"></i>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="numbercell">
|
||||
{% if "IF" in member.member.position or "1B" in member.member.position %}
|
||||
<i class="bi bi-check-square-fill"></i>
|
||||
{% else %}
|
||||
<i class="bi bi-square"></i>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="numbercell">
|
||||
{% if "OF" in member.member.position %}
|
||||
<i class="bi bi-check-square-fill"></i>
|
||||
{% else %}
|
||||
<i class="bi bi-square"></i>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="numbercell available-status-code-{{ member.availability_future.0.data.status_code }}">
|
||||
{{ member.availability_future.0.data.status.0 }}
|
||||
</td>
|
||||
<td class="numbercell available-status-code-{{ member.availability_future.1.data.status_code }}">
|
||||
{{ member.availability_future.1.data.status.0 }}
|
||||
</td>
|
||||
<td class="numbercell available-status-code-{{ member.availability_future.2.data.status_code }}">
|
||||
{{ member.availability_future.2.data.status.0 }}
|
||||
</td>
|
||||
<td class="numbercell available-status-code-{{ member.availability_future.3.data.status_code }}">
|
||||
{{ member.availability_future.3.data.status.0 }}
|
||||
</td>
|
||||
<td class="numbercell available-status-code-{{ member.availability_past.0.data.status_code }}">
|
||||
{{ member.availability_past.0.data.status.0 }}
|
||||
</td>
|
||||
<td class="numbercell available-status-code-{{ member.availability_past.1.data.status_code }}">
|
||||
{{ member.availability_past.1.data.status.0 }}
|
||||
</td>
|
||||
<td class="numbercell available-status-code-{{ member.availability_past.2.data.status_code }}">
|
||||
{{ member.availability_past.2.data.status.0 }}
|
||||
</td>
|
||||
<td class="numbercell available-status-code-{{ member.availability_past.3.data.status_code }}">
|
||||
{{ member.availability_past.3.data.status.0 }}
|
||||
</td>
|
||||
<th class="cell-square"></th>
|
||||
<th class="cell-square"></th>
|
||||
<th class="condensedNameCell">Available</th>
|
||||
<th class="statscell">AVG/OBP/SLG:PA</th>
|
||||
<th class="cell-square cell-smalltext narrow">P</th>
|
||||
<th class="cell-square cell-smalltext narrow">C</th>
|
||||
<th class="cell-square cell-smalltext narrow">IF</th>
|
||||
<th class="cell-square cell-smalltext narrow">OF</th>
|
||||
{% for event in events_future %}
|
||||
<th class="cell-square cell-smalltext cell-condensed narrow">
|
||||
<span class="day-of-the-week">{{ event.data.start_date|date:'D' }}</span>
|
||||
</th>
|
||||
{% endfor %}
|
||||
{% for event in events_past %}
|
||||
<th class="cell-square cell-smalltext cell-condensed narrow">
|
||||
<span class="day-of-the-week">{{ event.data.start_date|date:'D' }}</span>
|
||||
</th>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for member in members %}
|
||||
|
||||
<tr>
|
||||
<td class="cell-square"></td>
|
||||
<td class="cell-square cell-smalltext cell-mono available-status-code-{{ member.availability.status_code }} {% if member.in_starting_lineup %}in-starting-lineup{% endif %}">{{ member.member.jersey_number }}</td>
|
||||
<td class="cell-info-lastname available-status-code-{{ member.availability.status_code }} {% if member.in_starting_lineup %}in-starting-lineup{% endif %}">{{ member.member.last_name }}</td>
|
||||
<td class="statscell"></td>
|
||||
|
||||
<td class="cell-square cell-checkbox narrow no-inside-border">
|
||||
{% if "P" in member.member.position %}
|
||||
<i class="bi bi-check-square-fill"></i>
|
||||
{% else %}
|
||||
<i class="bi bi-square"></i>
|
||||
{% endif %}
|
||||
<td class="cell-square cell-checkbox narrow no-inside-border">
|
||||
{% if "C" in member.member.position %}
|
||||
<i class="bi bi-check-square-fill"></i>
|
||||
{% else %}
|
||||
<i class="bi bi-square"></i>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="cell-square cell-checkbox narrow no-inside-border">
|
||||
{% if "IF" in member.member.position or "1B" in member.member.position or "2B" in member.member.position or "3B" in member.member.position or "SS" in member.member.position %}
|
||||
<i class="bi bi-check-square-fill"></i>
|
||||
{% else %}
|
||||
<i class="bi bi-square"></i>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="cell-square cell-checkbox narrow no-inside-border">
|
||||
{% if "OF" in member.member.position or "LF" in member.member.position or "CF" in member.member.position or "RF" in member.member.position %}
|
||||
<i class="bi bi-check-square-fill"></i>
|
||||
{% else %}
|
||||
<i class="bi bi-square"></i>
|
||||
{% endif %}
|
||||
</td>
|
||||
|
||||
<td class="cell-square narrow cell-smalltext cell-mono no-inside-border available-status-code-{{ member.availability_future.0.data.status_code }}">
|
||||
{{ member.availability_future.0.data.status.0 }}
|
||||
</td>
|
||||
<td class="cell-square narrow cell-smalltext cell-mono no-inside-border available-status-code-{{ member.availability_future.1.data.status_code }}">
|
||||
{{ member.availability_future.1.data.status.0 }}
|
||||
</td>
|
||||
<td class="cell-square narrow cell-smalltext cell-mono no-inside-border available-status-code-{{ member.availability_future.2.data.status_code }}">
|
||||
{{ member.availability_future.2.data.status.0 }}
|
||||
</td>
|
||||
<td class="cell-square narrow cell-smalltext cell-mono no-inside-border available-status-code-{{ member.availability_future.3.data.status_code }}">
|
||||
{{ member.availability_future.3.data.status.0 }}
|
||||
</td>
|
||||
<td class="cell-square narrow cell-smalltext cell-mono available-status-code-{{ member.availability_past.0.data.status_code }}">
|
||||
{{ member.availability_past.0.data.status.0 }}
|
||||
</td>
|
||||
<td class="cell-square narrow cell-smalltext cell-mono available-status-code-{{ member.availability_past.1.data.status_code }}">
|
||||
{{ member.availability_past.1.data.status.0 }}
|
||||
</td>
|
||||
<td class="cell-square narrow cell-smalltext cell-mono available-status-code-{{ member.availability_past.2.data.status_code }}">
|
||||
{{ member.availability_past.2.data.status.0 }}
|
||||
</td>
|
||||
<td class="cell-square narrow cell-smalltext cell-mono available-status-code-{{ member.availability_past.3.data.status_code }}">
|
||||
{{ member.availability_past.3.data.status.0 }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{% endfor %}
|
||||
{% for _ in blankrows_info %}
|
||||
<tr>
|
||||
<td class="cell-square"></td>
|
||||
<td class="cell-square"></td>
|
||||
<td class="cell-square"></td>
|
||||
<td class="statscell"></td>
|
||||
<td class="cell-square narrow"></td>
|
||||
<td class="cell-square narrow"></td>
|
||||
<td class="cell-square narrow"></td>
|
||||
<td class="cell-square narrow"></td>
|
||||
<td class="cell-square narrow available-status-code"></td>
|
||||
<td class="cell-square narrow available-status-code"></td>
|
||||
<td class="cell-square narrow available-status-code"></td>
|
||||
<td class="cell-square narrow available-status-code"></td>
|
||||
<td class="cell-square narrow available-status-code"></td>
|
||||
<td class="cell-square narrow available-status-code"></td>
|
||||
<td class="cell-square narrow available-status-code"></td>
|
||||
<td class="cell-square narrow available-status-code"></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for member in members %}
|
||||
<tr>
|
||||
|
||||
</tr>
|
||||
{% endfor %}
|
||||
{% for _ in blankrows_info %}
|
||||
<tr>
|
||||
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -198,17 +239,17 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="numbercell" style="background-color: #323669">
|
||||
<th class="cell-square" style="background-color: #323669">
|
||||
{{ event.data.start_date|date:"D, F j, Y g:i A" }}
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="numbercell" style="background-color: #323669">
|
||||
<th class="cell-square" style="background-color: #323669">
|
||||
{{ event.data.location_name }}
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="numbercell" style="background-color: lightgray">
|
||||
<th class="cell-square" style="background-color: lightgray">
|
||||
|
||||
</th>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user