Initial OpenECOMP policy/engine commit
[policy/engine.git] / ecomp-sdk-app / src / main / webapp / app / fusion / scripts / view-models / workflows / workflow-schedule.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>
21         <div class="modal-header">
22                 <h3 class="modal-title">Workflow: {{workflowToSchedule.name}}</h3>
23                         <table style="width:60%">                       
24                         <tr><td>Workflow Key:</td> <td>{{workflowToSchedule.workflowKey}}</td></tr>
25                         <tr><td>Workflow Description:</td> <td>{{workflowToSchedule.description}}</td></tr>
26                         </table>
27         </div>
28
29         <div class="workflow-popup-body">
30                 <form name="workflowForm" class="css-form" novalidate>
31                 
32  <table>
33  <tr>
34           <form name="myForm">
35           <td>
36             <label for="singleSelect"> Recurrence: </label>
37             </td>
38             <td>
39 <div class="form-field" att-select="recurrenceOptions" ng-model="selectRecurrenceOpt" placeholder="Select an Option"></div>
40             <br>
41             </td>
42             <td>              </td>
43           </form>
44  </tr>
45 <tr>
46 <td>
47  
48 </td>
49 <td>
50 Pick a date:
51 </td>
52 <td>
53 Hour:
54 </td>
55 <td>
56 Minute:
57 </td>
58 </tr>
59  <tr>
60                 <td>
61                         <form name="FirstScheduleForm">
62                         <label for="dateSelect"> First Schedule: </label>
63                         </form>
64             </td>
65             <td>
66                         <!--DATEPICKER POPUP-->
67                         <input id="datepicker1" type="text" ng-model="dt" att-datepicker>
68             </td>
69             <td>
70             <div class="form-field" att-select="hours" ng-model="selectFirstHour" placeholder="Select an Option"></div>
71             </td>
72             <td>
73                 <div class="form-field" att-select="minutes" ng-model="selectFirstMinute" placeholder="Select an Option"></div>  
74             </td>
75 <!--            <td>
76                 <div class="form-field" att-select="AMPMOptions" ng-model="selectStartAMPMOption" placeholder="Select an Option"></div>  
77             </td> -->
78 </tr>           
79 <tr>
80                 <td>
81                         <form name="LastScheduleForm">
82                         <label for="dateSelect"> Last Schedule: </label>
83                         </form>
84             </td>
85             <td>
86                         <input id="datepicker2" type="text" ng-model="dt2" att-datepicker>
87             </td>
88             <td>
89             <div class="form-field" att-select="hours" ng-model="selectLastHour" placeholder="Select an Option"></div>  
90             </td>
91             <td>
92                 <div class="form-field" att-select="minutes" ng-model="selectLastMinute" placeholder="Select an Option"></div>  
93             </td>
94             :
95 <!--            <td>
96                 <div class="form-field" att-select="AMPMOptions" ng-model="selectLastAMPMOption" placeholder="Select an Option"></div>  
97             </td> -->
98
99  </tr>
100 <tr>
101 <!-- <td>
102         <input id="datepicker3" type="text" ng-model="dt3" date-format="datetimeformat" att-date-time-picker>
103 </td>
104  -->
105 </tr>
106
107 </table>
108                         <div class="modal-footer">
109                                 <a att-button btn-type="primary" ng-click="ok()">OK</a>
110                                 <a att-button btn-type="primary" ng-click="cancel()">Cancel</a>
111                         </div>
112                         
113                 </form>
114                 <br />
115         </div>
116 </div>