2 ================================================================================
\r
4 ================================================================================
\r
5 Copyright (C) 2017 AT&T Intellectual Property
\r
6 ================================================================================
\r
7 Licensed under the Apache License, Version 2.0 (the "License");
\r
8 you may not use this file except in compliance with the License.
\r
9 You may obtain a copy of the License at
\r
11 http://www.apache.org/licenses/LICENSE-2.0
\r
13 Unless required by applicable law or agreed to in writing, software
\r
14 distributed under the License is distributed on an "AS IS" BASIS,
\r
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
16 See the License for the specific language governing permissions and
\r
17 limitations under the License.
\r
18 ================================================================================
\r
20 <div class="user-notification-details-modal">
\r
21 <!--<div class="functional-menu-container">-->
\r
22 <div id="app-title" class="title">{{modalPgTitle}}</div>
\r
23 <div class="user-notification-details-contents">
\r
24 <div class="left-container">
\r
25 <div class="add-widget-field" style="{{isEditMode? 'opacity : 0.6; pointer-events: none;':' '}} ">
\r
26 <div class="user-notif-label">Broadcast to All Categories</div>
\r
27 <label id="label-yes" class="simulateCatGridHeaderRadioButton"> <input
\r
28 id="radio-button-yes" type="radio" ng-model="isForAllRoles" value="Y"> Yes
\r
29 </label> <label id="label-no" class="simulateCatGridHeaderRadioButton"> <input
\r
30 id="radio-button-no" type="radio" ng-model="isForAllRoles" value="N"> No
\r
34 style="padding-left: 10px; {{(! isForAllRoles ||isForAllRoles=='Y')? 'opacity : 0.6; pointer-events: none;':' '}} {{isEditMode? 'opacity : 0.6;':' '}} "
\r
35 class="user-notif-label">
\r
36 <div id="notifcation-label-user" class="user-notif-label">
\r
37 <span ng-show="isForAllRoles=='N'" runat="server" ID="required" style="color: Red;">*</span>
\r
42 <div id="notifcation-label-user-div" class="user-notif-label"></div>
\r
43 <label id="funcMenu-label-yes" > <input id="radio-button-funcMenu"
\r
44 type="radio" ng-model="isFunctionalMenu" ng-click="getFunctionalMenu()" value="Y"> Functional Menu
\r
46 </label> <label id="approles-label-no" > <input id="radio-button-approles"
\r
47 type="radio" ng-model="isFunctionalMenu" ng-click="getAppRoleIds()" value="N"> Application Roles
\r
50 <div id="approles-checkbox" ng-show="!checkBoxObj.isAnyRoleSelected&&(isForAllRoles=='N')&&(!isEditMode)">
\r
52 <div id="approles-checkbox-required" ng-show="!checkBoxObj.isAnyRoleSelected" >
\r
55 <small class="checkbox-categories">At least
\r
56 one category is required</small>
\r
64 <div id="Service_Creation"></div>
\r
68 id="jq-tree-div" jq-tree-user-notif ></div>
\r
72 <script type="text/ng-template" id="jq-tree-tmpl-user-notif.html">
\r
73 <div id="jqTreeUserNotif" class="tree"></div>
\r
78 <div id="add-user-notif-priority" class="add-widget-field" style="{{isEditMode? 'opacity : 0.6; pointer-events: none;':' '}} ">
\r
79 <div id="user-notification-priority-label" class="user-notif-label">Priority</div>
\r
80 <label id="label-important" class="simulateCatGridHeaderRadioButton"> <input
\r
81 id="radio-button-normal" type="radio" ng-model="selectedPriority" value="1"> Normal
\r
82 </label> <label id="label-normal" class="simulateCatGridHeaderRadioButton"> <input
\r
83 id="radio-button-important" type="radio" ng-model="selectedPriority" value="2">
\r
89 <div id="app-conatiner-right" class="right-container">
\r
91 <div id="add-user-notif-startdate" class="add-widget-field"
\r
92 style="padding-bottom: 12px; width: 301px !important;{{( isEditMode )? 'opacity : 0.6; pointer-events: none;':' '}}">
\r
93 <div id="user-notification-startdate-label" class="user-notif-label">
\r
94 <div class="user-notif-label">
\r
95 <span runat="server" ID="required" style="color: Red;">*</span>
\r
96 Start Date (Local Time)
\r
98 <input class="notif-input-calendar" id="datepicker-start" type="text"
\r
99 ng-model="startTime" b2b-datepicker min="minDate" max="maxDate"
\r
101 <div id="user-startdate-required" ng-show="!startTime">
\r
102 <small class="mandatory-categories">Start Date is Required</small>
\r
105 <div ng-show="!isEditMode" ng-init="formatStartDate()"></div>
\r
108 <div id="add-user-notif-enddate" class="add-widget-field"
\r
109 style="padding-bottom: 12px; width: 301px !important; {{( isEditMode )? 'opacity : 0.6; pointer-events: none;':' '}}">
\r
110 <div id="user-notification-enddate-label" class="user-notif-label">
\r
111 <span runat="server" ID="required" style="color: Red;">*</span> End Date (Local Time)
\r
113 <input class="notif-input-calendar" type="text" id="datepicker-end"
\r
114 ng-model="endTime" b2b-datepicker min="minDate" max="maxDate"
\r
116 <div id="user-enddate-required" ng-show="!endTime" >
\r
117 <small class="mandatory-categories">End Date is Required</small>
\r
119 <div id="user-enddate-error" ng-show="endTime&&startTime&&startTime.getTime()>=endTime.getTime()" style="color: #cf2a2a; font-size: 10px;">
\r
120 <small style="position: absolute;">End Date must be greater than start Date</small>
\r
122 <div ng-show="!isEditMode" ng-init="formatEndDate()" ></div>
\r
125 <div id="add-user-notif-title" class="add-widget-field"
\r
126 style="padding-bottom: 12px; {{( isEditMode )? 'opacity : 0.6; pointer-events: none;':' '}}">
\r
127 <div id="user-notification-title-label" class="user-notif-label">
\r
128 <span runat="server" ID="required" style="color: Red;"
\r
129 visible="false"> *</span> Title
\r
131 <textarea id="add-notification-input-title" class="notif-input" ng-model="msgHeader" name="content" style="height: 50px;">
\r
133 <div id="user-title-required" ng-show="msgHeader.length == 0">
\r
134 <small class="mandatory-categories">Title is Required</small>
\r
138 <div id="add-user-notif-message" class="add-widget-field"
\r
139 style="padding-bottom: 12px; {{( isEditMode )? 'opacity : 0.6; pointer-events: none;':' '}}">
\r
140 <div id="user-notif-message-label" class="user-notif-label">
\r
141 <span runat="server" ID="required" style="color: Red;"
\r
142 visible="false"> *</span> Message
\r
144 <textarea id="user-notif-input-message" class="notif-input" style="height: 150px"
\r
145 ng-model="msgDescription" name="content">
\r
147 <div id="user-notif-message-required" ng-show="msgDescription.length ==0 ">
\r
148 <small class="mandatory-categories">Message is Required</small>
\r
152 <div class="dialog-control">
\r
153 <a ng-show="!isEditMode">
\r
154 <button id="button-notification-save" class="btn btn-alt btn-small" size="small" ng-disabled="addUserNotificationValidation()"
\r
155 ng-click="addUserNotification()">Save</button></a>
\r
156 <button id="button-notification-cancel" class="btn btn-alt btn-small" ng-click="closeThisDialog()" role="button" tabindex="0">Cancel</button>
\r