Revision 5311
Added by daigle over 14 years ago
scheduleWorkflowRun.jsp | ||
---|---|---|
41 | 41 |
<head> |
42 | 42 |
<title>Sanparks TPC Report Search</title> |
43 | 43 |
<link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/sanparks/sanparks.css"/> |
44 |
<link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/sanparks/sanparks-tpc.css"/> |
|
44 | 45 |
<link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/sanparks/sanparks-scheduled-jobs.css"/> |
45 | 46 |
<link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/sanparks/header2.css"/> |
46 | 47 |
<link rel="stylesheet" type="text/css" href="<%=STYLE_SKINS_URL%>/sanparks/left-nav2.css"/> |
... | ... | |
53 | 54 |
<script language="JavaScript" type="text/JavaScript" src="<%=STYLE_COMMON_URL%>/ajax-utils.js"></script> |
54 | 55 |
<script language="JavaScript" type="text/JavaScript" src="<%=STYLE_COMMON_URL%>/scheduleWorkflow.js"></script> |
55 | 56 |
</head> |
56 |
<body class="main-section" onload="getWorkflowRunSection('<%=SERVLET_URL%>','<%=request.getParameter("workflowid")%>','<%=request.getParameter("workflowname")%>','workflow-run-content')"> |
|
57 |
<jsp:include page="header2.jsp"/> |
|
58 |
|
|
59 |
<!-- Main content --> |
|
60 |
<jsp:include page="left-nav2.jsp"/> |
|
57 |
<body onload="getWorkflowRunSection('<%=SERVLET_URL%>','<%=request.getParameter("workflowid")%>','<%=request.getParameter("workflowname")%>','workflow-run-content')"> |
|
58 |
<table class="page-section" cellpadding="0" cellspacing="0" border="0"> |
|
59 |
<tr> |
|
60 |
<td> |
|
61 |
<jsp:include page="header2.jsp"/> |
|
62 |
</td> |
|
63 |
</tr> |
|
64 |
<tr> |
|
65 |
<td> |
|
66 |
<table class="center-content-section" cellpadding="0" cellspacing="0" border="0"> |
|
67 |
<tr> |
|
68 |
<td class="left-nav-section"> |
|
69 |
<!-- Main content --> |
|
70 |
<jsp:include page="left-nav2.jsp"/> |
|
71 |
</td> |
|
61 | 72 |
|
62 |
<div class=content-section>
|
|
63 |
<div class="content-subsection" id="workflow-summary-section"> |
|
73 |
<td class="schedule-section">
|
|
74 |
<div class="content-subsection" id="workflow-summary-section">
|
|
64 | 75 |
<% |
65 |
if (! hasSchedulePermissions) { |
|
76 |
if (! hasSchedulePermissions) {
|
|
66 | 77 |
%> |
67 |
<div class="warning-header">You have view permissions only for this workflow</div> |
|
78 |
<div class="warning-header">You have view permissions only for this workflow</div>
|
|
68 | 79 |
<% |
69 |
} |
|
80 |
}
|
|
70 | 81 |
%> |
71 |
<div class="content-subsection-header">Workflow Summary</div> |
|
72 |
<div class="form-input-row" id="form-base-row"> |
|
73 |
<div class="summary-field" id='workflow-name-label' >Name: </div> |
|
82 |
<div class="content-subsection-header">Workflow Summary</div>
|
|
83 |
<div class="form-input-row" id="form-base-row">
|
|
84 |
<div class="summary-field" id='workflow-name-label' >Name: </div>
|
|
74 | 85 |
<% |
75 |
if (request.getParameter("workflowname") != null) { |
|
86 |
if (request.getParameter("workflowname") != null) {
|
|
76 | 87 |
%> |
77 |
<div class="summary-value" id='workflow-name-value' ><%=request.getParameter("workflowname")%></div> |
|
88 |
<div class="summary-value" id='workflow-name-value' ><%=request.getParameter("workflowname")%></div>
|
|
78 | 89 |
<% |
79 |
} |
|
90 |
}
|
|
80 | 91 |
%> |
81 |
<br> |
|
82 |
<div class="summary-field" id='workflow-lsid-label' >LSID: </div> |
|
92 |
<br>
|
|
93 |
<div class="summary-field" id='workflow-lsid-label' >LSID: </div>
|
|
83 | 94 |
<% |
84 |
if (request.getParameter("workflowid") != null) { |
|
95 |
if (request.getParameter("workflowid") != null) {
|
|
85 | 96 |
%> |
86 |
<div class="summary-value" id='workflow-lsid-value' ><%=request.getParameter("workflowid")%></div> |
|
97 |
<div class="summary-value" id='workflow-lsid-value' ><%=request.getParameter("workflowid")%></div>
|
|
87 | 98 |
<% |
88 |
if (hasSchedulePermissions) { |
|
99 |
if (hasSchedulePermissions) {
|
|
89 | 100 |
%> |
90 |
(<jsp:text><![CDATA[<a href=./workflowAccess.jsp?workflowid=]]></jsp:text><jsp:expression>request.getParameter("workflowid")</jsp:expression><jsp:text><![CDATA[&workflowname=]]></jsp:text><jsp:expression>request.getParameter("workflowname")</jsp:expression><jsp:text><![CDATA[>Change Access Permissions</a>]]></jsp:text>) |
|
91 |
|
|
101 |
(<jsp:text><![CDATA[<a href=./workflowAccess.jsp?workflowid=]]></jsp:text><jsp:expression>request.getParameter("workflowid")</jsp:expression><jsp:text><![CDATA[&workflowname=]]></jsp:text><jsp:expression>request.getParameter("workflowname")</jsp:expression><jsp:text><![CDATA[>Change Access Permissions</a>]]></jsp:text>) |
|
92 | 102 |
<% |
93 |
} |
|
94 |
} |
|
103 |
}
|
|
104 |
}
|
|
95 | 105 |
%> |
96 |
</div> |
|
97 |
</div> |
|
98 |
<div class="content-subsection" id="schedule-section"> |
|
99 |
<div class="content-subsection-header">Schedule Workflow </div> |
|
100 |
<form action="<%=SERVLET_URL%>" name="workflowScheduler" id="workflowScheduler"> |
|
101 |
<input name="qformat" value="sanparks" type="hidden" /> |
|
102 |
<input name="action" value="scheduleWorkflow" type="hidden" /> |
|
103 |
<input name="forwardto" value="scheduleWorkflowRun.jsp" type="hidden" /> |
|
106 |
</div>
|
|
107 |
</div>
|
|
108 |
<div class="content-subsection" id="schedule-section">
|
|
109 |
<div class="content-subsection-header">Schedule Workflow </div>
|
|
110 |
<form action="<%=SERVLET_URL%>" name="workflowScheduler" id="workflowScheduler">
|
|
111 |
<input name="qformat" value="sanparks" type="hidden" />
|
|
112 |
<input name="action" value="scheduleWorkflow" type="hidden" />
|
|
113 |
<input name="forwardto" value="scheduleWorkflowRun.jsp" type="hidden" />
|
|
104 | 114 |
<% |
105 |
if (request.getParameter("workflowid") != null) { |
|
115 |
if (request.getParameter("workflowid") != null) {
|
|
106 | 116 |
%> |
107 |
<input name='workflowid' value='<%=request.getParameter("workflowid")%>' type='hidden' /> |
|
117 |
<input name='workflowid' value='<%=request.getParameter("workflowid")%>' type='hidden' />
|
|
108 | 118 |
<% |
109 |
} |
|
110 |
if (request.getParameter("karid") != null) { |
|
119 |
}
|
|
120 |
if (request.getParameter("karid") != null) {
|
|
111 | 121 |
%> |
112 |
<input name='karid' value='<%=request.getParameter("karid")%>' type='hidden' /> |
|
122 |
<input name='karid' value='<%=request.getParameter("karid")%>' type='hidden' />
|
|
113 | 123 |
<% |
114 |
} |
|
115 |
if (request.getParameter("workflowname") != null) { |
|
124 |
}
|
|
125 |
if (request.getParameter("workflowname") != null) {
|
|
116 | 126 |
%> |
117 |
<input name='workflowname' value='<%=request.getParameter("workflowname")%>' type='hidden' /> |
|
127 |
<input name='workflowname' value='<%=request.getParameter("workflowname")%>' type='hidden' />
|
|
118 | 128 |
<% |
119 |
} |
|
129 |
}
|
|
120 | 130 |
%> |
121 |
<div class="form-input-row"> |
|
122 |
<div class="field-label" id='start-time-label' >Start Time: </div> |
|
123 |
<input class="date-input" name='starttime' id='starttime' /> |
|
124 |
<div class="field-suffix"><%= TimeZone.getDefault().getDisplayName(true, TimeZone.SHORT) %> (mm/dd/yyyy hh:mm:ss)</div> |
|
125 |
</div> |
|
126 |
<div class="form-input-row"> |
|
127 |
<div class="field-label" id='start-time-label' >End Time: </div> |
|
128 |
<input class="date-input" name='endtime' id='endtime' /> |
|
129 |
<div class="field-suffix"><%= TimeZone.getDefault().getDisplayName(true, TimeZone.SHORT) %> (mm/dd/yyyy hh:mm:ss)</div> |
|
130 |
</div> |
|
131 |
<div class="form-input-row"> |
|
132 |
<div class="field-label" id='interval-label' >Interval: </div> |
|
133 |
<input class="int-input" name='intervalvalue' id='intervalvalue' /> |
|
134 |
<select class="dropdown-input" name='intervalunit'> |
|
135 |
<!-- option name="seconds" value="sec">seconds</option --> |
|
136 |
<!-- option name="minutes" value="min">minutes</option --> |
|
137 |
<option name="hours" value="hour">hours</option> |
|
138 |
<option name="days" value="day">days</option> |
|
139 |
<option name="weeks" value="week">weeks</option> |
|
140 |
<option name="months" value="mon">months</option> |
|
141 |
</select> |
|
142 |
</div> |
|
143 |
<br> <br> |
|
144 |
<input class="submit-button" value="Schedule" type="submit" |
|
131 |
<div class="form-input-row">
|
|
132 |
<div class="field-label" id='start-time-label' >Start Time: </div>
|
|
133 |
<input class="date-input" name='starttime' id='starttime' />
|
|
134 |
<div class="field-suffix"><%= TimeZone.getDefault().getDisplayName(true, TimeZone.SHORT) %> (mm/dd/yyyy hh:mm:ss)</div>
|
|
135 |
</div>
|
|
136 |
<div class="form-input-row">
|
|
137 |
<div class="field-label" id='start-time-label' >End Time: </div>
|
|
138 |
<input class="date-input" name='endtime' id='endtime' />
|
|
139 |
<div class="field-suffix"><%= TimeZone.getDefault().getDisplayName(true, TimeZone.SHORT) %> (mm/dd/yyyy hh:mm:ss)</div>
|
|
140 |
</div>
|
|
141 |
<div class="form-input-row">
|
|
142 |
<div class="field-label" id='interval-label' >Interval: </div>
|
|
143 |
<input class="int-input" name='intervalvalue' id='intervalvalue' />
|
|
144 |
<select class="dropdown-input" name='intervalunit'>
|
|
145 |
<!-- option name="seconds" value="sec">seconds</option -->
|
|
146 |
<!-- option name="minutes" value="min">minutes</option -->
|
|
147 |
<option name="hours" value="hour">hours</option>
|
|
148 |
<option name="days" value="day">days</option>
|
|
149 |
<option name="weeks" value="week">weeks</option>
|
|
150 |
<option name="months" value="mon">months</option>
|
|
151 |
</select>
|
|
152 |
</div>
|
|
153 |
<br> <br>
|
|
154 |
<input class="submit-button" value="Schedule" type="submit"
|
|
145 | 155 |
<% |
146 |
if (! hasSchedulePermissions) {
|
|
156 |
if (! hasSchedulePermissions) {
|
|
147 | 157 |
%> |
148 |
disabled="disabled" |
|
158 |
disabled="disabled"
|
|
149 | 159 |
<% |
150 |
}
|
|
160 |
}
|
|
151 | 161 |
%> |
152 |
> |
|
153 |
</form> |
|
154 |
</div> |
|
155 |
<div class="content-subsection" id="workflow-run-section"> |
|
156 |
<div class="content-subsection-header">Workflow Run Schedule</div> |
|
157 |
<div class="workflow-run-content" id="workflow-run-content"></div> |
|
158 |
</div> |
|
159 |
</div> |
|
160 |
|
|
161 |
<!-- Footer Content --> |
|
162 |
<jsp:include page="footer2.jsp" /> |
|
162 |
> |
|
163 |
</form> |
|
164 |
</div> |
|
165 |
<div class="content-subsection" id="workflow-run-section"> |
|
166 |
<div class="content-subsection-header">Workflow Run Schedule</div> |
|
167 |
<div class="workflow-run-content" id="workflow-run-content"></div> |
|
168 |
</div> |
|
169 |
</td> |
|
170 |
</tr> |
|
171 |
<tr class="footer-content-section"> |
|
172 |
<td colspan="3"> |
|
173 |
<!-- Footer Content --> |
|
174 |
<jsp:include page="footer2.jsp" /> |
|
175 |
</td> |
|
176 |
</tr> |
|
177 |
</table> |
|
178 |
</td> |
|
179 |
</tr> |
|
180 |
</table> |
|
163 | 181 |
</body> |
164 | 182 |
</html> |
Also available in: Unified diff
Merge 1.9.2 changes back into the trunk