2ccdf2af2f0946ab20d4a37f88ea3c7c6b85979c
[portal/sdk.git] /
1 <script type="text/ng-template" id="edit_menu_item_popup.html">
2
3           <div class="modal__informative font-showcase" style="width:1100px;">
4             <div class="modal__header">
5                 <h2 class="font-showcase-font-name" style="width: 500px;">{{label}}</h2>
6             </div>
7             <div class="divider-container"><hr> </div>
8                               
9             <div class="modal__content" > 
10                                 <table>
11                                         <tr>
12                                                 <td>
13                                                         <div class="fn-ebz-container" >
14                                                                 <label class="fn-ebz-text-label"><sup><b>*</b></sup>Label:</label><br>
15                                                                 <input id="popupAddMenuItemLabel" type="text" class="fn-ebz-text" ng-model="addFnMenuItem.label" maxlength="30" /> 
16                                                         </div>
17                                                 </td>
18                                                 <td>
19                                                         <div class="fn-ebz-container" style = "display:none" >
20                                                                 <label class="fn-ebz-text-label"><sup><b>*</b></sup>Parent:</label><br>
21                                                                 <input id="popupAddMenuItemParentId" type="text" class="fn-ebz-text" ng-model="addFnMenuItem.parentId" ng-disabled="disableParentId" maxlength="30" /> 
22                                                         </div>
23                                                         <div class="fn-ebz-container" ng-init="getParentData();">
24                                                                 <form name="parentListForm">
25                                                         <label class="fn-ebz-text-label" for="parentSelect"><sup><b>*</b></sup>Parent:</label><br>
26                                                         <select class="form-field" name="parentSelect" id="parentSelect" ng-model="addFnMenuItem.parentId">
27                                                                 <option>{{getParentLabel(addFnMenuItem.parentId, parentListSelectData)}}</option>
28                                                         <option ng-repeat="option in parentListSelectData" value="{{option[0]}}" "{{(addFnMenuItem.parentId===option[0]) ? 'selected' : '' }}">{{option[1]}}</option>
29                                                         </select>
30                                                                 </form>
31                                                         </div>
32                                                 </td>
33                                                 <td>
34                                                         <div class="fn-ebz-container" >
35                                                                 <label class="fn-ebz-text-label"><sup><b>*</b></sup>Sort Order:</label><br>
36                                                                 <input id="popupAddMenuItemSortOrder" type="text" class="fn-ebz-text" ng-model="addFnMenuItem.sortOrder" ng-disabled="disableSortOrder" maxlength="30" /> 
37                                                         </div>
38                                                 </td>
39                                                 <td>
40                                                         <div class="fn-ebz-container" >
41                                                                 <label class="fn-ebz-text-label"><sup><b>*</b></sup>Action:</label><br>
42                                                                 <input id="popupAddMenuItemAction" type="text" class="fn-ebz-text" ng-model="addFnMenuItem.action" ng-disabled="disableAction" maxlength="30" /> 
43                                                 </div>
44                                                 </td>           
45                                         </tr>
46                                         
47                                         <tr>
48                                                 <td>
49                                                         <div class="fn-ebz-container" ng-init="getFunctionCDselectData();">
50                                                                 <form name="functionCDform">
51                                                         <label class="fn-ebz-text-label" for="repeatSelect"><sup><b>*</b></sup>Function:</label><br>
52                                                         <select class="form-field" name="repeatSelect" id="repeatSelect" ng-model="addFnMenuItem.functionCd">
53                                                                 <option>{{addFnMenuItem.functionCd}}</option>
54                                                         <option ng-repeat="option in functionCDselectData" value="{{option}}" >{{option}}</option>
55                                                         </select>
56                                                                 </form>
57                                                         </div>
58                                                 </td>
59                                                 <td>
60                                                 <div class="fn-ebz-container">
61                                                                 <label class="fn-ebz-text-label"><sup><b>*</b></sup>Active:</label><br>
62                                                                 <select class="form-field" name="selectActive" ng-model="addFnMenuItem.active">
63                                                                 <option ng-repeat="active in activeStatusOptions" value="{{active.value}}" ng-selected="{{active.value}}=={{addFnMenuItem.active}}" >{{active.title}}</option>
64                                                                 </select>
65                                                         </div>
66                                                 </td>
67                                                 <td>
68                                                         <div class="fn-ebz-container" >
69                                                                 <label class="fn-ebz-text-label"><sup><b></b></sup>Servlet:</label><br>
70                                                                 <input id="popupAddMenuItemServlet" type="text" class="fn-ebz-text" ng-model="addFnMenuItem.servlet" ng-disabled="disableServlet" maxlength="30" /> 
71                                                         </div>
72                                                 </td>
73                                                 <td>
74                                                         <div class="fn-ebz-container" >
75                                                                 <label class="fn-ebz-text-label"><sup><b></b></sup>Query String:</label><br>
76                                                                 <input id="popupAddMenuItemQueryString" type="text" class="fn-ebz-text" ng-model="addFnMenuItem.queryString" ng-disabled="disableQueryString" maxlength="30" /> 
77                                                         </div>
78                                                 </td>
79                                         </tr>
80                                         
81                                         <tr>
82                                                 <td>
83                                                         <div class="fn-ebz-container" >
84                                                                 <label class="fn-ebz-text-label"><sup><b></b></sup>External URL:</label><br>
85                                                                 <input id="popupAddMenuItemExternalUrl" type="text" class="fn-ebz-text" ng-model="addFnMenuItem.externalUrl" ng-disabled="disableExternalUrl" maxlength="30" /> 
86                                                         </div>
87                                                 </td>
88                                                 <td>
89                                                         <div class="fn-ebz-container" >
90                                                                 <label class="fn-ebz-text-label"><sup><b></b></sup>Target:</label><br>
91                                                                 <input id="popupAddMenuItemTarget" type="text" class="fn-ebz-text" ng-model="addFnMenuItem.target" ng-disabled="disableTarget" maxlength="30" /> 
92                                                         </div>
93                                                 </td>
94                                                 <td>
95                                                         <div class="fn-ebz-container" >
96                                                                 <label class="fn-ebz-text-label"><sup><b>*</b></sup>Menu Set Code:</label><br>
97                                                                 <input id="popupAddMenuItemMenuSetCode" type="text" class="fn-ebz-text" ng-model="addFnMenuItem.menuSetCode" ng-disabled="disableMenuSetCode" maxlength="30" /> 
98                                                         </div>
99                                                 </td>
100                                                 <td>
101                                                         <div class="fn-ebz-container" >
102                                                                 <label class="fn-ebz-text-label"><sup><b>*</b></sup>Separator:</label><br>
103                                                                 <select class="form-field" name="select" ng-model="addFnMenuItem.separator">
104                                                                 <option ng-repeat="separator in separatorStatusOptions" value="{{separator.value}}" ng-selected="{{separator.value}}=={{addFnMenuItem.separator}}" >{{separator.title}}</option>
105                                                                 </select>
106                                                         </div>
107                                                 </td>
108                                         </tr>
109                                         
110                                         <tr>
111                                                 <td>
112                                                         <div class="fn-ebz-container" >
113                                                                 <label class="fn-ebz-text-label"><sup><b></b></sup>Image Source:</label><br>
114                                                                 <input id="popupAddMenuItemImageSrc" type="text" class="fn-ebz-text" ng-model="addFnMenuItem.imageSrc" ng-disabled="disableImageSrc" maxlength="30" /> 
115                                                         </div>
116                                                 </td>
117                                         </tr>
118                                 </table>
119             </div>
120                 <button class="button button--primary button--small" herf="javascript:void(0)" ng-click="updateFnMenu(addFnMenuItem);">Save</button>
121                                 <button class="button button--primary button--small" herf="javascript:void(0)" ng-click="close()">Close</button>
122                         <!--
123             <div class="modal__footer">
124             </div>
125                         -->
126         </div>
127 </script>
128
129