woodpecker/server/app/views/repo_list.html
2014-07-09 10:22:01 -07:00

30 lines
No EOL
804 B
HTML

<div id="repospage">
<nav>
<a href="/"><span class="fa fa-th"></span></a>
<a href="/">repositories</a>
</nav>
<section>
<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' " href="/{{ repo | fullPath }}">
<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>
</section>
</div>