--- /dev/null
+<!--\r
+ ================================================================================\r
+ ECOMP Portal\r
+ ================================================================================\r
+ Copyright (C) 2017 AT&T Intellectual Property\r
+ ================================================================================\r
+ Licensed under the Apache License, Version 2.0 (the "License");\r
+ you may not use this file except in compliance with the License.\r
+ You may obtain a copy of the License at\r
+ \r
+ http://www.apache.org/licenses/LICENSE-2.0\r
+ \r
+ Unless required by applicable law or agreed to in writing, software\r
+ distributed under the License is distributed on an "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ See the License for the specific language governing permissions and\r
+ limitations under the License.\r
+ ================================================================================\r
+ -->\r
+<div class="user-notification-details-modal">\r
+ <!--<div class="functional-menu-container">-->\r
+ <div id="app-title" class="title">{{modalPgTitle}}</div>\r
+ <div class="user-notification-details-contents">\r
+ <div class="left-container">\r
+ <div class="add-widget-field" style="{{isEditMode? 'opacity : 0.6; pointer-events: none;':' '}} ">\r
+ <div class="user-notif-label">Broadcast to All Categories</div>\r
+ <label id="label-yes" class="simulateCatGridHeaderRadioButton"> <input\r
+ id="radio-button-yes" type="radio" ng-model="isForAllRoles" value="Y"> Yes\r
+ </label> <label id="label-no" class="simulateCatGridHeaderRadioButton"> <input\r
+ id="radio-button-no" type="radio" ng-model="isForAllRoles" value="N"> No\r
+ </label>\r
+ </div>\r
+ <div \r
+ style="padding-left: 10px; {{(! isForAllRoles ||isForAllRoles=='Y')? 'opacity : 0.6; pointer-events: none;':' '}} {{isEditMode? 'opacity : 0.6;':' '}} "\r
+ class="user-notif-label">\r
+ <div id="notifcation-label-user" class="user-notif-label">\r
+ <span ng-show="isForAllRoles=='N'" runat="server" ID="required" style="color: Red;">*</span>\r
+ Categories\r
+ </div>\r
+ <div>\r
+\r
+ <div id="notifcation-label-user-div" class="user-notif-label"></div>\r
+ <label id="funcMenu-label-yes" > <input id="radio-button-funcMenu"\r
+ type="radio" ng-model="isFunctionalMenu" ng-click="getFunctionalMenu()" value="Y"> Functional Menu\r
+ <br/>\r
+ </label> <label id="approles-label-no" > <input id="radio-button-approles"\r
+ type="radio" ng-model="isFunctionalMenu" ng-click="getAppRoleIds()" value="N"> Application Roles\r
+ </label>\r
+\r
+ <div id="approles-checkbox" ng-show="!checkBoxObj.isAnyRoleSelected&&(isForAllRoles=='N')&&(!isEditMode)">\r
+ \r
+ <div id="approles-checkbox-required" ng-show="!checkBoxObj.isAnyRoleSelected" >\r
+ \r
+\r
+ <small class="checkbox-categories">At least\r
+ one category is required</small>\r
+\r
+ </div>\r
+ </div>\r
+ \r
+ </div>\r
+ \r
+ <div id="tree1">\r
+ <div id="Service_Creation"></div>\r
+ </div>\r
+ <div \r
+ \r
+ id="jq-tree-div" jq-tree-user-notif ></div>\r
+\r
+ \r
+\r
+ <script type="text/ng-template" id="jq-tree-tmpl-user-notif.html">\r
+ <div id="jqTreeUserNotif" class="tree"></div>\r
+ </script>\r
+ </div>\r
+ <div>\r
+\r
+ <div id="add-user-notif-priority" class="add-widget-field" style="{{isEditMode? 'opacity : 0.6; pointer-events: none;':' '}} ">\r
+ <div id="user-notification-priority-label" class="user-notif-label">Priority</div>\r
+ <label id="label-important" class="simulateCatGridHeaderRadioButton"> <input\r
+ id="radio-button-normal" type="radio" ng-model="selectedPriority" value="1"> Normal\r
+ </label> <label id="label-normal" class="simulateCatGridHeaderRadioButton"> <input\r
+ id="radio-button-important" type="radio" ng-model="selectedPriority" value="2">\r
+ Important\r
+ </label>\r
+ </div>\r
+ </div>\r
+ </div>\r
+ <div id="app-conatiner-right" class="right-container">\r
+\r
+ <div id="add-user-notif-startdate" class="add-widget-field"\r
+ style="padding-bottom: 12px; width: 301px !important;{{( isEditMode )? 'opacity : 0.6; pointer-events: none;':' '}}">\r
+ <div id="user-notification-startdate-label" class="user-notif-label">\r
+ <div class="user-notif-label">\r
+ <span runat="server" ID="required" style="color: Red;">*</span>\r
+ Start Date (Local Time)\r
+ </div>\r
+ <input class="notif-input-calendar" id="datepicker-start" type="text" \r
+ ng-model="startTime" b2b-datepicker min="minDate" max="maxDate" \r
+ required />\r
+ <div id="user-startdate-required" ng-show="!startTime">\r
+ <small class="mandatory-categories">Start Date is Required</small>\r
+ </div>\r
+ </div>\r
+ <div ng-show="!isEditMode" ng-init="formatStartDate()"></div> \r
+ </div> \r
+\r
+ <div id="add-user-notif-enddate" class="add-widget-field"\r
+ style="padding-bottom: 12px; width: 301px !important; {{( isEditMode )? 'opacity : 0.6; pointer-events: none;':' '}}">\r
+ <div id="user-notification-enddate-label" class="user-notif-label">\r
+ <span runat="server" ID="required" style="color: Red;">*</span> End Date (Local Time)\r
+ </div>\r
+ <input class="notif-input-calendar" type="text" id="datepicker-end" \r
+ ng-model="endTime" b2b-datepicker min="minDate" max="maxDate" \r
+ required />\r
+ <div id="user-enddate-required" ng-show="!endTime" >\r
+ <small class="mandatory-categories">End Date is Required</small>\r
+ </div>\r
+ <div id="user-enddate-error" ng-show="endTime&&startTime&&startTime.getTime()>=endTime.getTime()" style="color: #cf2a2a; font-size: 10px;">\r
+ <small style="position: absolute;">End Date must be greater than start Date</small>\r
+ </div>\r
+ <div ng-show="!isEditMode" ng-init="formatEndDate()" ></div> \r
+ </div>\r
+\r
+ <div id="add-user-notif-title" class="add-widget-field"\r
+ style="padding-bottom: 12px; {{( isEditMode )? 'opacity : 0.6; pointer-events: none;':' '}}">\r
+ <div id="user-notification-title-label" class="user-notif-label">\r
+ <span runat="server" ID="required" style="color: Red;"\r
+ visible="false"> *</span> Title\r
+ </div>\r
+ <textarea id="add-notification-input-title" class="notif-input" ng-model="msgHeader" name="content" style="height: 50px;">\r
+ </textarea>\r
+ <div id="user-title-required" ng-show="msgHeader.length == 0">\r
+ <small class="mandatory-categories">Title is Required</small>\r
+ </div>\r
+ </div>\r
+ \r
+ <div id="add-user-notif-message" class="add-widget-field"\r
+ style="padding-bottom: 12px; {{( isEditMode )? 'opacity : 0.6; pointer-events: none;':' '}}">\r
+ <div id="user-notif-message-label" class="user-notif-label">\r
+ <span runat="server" ID="required" style="color: Red;"\r
+ visible="false"> *</span> Message\r
+ </div>\r
+ <textarea id="user-notif-input-message" class="notif-input" style="height: 150px"\r
+ ng-model="msgDescription" name="content">\r
+ </textarea>\r
+ <div id="user-notif-message-required" ng-show="msgDescription.length ==0 ">\r
+ <small class="mandatory-categories">Message is Required</small>\r
+ </div>\r
+ </div>\r
+\r
+ <div class="dialog-control">\r
+ <a ng-show="!isEditMode">\r
+ <button id="button-notification-save" class="btn btn-alt btn-small" size="small" ng-disabled="addUserNotificationValidation()"\r
+ ng-click="addUserNotification()">Save</button></a> \r
+ <button id="button-notification-cancel" class="btn btn-alt btn-small" ng-click="closeThisDialog()" role="button" tabindex="0">Cancel</button>\r
+ </div>\r
+ \r
+ </div>\r
+ </div>\r
+</div>\r