2015-03-16 18:17:27 +00:00
< div class = "repo-panel-settings-element" >
2017-03-23 21:16:19 +00:00
< h3 class = "tab-header" > < span class = "repository-title" repository = "repository" > < / span > Settings< / h3 >
2015-03-16 18:17:27 +00:00
<!-- User/Team Permissions -->
2015-05-13 18:55:39 +00:00
< div class = "co-panel" id = "repoPermissions" >
2015-03-16 18:17:27 +00:00
< div class = "co-panel-heading" > < i class = "fa fa-key" > < / i > User and Robot Permissions< / div >
2015-03-31 18:36:09 +00:00
< div class = "panel-body" style = "padding-top: 5px;" >
2015-05-06 22:16:03 +00:00
< div class = "repository-permissions-table" repository = "repository"
is-enabled="isEnabled">< / div >
2015-03-16 18:17:27 +00:00
< / div >
< / div >
<!-- Access Tokens (DEPRECATED) -->
2017-03-23 21:16:19 +00:00
< div class = "co-panel" ng-show = "hasTokens && repository.kind == 'image'" >
2015-03-16 21:03:26 +00:00
< div class = "co-panel-heading" > < i class = "fa fa-key" > < / i > Access Token Permissions< / div >
2015-03-31 18:36:09 +00:00
< div class = "panel-body" style = "padding-top: 5px;" >
2015-05-06 22:16:03 +00:00
< div class = "repository-tokens-table" repository = "repository" has-tokens = "hasTokens" is-enabled = "isEnabled" > < / div >
2015-03-16 21:03:26 +00:00
< / div >
< / div >
2017-04-17 23:17:00 +00:00
<!-- Signing and Trust -->
2017-05-08 16:46:38 +00:00
< div ng-if = "repository.kind == 'image' && signingWhitelisted(repository)" >
2017-04-17 23:17:00 +00:00
< repository-signing-config repository = "repository" > < / repository-signing-config >
< / div >
2015-03-16 21:03:26 +00:00
<!-- Events and Notifications -->
2017-03-23 21:16:19 +00:00
< div ng-if = "repository.kind == 'image'" >
< div class = "repository-events-table" repository = "repository"
is-enabled="isEnabled">< / div >
< / div >
2015-03-16 21:03:26 +00:00
2015-09-16 18:00:06 +00:00
<!-- Visibility settings -->
2015-03-16 21:03:26 +00:00
< div class = "co-panel" >
2017-03-23 21:16:19 +00:00
< div class = "co-panel-heading" > < i class = "fa fa-unlock-alt" > < / i >
< span class = "repository-title" repository = "repository" > < / span > Visibility
< / div >
2015-03-16 21:03:26 +00:00
< div class = "cor-loader" ng-show = "!repository" > < / div >
< div ng-show = "repository" >
<!-- Public/Private -->
< div class = "panel-body panel-section lock-section" ng-if = "!repository.is_public" >
< i class = "fa fa-lock lock-icon" > < / i >
2017-03-23 21:16:19 +00:00
< div > This < span class = "repository-title" repository = "repository" > < / span > is currently < b > private< / b > . Only users on the permissions list may view and interact with it.< / div >
2015-03-16 18:17:27 +00:00
2015-03-16 21:03:26 +00:00
< button class = "btn btn-default" ng-click = "askChangeAccess('public')" >
< i class = "fa fa-unlock" > < / i > Make Public
< / button >
< / div >
< div class = "panel-body panel-section lock-section" ng-if = "repository.is_public" >
< i class = "fa fa-unlock lock-icon" > < / i >
2017-03-23 21:16:19 +00:00
< div > This < span class = "repository-title" repository = "repository" > < / span > is currently < b > public< / b > and is visible to all users, and may be pulled by all users.< / div >
2015-03-16 21:03:26 +00:00
2015-09-16 18:00:06 +00:00
< button class = "btn btn-default" ng-click = "askChangeAccess('private')" ng-show = "!planRequired" >
2015-03-16 21:03:26 +00:00
< i class = "fa fa-lock" > < / i > Make Private
< / button >
2015-09-16 18:00:06 +00:00
<!-- Payment -->
< div class = "repo-count-checker" namespace = "repository.namespace" plan-required = "planRequired"
is-enabled="repository.is_public">
< / div >
2015-03-16 21:03:26 +00:00
< / div >
2015-09-16 18:00:06 +00:00
< / div >
< / div >
2015-03-16 21:03:26 +00:00
2015-09-16 18:00:06 +00:00
<!-- Delete repository -->
< div class = "co-panel" >
2017-03-23 21:16:19 +00:00
< div class = "co-panel-heading" >
< i class = "fa fa-trash" > < / i > Delete < span class = "repository-title" repository = "repository" > < / span >
< / div >
2015-09-16 18:00:06 +00:00
< div class = "cor-loader" ng-show = "!repository" > < / div >
< div ng-show = "repository" >
2015-03-16 21:03:26 +00:00
< div class = "panel-body panel-section" >
2015-04-03 21:47:39 +00:00
< div class = "co-alert co-alert-danger" >
2015-04-20 21:42:33 +00:00
< button class = "btn btn-danger delete-btn" ng-click = "askDelete()" >
2015-04-03 21:47:39 +00:00
< i class = "fa fa-trash" > < / i >
2017-03-23 21:16:19 +00:00
Delete < span class = "repository-title" repository = "repository" > < / span >
2015-04-03 21:47:39 +00:00
< / button >
2017-03-23 21:16:19 +00:00
Deleting a < span class = "repository-title" repository = "repository" > < / span > < b > cannot be undone< / b > . Here be dragons!
2015-04-03 21:47:39 +00:00
< / div >
2015-03-16 21:03:26 +00:00
< / div >
2015-09-16 18:00:06 +00:00
< / div >
< / div >
2015-03-16 21:03:26 +00:00
2015-05-27 19:23:57 +00:00
2015-09-16 18:00:06 +00:00
<!-- Build Status Badge -->
2017-03-23 21:16:19 +00:00
< div class = "co-panel hidden-xs" ng-if = "repository.kind == 'image'" >
2015-09-16 18:00:06 +00:00
< div class = "co-panel-heading" > < i class = "fa fa-tasks" > < / i > Build Status Badge< / div >
< div class = "cor-loader" ng-show = "!repository" > < / div >
< div ng-show = "repository" >
< div class = "panel-body panel-section" >
2015-05-27 19:23:57 +00:00
<!-- Token Info Banner -->
< div class = "co-alert co-alert-info" ng-if = "!repository.is_public" >
Note: This badge contains a token so the badge can be seen by external users. The token does not grant any other access and is safe to share!
< / div >
2015-03-16 21:03:26 +00:00
<!-- Status Image -->
< a ng-href = "/repository/{{ repository.namespace }}/{{ repository.name }}" >
< img ng-src = "/repository/{{ repository.namespace }}/{{ repository.name }}/status?token={{ repository.status_token }}"
2015-11-02 19:16:04 +00:00
data-title="Container Repository on Quay">
2015-03-16 21:03:26 +00:00
< / a >
<!-- Embed formats -->
< table style = "margin-top: 20px; width: 600px;" >
< thead >
< th style = "width: 150px" > < / th >
< th > < / th >
< / thead >
< tr >
< td > Image (SVG):< / td >
< td >
< div class = "copy-box" hovering-message = "true" value = "getBadgeFormat('svg', repository)" > < / div >
< / td >
< / tr >
< tr >
< td > Markdown:< / td >
< td >
< div class = "copy-box" hovering-message = "true" value = "getBadgeFormat('md', repository)" > < / div >
< / td >
< / tr >
< tr >
< td > AsciiDoc:< / td >
< td >
< div class = "copy-box" hovering-message = "true" value = "getBadgeFormat('asciidoc', repository)" > < / div >
< / td >
< / tr >
< / table >
< / div >
< / div >
< / div >
2015-07-22 20:42:33 +00:00
<!-- Delete Repository Dialog -->
< div class = "cor-confirm-dialog"
dialog-context="deleteRepoInfo"
dialog-action="deleteRepo(info, callback)"
2017-03-23 21:16:19 +00:00
dialog-title="Delete"
dialog-action-title="Delete">
2015-07-22 20:42:33 +00:00
< div class = "co-alert co-alert-danger" style = "margin-bottom: 10px;" >
This action cannot be undone!
< / div >
2017-03-23 21:16:19 +00:00
Continue with deletion of this < span class = "repository-title" repository = "repository" > < / span > ?
2015-07-22 20:42:33 +00:00
< / div >
2016-03-22 18:15:54 +00:00
< / div >