blob: 3e2a1a60a6aba3f46a2ae88177bf4330a08e9560 [file] [log] [blame]
@*******************************************************************************
* Licensed to the Apache Software Foundation (ASF) under one or more *
* contributor license agreements. See the NOTICE file distributed with *
* this work for additional information regarding copyright ownership. *
* The ASF licenses this file to You under the Apache License, Version 2.0 *
* (the "License"); you may not use this file except in compliance with *
* the License. You may obtain a copy of the License at *
* *
* http://www.apache.org/licenses/LICENSE-2.0 *
* *
* Unless required by applicable law or agreed to in writing, software *
* distributed under the License is distributed on an "AS IS" BASIS, *
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
* See the License for the specific language governing permissions and *
* limitations under the License. *
*******************************************************************************@
@(serviceLogs: List[metadata.ServiceLog])
@import helper._
@scripts = {
<script src='@routes.Assets.at("javascripts/edit_button.js")'></script>
}
@main("Result Service Logs", scripts){
@flash_message()
<h1>@serviceLogs.size() Service Logs Found</h1>
<table class="table table-striped table-bordered table-condensed tablesorter" id ="myTable3">
<thead>
<tr>
<th style = "vertical-align: top;" class="col-sm-4">Service Name</td>
<th style = "vertical-align: top;" class="col-sm-2">User Name</td>
<th style = "vertical-align: top;" class="col-sm-2">Purpose</td>
<th style = "vertical-align: top;" class="col-sm-2">Execution Start Time</td>
<th style = "vertical-align: top;" class="col-sm-2">Execution End Time</td>
<th style = "vertical-align: top;" class="col-sm-1">DataSet Start Time</td>
<th style = "vertical-align: top;" class="col-sm-1">DataSet End Time</td>
<th style = "vertical-align: top;" class="col-sm-1">Details</td>
</tr>
</thead>
@for(serviceLog <- serviceLogs) {
<tr>
<td><font size="2">@serviceLog.getServiceName</font></td>
<td><font size="2">@serviceLog.getUserId</font></td>
<td><font size="2">@serviceLog.getPurpose</font></td>
<td><font size="2">@serviceLog.getExecutionStartTime</font></td>
<td><font size="2">@serviceLog.getExecutionEndTime</font></td>
<td><font size="2">@serviceLog.getDataSetStartTime</font></td>
<td><font size="2">@serviceLog.getDataSetEndTime</font></td>
<td>
@form(routes.ClimateServiceController.getConfigurationByConfId()){
<input
name="serviceId" class="hidden" type="hidden"
value="@serviceLog.getServiceId">
<input
name="logId" class="hidden" type="hidden"
value="@serviceLog.getServiceConfigurationId">
<input
type="submit" value="see detail">
}
</td>
</tr>
}
</table>
}