This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/static/directives/robots-manager.html

38 lines
1.4 KiB
HTML
Raw Normal View History

2013-11-22 23:20:51 +00:00
<div class="robots-manager-element">
<div class="quay-spinner" ng-show="loading"></div>
2013-11-23 01:14:44 +00:00
<div class="alert alert-info">Robot accounts allow for delegating access in multiple repositories to role-based accounts that you manage</div>
2013-11-22 23:20:51 +00:00
<div class="container" ng-show="!loading">
2013-11-23 01:14:44 +00:00
<div class="side-controls">
<span class="popup-input-button" pattern="ROBOT_PATTERN" placeholder="'Robot Account Name'"
2013-11-23 01:14:44 +00:00
submitted="createRobot(value)">
<i class="fa fa-wrench"></i> Create Robot Account
</span>
2013-11-22 23:20:51 +00:00
</div>
<table class="table">
<thead>
<th>Robot Account Name</th>
<th style="width: 150px"></th>
</thead>
2014-11-24 21:07:38 +00:00
2013-11-22 23:20:51 +00:00
<tr ng-repeat="robotInfo in robots">
<td class="robot">
<i class="fa fa-wrench"></i>
2013-11-23 01:14:44 +00:00
<a ng-click="showRobot(robotInfo)">
<span class="prefix">{{ getPrefix(robotInfo.name) }}+</span>{{ getShortenedName(robotInfo.name) }}
</a>
2014-11-24 21:07:38 +00:00
</td>
2013-11-22 23:20:51 +00:00
<td>
<span class="delete-ui" delete-title="'Delete Robot Account'" perform-delete="deleteRobot(robotInfo)"></span>
2013-11-22 23:20:51 +00:00
</td>
</tr>
</table>
2013-11-23 01:14:44 +00:00
</div>
2013-11-22 23:20:51 +00:00
2013-11-23 01:14:44 +00:00
<div class="docker-auth-dialog" username="shownRobot.name" token="shownRobot.token"
shown="!!shownRobot" counter="showRobotCounter" supports-regenerate="true" regenerate="regenerateToken(username)">
2013-11-23 01:14:44 +00:00
<i class="fa fa-wrench"></i> {{ shownRobot.name }}
2013-11-22 23:20:51 +00:00
</div>
</div>