summaryrefslogtreecommitdiffstats
path: root/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.html
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2019-03-11 17:11:20 +0530
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>2019-03-11 17:11:27 +0530
commit9be2111e0f9070b97744ad7d47a3bd6339fce5e1 (patch)
tree96bfb248aaebce6a3704e62355340c0660ae6f9b /cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.html
parentfbdd8c6d2ed62b2de8429083a06813faa22b0988 (diff)
Save edited changes
Implemented code to save chnages to store on click of save button in editor view Issue-ID: CCSDK-1135 Change-Id: I8a2c911a94daea50c14730540f8b2e9183b5edb3 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.html')
-rw-r--r--cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.html61
1 files changed, 59 insertions, 2 deletions
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.html b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.html
index d7ba14072..01e6e80af 100644
--- a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.html
+++ b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.html
@@ -42,7 +42,64 @@ limitations under the License.
<ace-editor [(text)]="text" mode="json" #editor class="aceEditor"></ace-editor>
</div>
</div>
-<div style="position:relative">
+<!-- <div style="position:relative">
<button mat-button class="savebtn" (click)="updateBlueprint();SaveToBackend()">Save</button>
- <button mat-button class="savebtn" (click)="download();">Download</button>
+ <button mat-button class="savebtn" style="margin-left: 82px;" (click)="download();">Download</button>
+</div>
+
+<div>
+ <mat-form-field>
+ <select matNativeControl required>
+ <option value="volvo">SDC</option>
+ <option value="saab">CCSDK</option>
+ </select>
+ </mat-form-field>
+ <button mat-button class="savebtn">Deploy</button>
+ <button mat-button class="savebtn">Save</button>
+</div> -->
+
+<div style="display: flex;flex-direction: row">
+ <div style="height: 6em;
+ width: 30em;">
+
+ </div>
+ <div style="height: 6em;
+ 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="height: 6em;
+ width: 100%;">
+ <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> \ No newline at end of file