diff options
author | 2019-03-18 18:29:08 +0000 | |
---|---|---|
committer | 2019-03-18 18:29:08 +0000 | |
commit | cfd5cf0ed7dec66165a217833c7d7ce243f3c3a1 (patch) | |
tree | 3c4d9287c1f450e772a64a3e8208a22d921342b9 /cds-ui/client/src/app/feature-modules/blueprint/modify-template/modify-template.component.html | |
parent | bff2b45c049a9697c072cbe65212580fcb96710c (diff) | |
parent | cc3532626edbeee463d661b5721ca5ddc3f69e44 (diff) |
Merge "Modify Component HTML changes"
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/blueprint/modify-template/modify-template.component.html')
-rw-r--r-- | cds-ui/client/src/app/feature-modules/blueprint/modify-template/modify-template.component.html | 74 |
1 files changed, 23 insertions, 51 deletions
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/modify-template.component.html b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/modify-template.component.html index 81a1a851e..a77be5ba0 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/modify-template.component.html +++ b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/modify-template.component.html @@ -18,58 +18,30 @@ See the License for the specific language governing permissions and limitations under the License. ============LICENSE_END============================================ --> -<!-- <div style="display: flex;flex-direction: row"> - <div style="width: 30em;"> - <button (click) ="changeView()" style=" - background-color: #3f51b5; - color: white; - border-radius: 2em; - padding: 0.5em; - min-width: 6em;">{{viewText}}</button> - </div> - <div style="width: 16em"> - <button style="margin: 0.5em; - background-color: #3f51b5; - color: white; - border-radius: 2em; - padding: 0.5em; - min-width: 6em;">Save Changes</button> - </div> - <div style="width: 100%;height: 3em;"> - <div style="margin-left: 38em"> - <mat-form-field> - <select matNativeControl required> - <option value="volvo">SDC</option> - <option value="saab">CCSDK</option> - </select> - </mat-form-field> - <button style="margin: 0.5em; - background-color: #3f51b5; - color: white; - border-radius: 2em; - padding: 0.5em; - min-width: 6em;">Deploy</button> - <button style="margin: 0.5em; - background-color: #3f51b5; - color: white; - border-radius: 2em; - padding: 0.5em; - min-width: 6em;">Save</button> - <button style="margin: 0.5em; - background-color: #3f51b5; - color: white; - border-radius: 2em; - padding: 0.5em; - min-width: 6em;">Download</button> - - </div> - </div> -</div> --> - <div class="modifyTemp"> - <button class="enrich-btn">Enrichment</button> - <button (click) ="changeView()" class="toggle-view-btn">{{viewText}}</button> <app-designer *ngIf="designerMode" (onNodeSelect)="on = !on; viewNodeDetails($event)"></app-designer> <app-editor class="editor-selector" *ngIf="editorMode"></app-editor> -</div>
\ No newline at end of file +</div> + +<div style="display: flex;flex-direction: row"> + <div style="width: 30em;"> + <button class="btn-active" (click) ="changeView()">{{viewText}}</button> + </div> + <div style="width: 16em"> + </div> + <div style="width: 100%;height: 3em;"> + <div style="display: flex;flex-direction: row-reverse"> + <button class="btn-active" (click)="downloadCBA()">Download</button> + <button [disabled]="!isEnriched" [ngClass]="{ 'mat-button-active': isEnriched, 'mat-button-disablled': !isEnriched}" mat-button [matMenuTriggerFor]="menu">Deploy</button> + <mat-menu #menu="matMenu"> + <button mat-menu-item>Deploy</button> + <button mat-menu-item>Test</button> + </mat-menu> + <button [disabled]="!isEnriched" [ngClass]="{ 'btn-active': isEnriched, 'btn-disablled': !isEnriched}" class="btn-active">Publish</button> + <button class="btn-active">Save</button> + <button class="btn-active">Enrich</button> + + </div> + </div> + </div>
\ No newline at end of file |