aboutsummaryrefslogtreecommitdiffstats
path: root/ecomp-sdk-app/src/main/webapp/app/fusion/notebook-integration/scripts/view-models
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-sdk-app/src/main/webapp/app/fusion/notebook-integration/scripts/view-models')
-rw-r--r--ecomp-sdk-app/src/main/webapp/app/fusion/notebook-integration/scripts/view-models/notebook-frame.html85
-rw-r--r--ecomp-sdk-app/src/main/webapp/app/fusion/notebook-integration/scripts/view-models/notebook-viz.html26
-rw-r--r--ecomp-sdk-app/src/main/webapp/app/fusion/notebook-integration/scripts/view-models/notebook.htm54
-rw-r--r--ecomp-sdk-app/src/main/webapp/app/fusion/notebook-integration/scripts/view-models/notebookInputs.html90
4 files changed, 255 insertions, 0 deletions
diff --git a/ecomp-sdk-app/src/main/webapp/app/fusion/notebook-integration/scripts/view-models/notebook-frame.html b/ecomp-sdk-app/src/main/webapp/app/fusion/notebook-integration/scripts/view-models/notebook-frame.html
new file mode 100644
index 000000000..5428c6c6a
--- /dev/null
+++ b/ecomp-sdk-app/src/main/webapp/app/fusion/notebook-integration/scripts/view-models/notebook-frame.html
@@ -0,0 +1,85 @@
+<!-- <!DOCTYPE html>
+<!--
+ ================================================================================
+ eCOMP Portal SDK
+ ================================================================================
+ Copyright (C) 2017 AT&T Intellectual Property
+ ================================================================================
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ ================================================================================
+ -->
+
+<html>
+<head>
+<meta charset="ISO-8859-1">
+<title>Insert title here</title>
+</head>
+<body>
+<div style="min-height:500px" data-ng-init="invokeSaveNotebook()">
+
+
+ <div><iframe id='itestfr' width="1400" height="1400"></iframe></div>
+
+
+ </div>
+
+</body>
+</html> -->
+
+<!-- <div ng-controller="notebookFrameController" style="min-height:500px">
+
+
+ <div><iframe id='itestframe' width="1400" height="1400"></iframe></div>
+
+
+ </div> -->
+
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+ <meta http-equiv="cache-control" content="max-age=0" />
+ <meta http-equiv="cache-control" content="no-cache" />
+ <meta http-equiv="expires" content="0" />
+ <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
+ <meta http-equiv="pragma" content="no-cache"/>
+
+ <script src= "app/fusion/scripts/utils/page-resource.js"></script>
+
+ <script>
+ // loadjscssfile("app/fusion/notebook-integration/scripts/controllers/notebookController.js", "js");
+
+ loadjscssfile("app/fusion/notebook-integration/scripts/controllers/notebookFrameController.js", "js");
+ loadjscssfile("app/fusion/notebook-integration/scripts/controllers/nbook-framecontroller.js", "js");
+
+ </script>
+
+
+
+
+ </head>
+ <body class="appBody" ng-app="abs">
+ <div ng-include src="'app/fusion/scripts/view-models/profile-page/popup_modal_fn_menu_edit.html'"></div>
+ <div ng-include src="'app/fusion/scripts/view-models/profile-page/popup_modal_fn_menu_add.html'"></div>
+ <div ng-include src="'app/fusion/scripts/view-models/profile-page/popup_modal_rolefunction.html'"></div>
+ <div ng-include src="'app/fusion/scripts/view-models/profile-page/popup_modal.html'"></div>
+ <div ng-include src="'app/fusion/scripts/view-models/profile-page/popup_modal_role.html'"></div>
+ <div q-header></div>
+ <div q-menu class="appLeftMenu"></div>
+ <div ng-view style="min-height: 450px;margin-top:-50px;margin-left:210px;margin-right:110px;"></div>
+ <div q-footer class="appFooter"></div>
+ </body>
+</html>
+
+
+
diff --git a/ecomp-sdk-app/src/main/webapp/app/fusion/notebook-integration/scripts/view-models/notebook-viz.html b/ecomp-sdk-app/src/main/webapp/app/fusion/notebook-integration/scripts/view-models/notebook-viz.html
new file mode 100644
index 000000000..3c0afd29a
--- /dev/null
+++ b/ecomp-sdk-app/src/main/webapp/app/fusion/notebook-integration/scripts/view-models/notebook-viz.html
@@ -0,0 +1,26 @@
+<!--
+ ================================================================================
+ eCOMP Portal SDK
+ ================================================================================
+ Copyright (C) 2017 AT&T Intellectual Property
+ ================================================================================
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ ================================================================================
+ -->
+ <div style="min-height:500px">
+
+
+ <div><iframe id='itestframe' width="1400" height="1400"></iframe></div>
+
+
+ </div>
diff --git a/ecomp-sdk-app/src/main/webapp/app/fusion/notebook-integration/scripts/view-models/notebook.htm b/ecomp-sdk-app/src/main/webapp/app/fusion/notebook-integration/scripts/view-models/notebook.htm
new file mode 100644
index 000000000..bfd74ad32
--- /dev/null
+++ b/ecomp-sdk-app/src/main/webapp/app/fusion/notebook-integration/scripts/view-models/notebook.htm
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<!--
+ ================================================================================
+ eCOMP Portal SDK
+ ================================================================================
+ Copyright (C) 2017 AT&T Intellectual Property
+ ================================================================================
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ ================================================================================
+ -->
+
+<html>
+ <head>
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+ <meta http-equiv="cache-control" content="max-age=0" />
+ <meta http-equiv="cache-control" content="no-cache" />
+ <meta http-equiv="expires" content="0" />
+ <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
+ <meta http-equiv="pragma" content="no-cache"/>
+
+ <script src= "app/fusion/scripts/utils/page-resource.js"></script>
+ <!-- Icons -->
+ <link rel="stylesheet" type="text/css" href="app/fusion/external/ionicons-2.0.1/css/ionicons.css" />
+ <script>
+ // loadjscssfile("app/fusion/notebook-integration/scripts/controllers/notebookController.js", "js");
+ loadjscssfile("app/fusion/notebook-integration/scripts/controllers/nbookController.js", "js");
+ </script>
+
+
+
+
+ </head>
+ <body class="appBody" ng-app="abs">
+ <div ng-include src="'app/fusion/scripts/view-models/profile-page/popup_modal_fn_menu_edit.html'"></div>
+ <div ng-include src="'app/fusion/scripts/view-models/profile-page/popup_modal_fn_menu_add.html'"></div>
+ <div ng-include src="'app/fusion/scripts/view-models/profile-page/popup_modal_rolefunction.html'"></div>
+ <div ng-include src="'app/fusion/scripts/view-models/profile-page/popup_modal.html'"></div>
+ <div ng-include src="'app/fusion/scripts/view-models/profile-page/popup_modal_role.html'"></div>
+ <div q-header></div>
+ <div q-menu class="appLeftMenu"></div>
+ <div ng-view style="min-height: 450px;margin-top:-50px;margin-left:210px;margin-right:110px;"></div>
+ <div q-footer class="appFooter"></div>
+ </body>
+</html>
diff --git a/ecomp-sdk-app/src/main/webapp/app/fusion/notebook-integration/scripts/view-models/notebookInputs.html b/ecomp-sdk-app/src/main/webapp/app/fusion/notebook-integration/scripts/view-models/notebookInputs.html
new file mode 100644
index 000000000..0a28b50ed
--- /dev/null
+++ b/ecomp-sdk-app/src/main/webapp/app/fusion/notebook-integration/scripts/view-models/notebookInputs.html
@@ -0,0 +1,90 @@
+<!DOCTYPE html>
+<!--
+ ================================================================================
+ eCOMP Portal SDK
+ ================================================================================
+ Copyright (C) 2017 AT&T Intellectual Property
+ ================================================================================
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ ================================================================================
+ -->
+
+<html>
+<head>
+<meta charset="ISO-8859-1">
+<title></title>
+</head>
+<body>
+
+<div style="min-height:500px">
+ <br>
+ <div class="fn-ebz-container">
+ <label class="fn-ebz-text-label">Notebook ID:</label><BR>
+ <input type="text" name="notebookid" maxlength=200 ng-model="notebookvalue" style="width:180px"/>
+ </div>
+ <BR>
+
+ <!-- Use this for only 1 key value query parameter
+ <div class="fn-ebz-container">
+
+ <label class="fn-ebz-text-label">Key</label><BR>
+ <input type="text" name="key" maxlength=200 ng-model="qparamKey" style="width:180px"/>
+ </div>
+
+ <div class="fn-ebz-container">
+ <label class="fn-ebz-text-label">Value</label><BR>
+ <input type="text" name="val" maxlength=200 ng-model="qparamVal" style="width:180px"/>
+ </div> -->
+
+
+
+ <!-- Use this for multiple key value query parameters -->
+ <div style="border:2px;border-style:solid;border-color:#808080;margin-bottom:9px">
+ <div ng-repeat="kv in keyValueList">
+ <div style="margin-left:5px">
+
+ <div class="fn-ebz-container">
+
+ <label class="fn-ebz-text-label">Key</label><BR>
+ <input type="text" name="key" maxlength=100 ng-model="kv.qK" style="width:180px"/>
+ </div>
+
+ <div class="fn-ebz-container">
+ <label class="fn-ebz-text-label">Value</label><BR>
+ <input type="text" name="val" maxlength=100 ng-model="kv.qV" style="width:180px"/>
+ </div>
+
+ <div class="fn-ebz-container" style="position:relative; top: 25px;">
+ <button href="javascript:void(0)" id="addbtn" ng-show="{{$index==0}}" style="float: right;" att-button size="small" att-accessibility-click="13,32"
+ ng-click="addKeyValuePairs(kv);" >Add</button>
+ <a href="javascript:void(0)" ng-show="{{$index>0}}" style="float: right;" att-button size="small" att-accessibility-click="13,32" ng-click="removeKeyValuePairs($index);" >
+ Remove</a>
+ </div>
+ </div>
+ </div>
+ </div>
+
+
+
+
+ <BR>
+
+ <div class="fn-ebz-container">
+ <a att-button btn-type="primary" att-accessibility-click="13,32" ng-click="submitParameters();">Submit</a>
+ </div>
+
+ <!-- <div ng-show="iframevisibility"><iframe id='itestfr' width="1400" height="1400"></iframe></div> -->
+
+</div>
+</body>
+</html>