woodpecker/server/app/views/repo_list.html

42 lines
1.1 KiB
HTML
Raw Normal View History

<div class="toast" ng-if="msg != undefined">
<span ng-if="msg == 'already'">sync already runned</span>
<span ng-if="msg == 'bad'">bad response</span>
</div>
2014-07-09 17:13:08 +00:00
<div id="repospage">
2014-07-09 07:46:15 +00:00
<nav>
<a href="/"><span class="fa fa-th"></span></a>
2014-07-09 17:13:08 +00:00
<a href="/">repositories</a>
<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-09 07:46:15 +00:00
</nav>
<section>
2014-07-09 17:13:08 +00:00
<form class="pure-form search pure-g">
<input type="search" placeholder="FILTER" class="pure-u-1" id="search" ng-model="search" autofocus />
</form>
<a class="repo" ng-repeat="repo in repos | filter:search | orderBy: 'name' " ng-href="/{{ repo | fullPath }}">
2014-07-09 17:13:08 +00:00
<div class="pure-g">
<div class="pure-u-5-6">
<div>
<h4>{{ repo.name }}</h4>
<span class="url">{{ repo | fullPath }}</span>
</div>
</div>
<div class="pure-u-1-6">
<div>
<i class="fa fa-circle-o" ng-if="repo.active == false"></i>
<i class="fa fa-check-circle-o" ng-if="repo.active == true"></i>
</div>
</div>
</div>
</a>
2014-07-09 07:46:15 +00:00
</section>
2014-07-09 17:13:08 +00:00
</div>