Skip to content

Commit aad5791

Browse files
committed
fix: brings back Classic CI page on the status page
1 parent abfdef0 commit aad5791

3 files changed

Lines changed: 411 additions & 53 deletions

File tree

layouts/partials/menu-ci.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="pf-c-select pf-m-expanded">
33
<div class="pf-c-select__menu">
44
<div class="pf-c-nav pf-m-light">
5-
<ul class="pf-c-nav__list">
5+
<ul class="pf-c-nav__list ci-sidebar-nav">
66
<li class="pf-c-nav__item">
77
<a href="{{ .RelPermalink }}" class="pf-c-nav__link">
88
Overview
@@ -23,6 +23,11 @@
2323
History
2424
</a>
2525
</li>
26+
<li class="pf-c-nav__item">
27+
<a href="{{ .RelPermalink }}?view=classic" class="pf-c-nav__link">
28+
Classic
29+
</a>
30+
</li>
2631
</ul>
2732
</div>
2833
</div>

static/css/custom.css

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,6 +1249,29 @@ h6 .anchor::before {
12491249
font-weight: 600;
12501250
}
12511251

1252+
.ci-dashboard-filters {
1253+
display: flex;
1254+
justify-content: flex-end;
1255+
margin-bottom: 12px;
1256+
}
1257+
1258+
.ci-dashboard-filters-actions {
1259+
display: flex;
1260+
flex-wrap: wrap;
1261+
align-items: center;
1262+
justify-content: flex-end;
1263+
gap: 24px;
1264+
}
1265+
1266+
.ci-dashboard-filters .ci-toolbar {
1267+
margin-bottom: 0;
1268+
}
1269+
1270+
.ci-dashboard-filters .ci-toolbar-range,
1271+
.ci-dashboard-filters .ci-toolbar-sort {
1272+
justify-content: flex-end;
1273+
}
1274+
12521275
.ci-toolbar {
12531276
display: flex;
12541277
justify-content: flex-end;
@@ -1345,6 +1368,34 @@ h6 .anchor::before {
13451368
color: var(--pf-global--danger-color--100, #c9190b);
13461369
}
13471370

1371+
.ci-status-dot.unavailable {
1372+
background-color: var(--pf-global--BorderColor--100, #d2d2d2);
1373+
}
1374+
1375+
.ci-status-text.unavailable {
1376+
color: var(--pf-global--Color--200, #6a6e73);
1377+
}
1378+
1379+
a.ci-status-unavailable-link {
1380+
color: var(--pf-global--primary-color--100, #06c);
1381+
text-decoration: underline;
1382+
font-weight: 500;
1383+
}
1384+
1385+
a.ci-status-unavailable-link:hover {
1386+
color: var(--pf-global--primary-color--200, #004080);
1387+
}
1388+
1389+
.ci-label-load-error {
1390+
font-size: 0.85rem;
1391+
color: var(--pf-global--primary-color--100, #06c);
1392+
text-decoration: underline;
1393+
}
1394+
1395+
.ci-label-load-error:hover {
1396+
color: var(--pf-global--primary-color--200, #004080);
1397+
}
1398+
13481399
.ci-pattern-name {
13491400
font-weight: 600;
13501401
color: var(--pf-global--Color--100, #151515);
@@ -1514,6 +1565,26 @@ h6 .anchor::before {
15141565
transition: width 0.4s ease;
15151566
}
15161567

1568+
.ci-overview-toolbar {
1569+
display: flex;
1570+
flex-wrap: wrap;
1571+
align-items: center;
1572+
justify-content: space-between;
1573+
gap: 16px;
1574+
margin-bottom: 16px;
1575+
}
1576+
1577+
.ci-overview-toolbar .ci-overview-legend {
1578+
flex: 1 1 220px;
1579+
margin-bottom: 0;
1580+
min-width: 0;
1581+
}
1582+
1583+
.ci-overview-toolbar .ci-toolbar-range {
1584+
flex-shrink: 0;
1585+
margin-bottom: 0;
1586+
}
1587+
15171588
.ci-overview-legend {
15181589
font-size: 0.82rem;
15191590
color: var(--pf-global--Color--200, #6a6e73);
@@ -1659,6 +1730,10 @@ h6 .anchor::before {
16591730
background-color: var(--pf-global--danger-color--100, #c9190b);
16601731
}
16611732

1733+
.ci-card-platform-dot.unavailable {
1734+
background-color: var(--pf-global--BorderColor--100, #d2d2d2);
1735+
}
1736+
16621737
.ci-card-platform-label {
16631738
white-space: nowrap;
16641739
}
@@ -1693,6 +1768,10 @@ h6 .anchor::before {
16931768
background-color: var(--pf-global--danger-color--100, #c9190b);
16941769
}
16951770

1771+
.ci-card-block.unavailable {
1772+
background-color: var(--pf-global--BorderColor--100, #d2d2d2);
1773+
}
1774+
16961775
.ci-card-footer {
16971776
font-size: 0.8rem;
16981777
color: var(--pf-global--Color--200, #6a6e73);

0 commit comments

Comments
 (0)