mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-26 10:20:29 +00:00
38 lines
No EOL
1.6 KiB
HTML
38 lines
No EOL
1.6 KiB
HTML
<main>
|
|
<article>
|
|
|
|
<section class="search">
|
|
<input type="search" spellcheck="false" placeholder="Create or find a repository (e.g. octocat/Hello-World)" ng-model="search_text" ng-keypress="add($event, search_text)"/>
|
|
</section>
|
|
|
|
<div class="blankslate" ng-show="!repos.length && !loading && !search_text && !error">
|
|
<i class="material-icons">control_point_duplicate</i>
|
|
<span>Get started by adding your repository.<br/>Just type the repository name in the text box above.</span>
|
|
</div>
|
|
|
|
<div class="alert alert-create-not-found" ng-show="!!search_text">
|
|
<i class="material-icons" ng-show="!waiting">control_point_duplicate</i>
|
|
<i class="material-icons waiting" ng-show="waiting">refresh</i>
|
|
<span ng-show="!waiting">Press <enter> to add <em>{{search_text}}</em></span>
|
|
<span ng-show="waiting">Configuring repository <em>{{search_text}}</em></span>
|
|
</div>
|
|
|
|
<div class="alert alert-error" ng-show="!!error">
|
|
<i class="material-icons">error_outline</i>
|
|
<span>There was an error adding your repository.<br/>Please ensure the
|
|
repository exists and you have admin privileges.</span>
|
|
</div>
|
|
|
|
<ul class="list cozy" ng-show="!waiting && !error">
|
|
<a class="row row-repo" ng-repeat="repo in repos | orderBy:'full_name' | filter: search_text" ng-href="/{{ repo.full_name }}">
|
|
<div class="column-avatar">
|
|
<img ng-src="{{ repo.avatar }}" />
|
|
</div>
|
|
<div class="column-fill">
|
|
<h2>{{ repo.name }}</h2>
|
|
</div>
|
|
</a>
|
|
</ul>
|
|
|
|
</article>
|
|
</main> |