2015-07-29 16:16:08 +00:00
|
|
|
<main>
|
|
|
|
<article>
|
2015-05-27 05:58:48 +00:00
|
|
|
|
2015-07-29 16:16:08 +00:00
|
|
|
<section class="search">
|
2015-07-30 02:51:55 +00:00
|
|
|
<input type="search" spellcheck="false" placeholder="Create or find a user" ng-model="search_text" ng-keypress="add($event, search_text)" />
|
2015-07-29 16:16:08 +00:00
|
|
|
</section>
|
2015-05-27 05:58:48 +00:00
|
|
|
|
2015-07-30 02:51:55 +00:00
|
|
|
<div class="blankslate" ng-show="users.length === 1 && !search_text && !waiting">
|
|
|
|
<i class="material-icons">control_point_duplicate</i>
|
|
|
|
<span>Get started by adding a user.<br/>Just type the user login (ie octocat) 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">sync</i>
|
|
|
|
<span>Press <enter> to add <em>{{search_text}}</em></span>
|
|
|
|
</div>
|
|
|
|
|
2015-07-29 16:16:08 +00:00
|
|
|
<ul class="list cozy">
|
|
|
|
<li class="row row-user" ng-repeat="user in users">
|
|
|
|
<div class="column-avatar">
|
|
|
|
<img ng-src="{{ user.gravatar_id | gravatar }}" />
|
|
|
|
</div>
|
|
|
|
<div class="column-fill">
|
|
|
|
<h2>{{ user.login }}</h2>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2015-05-27 05:58:48 +00:00
|
|
|
|
2015-07-29 16:16:08 +00:00
|
|
|
</article>
|
|
|
|
</main>
|