fix close modal

This commit is contained in:
fanfuxiaoran 2014-04-21 17:50:38 +08:00
parent 755599e5aa
commit e624626951
1 changed files with 185 additions and 192 deletions

View File

@ -1,193 +1,186 @@
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
body {
padding-bottom: 40px;
}
.sidebar-nav {
padding: 9px 0;
}
</style>
<title>Bench4q 2013</title>
<link id="bs-css" href="lib/chrisma/css/bootstrap-cerulean.css"
rel="stylesheet">
<link href="lib/chrisma/css/charisma-app.css" rel="stylesheet">
<link
href="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.10/themes/redmond/jquery-ui.css"
rel="stylesheet">
<link href='css/result.css' rel='stylesheet'>
<link rel="shortcut icon" href="images/bench4q.png">
</head>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<body>
<fmt:bundle basename="i18n">
<jsp:include page="publiccontrol/navigatebar.jsp"></jsp:include>
<div class="container-fluid">
<div class="row-fluid">
<jsp:include page="publiccontrol/leftmenubar.jsp"></jsp:include>
<div id="content" class="span10 ">
<!-- content starts -->
<div>
<ul class="breadcrumb">
<li><a href="homepage.jsp"><fmt:message key="home" /></a> <span
class="divider">/</span></li>
<li><a href="test.jsp"><fmt:message key="creatatest" /></a><span
class="divider">/</span></li>
<li><a href="#"><fmt:message key="result" /></a></li>
</ul>
</div>
<div class="row-fluid" id="test">
<div class="span4 span-brief" id="status">
Test Status<br /> <br>
</div>
<div class="span4 span-brief" id="vu">
VUs active<br /> <br>
</div>
<div class="span4 span-brief-last" id="request">
Requests<br /> <br>
</div>
</div>
<div class="row-fluid">
<h4 class="pull-left">Charts</h4>
<div class="field-inline">
<button type="button" class="btn btn-primary " id="del-graph">Delete
Graph</button>
</div>
<div class="field-inline">
<button type="button" class="btn btn-primary " id="add-graph">Add
Graph</button>
</div>
</div>
<div class="app-container " id="chart"></div>
<div class="row-fluid">
<h4 class="pull-left">Pages</h4>
</div>
<div class="app-container">
<table id="page"
class="table table-striped table-bordered bootstrap-datatable datatable">
<thead>
<tr>
<th>Page</th>
<th>Script</th>
<th>Count</th>
<th>Test Min</th>
<th>Test Max</th>
<th>Average</th>
<th>Last</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<div class="row-fluid">
<h4 class="pull-left">Urls</h4>
</div>
<div class="app-container dataTables_wrapper">
<table id="url"
class="table table-striped table-bordered bootstrap-datatable datatable">
<thead>
<tr>
<th></th>
<th>URL</th>
<th>Script</th>
<th>Successful</th>
<th>Total</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<div class="app-container" id="url-distribution"></div>
</div>
</div>
</div>
<div class="modal hide fade" id="add-graph-modal">
<div class="modal-header">
<button type="button" id="myModal-close" class="close"
>×</button>
<h3>Add Graph</h3>
</div>
<div class="modal-body" id="add-graph-list"></div>
<div class="modal-footer">
<button type="button" class="btn btn-primary"
id="add-graph-add">add</button>
<button type="button" class="btn btn-primary">
cancel</button>
</div>
</div>
<div class="modal hide fade" id="del-graph-modal">
<div class="modal-header">
<button type="button" class="close" >x</button>
<h3>Delete Graph</h3>
</div>
<div class="modal-body" id="del-graph-list"></div>
<div class="modal-footer">
<button type="button" class="btn btn-primary"
id="del-graph-del">delete</button>
<button type="button" class="btn btn-primary" >
cancel</button>
</div>
</div>
<div class="modal hide fade" id="load">
<div class="modal-header">
<h3>Please wait,loading result data...</h3>
</div>
<div class="modal-body">
<div id="loading">
<div></div>
</div>
</div>
<div class="modal-footer">
<button type="button" id="cancelLoading" class="btn btn-primary"
>cancel</button>
</div>
</div>
<hr>
<jsp:include page="publiccontrol/footer.jsp"></jsp:include>
<script
src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-2.0.3.min.js"></script>
<script
src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.10.4/jquery-ui.min.js"></script>
<script src="lib/jqueryi18n/jquery.i18n.properties-1.0.9.js"></script>
<script src="lib/bootstrap/js/bootstrap-modal.js"></script>
<script
src="http://ajax.aspnetcdn.com/ajax/bootstrap/2.3.1/bootstrap.min.js"></script>
<script src="lib/chrisma/js/jquery.cookie.js"></script>
<script
src='http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/jquery.dataTables.js'></script>
<script src="lib/chrisma/js/theme.js"></script>
<script src="script/base.js"></script>
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="script/testResult/charts.js"></script>
<script src="script/testResult/testBriefResult.js"></script>
<script src="script/bench4q.table.js"></script>
<script src="script/testResult/behaviorAndPage.js"></script>
<script src="script/testResult/highChartTheme.js"></script>
<script src="script/testResult/result-tree.js"></script>
<script src="script/testResult/resultInfo.js"></script>
<script src="script/testResult/chartSelector.js"></script>
<script src="script/testResult/pieChart.js"></script>
<script src="script/testResult/result-load.js"></script>
<script src="script/testResult/result.js"></script>
</fmt:bundle>
</body>
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
body {
padding-bottom: 40px;
}
.sidebar-nav {
padding: 9px 0;
}
</style>
<title>Bench4q 2013</title>
<link id="bs-css" href="lib/chrisma/css/bootstrap-cerulean.css"
rel="stylesheet">
<link href="lib/chrisma/css/charisma-app.css" rel="stylesheet">
<link
href="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.10/themes/redmond/jquery-ui.css"
rel="stylesheet">
<link href='css/result.css' rel='stylesheet'>
<link rel="shortcut icon" href="images/bench4q.png">
</head>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<body>
<fmt:bundle basename="i18n">
<jsp:include page="publiccontrol/navigatebar.jsp"></jsp:include>
<div class="container-fluid">
<div class="row-fluid">
<jsp:include page="publiccontrol/leftmenubar.jsp"></jsp:include>
<div id="content" class="span10 ">
<!-- content starts -->
<div>
<ul class="breadcrumb">
<li><a href="homepage.jsp"><fmt:message key="home" /></a> <span
class="divider">/</span></li>
<li><a href="test.jsp"><fmt:message key="creatatest" /></a><span
class="divider">/</span></li>
<li><a href="#"><fmt:message key="result" /></a></li>
</ul>
</div>
<div class="row-fluid" id="test">
<div class="span4 span-brief" id="status">
Test Status<br /> <br>
</div>
<div class="span4 span-brief" id="vu">
VUs active<br /> <br>
</div>
<div class="span4 span-brief-last" id="request">
Requests<br /> <br>
</div>
</div>
<div class="row-fluid">
<h4 class="pull-left">Charts</h4>
<div class="field-inline">
<button type="button" class="btn btn-primary " id="del-graph">Delete
Graph</button>
</div>
<div class="field-inline">
<button type="button" class="btn btn-primary " id="add-graph">Add
Graph</button>
</div>
</div>
<div class="app-container " id="chart"></div>
<div class="row-fluid">
<h4 class="pull-left">Pages</h4>
</div>
<div class="app-container">
<table id="page"
class="table table-striped table-bordered bootstrap-datatable datatable">
<thead>
<tr>
<th>Page</th>
<th>Script</th>
<th>Count</th>
<th>Test Min</th>
<th>Test Max</th>
<th>Average</th>
<th>Last</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<div class="row-fluid">
<h4 class="pull-left">Urls</h4>
</div>
<div class="app-container dataTables_wrapper">
<table id="url"
class="table table-striped table-bordered bootstrap-datatable datatable">
<thead>
<tr>
<th></th>
<th>URL</th>
<th>Script</th>
<th>Successful</th>
<th>Total</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<div class="app-container" id="url-distribution"></div>
</div>
</div>
</div>
<div class="modal hide fade" id="add-graph-modal">
<div class="modal-header">
<button type="button" id="myModal-close" class="close" data-dismiss="modal">x</button>
<h3>Add Graph</h3>
</div>
<div class="modal-body" id="add-graph-list"></div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" id="add-graph-add" data-dismiss="modal">add</button>
<button type="button" class="btn btn-primary" data-dismiss="modal">cancel</button>
</div>
</div>
<div class="modal hide fade" id="del-graph-modal">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">x</button>
<h3>Delete Graph</h3>
</div>
<div class="modal-body" id="del-graph-list"></div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" id="del-graph-del" data-dismiss="modal">delete</button>
<button type="button" class="btn btn-primary" data-dismiss="modal">cancel</button>
</div>
</div>
<div class="modal hide fade" id="load">
<div class="modal-header">
<h3>Please wait,loading result data...</h3>
</div>
<div class="modal-body">
<div id="loading">
<div></div>
</div>
</div>
<div class="modal-footer">
<button type="button" id="cancelLoading" class="btn btn-primary ">cancel</button>
</div>
</div>
<hr>
<jsp:include page="publiccontrol/footer.jsp"></jsp:include>
<script
src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-2.1.0.js"></script>
<script
src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.10.4/jquery-ui.min.js"></script>
<script src="lib/jqueryi18n/jquery.i18n.properties-1.0.9.js"></script>
<script src="lib/bootstrap/js/bootstrap-modal.js"></script>
<script
src="http://ajax.aspnetcdn.com/ajax/bootstrap/2.3.1/bootstrap.min.js"></script>
<script src="lib/chrisma/js/jquery.cookie.js"></script>
<script
src='http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/jquery.dataTables.js'></script>
<script src="lib/chrisma/js/theme.js"></script>
<script src="lib/chrisma/js/jquery.cookie.js"></script>
<script src="script/base.js"></script>
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="script/testResult/charts.js"></script>
<script src="script/testResult/testBriefResult.js"></script>
<script src="script/bench4q.table.js"></script>
<script src="script/testResult/behaviorAndPage.js"></script>
<script src="script/testResult/highChartTheme.js"></script>
<script src="script/testResult/result-tree.js"></script>
<script src="script/testResult/resultInfo.js"></script>
<script src="script/testResult/chartSelector.js"></script>
<script src="script/testResult/pieChart.js"></script>
<script src="script/testResult/result-load.js"></script>
<script src="script/testResult/result.js"></script>
</fmt:bundle>
</body>
</html>