diff --git a/static/css/directives/ui/app-public-view.css b/static/css/directives/ui/app-public-view.css index 39a5456cd..1436e99a6 100644 --- a/static/css/directives/ui/app-public-view.css +++ b/static/css/directives/ui/app-public-view.css @@ -72,4 +72,10 @@ .app-public-view-element .co-panel .co-panel-heading i.fa { display: none; +} + +.app-public-view-element .co-tab-panel { + margin: 0px; + box-shadow: none; + border: none; } \ No newline at end of file diff --git a/static/js/directives/ui/app-public-view/app-public-view.component.html b/static/js/directives/ui/app-public-view/app-public-view.component.html index ea4adaa13..e8da83a03 100644 --- a/static/js/directives/ui/app-public-view/app-public-view.component.html +++ b/static/js/directives/ui/app-public-view/app-public-view.component.html @@ -10,85 +10,91 @@ - + + + + + + + + + + + + + + + -
-
-
-
-
+ + + +
+
+
-
-
-

No channels found for this application

-
-

- To push a new channel (from within the Helm package directory and with the Helm registry plugin installed): -

-helm registry push --namespace {{ $ctrl.repository.namespace }} --channel {channelName} {{ $ctrl.Config.SERVER_HOSTNAME }}
-
-

-
+ + +
+

No channels found for this application

+
+

+ To push a new channel (from within the Helm package directory and with the Helm registry plugin installed): +

+  helm registry push --namespace {{ $ctrl.repository.namespace }} --channel {channelName} {{ $ctrl.Config.SERVER_HOSTNAME }}
+  
+

+
-
- - - - - -
-
+
+ + + + + +
+ -
-
-

No releases found for this application

-
-

- To push a new release (from within the Helm package directory and with the Helm registry plugin installed): -

-helm registry push --namespace {{ $ctrl.repository.namespace }} {{ $ctrl.Config.SERVER_HOSTNAME }}
-
-

-
+ + +
+

No releases found for this application

+
+

+ To push a new release (from within the Helm package directory and with the Helm registry plugin installed): +

+  helm registry push --namespace {{ $ctrl.repository.namespace }} {{ $ctrl.Config.SERVER_HOSTNAME }}
+  
+

+
-
- - - - - -
-
+
+ + + + + +
+ -
-
-
-
+ + +
+
+ +
diff --git a/static/js/directives/ui/app-public-view/app-public-view.component.ts b/static/js/directives/ui/app-public-view/app-public-view.component.ts index 0d90c188f..6b1f75258 100644 --- a/static/js/directives/ui/app-public-view/app-public-view.component.ts +++ b/static/js/directives/ui/app-public-view/app-public-view.component.ts @@ -10,7 +10,6 @@ import { Input, Component, Inject } from 'ng-metadata/core'; }) export class AppPublicViewComponent { @Input('<') public repository: any; - private currentTab: string = 'description'; private settingsShown: number = 0; constructor(@Inject('Config') private Config: any) { @@ -22,10 +21,7 @@ export class AppPublicViewComponent { this.repository.put(); } - public showTab(tab: string): void { - this.currentTab = tab; - if (tab == 'settings') { - this.settingsShown++; - } + public showSettings(): void { + this.settingsShown++; } }