bigger avatars, disabled switches
This commit is contained in:
parent
6a3a70bfe2
commit
d2a7e8bff1
|
@ -59,13 +59,13 @@
|
||||||
.profile-user
|
.profile-user
|
||||||
|
|
||||||
.media-elem
|
.media-elem
|
||||||
width: 12%
|
width: 14%
|
||||||
img
|
img
|
||||||
width: 2.2rem
|
width: 2.4rem
|
||||||
height: 2.2rem
|
height: 2.4rem
|
||||||
border-radius: 50%
|
border-radius: 50%
|
||||||
.media-body
|
.media-body
|
||||||
width: 88%
|
width: 86%
|
||||||
p
|
p
|
||||||
margin: 0
|
margin: 0
|
||||||
ul
|
ul
|
||||||
|
|
|
@ -34,3 +34,15 @@ $switch-inner-width: 27px
|
||||||
right: $switch-width - $switch-inner-width - (($switch-width - ($switch-inner-width * 2)) / 2)
|
right: $switch-width - $switch-inner-width - (($switch-width - ($switch-inner-width * 2)) / 2)
|
||||||
background-color: #39a85b
|
background-color: #39a85b
|
||||||
@extend .icon-hook-on
|
@extend .icon-hook-on
|
||||||
|
|
||||||
|
&.disabled
|
||||||
|
cursor: default
|
||||||
|
pointer-events: none
|
||||||
|
opacity: .5
|
||||||
|
|
||||||
|
.active &.disabled
|
||||||
|
background-color: #b6d5b6
|
||||||
|
&:after
|
||||||
|
right: $switch-width - $switch-inner-width - (($switch-width - ($switch-inner-width * 2)) / 2)
|
||||||
|
background-color: #39a85b
|
||||||
|
@extend .icon-hook-on
|
||||||
|
|
|
@ -20,9 +20,9 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{#if config.pro}}
|
{{#if config.pro}}
|
||||||
<p>We're only showing you private repositories. You can find your public projects on <a href="https://travis-ci.org" title="travis-ci.org">travis-ci.org</a>.</p>
|
<p>We're only showing your private repositories. You can find your public projects on <a href="https://travis-ci.org" title="travis-ci.org">travis-ci.org</a>.</p>
|
||||||
{{else}}
|
{{else}}
|
||||||
<p>We're only showing you public repositories. You can find your private projects on <a href="https://travis-ci.com" title="travis-ci.com">travis-ci.com</a>.</p>
|
<p>We're only showing your public repositories. You can find your private projects on <a href="https://travis-ci.com" title="travis-ci.com">travis-ci.com</a>.</p>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
</header>
|
</header>
|
||||||
|
@ -67,9 +67,9 @@
|
||||||
{{else}}
|
{{else}}
|
||||||
<li>
|
<li>
|
||||||
{{#if hooksWithoutAdmin.length}}
|
{{#if hooksWithoutAdmin.length}}
|
||||||
<p>Sorry, but we can't find any repositories you have admin access to.</p>
|
Sorry, but we can't find any repositories you have admin access to.
|
||||||
{{else}}
|
{{else}}
|
||||||
<p>Sorry, it seems like we couldn't find any repositories you have access to on GitHub.</p>
|
Sorry, it seems like we couldn't find any repositories you have access to on GitHub.
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</li>
|
</li>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
@ -78,11 +78,14 @@
|
||||||
|
|
||||||
{{#if hooksWithoutAdmin.length}}
|
{{#if hooksWithoutAdmin.length}}
|
||||||
<div id="unadministerable-hooks">
|
<div id="unadministerable-hooks">
|
||||||
<p>Repositories without admin access</p>
|
<p>You require admin rights to enable these repositories</p>
|
||||||
|
|
||||||
<ul class="profile-hooklist">
|
<ul class="profile-hooklist">
|
||||||
{{#each hook in hooksWithoutAdmin}}
|
{{#each hook in hooksWithoutAdmin}}
|
||||||
<li {{bind-attr class="hook.active:active :row"}}>
|
<li {{bind-attr class="hook.active:active :row"}}>
|
||||||
|
<div class="columns">
|
||||||
|
<button class="switch disabled"></button>
|
||||||
|
</div>
|
||||||
<a {{bind-attr href="hook.urlGithub"}} rel="nofollow" class="profile-repo columns">
|
<a {{bind-attr href="hook.urlGithub"}} rel="nofollow" class="profile-repo columns">
|
||||||
{{hook.slug}}
|
{{hook.slug}}
|
||||||
<span>{{hook.description}}</span>
|
<span>{{hook.description}}</span>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user