Skip to content

Commit

Permalink
Update noshow page.
Browse files Browse the repository at this point in the history
  • Loading branch information
kulotsystems committed May 21, 2023
1 parent 3f67387 commit da8fff8
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions app/crud/noshow/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,12 @@

.team.noShow{
filter: grayscale(1);
opacity: 0.2;
opacity: 0.4;
}
</style>

</head>
<body>

<div class="container p-4">
<div id="app" class="row">
<?php
Expand All @@ -71,7 +70,14 @@
<div class="d-flex flex-wrap" >
<?php foreach(Team::rows($event->getID()) as $team){ ?>
<div data-team="<?php echo $team["id"]; ?>" data-event="<?php echo $event->getID(); ?>" class="flex-grow-1 text-center team <?php echo $event->hasTeamNotShownUp(Team::findById($team["id"])) ? "noShow" : ""; ?>" >
<div class="avatar" style="background-image: url('../uploads/<?php echo $team["avatar"]; ?>')" ></div>
<div class="avatar position-relative" style="background-image: url('../uploads/<?php echo $team["avatar"]; ?>')">
<p
class="position-absolute m-0 pb-1 w-100 text-center text-white"
style="bottom: 0; line-height: 1"
>
<small class="fw-bold" style="text-shadow: 1px 1px #666"><?php echo $team["country"] ?></small>
</p>
</div>
</div>
<?php } ?>
</div>
Expand All @@ -85,7 +91,6 @@
</div>
<?php } ?>
</div>

</div>

<script type="text/javascript">
Expand Down

0 comments on commit da8fff8

Please sign in to comment.