Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion IFComp/root/src/_current_entry_row.tt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
[% END %]

[% IF entry.warning %]
<p><strong>Content warning:</strong> [% entry.warning | html %]</p>
<p><strong>Content warning:</strong>
<span class="cw-data">[% entry.warning | html %]</span><span class="cw-hidden">(Hidden)</span>
</p>
[% END %]
</div>

Expand Down
10 changes: 10 additions & 0 deletions IFComp/root/src/ballot/index.tt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<style type="text/css" scoped>
.cw-hidden { visibility: hidden; }
</style>

<div class="container py-4"> <div class="p-5 mb-4 bg-body-tertiary rounded-3"> <div class="container-fluid py-5"> <div class="container">
<h2 style="text-align:center;">Download and Play</h2>
<h1 style="text-align:center;">The Games of the [% current_comp.year %] IFComp</h1>
Expand Down Expand Up @@ -288,6 +292,12 @@ you have played so far.[% END %]</p>
<p>NOTE: you can use Ctrl-click / &#8984;-Click to select multiple items from the lists above. Clicking on "All" at the top will clear the selections</p>
</div>

<div class="row justify-content-md-center" align="center">
<div class="col-md-auto">
<span class="btn btn-secondary" onclick=" if ($('.cw-hidden').css('visibility') == 'hidden') { $('.cw-data').css('display', 'none'); $('.cw-hidden').css('visibility', 'visible'); } else { $('.cw-data').css('display', 'inline'); $('.cw-hidden').css('visibility', 'hidden'); }">Show/Hide all Content Warning text</span>
</div>
</div>

[% FOR entry IN entries %]
[% IF entry.is_qualified %]
<div itemscope itemtype="https://schema.org/VideoGame" class="bg-secondary-subtle card p-4 m-3" id="entry-[% entry.id %]"
Expand Down