mirror of https://github.com/JohnHammond/CTFd.git
Fix tables
parent
be643dee90
commit
5f4af2a3f2
|
@ -33,11 +33,11 @@
|
||||||
<table id="pages" class="table table-striped border">
|
<table id="pages" class="table table-striped border">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="d-block border-right border-bottom text-center" data-checkbox>
|
<th class="border-right" data-checkbox>
|
||||||
<div class="form-check">
|
<div class="form-check text-center">
|
||||||
<input type="checkbox" class="form-check-input" id="scoreboard-bulk-select" data-checkbox-all>
|
<input type="checkbox" class="form-check-input" id="scoreboard-bulk-select" data-checkbox-all>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</th>
|
||||||
<th class="sort-col text-center"><b>Title</b></th>
|
<th class="sort-col text-center"><b>Title</b></th>
|
||||||
<th class="sort-col text-center"><b>Route</b></th>
|
<th class="sort-col text-center"><b>Route</b></th>
|
||||||
<th class="sort-col text-center"><b>Authentication</b></th>
|
<th class="sort-col text-center"><b>Authentication</b></th>
|
||||||
|
@ -49,8 +49,8 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for page in pages %}
|
{% for page in pages %}
|
||||||
<tr data-href="{{ url_for('admin.pages_detail', page_id=page.id) }}">
|
<tr data-href="{{ url_for('admin.pages_detail', page_id=page.id) }}">
|
||||||
<td class="d-block border-right text-center" data-checkbox>
|
<td class="border-right" data-checkbox>
|
||||||
<div class="form-check">
|
<div class="form-check text-center">
|
||||||
<input type="checkbox" class="form-check-input" value="{{ page.id }}" data-account-id="{{ page.id }}">
|
<input type="checkbox" class="form-check-input" value="{{ page.id }}" data-account-id="{{ page.id }}">
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
|
@ -23,11 +23,11 @@
|
||||||
<table id="scoreboard" class="table table-striped border">
|
<table id="scoreboard" class="table table-striped border">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="d-block border-right border-bottom text-center" data-checkbox>
|
<th class="border-right" data-checkbox>
|
||||||
<div class="form-check">
|
<div class="form-check text-center">
|
||||||
<input type="checkbox" class="form-check-input" id="scoreboard-bulk-select" data-checkbox-all>
|
<input type="checkbox" class="form-check-input" id="scoreboard-bulk-select" data-checkbox-all>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</th>
|
||||||
<th class="sort-col text-center"><b>Place</b></th>
|
<th class="sort-col text-center"><b>Place</b></th>
|
||||||
<th class="sort-col"><b>Team</b></th>
|
<th class="sort-col"><b>Team</b></th>
|
||||||
<th class="sort-col"><b>Score</b></th>
|
<th class="sort-col"><b>Score</b></th>
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for standing in standings %}
|
{% for standing in standings %}
|
||||||
<tr data-href="{{ generate_account_url(standing.account_id, admin=True) }}">
|
<tr data-href="{{ generate_account_url(standing.account_id, admin=True) }}">
|
||||||
<td class="d-block border-right text-center" data-checkbox>
|
<td class="border-right text-center" data-checkbox>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input type="checkbox" class="form-check-input" value="{{ standing.account_id }}" data-account-id="{{ standing.account_id }}">
|
<input type="checkbox" class="form-check-input" value="{{ standing.account_id }}" data-account-id="{{ standing.account_id }}">
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -28,11 +28,11 @@
|
||||||
<table id="teamsboard" class="table table-striped border">
|
<table id="teamsboard" class="table table-striped border">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="d-block border-right border-bottom" data-checkbox>
|
<th class="border-right" data-checkbox>
|
||||||
<div class="form-check text-center">
|
<div class="form-check text-center">
|
||||||
<input type="checkbox" class="form-check-input" data-checkbox-all>
|
<input type="checkbox" class="form-check-input" data-checkbox-all>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</th>
|
||||||
<th class="text-center sort-col"><b>ID</b></th>
|
<th class="text-center sort-col"><b>ID</b></th>
|
||||||
<th class="sort-col"><b>Team</b></th>
|
<th class="sort-col"><b>Team</b></th>
|
||||||
<th class="sort-col"><b>Challenge</b></th>
|
<th class="sort-col"><b>Challenge</b></th>
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for sub in submissions %}
|
{% for sub in submissions %}
|
||||||
<tr>
|
<tr>
|
||||||
<td class="d-block border-right" data-checkbox>
|
<td class="border-right" data-checkbox>
|
||||||
<div class="form-check text-center">
|
<div class="form-check text-center">
|
||||||
<input type="checkbox" class="form-check-input" value="{{ sub.id }}" data-submission-id="{{ sub.id }}">
|
<input type="checkbox" class="form-check-input" value="{{ sub.id }}" data-submission-id="{{ sub.id }}">
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -72,11 +72,11 @@
|
||||||
<table id="teamsboard" class="table table-striped border">
|
<table id="teamsboard" class="table table-striped border">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="d-block border-right border-bottom text-center" data-checkbox>
|
<th class="border-right" data-checkbox>
|
||||||
<div class="form-check">
|
<div class="form-check text-center">
|
||||||
<input type="checkbox" class="form-check-input" data-checkbox-all>
|
<input type="checkbox" class="form-check-input" data-checkbox-all>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</th>
|
||||||
<th class="sort-col text-center"><b>ID</b></th>
|
<th class="sort-col text-center"><b>ID</b></th>
|
||||||
<th class="sort-col text-left"><b>Team</b></th>
|
<th class="sort-col text-left"><b>Team</b></th>
|
||||||
<th class="sort-col text-center"><b>Website</b></th>
|
<th class="sort-col text-center"><b>Website</b></th>
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for team in teams %}
|
{% for team in teams %}
|
||||||
<tr name="{{ team.id }}" data-href="{{ url_for('admin.teams_detail', team_id=team.id) }}">
|
<tr name="{{ team.id }}" data-href="{{ url_for('admin.teams_detail', team_id=team.id) }}">
|
||||||
<td class="d-block border-right" data-checkbox>
|
<td class="border-right" data-checkbox>
|
||||||
<div class="form-check text-center">
|
<div class="form-check text-center">
|
||||||
<input type="checkbox" class="form-check-input" value="{{ team.id }}" data-submission-id="{{ team.id }}">
|
<input type="checkbox" class="form-check-input" value="{{ team.id }}" data-submission-id="{{ team.id }}">
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -71,11 +71,11 @@
|
||||||
<table id="teamsboard" class="table table-striped border">
|
<table id="teamsboard" class="table table-striped border">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="d-block border-right border-bottom text-center" data-checkbox>
|
<th class="border-right" data-checkbox>
|
||||||
<div class="form-check">
|
<div class="form-check text-center">
|
||||||
<input type="checkbox" class="form-check-input" data-checkbox-all>
|
<input type="checkbox" class="form-check-input" data-checkbox-all>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</th>
|
||||||
<th class="sort-col text-center"><b>ID</b></td>
|
<th class="sort-col text-center"><b>ID</b></td>
|
||||||
<th class="sort-col text-center"><b>User</b></th>
|
<th class="sort-col text-center"><b>User</b></th>
|
||||||
<th class="d-md-table-cell d-lg-table-cell sort-col text-center"><b>Email</b></th>
|
<th class="d-md-table-cell d-lg-table-cell sort-col text-center"><b>Email</b></th>
|
||||||
|
@ -90,8 +90,8 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for user in users %}
|
{% for user in users %}
|
||||||
<tr name="{{ user.id }}" data-href="{{ url_for('admin.users_detail', user_id=user.id) }}">
|
<tr name="{{ user.id }}" data-href="{{ url_for('admin.users_detail', user_id=user.id) }}">
|
||||||
<td class="d-block border-right text-center" data-checkbox>
|
<td class="border-right" data-checkbox>
|
||||||
<div class="form-check">
|
<div class="form-check text-center">
|
||||||
<input type="checkbox" class="form-check-input" value="{{ user.id }}" data-account-id="{{ user.id }}">
|
<input type="checkbox" class="form-check-input" value="{{ user.id }}" data-account-id="{{ user.id }}">
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in New Issue