Initial OpenECOMP policy/engine commit
[policy/engine.git] / ecomp-sdk-app / src / main / webapp / app / fusion / scripts / view-models / profile-page / broadcast.html
1 <!--
2   ================================================================================
3   eCOMP Portal SDK
4   ================================================================================
5   Copyright (C) 2017 AT&T Intellectual Property
6   ================================================================================
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10   
11        http://www.apache.org/licenses/LICENSE-2.0
12   
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18   ================================================================================
19   -->
20 <div style="width:80%;margin-bottom:20px">
21                 <br/>
22               <h1 class="heading1">Broadcast Message Edit</h1>
23             <br/>
24                 
25                 <div ng-controller="broadcastController" >    
26                                  Please edit the broadcast message details below:&nbsp;<br><br>
27                         <div class="fn-ebz-container" >
28                                 <label class="fn-ebz-text-label"><sup><b>*</b></sup>Message Text:</label><BR>
29                                 <textarea name="comment" ng-model="broadcastMessage.messageText" rows="5" cols="200" style="height:100px"></textarea>
30                         </div>
31                         <br>
32                         <div class="fn-ebz-container" >
33                                   <label class="fn-ebz-text-label"><sup><b>*</b></sup>Start Date:</label><BR>
34                                   <input type="hidden" name="startDateHidden" ng-model="broadcastMessage.startDate">
35                                   <input type="text" class="fn-ebz-text" id="startDatepicker" />
36                         </div>
37                         
38                         <div class="fn-ebz-container" style="margin-left:3em" >
39                                   <label class="fn-ebz-text-label"><sup><b>*</b></sup>End Date:</label><BR>
40                                   <input type="hidden" name="endDateHidden" ng-model="broadcastMessage.endDate">
41                                   <input type="text" class="fn-ebz-text" id="endDatepicker" />
42                         </div>
43                 
44                         <div class="fn-ebz-container" style="margin-left:3em"  >
45                                 <label class="fn-ebz-text-label"><sup><b>*</b></sup>Sort Order:</label><BR>
46                                 <input type="text" class="fn-ebz-text" ng-model="broadcastMessage.sortOrder"
47                                         maxlength="30" /> 
48                         </div>
49                  
50                         <div class="fn-ebz-container" style="margin-left:1em" > 
51                                                 <label  class="fn-ebz-text-label">Server:</label><BR>
52                                                 <div class="form-field" att-select="broadcastSites" ng-model="broadcastMessage.siteCd"></div>
53                                 </div>
54                           
55                                 <br>
56                         <div align="left" >
57                                 <button type="submit" ng-click="save();" att-button     btn-type="primary" size="small">Save</button>
58                                 <button class="button button--information button--small" herf="javascript:void(0)" ng-click="close();">Cancel</button>
59                         </div>
60                 </div>
61 </div>