lib/mutx/view/results/console.mote in mutx-0.1.27 vs lib/mutx/view/results/console.mote in mutx-0.1.28
- old
+ new
@@ -70,12 +70,11 @@
<h6><b>Execution Name: </b>{{execution_name}}</h6>
<h6><b>Custom parameters:</b>{{custom_params}}</h6>
<h6> </h6>
<h6>
<div>
- <a href='#' class='label label-default' onclick='window.close();'>
- Close this window</a>
+ <a onclick="window.history.go(-1);" style="cursor:pointer;" class='label label-default' >GO BACK</a>
<a href='#' class='label label-info' onclick="window.open('/api/results/{{result.id}}', '_blank', 'toolbar=no, scrollbars=yes, resizable=yes, top=300, left=300, width=800, height=600');" class='btn btn-default'>
Result Data</a>
<a href='#' class='label label-warning' onclick="window.open('/api/results/{{result.id}}/data', '_blank', 'toolbar=no, scrollbars=yes, resizable=yes, top=300, left=300, width=800, height=600');" class='btn btn-default'>
Execution Data</a>
% unless result.status =~ /finished|stopped/
@@ -105,11 +104,11 @@
<button type='button' class='btn btn-default' title='Go up' onclick='goToTop()' style='float: right'><span class='glyphicon glyphicon-chevron-up' aria-hidden='true'></span> Go up</button><br><br>
% end
</div>
<br>
<div>
- <a href='#' class='label label-default' onclick='window.close();'>Close this window</a>
+ <a onclick="window.history.go(-1);" style="cursor:pointer;" class='label label-default' >GO BACK</a>
</div>
<br>
<br>
</div>
% else
@@ -117,11 +116,10 @@
<br>
<div id='well'>
<h3>There is no result with id: <b>{{result_id}}</b></h3>
</div>
<br>
- <a href='#' class='label label-default' onclick='window.close();'>
- Close this window</a>
+ <a onclick="window.history.go(-1);" style="cursor:pointer;" class='label label-default' >GO BACK</a>
</div>
% end
</body>
</html>
\ No newline at end of file