blob: 3bdfed1779415598a45931a15d4f80b95568615a [file] [log] [blame]
@(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>
}