Skip to content

Commit

Permalink
organized filters better
Browse files Browse the repository at this point in the history
  • Loading branch information
hcaseyal committed Dec 4, 2017
1 parent ca79873 commit 96c840a
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 29 deletions.
4 changes: 4 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,8 @@
.filter-cell-header {
text-align: right;
font-weight: bold;
}

.tenPx {
width: 10px;
}
68 changes: 39 additions & 29 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,36 +34,46 @@
</div>

<div class="filters">
<table>
<tbody>
<tr>
<td class="filter-cell filter-cell-header">Self:</td>
<td class="filter-cell"><select class="championSelect-self" multiple="multiple"></select></td>
<td class="filter-cell"><select class="roleSelect-self" multiple="multiple"></select></td>
</tr>
<tr>
<td class="filter-cell filter-cell-header">Allies:</td>
<td class="filter-cell"><select class="championSelect-ally" multiple="multiple"></select></td>
<td class="filter-cell"><select class="roleSelect-ally" multiple="multiple"></select></td>
</tr>
<tr>
<td class="filter-cell filter-cell-header">Enemies:</td>
<td class="filter-cell"><select class="championSelect-enemy" multiple="multiple"></select></td>
<td class="filter-cell"><select class="roleSelect-enemy" multiple="multiple"></select></td>
</tr>
</tbody>
</table>

<input type="radio" name="sideSelect" id="blueSide" value="blueSide" onclick="blueSideSelected()" />Blue
<input type="radio" name="sideSelect" id="redSide" value="redSide" onclick="redSideSelected()" />Red
<input type="radio" name="sideSelect" id="bothSides" value="bothSides" onclick="bothSidesSelected()" checked />Both

<br/>
<input type="radio" name="outcomeSelect" id="winOutcome" value="winOutcome" onclick="winOutcomeSelected()" />Win
<input type="radio" name="outcomeSelect" id="lossOutcome" value="lossOutcome" onclick="lossOutcomeSelected()" />Loss
<input type="radio" name="outcomeSelect" id="bothOutcomes" value="bothOutcomes" onclick="bothOutcomesSelected()" checked />Both
<div class="pt-card">
<table>
<tbody>
<tr>
<td class="filter-cell filter-cell-header">Self:</td>
<td class="filter-cell"><select class="championSelect-self" multiple="multiple"></select></td>
<td class="filter-cell"><select class="roleSelect-self" multiple="multiple"></select></td>
</tr>
<tr>
<td class="filter-cell filter-cell-header">Allies:</td>
<td class="filter-cell"><select class="championSelect-ally" multiple="multiple"></select></td>
<td class="filter-cell"><select class="roleSelect-ally" multiple="multiple"></select></td>
</tr>
<tr>
<td class="filter-cell filter-cell-header">Enemies:</td>
<td class="filter-cell"><select class="championSelect-enemy" multiple="multiple"></select></td>
<td class="filter-cell"><select class="roleSelect-enemy" multiple="multiple"></select></td>
</tr>
<tr>
<td class="filter-cell filter-cell-header">Starting side:</td>
<td class="filter-cell">
<input type="radio" name="sideSelect" id="blueSide" value="blueSide" onclick="blueSideSelected()" />Blue
<input type="radio" name="sideSelect" id="redSide" value="redSide" onclick="redSideSelected()" />Red
<input type="radio" name="sideSelect" id="bothSides" value="bothSides" onclick="bothSidesSelected()" checked />Both
</td>
<td></td>
</tr>
<tr>
<td class="filter-cell filter-cell-header">Match outcome:</td>
<td class="filter-cell">
<input type="radio" name="outcomeSelect" id="winOutcome" value="winOutcome" onclick="winOutcomeSelected()" />Win
<input type="radio" name="outcomeSelect" id="lossOutcome" value="lossOutcome" onclick="lossOutcomeSelected()" />Loss
<input type="radio" name="outcomeSelect" id="bothOutcomes" value="bothOutcomes" onclick="bothOutcomesSelected()" checked />Both
</td>
<td></td>
</tr>
</tbody>
</table>
</div>
<br/>

<div class="flexContainer">
<div class="flexAreaFilterContainer">
<label class="pt-control pt-switch areaFilter-switch">
Expand Down

0 comments on commit 96c840a

Please sign in to comment.