Renamed tourney_results and associated stylesheet to the more-appropriate 'tourney-cards'

This commit is contained in:
FractalParadigm 2025-03-15 07:22:57 -04:00
parent 9f3306dbd6
commit 81a3ac3969
3 changed files with 3 additions and 2 deletions

View File

@ -81,7 +81,7 @@ function refreshTourneyDisplay() {
} }
// Create variable for easier readability // Create variable for easier readability
var html = "<iframe src=\"/tournament/recent_results.php?division=" + currentDivision + "\" name=\"recentTourneyFrame\" class=\"recentTourneyFrame\" id=\"recentTourneyFrame\" onload=\"resizeIframe(this);var obj=parent.document.getElementById('dataFrame');resizeIframe(obj);\"></iframe>"; var html = "<iframe src=\"/tournament/tourney_cards.php?division=" + currentDivision + "\" name=\"recentTourneyFrame\" class=\"recentTourneyFrame\" id=\"recentTourneyFrame\" onload=\"resizeIframe(this);var obj=parent.document.getElementById('dataFrame');resizeIframe(obj);\"></iframe>";
document.getElementById("recentTourneyDisplay").innerHTML = html; document.getElementById("recentTourneyDisplay").innerHTML = html;
} }

View File

@ -21,6 +21,7 @@
border: 2px solid rgb(0, 0, 255); border: 2px solid rgb(0, 0, 255);
border-radius: 20px; border-radius: 20px;
box-shadow: 0 0 6px; box-shadow: 0 0 6px;
background-color: rgba(160, 140, 200, 0.8);
width: 99%; width: 99%;
display: flex; display: flex;
flex-direction: row; flex-direction: row;

View File

@ -35,7 +35,7 @@ $tourneyResults = $sqlGetTourneyInfo->fetchAll(PDO::FETCH_ASSOC);
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="/styles/primary.css" /> <link rel="stylesheet" href="/styles/primary.css" />
<link rel="stylesheet" href="/styles/db_management.css" /> <link rel="stylesheet" href="/styles/db_management.css" />
<link rel="stylesheet" href="/styles/tourney_results.css" /> <link rel="stylesheet" href="/styles/tourney_cards.css" />
<script src="/scripts/tools.js"></script> <script src="/scripts/tools.js"></script>
<script>verifyPageInFrame()</script> <script>verifyPageInFrame()</script>
<title>no title</title> <title>no title</title>