Skip to content

Commit

Permalink
Revert April Fools
Browse files Browse the repository at this point in the history
  • Loading branch information
jondricek committed Apr 2, 2024
1 parent 869fff3 commit 9a7b112
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions attack-theme/templates/general/attack-index.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
{% extends "general/base.html" %}

{% import 'macros/matrix.html' as matrix_macros %}
{% import 'macros/full_coverage.html' as full_coverage_macros %}

{% set parsed = page.data | from_json %}

{% block content %}
{{ super() }}
<div style="text-align:center; padding-top: 0rem !important" class="container-fluid bg-alternate pt-5 pb-3">
<button id="game-toggle" onclick="toggleFullCoverage()" style="background-color: #0b2338; color: white; padding: 14px 20px; border: none; cursor: pointer; width: 300px; opacity: 0.9; font-size: 20px; margin-top: 20px;">Back to Normal</button>
</div>
<br>
<div id="attack-jumbotron" class="col jumbotron-fluid" style="display:none">
<div id="attack-jumbotron" class="col jumbotron-fluid">
<div class="container home-banner">
<div class="row-main-page pt-5">
{% if parsed.attack_branding %}
Expand Down Expand Up @@ -99,16 +94,15 @@ <h2 class="attack-box-heading">
</div>
</div>
</div>
<div id="matrix-section" class="container-fluid bg-alternate pt-5 pb-3" style="display:none;">
<div id="matrix-header" class="container text-center" style="display:none;">
<div id="matrix-section" class="container-fluid bg-alternate pt-5 pb-3">
<div id="matrix-header" class="container text-center">
<h2>{{parsed.matrix_name}}</h2>
{% if parsed.matrix_descr %}<p class="mb-0">{{parsed.matrix_descr}}</p>{% endif %}
</div>
<div id="matrix-enterprise" style="display:none;">
<div id="matrix-enterprise">
{{ matrix_macros.matrices(parsed.matrices, parsed.has_subtechniques, parsed.tour_technique, True) }}
</div>
</div>
{{ full_coverage_macros.full_coverage() }}
<!--start-indexing-for-search-->
{% endblock %}

Expand Down

0 comments on commit 9a7b112

Please sign in to comment.