2014-10-28 15:16:50 +00:00
|
|
|
<div class="toast" ng-if="msg != undefined">
|
2015-01-12 14:02:48 +00:00
|
|
|
<span ng-if="msg == 'already'">sync already in progress</span>
|
2014-10-28 15:16:50 +00:00
|
|
|
<span ng-if="msg == 'bad'">bad response</span>
|
|
|
|
</div>
|
|
|
|
|
2014-07-10 01:11:28 +00:00
|
|
|
<article id="homepage">
|
|
|
|
<nav>
|
|
|
|
<a href="/"><span class="fa fa-th"></span></a>
|
|
|
|
<a href="/">dashboard</a>
|
2014-10-28 15:16:50 +00:00
|
|
|
<div class="options ng-scope">
|
|
|
|
<a class="pure-button pure-button-primary" ng-click="syncUser()" href="#">
|
|
|
|
<i class="fa fa-refresh"></i>
|
|
|
|
<span>Sync</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
2014-07-10 01:11:28 +00:00
|
|
|
</nav>
|
|
|
|
|
2014-07-10 05:24:06 +00:00
|
|
|
<section ng-if="feed.length == 0">
|
|
|
|
<div>
|
|
|
|
<h1>Activate your Repositories<br/><i class="fa fa-long-arrow-down"></i></h1>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section ng-if="feed.length > 0">
|
2014-07-10 01:11:28 +00:00
|
|
|
<div class="pure-g cards">
|
2014-11-17 21:30:44 +00:00
|
|
|
<a class="pure-u-1 pure-u-md-1-4 pure-u-lg-1-4 pure-u-xl-1-4 card card" href="/{{ commit | fullPath }}" ng-repeat="commit in feed" data-status="{{ commit.status }}">
|
2014-07-10 01:11:28 +00:00
|
|
|
<div class="l-box">
|
|
|
|
<h2>{{ commit.owner }} <span class="separator">/</span> {{ commit.name }}</h2>
|
2014-11-17 21:30:44 +00:00
|
|
|
<em ng-if="commit.finished_at != 0">{{ commit.finished_at | fromNow }}</em>
|
|
|
|
<em ng-if="commit.finished_at == 0 && commit.started_at != 0">Started {{ commit.started_at | fromNow }}</em>
|
|
|
|
<em ng-if="commit.finished_at == 0 && commit.started_at == 0">Created {{ commit.created_at}}</em>
|
2014-07-10 01:11:28 +00:00
|
|
|
<img ng-src="{{ commit.gravatar | gravatar }}" />
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<div class="pure-g cards">
|
2014-11-17 21:30:44 +00:00
|
|
|
<a class="pure-u-1 pure-u-md-1-4 pure-u-lg-1-4 pure-u-xl-1-4 card card-inactive" href="/{{ repo | fullPath }}" ng-repeat="repo in repos | orderBy:'updated_at':true | filter: { active: false } | limitTo:3">
|
2014-07-10 01:11:28 +00:00
|
|
|
<div class="l-box">
|
|
|
|
<h2>{{ repo.owner }} <span class="separator">/</span> {{ repo.name }}</h2>
|
|
|
|
<em><span class="fa fa-plus"></span> Activate</em>
|
|
|
|
</div>
|
|
|
|
</a>
|
2014-07-14 07:02:41 +00:00
|
|
|
<a class="pure-u-1 pure-u-md-1-4 pure-u-lg-1-4 pure-u-xl-1-4 card card-browse-inactive" href="/account/repos">
|
2014-07-10 01:11:28 +00:00
|
|
|
<div class="l-box">
|
|
|
|
<span>Browse All</span><br>
|
|
|
|
<span class="fa fa-long-arrow-down"></span>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|