-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split event display into Pending, Active, Upcoming and Past Events
Events that need to be started are most important, event that are running are next most important, events in the future are next, and old events are least; now the hierarchy of the page reflects that. Remove a bunch of not-super-useful columns from event display. This'll work better on mobile and "k value" and "host/cohost" were not super useful columns. "Finalized" is now implied by location on the page and can go too.
- Loading branch information
Showing
7 changed files
with
127 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<div class="event-card"> | ||
<div class="card-header"> | ||
<div class="title-section"> | ||
<a href="{{link}}"><h3>{{name}}</h3></a> | ||
<div> | ||
<a class="event-type" href="{{settingsLink}}"> | ||
{{#structureIcon}}{{> icon}}{{/structureIcon}} | ||
{{structureSummary}} | ||
</a> | ||
</div> | ||
</div> | ||
<div> | ||
<a class="player-count" href="{{registrationLink}}"> | ||
{{#playersIcon}}{{> icon}}{{/playersIcon}} | ||
<span>{{players}}</span> | ||
</a> | ||
</div> | ||
</div> | ||
|
||
<div class="round-status"> | ||
{{#active}} | ||
<a href="{{matchesLink}}">Round {{currentRound}}</a> | ||
<a href="{{standingsLink}}" class="event-action"> | ||
View Standings | ||
{{#standingsIcon}}{{> icon}}{{/standingsIcon}} | ||
</a> | ||
{{/active}} | ||
{{^active}} | ||
<a href="{{settingsLink}}" class="event-action"> | ||
{{#startTime}}{{> time}}{{/startTime}} | ||
</a> | ||
<a href="{{registrationLink}}" class="event-action"> | ||
Start Event | ||
{{#standingsIcon}}{{> icon}}{{/standingsIcon}} | ||
</a> | ||
{{/active}} | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,17 @@ | ||
<h2>Current Events</h2> | ||
<div class="event-grid"> | ||
{{#events}} | ||
<div class="event-card"> | ||
<div class="card-header"> | ||
<div class="title-section"> | ||
<a href="{{link}}"><h3>{{name}}</h3></a> | ||
<div> | ||
<a class="event-type" href="{{settingsLink}}"> | ||
{{#structureIcon}}{{> icon}}{{/structureIcon}} | ||
{{structureSummary}} | ||
</a> | ||
</div> | ||
</div> | ||
<div> | ||
<a class="player-count" href="{{registrationLink}}"> | ||
{{#playersIcon}}{{> icon}}{{/playersIcon}} | ||
<span>{{players}}</span> | ||
</a> | ||
</div> | ||
</div> | ||
{{#hasPendingEvents}} | ||
<h2>Pending Events</h2> | ||
<div class="event-grid"> | ||
{{#pendingEvents}} | ||
{{> eventCard}} | ||
{{/pendingEvents}} | ||
</div> | ||
{{/hasPendingEvents}} | ||
|
||
<div class="round-status"> | ||
{{#active}} | ||
<a href="{{matchesLink}}">Round {{currentRound}}</a> | ||
<a href="{{standingsLink}}" class="event-action"> | ||
View Standings | ||
{{#standingsIcon}}{{> icon}}{{/standingsIcon}} | ||
</a> | ||
{{/active}} | ||
{{^active}} | ||
<a href="{{settingsLink}}" class="event-action"> | ||
{{#startTime}}{{> time}}{{/startTime}} | ||
</a> | ||
<a href="{{registrationLink}}" class="event-action"> | ||
Start Event | ||
{{#standingsIcon}}{{> icon}}{{/standingsIcon}} | ||
</a> | ||
{{/active}} | ||
</div> | ||
|
||
</div> | ||
{{/events}} | ||
</div> | ||
{{#hasActiveEvents}} | ||
<h2>Active Events</h2> | ||
<div class="event-grid"> | ||
{{#activeEvents}} | ||
{{> eventCard}} | ||
{{/activeEvents}} | ||
</div> | ||
{{/hasActiveEvents}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters