woodpecker/server/app/views/repo_list.html

30 lines
No EOL
807 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' " ng-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>