Skip to content

Commit

Permalink
Merge pull request kubernetes#6017 from BenTheElder/scrub-the-deck
Browse files Browse the repository at this point in the history
Scrub the deck
  • Loading branch information
k8s-ci-robot committed Dec 19, 2017
2 parents 2880f17 + 6ef7259 commit 95b1275
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 13 deletions.
2 changes: 1 addition & 1 deletion prow/cmd/deck/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<body>
<header>
<ul>
<li><a href="/"><h1>Prow Status</h1></a></li>
<li><a href="https://github.com/kubernetes/test-infra" class="logo"><img src="/logo.svg" alt="kubernetes logo" class="logo"></img></a><a href="/" class="current"><h1>Prow Status</h1></a></li>
<li><a href="/plugin-help.html"><h1>Plugin Help</h1></a></li>
<li><a href="/tide.html"><h1>Tide Status</h1></a></li>
</ul>
Expand Down
6 changes: 5 additions & 1 deletion prow/cmd/deck/static/plugin-help.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
</head>
<body>
<header>
<a href="/"><h1>Prow Plugin Help</h1></a>
<ul>
<li><a href="https://github.com/kubernetes/test-infra" class="logo"><img src="/logo.svg" alt="kubernetes logo" class="logo"></img></a><a href="/"><h1>Prow Status</h1></a></li>
<li><a href="/plugin-help.html" class="current"><h1>Plugin Help</h1></a></li>
<li><a href="/tide.html"><h1>Tide Status</h1></a></li>
</ul>
</header>
<aside>
<div>
Expand Down
52 changes: 43 additions & 9 deletions prow/cmd/deck/static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,61 @@ body {
header {
background-color: #3f51b5;
color: white;
padding: 2px;
padding-left: 20px;
box-shadow: 0px 0px 10px #666;
padding: .1em;
box-shadow: 0px 0px .5em #666;
}

header a {
color: inherit;
color: inherit !important;
}

header a.logo {
height: 3em;
padding: 0;
margin: 0;
}

a.current {
text-decoration: underline !important;
}

img.logo {
height: inherit;
}

header ul {
list-style-type: none;
overflow: auto;
width: 100%;
padding: 0;
margin: 0;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
}

header ul li {
float: right;
display: inline;
list-style-type: none;
padding-left: 10px;
padding-right: 10px;
padding-left: .5em;
padding-right: .5em;
list-style: none;
display: inline-block;
}

header ul li:first-child {
float: left;
margin: 0;
padding-left: .25em;
padding-right: .25em;
display: flex;
}

header ul li:first-child a:first-child {
padding-right: .5em;
}


h1 {
font-weight: normal;
font-size: 2em;
Expand Down Expand Up @@ -155,7 +185,7 @@ th {
}

.success {
color: #22dd22;
color: #28a745;
}

.failure {
Expand Down Expand Up @@ -198,3 +228,7 @@ a:link {
#plugin-shrug {
display: none;
}

#queries li {
padding: .5em;
}
11 changes: 9 additions & 2 deletions prow/cmd/deck/static/tide.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Tide Status</title>
<link rel="icon" type="image/png" href="favicon.ico">
<link rel="stylesheet" type="text/css" href="style.css">
Expand All @@ -12,12 +13,18 @@
</head>
<body>
<header>
<a href="/"><h1>Tide Status</h1></a>
<ul>
<li><a href="https://github.com/kubernetes/test-infra" class="logo"><img src="/logo.svg" alt="kubernetes logo" class="logo"></img></a><a href="/"><h1>Prow Status</h1></a></li>
<li><a href="/plugin-help.html"><h1>Plugin Help</h1></a></li>
<li><a href="/tide.html" class="current"><h1>Tide Status</h1></a></li>
</ul>
</header>
<article>
<div>
<h4>Github search queries that define all merge requirements:</h4>
<h4>All <a href="https://help.github.com/articles/about-required-status-checks/">GitHub statuses</a> on a Pull Request must be passing / green to merge&nbsp;<span class="success"></span></h4>
<h4>These GitHub search queries define all other merge requirements:</h4>
<ul id="queries"></ul>
<h4>Your Pull Request must show up in one of these queries (you can click them to check).</h4>
</div>
</article>
<article>
Expand Down

0 comments on commit 95b1275

Please sign in to comment.