Skip to content

Commit

Permalink
Revert "Add Interop 2025 proposal submission banner (#3950)" (#4045)
Browse files Browse the repository at this point in the history
This reverts commit 30026bc.
  • Loading branch information
jgraham authored Oct 11, 2024
1 parent 20fa6f9 commit 2c02b06
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 40 deletions.
21 changes: 8 additions & 13 deletions webapp/components/interop-dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,15 @@ class InteropDashboard extends PolymerElement {
text-align: center;
}
.interop-2025-banner {
.previous-year-banner {
height: 40px;
background-color: #DEF;
text-align: center;
padding-top: 16px;
border: 2px solid #1D79F2;
border-radius: 8px;
}
.interop-2025-banner p {
.previous-year-banner p {
margin: 0;
font-size: 18px;
}
.grid-container {
Expand Down Expand Up @@ -287,14 +284,12 @@ class InteropDashboard extends PolymerElement {
}
</style>
<a href="https:/web-platform-tests/interop/blob/main/2025/README.md" target="_blank">
<div class="interop-2025-banner">
<p>
🚀 Submit a proposal for Interop 2025! 🚀
</p>
</div>
</a>
<div class="previous-year-banner" hidden$=[[isCurrentYear]]>
<p>
You are viewing Interop data from a previous year.
<a href="/interop-[[currentInteropYear]]">View the current Interop Dashboard</a>.
</p>
</div>
<div class="grid-container">
<div class="grid-item grid-item-header">
<h1>Interop [[year]] Dashboard</h1>
Expand Down
27 changes: 0 additions & 27 deletions webapp/views/wpt-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,40 +68,13 @@ class WPTApp extends PathInfo(WPTFlags(TestRunsUIBase)) {
padding: 0px;
height: 28px;
}
/* TODO(DanielRyanSmith): Remove these when interop 2025 proposals are closed. */
.interop-2025-banner {
height: 40px;
background-color: #DEF;
text-align: center;
padding-top: 16px;
border: 2px solid #1D79F2;
border-radius: 8px;
}
.interop-2025-banner p {
margin: 0;
font-size: 18px;
}
.interop-2025-banner a {
color: #0d5de6;
text-decoration: none;
}
</style>
<app-location route="{{route}}" url-space-regex="^/(results)/"></app-location>
<app-route route="{{route}}" pattern="/:page" data="{{routeData}}" tail="{{subroute}}"></app-route>
<wpt-header path="[[encodedPath]]" query="[[query]]" user="[[user]]" is-triage-mode="[[isTriageMode]]"></wpt-header>
<!-- TODO(DanielRyanSmith): Remove this banner after the Interop 2025 submission period -->
<a href="https:/web-platform-tests/interop/blob/main/2025/README.md" target="_blank">
<div class="interop-2025-banner">
<p>
🚀 Submit a proposal for Interop 2025! 🚀
</p>
</div>
</a>
<section class="search">
<div class="path">
<a href="/[[page]]/?[[ query ]]">wpt</a>
Expand Down

0 comments on commit 2c02b06

Please sign in to comment.