Skip to content

Commit

Permalink
Main (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimimo authored Oct 3, 2023
2 parents c86f306 + 1b56c6c commit 4234928
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 6 deletions.
8 changes: 6 additions & 2 deletions resources/views/_calendar.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@
{{ $date->date->format('jS \o\f M Y') }}
</a>
@if ($date->title)
<br/><span class="{{ $date->regular ? 'yellow' : 'dark-grey' }}">{{ $date->title }}</span>
<div class="text-white bigger-120">{{ $date->title }}</div>
@endif
@if ($date->checkIfGuestHasWritableAccess())
<br/><span class="bigger-110 orange" title="click to edit your score">Live scores!</span>
<div class="text-white bigger-130" title="click to edit your score">
<img class="ml-2 mb-1" src="https://static.puertoparrot.com/img/right-arrow.svg" alt="" width="24">
Live scores!
<img class="mr-2 mb-1" src="https://static.puertoparrot.com/img/left-arrow.svg" alt="" width="24">
</div>
@endif
</div>
<table class="table table-hover table-bordered">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/_footer-admin.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@if ($hasAccess)
<div class="box-rounded-orange mt-4">
<div class="box-rounded-grey mt-4">
<div class="box-top mb-1">
<h5 class="text-center">For Admins only</h5>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/_scores.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<tr>
<th class="align-center" style="background-color: #ccc; width: 30px;">#</th>
<th style="background-color: #93d7d7;">Team Ranking</th>
<th style="background-color: #edb825;">Visitors</th>
<th style="background-color: #edb825;">versus Team</th>
<th class="align-center" title="Last scores" style="background-color: #ede553;">Score</th>
<th class="align-center" style="background-color: #9bed96;"><i class="fa-solid fa-thumbs-up green" title="Games Won"></i></th>
<th class="align-center" style="background-color: #f2cdab;"><i class="fa-solid fa-thumbs-down orange" title="Games Lost"></i></th>
Expand Down
34 changes: 34 additions & 0 deletions resources/views/announcements/_body-2023-10.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<div class="mb-4">
<div class="row">
<div class="col-12">
<h2 class="align-center text-danger mb-4">Instructions</h2>
<ul class="list-group">
<li class="list-group-item">
WPA/PGPL rules apply: <a href="https://wpapool.com/rules-of-play/" target="_blank">https://wpapool.com/rules-of-play/</a>
<span class="fa fa-external-link-alt text-muted smaller-70 align-self-center ml-1"></span>
</li>
<li class="list-group-item"><strong>Games start at 1PM</strong></li>
<li class="list-group-item">
Each team must have <strong>2 captains</strong> in case one captain can't show up. This is to ensure the
continuity of the game for all teams.
</li>
<li class="list-group-item">Players can switch only once during the season with approval</li>
<li class="list-group-item">Every player must play at least one double game</li>
<li class="list-group-item">
<strong>One Filipino per <i>round</i></strong>, a daily game can have up to 3 Filipinos but only one player allowed per round (3 rounds
with 5 games each, including the last double).
</li>
<li class="list-group-item"><strong>Girls must play at least 2 games</strong></li>
<li class="list-group-item">Each captain fills in the scoresheet and has it approved by the other captain</li>
<li class="list-group-item">Players must play at least one game to qualify for the playoffs</li>
<li class="list-group-item">Enjoyment comes first, common sense is a must. No money involved. Fun only!</li>
<li class="list-group-item">
A no-show results in a loss of 8-0. If a team is 30 minutes late, 4 players (round 1 of the singles) are forfeited.
</li>
<li class="list-group-item">
If 3 players show up, the game can start. When player 4 is still absent at the 4th game, it's results in a loss of that game.
</li>
</ul>
</div>
</div>
</div>
11 changes: 11 additions & 0 deletions resources/views/announcements/_title-2023-10.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<div class="row">
<div class="col-12">
<h2 class="align-center text-danger mb-4">Puerto Galera Pool League</h2>
<h4 class="align-center text-success mb-3">
<strong>Wednesday League</strong> (Season 2023/10)<br>
<span class="text-muted smaller-70">(from the 4th of October 2023 to the party on the 6th of December 2023)</span>
</h4>
</div>
</div>

@include('pool::announcements._general-07')
4 changes: 4 additions & 0 deletions resources/views/announcements/body.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@
@include('pool::announcements._body-2023-06')
@break

@case('2023/10')
@include('pool::announcements._body-2023-10')
@break

@default
@include('pool::announcements._body-default')
@endswitch
Expand Down
4 changes: 2 additions & 2 deletions resources/views/announcements/title.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
@include('pool::announcements._title-2023-03')
@break

@case('2023/06')
@include('pool::announcements._title-2023-06')
@case('2023/10')
@include('pool::announcements._title-2023-10')
@break

@default
Expand Down

0 comments on commit 4234928

Please sign in to comment.