Merge pull request #2591 from coreos-inc/cor-tabs
Change cor-tabs to be a TypeScript and Angular "neu" component
This commit is contained in:
commit
f228ebdc22
24 changed files with 832 additions and 588 deletions
|
@ -15,42 +15,46 @@
|
|||
</span>
|
||||
</div>
|
||||
|
||||
<div class="cor-tab-panel">
|
||||
<div class="cor-tabs">
|
||||
<span class="cor-tab" tab-active="true" tab-title="Layers" tab-target="#layers">
|
||||
<cor-tab-panel>
|
||||
<cor-tabs>
|
||||
<cor-tab tab-title="Layers" tab-id="layers">
|
||||
<i class="fa ci-layers"></i>
|
||||
</span>
|
||||
<span class="cor-tab" tab-title="Security Scan" tab-target="#vulnerabilities"
|
||||
tab-init="loadImageSecurity()"
|
||||
quay-show="Features.SECURITY_SCANNER">
|
||||
</cor-tab>
|
||||
<cor-tab tab-title="Security Scan" tab-id="vulnerabilities"
|
||||
tab-init="loadImageSecurity()"
|
||||
quay-show="Features.SECURITY_SCANNER">
|
||||
<i class="fa fa-bug"></i>
|
||||
</span>
|
||||
<span class="cor-tab" tab-title="Packages" tab-target="#packages"
|
||||
tab-init="loadImagePackages()"
|
||||
quay-show="Features.SECURITY_SCANNER">
|
||||
</cor-tab>
|
||||
<cor-tab tab-title="Packages" tab-id="packages"
|
||||
tab-init="loadImagePackages()"
|
||||
quay-show="Features.SECURITY_SCANNER">
|
||||
<i class="fa ci-package"></i>
|
||||
</span>
|
||||
</div> <!-- /cor-tabs -->
|
||||
</cor-tab>
|
||||
</cor-tabs>
|
||||
|
||||
<div class="cor-tab-content">
|
||||
<cor-tab-content>
|
||||
<!-- Layers -->
|
||||
<div id="layers" class="tab-pane active">
|
||||
<cor-tab-pane id="layers">
|
||||
<h3>Image Layers</h3>
|
||||
<div class="image-view-layer" repository="repository" image="image" images="image.history"></div>
|
||||
<div class="image-view-layer" repository="repository" image="parent" images="image.history"
|
||||
ng-repeat="parent in reversedHistory"></div>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
|
||||
<!-- Vulnerabilities -->
|
||||
<div id="vulnerabilities" class="tab-pane" quay-require="['SECURITY_SCANNER']">
|
||||
<div class="image-vulnerability-view" repository="repository" image="image" is-enabled="imageSecurityCounter"></div>
|
||||
</div>
|
||||
<cor-tab-pane id="vulnerabilities" quay-show="Features.SECURITY_SCANNER">
|
||||
<div quay-require="['SECURITY_SCANNER']">
|
||||
<div class="image-vulnerability-view" repository="repository" image="image" is-enabled="imageSecurityCounter"></div>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
|
||||
<!-- Features -->
|
||||
<div id="packages" class="tab-pane" quay-require="['SECURITY_SCANNER']">
|
||||
<div class="image-feature-view" repository="repository" image="image" is-enabled="imagePackageCounter"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<cor-tab-pane id="packages" quay-show="Features.SECURITY_SCANNER">
|
||||
<div quay-require="['SECURITY_SCANNER']">
|
||||
<div class="image-feature-view" repository="repository" image="image" is-enabled="imagePackageCounter"></div>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
</cor-tab-content>
|
||||
</cor-tab-panel>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -20,29 +20,28 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="cor-tab-panel">
|
||||
<div class="cor-tabs">
|
||||
<span class="cor-tab" tab-active="true" tab-title="Settings" tab-target="#settings">
|
||||
<cor-tab-panel>
|
||||
<cor-tabs>
|
||||
<cor-tab tab-title="Settings" tab-id="settings">
|
||||
<i class="fa fa-gear"></i>
|
||||
</span>
|
||||
</cor-tab>
|
||||
|
||||
<span class="cor-tab" tab-title="OAuth Information" tab-target="#oauth">
|
||||
<cor-tab tab-title="OAuth Information" tab-id="oauth">
|
||||
<i class="fa fa-key"></i>
|
||||
</span>
|
||||
</cor-tab>
|
||||
|
||||
<span class="cor-tab" tab-title="Delete Application" tab-target="#delete">
|
||||
<cor-tab tab-title="Delete Application" tab-id="delete">
|
||||
<i class="fa fa-times"></i>
|
||||
</span>
|
||||
</cor-tab>
|
||||
|
||||
<span class="cor-tab" tab-title="Generate Token" tab-target="#gen-token">
|
||||
<cor-tab tab-title="Generate Token" tab-id="gen-token">
|
||||
<i class="fa fa-ticket"></i>
|
||||
</span>
|
||||
</div> <!-- /cor-tabs -->
|
||||
|
||||
<div class="cor-tab-content">
|
||||
</cor-tab>
|
||||
</cor-tabs>
|
||||
|
||||
<cor-tab-content>
|
||||
<!-- Settings tab -->
|
||||
<div id="settings" class="tab-pane active">
|
||||
<cor-tab-pane id="settings">
|
||||
<form method="put" name="applicationForm" id="applicationForm" ng-submit="updateApplication()">
|
||||
<div class="form-group nested">
|
||||
<label for="fieldAppName">Application Name</label>
|
||||
|
@ -81,10 +80,10 @@
|
|||
<span class="quay-spinner" ng-show="updating"></span>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
|
||||
<!-- Delete tab -->
|
||||
<div id="delete" class="tab-pane">
|
||||
<cor-tab-pane id="delete">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<div style="text-align: center">
|
||||
|
@ -93,10 +92,10 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
|
||||
<!-- Generate Token tab -->
|
||||
<div id="gen-token" class="tab-pane">
|
||||
<cor-tab-pane id="gen-token">
|
||||
<div class="co-alert co-alert-info">
|
||||
<div style="margin-bottom: 10px">
|
||||
Click the button below to generate a new <a href="http://tools.ietf.org/html/rfc6749#section-1.4" target="_new">OAuth 2 Access Token</a>.
|
||||
|
@ -125,10 +124,10 @@
|
|||
ng-disabled="!getScopes(genScopes).length" ng-safenewtab>
|
||||
Generate Access Token
|
||||
</a>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
|
||||
<!-- OAuth tab -->
|
||||
<div id="oauth" class="tab-pane">
|
||||
<cor-tab-pane id="oauth">
|
||||
<dl class="dl-horizontal">
|
||||
<dt>Client ID:</dt>
|
||||
<dd><div class="copy-box" hovering-message="true" value="application.client_id"></div></dd>
|
||||
|
@ -139,10 +138,9 @@
|
|||
</dl>
|
||||
|
||||
<button class="btn btn-primary" ng-click="askResetClientSecret()">Reset Client Secret</button>
|
||||
</div>
|
||||
|
||||
</div> <!-- /cor-tab-content -->
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
</cor-tab-content>
|
||||
</cor-tab-panel>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -20,75 +20,75 @@
|
|||
<div class="repo-list-view padded" namespaces="[organization]"> </div>
|
||||
</div>
|
||||
|
||||
<div class="cor-tab-panel" ng-if="!user.anonymous && isMember">
|
||||
<div class="cor-tabs" quay-show="isMember">
|
||||
<span class="cor-tab" tab-active="true" tab-title="Repositories" tab-target="#repos">
|
||||
<cor-tab-panel ng-if="!user.anonymous && isMember">
|
||||
<cor-tabs quay-show="isMember">
|
||||
<cor-tab tab-active="true" tab-title="Repositories" tab-id="repos">
|
||||
<i class="fa fa-hdd-o"></i>
|
||||
</span>
|
||||
<span class="cor-tab" tab-title="Teams and Membership" tab-target="#teams" tab-init="showTeams()">
|
||||
</cor-tab>
|
||||
<cor-tab tab-title="Teams and Membership" tab-id="teams" tab-init="showTeams()">
|
||||
<i class="fa fa-users"></i>
|
||||
</span>
|
||||
<span class="cor-tab" tab-title="Robot Accounts" tab-target="#robots" tab-init="showRobots()"
|
||||
ng-show="isAdmin">
|
||||
</cor-tab>
|
||||
<cor-tab tab-title="Robot Accounts" tab-id="robots" tab-init="showRobots()"
|
||||
ng-show="isAdmin">
|
||||
<i class="fa ci-robot"></i>
|
||||
</span>
|
||||
<span class="cor-tab" tab-title="Default Permissions" tab-target="#default" ng-show="isAdmin">
|
||||
</cor-tab>
|
||||
<cor-tab tab-title="Default Permissions" tab-id="default" ng-show="isAdmin">
|
||||
<i class="fa ci-stamp"></i>
|
||||
</span>
|
||||
<span class="cor-tab" tab-title="Usage Logs" tab-target="#logs"
|
||||
tab-init="showLogs()" ng-show="isAdmin">
|
||||
</cor-tab>
|
||||
<cor-tab tab-title="Usage Logs" tab-id="logs"
|
||||
tab-init="showLogs()" ng-show="isAdmin">
|
||||
<i class="fa fa-bar-chart"></i>
|
||||
</span>
|
||||
<span class="cor-tab" tab-title="Applications" tab-target="#applications"
|
||||
tab-init="showApplications()" ng-show="isAdmin">
|
||||
</cor-tab>
|
||||
<cor-tab tab-title="Applications" tab-id="applications"
|
||||
tab-init="showApplications()" ng-show="isAdmin">
|
||||
<i class="fa ci-application"></i>
|
||||
</span>
|
||||
<span class="cor-tab" tab-title="Organization Settings" tab-target="#settings"
|
||||
ng-show="isAdmin" tab-init="showBilling()">
|
||||
</cor-tab>
|
||||
<cor-tab tab-title="Organization Settings" tab-id="settings"
|
||||
ng-show="isAdmin" tab-init="showBilling()">
|
||||
<i class="fa fa-gears"></i>
|
||||
</span>
|
||||
</div> <!-- /cor-tabs -->
|
||||
</cor-tab>
|
||||
</cor-tabs> <!-- /cor-tabs -->
|
||||
|
||||
<div class="cor-tab-content">
|
||||
<cor-tab-content>
|
||||
<!-- Repositories -->
|
||||
<div id="repos" class="tab-pane active">
|
||||
<cor-tab-pane id="repos">
|
||||
<div class="repo-list-view" namespaces="[organization]"><h3>Repositories</h3></div>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
|
||||
<!-- Teams -->
|
||||
<div id="teams" class="tab-pane">
|
||||
<cor-tab-pane id="teams">
|
||||
<div ng-if="!user.anonymous">
|
||||
<div class="teams-manager" organization="organization" is-enabled="showTeamsCounter"></div>
|
||||
</div>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
|
||||
<!-- Robot Accounts -->
|
||||
<div id="robots" class="tab-pane">
|
||||
<cor-tab-pane id="robots">
|
||||
<div ng-if="isAdmin">
|
||||
<div class="robots-manager" organization="organization" is-enabled="showRobotsCounter"></div>
|
||||
</div>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
|
||||
<!-- Default Permissions -->
|
||||
<div id="default" class="tab-pane">
|
||||
<cor-tab-pane id="default">
|
||||
<div ng-if="isAdmin">
|
||||
<div class="prototype-manager" organization="organization"></div>
|
||||
</div>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
|
||||
<!-- Usage Logs -->
|
||||
<div id="logs" class="tab-pane">
|
||||
<cor-tab-pane id="logs">
|
||||
<div class="logs-view" organization="organization" makevisible="showLogsCounter"></div>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
|
||||
<!-- Applications -->
|
||||
<div id="applications" class="tab-pane">
|
||||
<cor-tab-pane id="applications">
|
||||
<div class="application-manager" organization="organization"
|
||||
makevisible="showApplicationsCounter"></div>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
|
||||
<!-- Settings -->
|
||||
<div id="settings" class="tab-pane">
|
||||
<cor-tab-pane id="settings">
|
||||
<div ng-if="isAdmin">
|
||||
<!-- Org Settings -->
|
||||
<div class="settings-section">
|
||||
|
@ -129,9 +129,9 @@
|
|||
<div class="billing-management-panel" organization="organization" is-enabled="showBillingCounter" subscription-status="subscriptionStatus"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> <!-- /cor-tab-content -->
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
</cor-tab-content>
|
||||
</cor-tab-panel>
|
||||
</div>
|
||||
|
||||
<!-- Change email dialog -->
|
||||
|
|
|
@ -35,91 +35,91 @@
|
|||
</span>
|
||||
</div>
|
||||
|
||||
<div class="cor-tab-panel">
|
||||
<div class="cor-tabs">
|
||||
<span class="cor-tab" tab-active="true" tab-title="Information" tab-target="#info"
|
||||
tab-init="showInfo()">
|
||||
<cor-tab-panel>
|
||||
<cor-tabs>
|
||||
<cor-tab tab-title="Information" tab-id="info"
|
||||
tab-init="showInfo()">
|
||||
<i class="fa fa-info-circle"></i>
|
||||
</span>
|
||||
</cor-tab>
|
||||
|
||||
<span class="cor-tab" tab-title="Tags" tab-target="#tags" id="tagsTab"
|
||||
tab-init="showTags()">
|
||||
<cor-tab tab-title="Tags" tab-id="tags" id="tagsTab"
|
||||
tab-init="showTags()">
|
||||
<i class="fa fa-tags"></i>
|
||||
</span>
|
||||
</cor-tab>
|
||||
|
||||
<span class="cor-tab" tab-title="Tag History" tab-target="#history" id="tagHistoryTab"
|
||||
tab-init="showHistory()">
|
||||
<cor-tab tab-title="Tag History" tab-id="history" id="tagHistoryTab"
|
||||
tab-init="showHistory()">
|
||||
<i class="fa fa-history"></i>
|
||||
</span>
|
||||
</cor-tab>
|
||||
|
||||
<span class="cor-tab" tab-title="Builds" tab-target="#builds" id="buildsTab"
|
||||
tab-init="showBuilds()"
|
||||
quay-show="viewScope.repository.can_write && Features.BUILD_SUPPORT">
|
||||
<cor-tab tab-title="Builds" tab-id="builds" id="buildsTab"
|
||||
tab-init="showBuilds()"
|
||||
quay-show="viewScope.repository.can_write && Features.BUILD_SUPPORT">
|
||||
<i class="fa fa-tasks"></i>
|
||||
</span>
|
||||
</cor-tab>
|
||||
|
||||
<!-- Admin Only Tabs -->
|
||||
<span class="cor-tab" tab-title="Usage Logs" tab-target="#logs" tab-init="showLogs()"
|
||||
ng-show="viewScope.repository.can_admin">
|
||||
<cor-tab tab-title="Usage Logs" tab-id="logs" tab-init="showLogs()"
|
||||
ng-show="viewScope.repository.can_admin">
|
||||
<i class="fa fa-bar-chart"></i>
|
||||
</span>
|
||||
</cor-tab>
|
||||
|
||||
<span class="cor-tab" tab-title="Settings" tab-target="#settings" id="settingsTab"
|
||||
tab-init="showSettings()"
|
||||
ng-show="viewScope.repository.can_admin">
|
||||
<cor-tab tab-title="Settings" tab-id="settings" id="settingsTab"
|
||||
tab-init="showSettings()"
|
||||
ng-show="viewScope.repository.can_admin">
|
||||
<i class="fa fa-gear"></i>
|
||||
</span>
|
||||
</div> <!-- /cor-tabs -->
|
||||
</cor-tab>
|
||||
</cor-tabs>
|
||||
|
||||
<div class="cor-tab-content">
|
||||
<cor-tab-content>
|
||||
<!-- Information -->
|
||||
<div id="info" class="tab-pane active">
|
||||
<cor-tab-pane id="info">
|
||||
<div class="repo-panel-info"
|
||||
repository="viewScope.repository"
|
||||
builds="viewScope.builds"
|
||||
is-enabled="infoShown"></div>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
|
||||
<!-- Tags -->
|
||||
<div id="tags" class="tab-pane">
|
||||
<cor-tab-pane id="tags">
|
||||
<div class="repo-panel-tags"
|
||||
repository="viewScope.repository"
|
||||
image-loader="viewScope.imageLoader"
|
||||
selected-tags="viewScope.selectedTags"
|
||||
history-filter="viewScope.historyFilter"
|
||||
is-enabled="tagsShown"></div>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
|
||||
<!-- Tag History -->
|
||||
<div id="history" class="tab-pane">
|
||||
<cor-tab-pane id="history">
|
||||
<h3 class="tab-header">Tag History</h3>
|
||||
<div class="repo-tag-history"
|
||||
repository="viewScope.repository"
|
||||
filter="viewScope.historyFilter"
|
||||
image-loader="viewScope.imageLoader"
|
||||
is-enabled="historyShown"></div>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
|
||||
<!-- Builds -->
|
||||
<div id="builds" class="tab-pane">
|
||||
<cor-tab-pane id="builds">
|
||||
<div class="repo-panel-builds"
|
||||
repository="viewScope.repository"
|
||||
builds="viewScope.builds"
|
||||
is-enabled="buildsShown"></div>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
|
||||
<!-- Usage Logs -->
|
||||
<div id="logs" class="tab-pane" ng-if="viewScope.repository.can_admin">
|
||||
<cor-tab-pane id="logs" ng-if="viewScope.repository.can_admin">
|
||||
<div class="logs-view" repository="viewScope.repository" makevisible="logsShown"></div>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
|
||||
<!-- Settings -->
|
||||
<div id="settings" class="tab-pane" ng-if="viewScope.repository.can_admin">
|
||||
<cor-tab-pane id="settings" ng-if="viewScope.repository.can_admin">
|
||||
<div class="repo-panel-settings" repository="viewScope.repository"
|
||||
is-enabled="settingsShown"></div>
|
||||
</div>
|
||||
</div> <!-- /cor-tab-content -->
|
||||
</div>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
</cor-tab-content>
|
||||
</cor-tabs>
|
||||
</cor-tab-panel>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -22,72 +22,71 @@
|
|||
<span class="cor-title-content">Quay Enterprise Management</span>
|
||||
</div>
|
||||
|
||||
<div class="cor-tab-panel">
|
||||
<div class="cor-tabs">
|
||||
<span class="cor-tab" tab-active="true" tab-title="Manage Users"
|
||||
tab-target="#users" tab-init="loadUsers()">
|
||||
<cor-tab-panel>
|
||||
<cor-tabs>
|
||||
<cor-tab tab-title="Manage Users"
|
||||
tab-id="users" tab-init="loadUsers()">
|
||||
<i class="fa fa-group"></i>
|
||||
</span>
|
||||
<span class="cor-tab" tab-title="Manage Organizations"
|
||||
tab-target="#organizations" tab-init="loadOrganizations()">
|
||||
</cor-tab>
|
||||
<cor-tab tab-title="Manage Organizations"
|
||||
tab-id="organizations" tab-init="loadOrganizations()">
|
||||
<i class="fa fa-sitemap"></i>
|
||||
</span>
|
||||
<span class="cor-tab" tab-title="Manage Service Keys"
|
||||
tab-target="#servicekeys" tab-init="loadServiceKeys()">
|
||||
</cor-tab>
|
||||
<cor-tab tab-title="Manage Service Keys"
|
||||
tab-id="servicekeys" tab-init="loadServiceKeys()">
|
||||
<i class="fa fa-key"></i>
|
||||
</span>
|
||||
<span class="cor-tab" tab-title="Change Log" tab-target="#change-log" tab-init="getChangeLog()">
|
||||
</cor-tab>
|
||||
<cor-tab tab-title="Change Log" tab-id="change-log" tab-init="getChangeLog()">
|
||||
<i class="fa fa-rss"></i>
|
||||
</span>
|
||||
<span class="cor-tab" tab-title="Usage Logs" tab-target="#logs" tab-init="loadUsageLogs()">
|
||||
</cor-tab>
|
||||
<cor-tab tab-title="Usage Logs" tab-id="logs" tab-init="loadUsageLogs()">
|
||||
<i class="fa fa-bar-chart"></i>
|
||||
</span>
|
||||
<span class="cor-tab" tab-title="Internal Logs and Debugging" tab-target="#debug"
|
||||
tab-init="loadDebugServices()">
|
||||
</cor-tab>
|
||||
<cor-tab tab-title="Internal Logs and Debugging" tab-id="debug"
|
||||
tab-init="loadDebugServices()">
|
||||
<i class="fa fa-bug"></i>
|
||||
</span>
|
||||
<span class="cor-tab hidden-xs" tab-title="Registry Settings" tab-target="#setup"
|
||||
tab-init="loadConfig()">
|
||||
</cor-tab>
|
||||
<cor-tab tab-title="Registry Settings" tab-id="setup"
|
||||
tab-init="loadConfig()">
|
||||
<i class="fa fa-cog"></i>
|
||||
</span>
|
||||
<span class="cor-tab hidden-xs" tab-title="Globally visible user messages" tab-target="#message-of-the-day"
|
||||
tab-init="loadMessageOfTheDay()">
|
||||
</cor-tab>
|
||||
<cor-tab tab-title="Globally visible user messages" tab-id="message-of-the-day"
|
||||
tab-init="loadMessageOfTheDay()">
|
||||
<i class="fa fa-newspaper-o"></i>
|
||||
</span>
|
||||
<span class="cor-tab hidden-xs" tab-title="Build Logs" tab-target="#super-user-build-logs"
|
||||
tab-init="loadSuperUserBuildLogs()">
|
||||
</cor-tab>
|
||||
<cor-tab tab-title="Build Logs" tab-id="super-user-build-logs"
|
||||
tab-init="loadSuperUserBuildLogs()">
|
||||
<i class="fa fa-history"></i>
|
||||
</span>
|
||||
</div> <!-- /cor-tabs -->
|
||||
</cor-tab>
|
||||
</cor-tabs>
|
||||
|
||||
<div class="cor-tab-content">
|
||||
<cor-tab-content>
|
||||
<!-- Setup tab -->
|
||||
<div id="setup" class="tab-pane">
|
||||
<cor-tab-pane id="setup">
|
||||
<div class="co-alert co-alert-warning" ng-if="configProviderId != 'k8s'">
|
||||
<strong>Warning:</strong> If you are running Quay Enterprise under multiple containers, additional actions are necessary in order to apply any configuration changes made here to the entire cluster. It is recommended to make (and validate) configuration changes here, then copy your configuration to all instances and restart them.
|
||||
</div>
|
||||
<div class="config-setup-tool" is-active="configStatus == 'ready'"
|
||||
configuration-saved="configurationSaved(config)"></div>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
|
||||
<!-- Super user build logs tab-->
|
||||
<div id="super-user-build-logs" class="tab-pane">
|
||||
<cor-tab-pane id="super-user-build-logs">
|
||||
<div class="super-user-build-logs" is-enabled="superUserBuildLogsActive"></div>
|
||||
</div> <!-- Super user build logs tab -->
|
||||
</cor-tab-pane> <!-- Super user build logs tab -->
|
||||
|
||||
<!-- Messages tab -->
|
||||
<div id="message-of-the-day" class="tab-pane">
|
||||
<cor-tab-pane id="message-of-the-day">
|
||||
<div class="global-message-tab" is-enabled="globalMessagesActive"></div>
|
||||
</div> <!-- Messages tab -->
|
||||
|
||||
</cor-tab-pane> <!-- Messages tab -->
|
||||
|
||||
<!-- Service keys tab -->
|
||||
<div id="servicekeys" class="tab-pane">
|
||||
<cor-tab-pane id="servicekeys">
|
||||
<div class="service-keys-manager" is-enabled="serviceKeysActive"></div>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
|
||||
<!-- Debugging tab -->
|
||||
<div id="debug" class="tab-pane">
|
||||
<cor-tab-pane id="debug">
|
||||
<div class="cor-loader" ng-show="!debugServices"></div>
|
||||
|
||||
<div role="tabpanel" ng-show="debugServices">
|
||||
|
@ -110,22 +109,22 @@
|
|||
</div>
|
||||
<div class="cor-log-box" logs="debugLogs" ng-show="debugService"></div>
|
||||
</div>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
|
||||
<!-- Logs tab -->
|
||||
<div id="logs" class="tab-pane">
|
||||
<cor-tab-pane id="logs">
|
||||
<div class="logsView" makevisible="logsCounter" all-logs="true"></div>
|
||||
</div> <!-- /logs tab-->
|
||||
</cor-tab-pane> <!-- /logs tab-->
|
||||
|
||||
<!-- Change Log tab -->
|
||||
<div id="change-log" class="tab-pane">
|
||||
<cor-tab-pane id="change-log">
|
||||
<h3 style="margin-top: 0px;">Change Log</h3>
|
||||
<div class="cor-loader" ng-if="!changeLog"></div>
|
||||
<div class="markdown-view" content="changeLog.log" ng-if="changeLog"></div>
|
||||
</div> <!-- /change-log tab-->
|
||||
</cor-tab-pane> <!-- /change-log tab-->
|
||||
|
||||
<!-- Organizations tab -->
|
||||
<div id="organizations" class="tab-pane">
|
||||
<cor-tab-pane id="organizations">
|
||||
<div class="resource-view" resource="organizationsResource"
|
||||
error-message="'Could not load organizations'">
|
||||
<div class="manager-header" header-title="Organizations">
|
||||
|
@ -180,15 +179,14 @@
|
|||
</tr>
|
||||
</table>
|
||||
</div> <!-- /resource -->
|
||||
</div> <!-- organizations tab -->
|
||||
</cor-tab-pane> <!-- organizations tab -->
|
||||
|
||||
<!-- Users tab -->
|
||||
<div id="users" class="tab-pane active">
|
||||
<cor-tab-pane id="users" class="tab-pane active">
|
||||
<div class="manage-user-tab" is-enabled="manageUsersActive"></div>
|
||||
</div> <!-- users-tab -->
|
||||
|
||||
</div> <!-- /cor-tab-content -->
|
||||
</div> <!-- /cor-tab-panel -->
|
||||
</cor-tab-pane> <!-- users-tab -->
|
||||
</cor-tab-content>
|
||||
</cor-tab-panel>
|
||||
|
||||
<!-- Modal message dialog -->
|
||||
<div class="co-dialog modal fade" id="restartingContainerModal">
|
||||
|
|
|
@ -20,54 +20,54 @@
|
|||
<div class="repo-list-view padded" namespaces="[context.viewuser]"> </div>
|
||||
</div>
|
||||
|
||||
<div class="cor-tab-panel" ng-if="context.viewuser.is_me">
|
||||
<div class="cor-tabs" quay-show="context.viewuser.is_me">
|
||||
<span class="cor-tab" tab-active="true" tab-title="Repositories" tab-target="#repos">
|
||||
<cor-tab-panel ng-if="context.viewuser.is_me">
|
||||
<cor-tabs quay-show="context.viewuser.is_me">
|
||||
<cor-tab tab-active="true" tab-title="Repositories" tab-id="repos">
|
||||
<i class="fa fa-hdd-o"></i>
|
||||
</span>
|
||||
<span class="cor-tab" tab-title="Robot Accounts" tab-init="showRobots()" tab-target="#robots">
|
||||
</cor-tab>
|
||||
<cor-tab tab-title="Robot Accounts" tab-init="showRobots()" tab-id="robots">
|
||||
<i class="fa ci-robot"></i>
|
||||
</span>
|
||||
<span class="cor-tab" tab-title="External Logins And Applications" tab-target="#external"
|
||||
</cor-tab>
|
||||
<cor-tab tab-title="External Logins And Applications" tab-id="external"
|
||||
tab-init="showApplications()">
|
||||
<i class="fa fa-external-link-square"></i>
|
||||
</span>
|
||||
<span class="cor-tab" tab-title="Usage Logs" tab-target="#logs" tab-init="showLogs()"
|
||||
</cor-tab>
|
||||
<cor-tab tab-title="Usage Logs" tab-id="logs" tab-init="showLogs()"
|
||||
quay-show="Features.USER_LOG_ACCESS">
|
||||
<i class="fa fa-bar-chart"></i>
|
||||
</span>
|
||||
<span class="cor-tab" tab-title="User Settings" tab-target="#settings" tab-init="showBilling()">
|
||||
</cor-tab>
|
||||
<cor-tab tab-title="User Settings" tab-id="settings" tab-init="showBilling()">
|
||||
<i class="fa fa-gears"></i>
|
||||
</span>
|
||||
</div> <!-- /cor-tabs -->
|
||||
</cor-tab>
|
||||
</cor-tabs>
|
||||
|
||||
<div class="cor-tab-content">
|
||||
<cor-tab-content>
|
||||
<!-- Repositories -->
|
||||
<div id="repos" class="tab-pane active">
|
||||
<cor-tab-pane id="repos">
|
||||
<div class="repo-list-view" namespaces="[context.viewuser]"><h3>Repositories</h3></div>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
|
||||
<!-- Robot Accounts -->
|
||||
<div id="robots" class="tab-pane">
|
||||
<cor-tab-pane id="robots">
|
||||
<div class="robots-manager" user="viewuser" is-enabled="showRobotsCounter"></div>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
|
||||
<!-- Usage Logs -->
|
||||
<div id="logs" class="tab-pane">
|
||||
<cor-tab-pane id="logs">
|
||||
<div class="logs-view" user="viewuser" makevisible="showLogsCounter"></div>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
|
||||
<!-- External Logins And Applications -->
|
||||
<div id="external" class="tab-pane" quay-show="!hasSingleSignin">
|
||||
<cor-tab-pane id="external" quay-show="!hasSingleSignin">
|
||||
<div class="external-logins-manager" user="viewuser"
|
||||
quay-show="!hasSingleSignin"></div>
|
||||
<div style="margin: 50px" quay-show="!hasSingleSignin">
|
||||
</div>
|
||||
<div class="authorized-apps-manager" user="viewuser" is-enabled="showAppsCounter"></div>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
|
||||
<!-- Settings -->
|
||||
<div id="settings" class="tab-pane">
|
||||
<cor-tab-pane id="settings">
|
||||
<!-- Encrypted Password -->
|
||||
<div class="settings-section">
|
||||
<h3>Docker CLI Password</h3>
|
||||
|
@ -133,21 +133,20 @@
|
|||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class="delete-namespace-view" subscription-status="subscriptionStatus" user="context.viewuser" namespace-title="account" quay-show="Config.AUTHENTICATION_TYPE == 'Database'"></div>
|
||||
|
||||
<time-machine-settings user="context.viewuser"></time-machine-settings>
|
||||
</div>
|
||||
|
||||
<div class="delete-namespace-view" subscription-status="subscriptionStatus" user="context.viewuser" namespace-title="account" quay-show="Config.AUTHENTICATION_TYPE == 'Database'"></div>
|
||||
|
||||
<time-machine-settings user="context.viewuser"></time-machine-settings>
|
||||
|
||||
<!-- Billing Information -->
|
||||
<div class="settings-section" quay-show="Features.BILLING">
|
||||
<h3>Billing Information</h3>
|
||||
<div class="billing-management-panel" user="context.viewuser" is-enabled="showBillingCounter" subscription-status="subscriptionStatus"></div>
|
||||
</div>
|
||||
|
||||
</div> <!-- /cor-tab-content -->
|
||||
</div>
|
||||
</div>
|
||||
</cor-tab-pane>
|
||||
</cor-tab-content>
|
||||
</cor-tab-panel>
|
||||
|
||||
<!-- Change email dialog -->
|
||||
<div class="cor-confirm-dialog"
|
||||
|
|
Reference in a new issue