Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
frontend: other tpl
  • Loading branch information
BennieMeng committed Mar 14, 2019
commit 0c5f3c8fe6482ea33c4e11382a6d935888a3c246
1 change: 0 additions & 1 deletion src/frontend/src/app/portal/base/base.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ export class BaseComponent implements OnInit, OnDestroy {
this.authService.setAppPermissionById(this.appId);
this.routerEvent = this.router.events.subscribe(events => {
if (events instanceof NavigationStart) {
console.log(events);
if (/tpl/g.test(events.url)) {
this.showBox = false;
} else {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<div class="clr-row" style="padding-left: 5%;">
<div class="clr-row" style="padding-left: 20px">
<div class="clr-row flex-items-xs-between flex-items-xs-top" style="padding-left: 15px; padding-right: 15px;">
<h3 class="header-title">{{'CONFIGMAP.CREATE_TMP' | translate}}</h3>
</div>
<form [formGroup]="currentForm" style="padding-right: 30px;width: 100%">
<section class="form-block wrap">
<wayne-box class="form-block wrap">
<div *ngIf="clusters" formArrayName="clusters" class="form-group form-group-padding">
<label class="clr-col-md-3 form-group-label-override required">{{'TITLE.CLUSTER' | translate}}</label>
<span class="warning-text" *ngIf="!clusters || clusters && clusters.length === 0">{{'CONFIGMAP.CREATE_EDIT_TMP.CLUSTER_MESSAGE' | translate}}</span>
Expand Down Expand Up @@ -52,7 +52,7 @@ <h3 class="header-title">{{'CONFIGMAP.CREATE_TMP' | translate}}</h3>
</div>
</div>
</div>
</section>
</wayne-box>
</form>
</div>
<div class="clr-wizard-footer-buttons tpl-bottom" [style.top.px]="top">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<div class="clr-row" style="padding-left: 5%;">
<div class="clr-row" style="padding-left: 20px">
<div class="clr-row flex-items-xs-between flex-items-xs-top" style="padding-left: 15px; padding-right: 15px;">
<h3 class="header-title">{{'PVC.CREATE_TMP' | translate}}</h3>
</div>
<form [formGroup]="currentForm" style="padding-right: 30px;width: 100%">
<section class="form-block wrap">
<wayne-box class="form-block wrap">
<div *ngIf="clusters" formArrayName="clusters" class="form-group form-group-padding">
<label class="clr-col-md-3 form-group-label-override required">{{'TITLE.CLUSTER' | translate}}</label>
<span class="warning-text" *ngIf="!clusters || clusters && clusters.length === 0">{{'PVC.CREATE_EDIT.CLUSTER_MESSAGE' | translate}}</span>
Expand Down Expand Up @@ -70,7 +70,7 @@ <h3 class="header-title">{{'PVC.CREATE_TMP' | translate}}</h3>
</a>
</div>
</div>
</section>
</wayne-box>
<div class="clr-wizard-footer-buttons tpl-bottom" [style.top.px]="top">
<button type="button" class="btn btn-outline" (click)="onCancel()">{{'BUTTON.CANCEL' | translate}}</button>
<button type="button" class="btn btn-primary"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<div class="clr-row" style="padding-left: 5%;">
<div class="clr-row" style="padding-left: 20px">
<div class="clr-row flex-items-xs-between flex-items-xs-top" style="padding-left: 15px; padding-right: 15px;">
<h3 class="header-title">{{'SECRET.CREATE_TMP' | translate}}</h3>
</div>
<form [formGroup]="currentForm" style="padding-right: 30px;width: 100%">
<section class="form-block wrap">
<wayne-box class="form-block wrap">
<div *ngIf="clusters" formArrayName="clusters" class="form-group form-group-padding">
<label class="clr-col-md-3 form-group-label-override required">{{'TITLE.CLUSTER' | translate}}</label>
<span class="warning-text"
Expand Down Expand Up @@ -89,7 +89,7 @@ <h3 class="header-title">{{'SECRET.CREATE_TMP' | translate}}</h3>
</div>
</div>
</div>
</section>
</wayne-box>
</form>
</div>
<div class="clr-wizard-footer-buttons tpl-bottom" [style.top.px]="top">
Expand Down