aboutsummaryrefslogtreecommitdiffstats
path: root/oom-app-overlay/src/main/webapp/app/oom/cloudify/blueprint_popups.html
diff options
context:
space:
mode:
authorNicolas Hu <jh245g@att.com>2017-10-06 10:28:45 -0400
committerNicolas Hu <jh245g@att.com>2017-10-06 10:40:45 -0400
commitc19189718469498377b194eea2f9a247bb79c4f9 (patch)
tree4987d0fa9c60bb5f1c2938e37194fdcbb2c2fd5b /oom-app-overlay/src/main/webapp/app/oom/cloudify/blueprint_popups.html
parentd6c693de3070a6cd470356541324468d9fa42c59 (diff)
Refactor CCSDK/Dashboard project
Change-Id: I34451fbebbe7bbaaf1cd23aed5cef0f9a9ba37b7 Issues-Id: CCSDK-111 Signed-off-by: Nicolas Hu <jh245g@att.com>
Diffstat (limited to 'oom-app-overlay/src/main/webapp/app/oom/cloudify/blueprint_popups.html')
-rw-r--r--oom-app-overlay/src/main/webapp/app/oom/cloudify/blueprint_popups.html187
1 files changed, 0 insertions, 187 deletions
diff --git a/oom-app-overlay/src/main/webapp/app/oom/cloudify/blueprint_popups.html b/oom-app-overlay/src/main/webapp/app/oom/cloudify/blueprint_popups.html
deleted file mode 100644
index ee92d84..0000000
--- a/oom-app-overlay/src/main/webapp/app/oom/cloudify/blueprint_popups.html
+++ /dev/null
@@ -1,187 +0,0 @@
-<script type="text/ng-template" id="blueprint_upload_popup.html">
-
- <div class="b2b-modal-header ng-scope">
- <h2 id="myModalLabel" modal-title="">{{ecdapp.label}}</h2>
- <div class="corner-button in">
- <button type="button" class="close" aria-label="Close"
- ng-click="$dismiss('cancel')"></button>
- </div>
- </div>
-
- <div class="b2b-modal-body ng-scope ng-isolate-scope" tabindex="0"
- role="region" aria-label="Modal body content">
-
- <div class="row-nowrap">
- <div class="span12">
- <div class="form-row">
- <label for="blueprintId">*Blueprint ID</label>
- <div class="field-group">
- <!--autofocus is HTML5 attribute; doesn't work in Firefox-->
- <input id="blueprintId" class="span12" type="text" data-ng-model="ecdapp.editBlueprint.blueprint_id" autofocus>
- </div>
- </div>
- </div>
- </div>
-
- <div class="row-nowrap">
- <div class="span12">
- <div class="form-row">
- <label for="blueprintFileName">*File Name</label>
- <div class="field-group">
- <input id="blueprintFileName" class="span12" type="text" data-ng-model="ecdapp.editBlueprint.blueprint_filename">
- </div>
- </div>
- </div>
- </div>
-
- <div class="row-nowrap">
- <div class="span12">
- <div class="form-row">
- <label for="zipFileUrl">*Zip File URL</label>
- <div class="field-group">
- <input id="zipFileUrl" class="span12" type="text" data-ng-model="ecdapp.editBlueprint.zip_url">
- </div>
- </div>
- </div>
- </div>
-
- </div>
-
- <div class="b2b-modal-footer ng-scope ng-isolate-scope">
- <div class="cta-button-group in">
- <button class="btn btn-alt btn-small" type="button"
- ng-click="ecdapp.uploadBlueprint(ecdapp.editBlueprint);">
- Save
- </button>
- <button class="btn btn-small" type="button"
- ng-click="$dismiss('cancel')">
- Cancel
- </button>
- </div>
- </div>
-
-</script>
-
-<script type="text/ng-template" id="blueprint_view_popup.html">
-
- <div class="b2b-modal-header ng-scope">
- <h2 id="myModalLabel" modal-title="">{{ecdapp.label}}</h2>
- <div class="corner-button in">
- <button type="button" class="close" aria-label="Close"
- ng-click="$dismiss('cancel')"></button>
- </div>
- </div>
-
- <div class="b2b-modal-body ng-scope ng-isolate-scope" tabindex="0"
- role="region" aria-label="Modal body content">
-
- <!-- show progress indicator -->
- <div ng-show="ecdapp.isDataLoading">
- <div class="span" style="margin-bottom:20px;">
- <i class="icon-primary-spinner small" role="img" aria-label="Please wait while the content loads"></i>
- Please wait while the content loads.
- </div>
- </div>
-
- <div ng-show="ecdapp.errMsg">
- <span class="ecd-error-message">{{ecdapp.errMsg}}</span>
- </div>
-
- <div ng-hide="ecdapp.errMsg">
- <pre>{{ecdapp.blueprint}}</pre>
- </div>
-
- </div>
-
- <div class="b2b-modal-footer ng-scope ng-isolate-scope">
- <div class="cta-button-group in">
- <button class="btn btn-alt btn-small" type="button"
- ng-click="$dismiss('cancel');">
- Close
- </button>
- </div>
- </div>
-
-</script>
-
-<script type="text/ng-template" id="blueprint_deploy_popup.html">
-
- <style>
- .ecd-parameter-table
- {
- border: 1px;
- overflow: auto;
- }
- .ecd-parameter-table th
- {
- font-size: 1.4rem;
- }
- </style>
-
- <div class="b2b-modal-header ng-scope">
- <h2 id="myModalLabel" modal-title="">{{ecdapp.label}}</h2>
- <div class="corner-button in">
- <button type="button" class="close" aria-label="Close"
- ng-click="$dismiss('cancel')"></button>
- </div>
- </div>
-
- <div class="b2b-modal-body ng-scope ng-isolate-scope" tabindex="0"
- role="region" aria-label="Modal body content">
-
- <div class="row-nowrap">
- <div class="span12">
- <label for="blueprintFileName">*Deployment ID</label>
- <!--autofocus is HTML5 attribute; doesn't work in Firefox-->
- <input id="blueprintFileName" class="span12" type="text" data-ng-model="ecdapp.editRequest.deployment_id" autofocus/>
- </div>
- <div class="span12">
- <label for="blueprintId">Blueprint ID</label>
- <!--not editable-->
- <input id="blueprintId" class="span12" type="text" disabled="disabled" data-ng-model="ecdapp.editRequest.blueprint_id"/>
- </div>
- </div>
-
- <div class="row-nowrap">
- <div class="span12">
- <div class="form-row">
- <label for="parameters">*Parameters</label>
- <div b2b-file-drop file-model="ecdapp.editRequest.fileModel" on-drop="handleFileSelect()" align="center">
- <span b2b-file-link file-model="ecdapp.editRequest.fileModel" on-file-select="handleFileSelect()" >
- Drag &amp; drop a parameters YAML file here, or click to browse.
- </span>
- </div>
- </div>
- <div class="ecd-parameter-table">
- <table id="parameters">
- <tr id="ecd-table-header">
- <th width="40%">Name</th>
- <th width="60%">Value</th>
- </tr>
- <tbody ng-repeat="(pkey, pval) in ecdapp.editRequest.parmFileDict">
- <tr id="tr-rowData">
- <td ng-bind="pkey"/>
- <td ng-bind="pval"/>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
-
- </div>
-
- <div class="b2b-modal-footer ng-scope ng-isolate-scope">
- <div class="cta-button-group in">
- <button class="btn btn-alt btn-small" type="button"
- ng-click="ecdapp.deployBlueprint(ecdapp.editRequest);">
- Save
- </button>
- <button class="btn btn-small" type="button"
- ng-click="$dismiss('cancel')">
- Cancel
- </button>
- </div>
- </div>
-
-</script>