summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models')
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/b2b-leftnav-ext.html73
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-admin/admin-menu-edit.html2
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-reports/modal/report-wizard-col-edit.html7
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-reports/modal/report-wizard-drilldown-edit.html68
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-reports/report-run.html2
5 files changed, 63 insertions, 89 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/b2b-leftnav-ext.html b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/b2b-leftnav-ext.html
index fad0e041..5337fd24 100644
--- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/b2b-leftnav-ext.html
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/b2b-leftnav-ext.html
@@ -1,43 +1,50 @@
-<div class="b2b-nav-menu" id="left-menu-main-div" ng-class="leftMenuClass">
+<div class="b2b-nav-menu" id="left-menu-main-div"
+ ng-class="leftMenuClass">
<div class="b2b-subnav-container" id="left-menu-subnav-container">
<ul class="b2b-subnav-content" id="left-menu-subnav-content">
<li id="b2b-subnav-content-li">
<div ng-class="leftMenuArrowClass" id="left-menu-arrow-toggle-div">
- <a ng-click="toggleDrawer(showmenu);" class="text-right" id="left-menu-arrow-toggle-anchor">
- <i ng-class="{true: 'icon-controls-left', false: 'icon-controls-right'}[showmenu]" id="left-menuf-arrow-toggle-icon">&nbsp;</i>
+ <a ng-click="toggleDrawer(showmenu);" class="text-right"
+ id="left-menu-arrow-toggle-anchor"> <i
+ ng-class="{true: 'icon-controls-left', false: 'icon-controls-right'}[showmenu]"
+ id="left-menuf-arrow-toggle-icon">&nbsp;</i>
</a>
</div>
</li>
- <li ng-repeat="menu in menuData" ng-click="toggleNav($index,menu.href,showmenu)" id="left-menu-li-{{menu.name.split(' ').join('-')}}">
- <span ng-class="{true: 'menu-icon', false: 'menu-icon-collapse'}[showmenu]" id="left-menu-span-{{menu.name.split(' ').join('-')}}">
- <span class="{{menu.imageSrc}}" id="icon-image-{{menu.name.split(' ').join('-')}}"></span>&nbsp;&nbsp;
- </span>
- <a ng-class="{expand: isOpen($index)}"
- id="parent-item-{{menu.name.split(' ').join('-')}}"
- ng-if="showmenu"
- aria-label="{{menu.name}}" title="{{menu.name}}"
- aria-expanded="{{(idx==$index)?true:false;}}"
- href="javascript:void(0);">
- {{menu.name}}
- <i aria-hidden="true"
- ng-if="(menu.menuItems.length > 0)"
- class="b2b-icon-primary-plus-minus"
- ng-class="idx==$index ? 'icon-primary-expanded' : 'icon-primary-collapsed'"></i>
- </a>
- <div role="region" aria-hidden="{{(isOpen($index))?false:true;}}" id="left-menu-child-div-{{menu.name.split(' ').join('-')}}">
- <ul ng-class="{expand: idx==$index}" id="left-menu-child-ul-{{menu.name.split(' ').join('-')}}">
- <li ng-repeat="menuItem in menu.menuItems"
- ng-click="liveLink($event, $index, $parent.$index)"
- id="left-menu-child-li-{{menuItem.name.split(' ').join('-')}}-{{menu.name.split(' ').join('-')}}">
- <a aria-hidden="{{!(idx==$parent.$index)}}"
- aria-label="{{menuItem.name}}" title="{{menuItem.name}}"
- id="child-item-{{menuItem.name.split(' ').join('-')}}"
- href="{{menuItem.href}}" tabindex="{{(idx==$parent.$index)?0:-1;}}"
- ng-class="{active: itemIdx==$index && navIdx==$parent.$index}">{{menuItem.name}}</a>
- </li>
- </ul>
- </div>
- </li>
+ <li ng-repeat="menu in menuData"
+ ng-click="toggleNav($index,menu.href,showmenu)"
+ id="left-menu-li-{{menu.name.split(' ').join('-')}}"><span
+ ng-class="{true: 'menu-icon', false: 'menu-icon-collapse'}[showmenu]"
+ id="left-menu-span-{{menu.name.split(' ').join('-')}}"> <span
+ class="{{menu.imageSrc}}"
+ id="icon-image-{{menu.name.split(' ').join('-')}}"></span>&nbsp;&nbsp;
+ </span> <a ng-class="{expand: isOpen($index)}"
+ id="parent-item-{{menu.name.split(' ').join('-')}}" ng-if="showmenu"
+ aria-label="{{menu.name}}" title="{{menu.name}}"
+ aria-expanded="{{(idx==$index)?true:false;}}"
+ href="javascript:void(0);"> {{menu.name}} <i aria-hidden="true"
+ ng-if="(menu.menuItems.length > 0)"
+ class="b2b-icon-primary-plus-minus"
+ ng-class="idx==$index ? 'icon-primary-expanded' : 'icon-primary-collapsed'"></i>
+ </a>
+ <div role="region" aria-hidden="{{(isOpen($index))?false:true;}}"
+ id="left-menu-child-div-{{menu.name.split(' ').join('-')}}">
+ <div class="left-menu-child">
+ <ul ng-class="{expand: idx==$index}"
+ id="left-menu-child-ul-{{menu.name.split(' ').join('-')}}">
+ <li ng-repeat="menuItem in menu.menuItems"
+ ng-click="liveLink($event, $index, $parent.$index)"
+ id="left-menu-child-li-{{menuItem.name.split(' ').join('-')}}-{{menu.name.split(' ').join('-')}}">
+ <a aria-hidden="{{!(idx==$parent.$index)}}"
+ aria-label="{{menuItem.name}}" title="{{menuItem.name}}"
+ id="child-item-{{menuItem.name.split(' ').join('-')}}"
+ href="{{menuItem.href}}"
+ tabindex="{{(idx==$parent.$index)?0:-1;}}"
+ ng-class="{active: itemIdx==$index && navIdx==$parent.$index}">{{menuItem.name}}</a>
+ </li>
+ </ul>
+ </div>
+ </div></li>
</ul>
</div>
</div> \ No newline at end of file
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-admin/admin-menu-edit.html b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-admin/admin-menu-edit.html
index 69fd324b..913b10ed 100644
--- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-admin/admin-menu-edit.html
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-admin/admin-menu-edit.html
@@ -3,7 +3,7 @@
<h1 class="heading-page" id="AdminMenuItems">Admin Menu Items</h1>
</div>
<div>
- <button type="submit" ng-click="addNewFnMenuItemModalPopup();" class="btn btn-alt btn-small">Add Menu Item</button>
+ <button type="submit" ng-click="addNewFnMenuItemModalPopup();" class="btn btn-alt btn-small" style="position: initial;">Add Menu Item</button>
</div>
<h3 class="heading-small">
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-reports/modal/report-wizard-col-edit.html b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-reports/modal/report-wizard-col-edit.html
index 097d1795..e74f89a8 100644
--- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-reports/modal/report-wizard-col-edit.html
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-reports/modal/report-wizard-col-edit.html
@@ -20,6 +20,11 @@
#columnEditTable .selectWrap{
width:220px;
}
+
+
+#drilldownOption .selectWrap{
+ width:450px;
+}
</style>
<div style="height: 700px;">
@@ -101,7 +106,7 @@
<tr>
<td class="colTableLeftColumn" style="width:350px;">Drill-down Link:</td>
- <td>
+ <td id="drilldownOption">
<select name="drillDown" b2b-dropdown ng-model="selectedDrillDownReport.value" placeholder-text="Select">
<option b2b-dropdown-list option-repeat="d in drilldownReports" value="{{d.id}}">{{d.name}}</option>
</select>
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-reports/modal/report-wizard-drilldown-edit.html b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-reports/modal/report-wizard-drilldown-edit.html
index ec2134bf..6b98ac78 100644
--- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-reports/modal/report-wizard-drilldown-edit.html
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-reports/modal/report-wizard-drilldown-edit.html
@@ -33,57 +33,42 @@
<div class="b2b-modal-body ng-scope ng-isolate-scope in" style="margin-bottom: -50px;">
<form name="workflowForm" class="css-form" novalidate>
- <div id="columnEditTable">
+ <div id="columnEditTable" ng-repeat="drillDownOption in drillDownOptionList">
<table class="striped">
<tbody>
-
<fieldset role="radiogroup" radio-group-accessibility>
- <tr ng-show="childReportFF.length>0">
+ <tr ng-show="childReportFF.length>0||childReportCol.length>0">
<td colspan="2">
- <h2>User</h2>
+ <h2>{{drillDownOption.name}}</h2>
</td>
</tr>
- <tr ng-show="childReportFF.length>0">
- <td>
- <div class="form-row" role="radio" style="margin-top:0px;">
- <label for="optionsRadios1111" class="radio">
- <input type="radio" ng-model="selectedvalueradioGroup.name" id="optionsRadios1111" name="optionsRadio11" value="noValue" required>
- <i class="skin"></i>
- <span>No Value</span>
- </label>
- </div>
- </td>
- <td style="margin-top:10px;">
- <p>Accept Default</p>
- </td>
- </tr>
- <tr ng-show="childReportFF.length>0">
+ <tr ng-show="childReportFF.length>0||childReportCol.length>0">
<td>
<div class="form-row" role="radio" style="margin-top:0px;">
- <label for="optionsRadios2222" class="radio">
- <input type="radio" ng-model="selectedvalueradioGroup.name" id="optionsRadios2222" name="optionsRadio11" value="fixedValue">
+ <label for="optionsRadios2{{$index}}" class="radio">
+ <input type="radio" ng-model="drillDownOption.selectedvalueradioGroup.name" id="optionsRadios2{{$index}}" name="optionsRadio2{{$index}}" value="fixedValue">
<i class="skin"></i>
<span>Fixed Value</span>
</label>
</div>
</td>
- <td><input type="text" name="defaultValue" ng-model="fixedValue.value" class="colTableInput"></td>
+ <td><input type="text" name="defaultValue" ng-model="drillDownOption.fixedValue.value" class="colTableInput"></td>
</tr>
- <tr ng-show="childReportFF.length>0">
+ <tr ng-show="childReportCol.length>0">
<td>
<div class="form-row" role="radio" style="margin-top:0px;">
- <label for="optionsRadios333333" class="radio">
- <input type="radio" ng-model="selectedvalueradioGroup.name" id="optionsRadios333333" name="optionsRadio11" value="reportCol">
+ <label for="optionsRadios3{{$index}}" class="radio">
+ <input type="radio" ng-model="drillDownOption.selectedvalueradioGroup.name" id="optionsRadios3{{$index}}" name="optionsRadio3{{$index}}" value="reportCol">
<i class="skin"></i>
<span>Value of Column</span>
</div>
</td>
<td>
- <select name="childReportColumn" b2b-dropdown ng-model="selectedChildReportColumn.value" placeholder-text="Select">
+ <select name="childReportColumn" b2b-dropdown ng-model="drillDownOption.selectedChildReportColumn.value" placeholder-text="Select">
<option b2b-dropdown-list option-repeat="d in childReportCol" value="{{d.id}}">{{d.name}}</option>
</select>
</td>
@@ -93,46 +78,23 @@
<tr ng-show="childReportFF.length>0">
<td>
<div class="form-row" role="radio" style="margin-top:0px;">
- <label for="optionsRadios444444" class="radio">
- <input type="radio" ng-model="selectedvalueradioGroup.name" id="optionsRadios444444" name="optionsRadio11" value="reportFF">
+ <label for="optionsRadios4{{$index}}" class="radio">
+ <input type="radio" ng-model="drillDownOption.selectedvalueradioGroup.name" id="optionsRadios4{{$index}}" name="optionsRadio4{{$index}}" value="reportFF">
<i class="skin"></i>
<span>Value of Form Field</span>
</div>
</td>
<td>
- <select name="childReportFormField" b2b-dropdown ng-model="selectedChildReportFormField.value" placeholder-text="Select">
+ <select name="childReportFormField" b2b-dropdown ng-model="drillDownOption.selectedChildReportFormField.value" placeholder-text="Select">
<option b2b-dropdown-list option-repeat="d in childReportFF" value="{{d.id}}">{{d.name}}</option>
</select>
</td>
</tr>
- <tr ng-show="childReportFF.length>0">
- <td>
- <div class="form-row" role="radio" style="margin-top:0px;">
- <label for="optionsRadios5555" class="radio">
- <input type="radio" ng-model="selectedvalueradioGroup.name" id="optionsRadios5555" name="optionsRadio11" value="valueSet" required>
- <i class="skin"></i>
- <span>Value Set</span>
- </label>
- </div>
- </td>
- <td style="margin-top:10px;">
- <p>Pass the value of the selected column if not empty, otherwise pass the value of the selected form field</p>
- </td>
- </tr>
+
</fieldset>
- <tr>
- <td colspan="2">
- <h2>Parameter values not to be passed to the drill-down report</h2>
- </td>
- </tr>
-
- <tr>
- <td class="colTableLeftColumn">Suppress Values</td>
- <td><input type="text" name="suppressValue" ng-model="suppressValues.value" class="colTableInput"></td>
- </tr>
</tbody>
</table>
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-reports/report-run.html b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-reports/report-run.html
index 70b24925..e5a04a1c 100644
--- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-reports/report-run.html
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-reports/report-run.html
@@ -80,7 +80,7 @@ body {
<br><br>
<button type="submit" style="width: 90px; height:35px;margin-top:20px; margin-left:5px;" class="btn btn-alt btn-small" ng-click="runReport()">Run</button>
</form>
- <a type="submit" ng-show="showBackButton" style="margin: 10px" ng-href="report.htm#/report_run/{{parentReportUrlParams}}" att-button btn-type="primary" size="small" title='Back'>Back</a>
+ <button type="submit" ng-show="showBackButton" style="width: 90px; height:35px;margin-top:20px; margin-left:5px;" class="btn btn-alt btn-small" ng-click="backToParentReport()">Back</button>
<iframe id="chartiframe" ng-show="showChart" width="100%" height="450px" style="border: none" scrolling="no"></iframe>
<div id="errorDiv"></div>
<div ng-if="showGrid">