mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-18 13:35:43 +00:00
added overall build status to header
This commit is contained in:
parent
c1d18b65bb
commit
daa29edbc6
2 changed files with 23 additions and 18 deletions
|
@ -7,7 +7,7 @@
|
|||
<div class="build-section">
|
||||
<div class="status"><i class="material-icons">close</i></div><!--remove-->
|
||||
<div class="build-summary">
|
||||
<h2>{{ build.head_commit.message }}</h2>
|
||||
<h2><small class="status {{build.status}}">{{ build.status }}</small>{{ build.head_commit.message }}</h2>
|
||||
<p><em>{{ build.head_commit.author.login }}</em> pushed to <em>{{ build.head_commit.branch }}</em> {{ build.started_at | fromNow }}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -306,7 +306,19 @@ main aside > div {
|
|||
box-sizing: border-box;
|
||||
}
|
||||
.build-summary h2 {
|
||||
line-height:21px;
|
||||
line-height:23px;
|
||||
}
|
||||
.build-summary h2 small {
|
||||
font-size: 11px;
|
||||
text-transform: uppercase;
|
||||
padding: 3px 10px;
|
||||
border-radius: 2px;
|
||||
margin-right: 5px;
|
||||
vertical-align: top;
|
||||
color:#FFF;
|
||||
width:auto;
|
||||
height:auto;
|
||||
display:inline;
|
||||
}
|
||||
.build-summary p {
|
||||
margin-top:10px;
|
||||
|
@ -694,10 +706,3 @@ section.search menu i {
|
|||
/*
|
||||
* Lists
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue