167defb71951bb58fe781414c35272364d8571e3
[portal/sdk.git] /
1 <div>
2         <div class="b2b-modal-header ng-scope">
3                 <h2 id="myModalLabel" modal-title="">{{label}}</h2>
4                 <div class="corner-button in">
5                         <button type="button" class="close" aria-label="Close"
6                                 ng-click="$dismiss('cancel')"></button>
7                 </div>
8         </div>
9         <div class="b2b-modal-body ng-scope ng-isolate-scope" tabindex="0"
10                 role="region" aria-label="Modal header text content">
11
12         <table>
13                 <tr>
14                         <td>
15                         
16                                 <div class="fn-ebz-container" >
17                                         <label class="fn-ebz-text-label"><sup><b>*</b></sup>Label:</label><br>
18                                         <input id="popupAddMenuItemLabel" type="text" class="fn-ebz-text" ng-model="addFnMenuItem.label" maxlength="30" /> 
19                                 </div>
20                         </td>
21                         <td>
22                                 <div class="fn-ebz-container" style = "display:none" >
23                                         <label class="fn-ebz-text-label"><sup><b>*</b></sup>Parent:</label><br>
24                                         <input id="popupAddMenuItemParentId" type="text" class="fn-ebz-text" ng-model="addFnMenuItem.parentId" ng-disabled="disableParentId" maxlength="30" /> 
25                                 </div>
26                                 <div class="fn-ebz-container" ng-init="getParentData();">
27                                                         <form name="parentListForm">
28                                                         <label class="fn-ebz-text-label" for="parentSelect"><sup><b>*</b></sup>Parent:</label><br>
29                                         <select name="select_projects" id="select_projects" ng-model="addFnMenuItem.parentIdAsString">
30                                 
31                                                 <optgroup label="" ng-repeat="header in childListSelectData">
32                                                         <option label="{{header.label}}" value="{{header.menuId}}" style="color:black;font-weight:bold;">{{header.label}}</option>      
33                                                                         <option  ng-repeat="child in header.children" value="{{child.menuId}}" ng-selected="child.menuId == addFnMenuItem.parentId">{{child.label}}</option>
34                                                 </optgroup>
35                                         </select>
36                                                         </form>
37                                 </div>
38                         </td>
39                         <td>
40                                 <div class="fn-ebz-container" >
41                                         <label class="fn-ebz-text-label"><sup><b>*</b></sup>Sort Order:</label><br>
42                                         <input id="popupAddMenuItemSortOrder" type="text" class="fn-ebz-text" ng-model="addFnMenuItem.sortOrder" ng-disabled="disableSortOrder" maxlength="30" /> 
43                                 </div>
44                         </td>
45                         <td>
46                                 <div class="fn-ebz-container" >
47                                         <label class="fn-ebz-text-label"><sup><b>*</b></sup>Action:</label><br>
48                                         <input id="popupAddMenuItemAction" type="text" class="fn-ebz-text" ng-model="addFnMenuItem.action" ng-disabled="disableAction" maxlength="200" /> 
49                         </div>
50                         </td>           
51                 </tr>
52                 <tr>
53                         <td>
54                                 <div class="fn-ebz-container" ng-init="getFunctionCDselectData();">
55                                                         <form name="functionCDform">
56                                                         <label class="fn-ebz-text-label" for="repeatSelect"><sup><b>*</b></sup>Function:</label><br>
57                                                         <select class="form-field" name="repeatSelect" id="repeatSelect" ng-model="addFnMenuItem.functionCd">
58                                         <option>{{addFnMenuItem.functionCd}}</option>
59                                                         <option ng-repeat="option in functionCDselectData" value="{{option}}" ng-selected="option==addFnMenuItem.functionCd">{{option}}</option>
60                                                         </select>
61                                                         </form>
62                                 </div>
63                         </td>
64                         <td>
65                         <div class="fn-ebz-container">
66                                         <label class="fn-ebz-text-label"><sup><b>*</b></sup>Active:</label><br>
67                                         <select class="form-field" name="selectActive" ng-model="addFnMenuItem.activeAsString" >
68                                                         <option ng-repeat="active in activeStatusOptions" value="{{active.value}}" ng-selected="{{active.value}} == {{addFnMenuItem.active}}" >{{active.title}}</option>
69                                         </select>
70                                 </div>
71                         </td>
72                         <td>
73                                 <div class="fn-ebz-container" >
74                                         <label class="fn-ebz-text-label"><sup><b></b></sup>Servlet:</label><br>
75                                         <input id="popupAddMenuItemServlet" type="text" class="fn-ebz-text" ng-model="addFnMenuItem.servlet" ng-disabled="disableServlet" maxlength="30" /> 
76                                 </div>
77                         </td>
78                         <td>
79                                 <div class="fn-ebz-container" >
80                                         <label class="fn-ebz-text-label"><sup><b></b></sup>Query String:</label><br>
81                                         <input id="popupAddMenuItemQueryString" type="text" class="fn-ebz-text" ng-model="addFnMenuItem.queryString" ng-disabled="disableQueryString" maxlength="30" /> 
82                                 </div>
83                         </td>
84                 </tr>
85                 <tr>
86                         <td>
87                                 <div class="fn-ebz-container" >
88                                         <label class="fn-ebz-text-label"><sup><b></b></sup>External URL:</label><br>
89                                         <input id="popupAddMenuItemExternalUrl" type="text" class="fn-ebz-text" ng-model="addFnMenuItem.externalUrl" ng-disabled="disableExternalUrl" maxlength="30" /> 
90                                 </div>
91                         </td>
92                         <td>
93                                 <div class="fn-ebz-container" >
94                                         <label class="fn-ebz-text-label"><sup><b></b></sup>Target:</label><br>
95                                         <input id="popupAddMenuItemTarget" type="text" class="fn-ebz-text" ng-model="addFnMenuItem.target" ng-disabled="disableTarget" maxlength="30" /> 
96                                 </div>
97                         </td>
98                         <td>
99                                 <div class="fn-ebz-container" >
100                                         <label class="fn-ebz-text-label"><sup><b>*</b></sup>Menu Set Code:</label><br>
101                                         <input id="popupAddMenuItemMenuSetCode" type="text" class="fn-ebz-text" ng-model="addFnMenuItem.menuSetCode" ng-disabled="disableMenuSetCode" maxlength="30" /> 
102                                 </div>
103                         </td>
104                         <td>
105                                 <div class="fn-ebz-container" >
106                                         <label class="fn-ebz-text-label"><sup><b>*</b></sup>Separator:</label><br>
107                                         <select class="form-field" name="select" ng-model="addFnMenuItem.separatorAsString">
108                                                         <option ng-repeat="separator in separatorStatusOptions" value="{{separator.value}}" ng-selected="{{separator.value}}=={{addFnMenuItem.separator}}" >{{separator.title}}</option>
109                                         </select>
110                                 </div>
111                         </td>
112                 </tr>
113                 
114                 <tr>
115                         <td>
116                                 <div class="fn-ebz-container" >
117                                         <label class="fn-ebz-text-label"><sup><b></b></sup>Image Source:</label><br>
118                                         <input id="popupAddMenuItemImageSrc" type="text" class="fn-ebz-text" ng-model="addFnMenuItem.imageSrc" ng-disabled="disableImageSrc" maxlength="30" /> 
119                                 </div>
120                         </td>
121                 </tr>
122         </table>
123         </div>
124         <div class="b2b-modal-footer ng-scope ng-isolate-scope">
125                 <div class="cta-button-group in">
126                         <button class="btn btn-alt btn-small" type="button"
127                                 ng-click="updateFnMenu(addFnMenuItem);">Save</button>
128                         <button class="btn btn-small" type="button"
129                                 ng-click="$dismiss('cancel')">Cancel</button>
130                 </div>
131         </div>
132 </div>
133
134
135
136