fix signup button on profile on pro
This commit is contained in:
parent
89f055cbd0
commit
60bd9e6a26
|
@ -35,10 +35,6 @@
|
||||||
|
|
||||||
.cta-btn
|
.cta-btn
|
||||||
text-align: right
|
text-align: right
|
||||||
@media #{$large-up}
|
|
||||||
position: absolute
|
|
||||||
top: 1rem
|
|
||||||
right: 0
|
|
||||||
|
|
||||||
.profile-getstarted
|
.profile-getstarted
|
||||||
position: relative
|
position: relative
|
||||||
|
|
|
@ -1,24 +1,6 @@
|
||||||
{{#if allHooks.isLoaded}}
|
{{#if allHooks.isLoaded}}
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
|
|
||||||
<div class="profile-header">
|
|
||||||
<h1>{{view.name}}</h1>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{#if user.isSyncing}}
|
|
||||||
<div class="sync-button">
|
|
||||||
<button class="button is-syncing">
|
|
||||||
<span class="sync-spinner"><i></i><i></i><i></i></span>Syncing from GitHub
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
{{else}}
|
|
||||||
<div class="sync-button">
|
|
||||||
<button {{action sync}} class="button">
|
|
||||||
<span class="icon icon-sync"></span>Sync
|
|
||||||
</button>
|
|
||||||
<p class="sync-last">last synced {{format-time user.syncedAt}}</p>
|
|
||||||
</div>
|
|
||||||
{{#if config.billingEndpoint}}
|
{{#if config.billingEndpoint}}
|
||||||
<div class="cta-btn">
|
<div class="cta-btn">
|
||||||
{{#if view.subscribed}}
|
{{#if view.subscribed}}
|
||||||
|
@ -38,6 +20,25 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
<div class="profile-header">
|
||||||
|
<h1>{{view.name}}</h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{#if user.isSyncing}}
|
||||||
|
<div class="sync-button">
|
||||||
|
<button class="button is-syncing">
|
||||||
|
<span class="sync-spinner"><i></i><i></i><i></i></span>Syncing from GitHub
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
{{else}}
|
||||||
|
<div class="sync-button">
|
||||||
|
<button {{action sync}} class="button">
|
||||||
|
<span class="icon icon-sync"></span>Sync
|
||||||
|
</button>
|
||||||
|
<p class="sync-last">last synced {{format-time user.syncedAt}}</p>
|
||||||
|
</div>
|
||||||
{{#if config.pro}}
|
{{#if config.pro}}
|
||||||
<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>
|
<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}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user