mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-23 10:21:00 +00:00
Affix the sidebar
This commit is contained in:
parent
2872b3ce4a
commit
4949608980
2 changed files with 39 additions and 32 deletions
|
@ -1229,6 +1229,11 @@ nav {
|
|||
//border-left:1px solid #cdcece;
|
||||
//box-shadow:-3px 0 0 rgba(0,0,0,.05);
|
||||
|
||||
#sidebar-inner {
|
||||
position: fixed;
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
h1 {font-size:28px; font-weight:300;}
|
||||
h2 {font-size:22px; font-weight:300; margin-bottom:20px;}
|
||||
dl {padding-top:23px; border-top:1px solid #ddd; margin-top:5px;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<aside id="sidebar">
|
||||
<div id="sidebar-inner">
|
||||
<div class="result" data-result="{{ commit.status }}">
|
||||
<dl>
|
||||
<dd><span class="status">{{ commit.status }}</span></dd>
|
||||
|
@ -32,6 +33,7 @@
|
|||
<dd ng-if="commit.finished_at == 0 && commit.started_at != 0">Started {{ commit.started_at | fromNow }}</dd>
|
||||
<dd ng-if="commit.finished_at == 0 && commit.started_at == 0">Created {{ commit.created_at}}</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
<div id="main" class="output">
|
||||
|
|
Loading…
Reference in a new issue