added repo settings link & new user link

This commit is contained in:
Brad Rydzewski 2014-07-09 11:46:46 -07:00
parent b3b722394c
commit 79e46d1a8c
6 changed files with 48 additions and 2 deletions

View file

@ -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;

View file

@ -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) {

File diff suppressed because one or more lines are too long

View file

@ -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>

View file

@ -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>

View file

@ -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>