mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 00:46:30 +00:00
added repo settings link & new user link
This commit is contained in:
parent
b3b722394c
commit
79e46d1a8c
6 changed files with 48 additions and 2 deletions
|
@ -336,6 +336,22 @@ nav a:last-child {
|
|||
nav a span.fa {
|
||||
margin-right: 20px;
|
||||
}
|
||||
nav div.options {
|
||||
float: right;
|
||||
margin-right: 20px;
|
||||
}
|
||||
nav div.options .pure-button {
|
||||
color: #FFF;
|
||||
text-transform: lowercase;
|
||||
font-size: 14px;
|
||||
background: #f2f5f8;
|
||||
padding: 10px 30px;
|
||||
color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
nav div.options .pure-button i {
|
||||
margin-right: 10px;
|
||||
margin-left: -10px;
|
||||
}
|
||||
@supports (position:sticky) {
|
||||
nav {
|
||||
position: sticky;
|
||||
|
|
|
@ -243,6 +243,24 @@ nav {
|
|||
margin-right:20px;
|
||||
}
|
||||
}
|
||||
|
||||
div.options {
|
||||
float: right;
|
||||
margin-right: 20px;
|
||||
|
||||
.pure-button {
|
||||
color: #FFF;
|
||||
text-transform: lowercase;
|
||||
font-size: 14px;
|
||||
background: #f2f5f8;
|
||||
padding: 10px 30px;
|
||||
color: rgba(0,0,0,0.5);
|
||||
i {
|
||||
margin-right: 10px;
|
||||
margin-left: -10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@supports (position:sticky) {
|
||||
|
|
2
server/app/styles/drone.min.css
vendored
2
server/app/styles/drone.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,11 @@
|
|||
<article id="repopage">
|
||||
<nav>
|
||||
<div class="options">
|
||||
<a class="pure-button pure-button-primary" href="/{{ repo | fullPath }}/settings">
|
||||
<i class="fa fa-sliders"></i> Settings
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<a href="/"><span class="fa fa-th"></span></a>
|
||||
<span>{{ repo.owner }}</span>
|
||||
<span>/</span>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<article id="repopage">
|
||||
<nav>
|
||||
<a href="/"><span class="fa fa-th"></span></a>
|
||||
<a href="/{{ repo | fullPath}}"><span class="fa fa-arrow-left"></span></a>
|
||||
<span>{{ repo.owner }}</span>
|
||||
<span>/</span>
|
||||
<a href="/{{ repo | fullPath}}">{{ repo.name }}</a>
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
<div id="userspage">
|
||||
<nav>
|
||||
<div class="options">
|
||||
<a class="pure-button pure-button-primary" href="/admin/users/new">
|
||||
<i class="fa fa fa-plus"></i> Add User
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<a href="/"><span class="fa fa-th"></span></a>
|
||||
<a href="/">users</a>
|
||||
</nav>
|
||||
|
|
Loading…
Reference in a new issue