1 <script type="text/ng-template" id="edit_menu_item_popup.html">
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>
7 <div class="divider-container"><hr> </div>
9 <div class="modal__content" >
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" />
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" />
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>
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" />
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" />
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>
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>
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" />
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" />
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" />
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" />
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" />
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>
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" />
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>
123 <div class="modal__footer">