modify login.jsp and plugin-new.js
This commit is contained in:
parent
6ae331e61d
commit
e0e3c9c184
|
@ -1,154 +1,154 @@
|
|||
<%@page language="java" contentType="text/html; charset=GBK" pageEncoding="GBK"%>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>Bench4Q</title>
|
||||
<link rel="search" type="application/opensearchdescription+xml" href="https://github.com/opensearch.xml" title="GitHub">
|
||||
<link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub">
|
||||
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
|
||||
|
||||
|
||||
|
||||
|
||||
<meta content="authenticity_token" name="csrf-param">
|
||||
<meta content="wedm5SiF4gf6cxpqmjS1xTCRp86Sc8PAssZUiID8N0M=" name="csrf-token">
|
||||
|
||||
<link href="css/github-6053501db2b69fd2b04652c6349117be14468ce4.css" media="screen" rel="stylesheet" type="text/css">
|
||||
<link href="css/github2-277183b6724249eea8a7d10300542831eac78d3f.css" media="screen" rel="stylesheet" type="text/css">
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="js/frameworks-a450c7f907bdc1ee6b362ab1ecca811c761fd259.js" type="text/javascript"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><link rel="stylesheet" type="text/css" href="flip_ie.css"/><![endif]-->
|
||||
<!-- <script src="http://www.google.com/jsapi"></script> -->
|
||||
<script type="text/javascript">google.load("jquery", "1");</script>
|
||||
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
|
||||
</head>
|
||||
|
||||
<body class="logged_out wider windows env-production ">
|
||||
<div id="wrapper">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div id="header" class="true clearfix">
|
||||
<div class="container clearfix">
|
||||
<a class="site-logo" href="index.jsp">
|
||||
<!--[if IE]>
|
||||
<img alt="GitHub" class="github-logo" src="head_line/bench4q-1.png" height="30"/>
|
||||
<img alt="GitHub" class="github-logo-hover" src="head_line/bench4q-2.png" height="30"/>
|
||||
<![endif]-->
|
||||
<img alt="GitHub" class="github-logo-4x" src="img/bench4q-1.png" height="30">
|
||||
<img alt="GitHub" class="github-logo-4x-hover" src="img/bench4q-2.png" height="30">
|
||||
</a>
|
||||
|
||||
<!--
|
||||
make sure to use fully qualified URLs here since this nav
|
||||
is used on error pages on other domains
|
||||
-->
|
||||
|
||||
<ul class="top-nav logged_out">
|
||||
<li class="login"><a href="index.jsp">Home</a></li>
|
||||
<li class="login"><a href="register.jsp">Register</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="site home">
|
||||
<div class="container">
|
||||
<div class="pagehead homehead">
|
||||
<div class="hero">
|
||||
<h1>
|
||||
Bench4Q is a new methodology for QoS benchmarking
|
||||
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="margin:20px auto; width:958px; height:600px; background-color:#efefef">
|
||||
<div style="height:20px"></div>
|
||||
<div style="font-size:18px; margin-left:280px">
|
||||
<h1>Welcome to Bench4Q!</h1>
|
||||
</div>
|
||||
|
||||
<div style="height:60px;"></div>
|
||||
<div id="div1" style="float:left; width:270px; height:300px;"></div>
|
||||
<div id="div2" style="width:400px; height:300px; float:left; background-color:#e9f1f4;border:efefff 1px solid;">
|
||||
|
||||
|
||||
|
||||
|
||||
<div style="width:100%;height:100%">
|
||||
<div style="width:100%; height:40px; background-color:#607989">
|
||||
<div style="width:10%; height:40px; float:left"></div>
|
||||
<div style="font-size:20px; color:#ffffff; padding-top:5px; font-weight:900">Sign in
|
||||
<a style="font-size:15px; color:#ffffff; font-weight:normal" href="register.jsp">(Register)</a>
|
||||
</div>
|
||||
</div>
|
||||
<div style="width:100%; height:260px;">
|
||||
<div style="height:10px; width:100%"></div>
|
||||
<div style="height:40px; width:100% border:black 1px solid;">
|
||||
<div style="height:40px; width:30px; padding-left:40px; float:left">
|
||||
<img src="img/username.jpg"/>
|
||||
</div>
|
||||
<div style="height:40px; padding-top:9px;">
|
||||
Username
|
||||
</div>
|
||||
</div>
|
||||
<div style="height:2px; width:100%"></div>
|
||||
<div>
|
||||
<input type="text" id="username" name="username" style="font-size:18px; margin-left:40px; height:30px; width:300px;" onblur="checkName(this.value)"/>
|
||||
<div id='alertUserName' style='display:none;color:red;margin-left:40px'>The username cannot be empty!</div>
|
||||
</div>
|
||||
<div style="height:10px; width:100%"></div>
|
||||
<div style="height:40px; width:100%">
|
||||
<div style="height:40px; width:30; padding-left:40px; float:left">
|
||||
<img src="img/password.jpg"/>
|
||||
</div>
|
||||
<div style="height:40px; padding-top:9px;">
|
||||
Password
|
||||
</div>
|
||||
</div>
|
||||
<div style="height:10px; width:100%"></div>
|
||||
<div>
|
||||
<input type="password" id="password" name="password" style="font-size:18px; margin-left:40px; height:30px; width:300px;" onblur="checkPass(this.value)"/>
|
||||
<div id='alertPassWord' style='display:none;color:red;margin-left:40px'>The password cannot be empty!</div>
|
||||
</div>
|
||||
<div style="height:20px; width:100%"></div>
|
||||
<div style="height:40px; padding-left:40px;">
|
||||
<button type="submit" onClick="login()"><img id="img" src="img/githubsignon.jpg"></button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<script src="js/jquery-1.7.2.min.js"></script>
|
||||
<script src="js/jquery.i18n.properties-1.0.9.js"></script>
|
||||
<script src="script/login.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
<%@page language="java" contentType="text/html; charset=GBK" pageEncoding="GBK"%>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>Bench4Q</title>
|
||||
<link rel="search" type="application/opensearchdescription+xml" href="https://github.com/opensearch.xml" title="GitHub">
|
||||
<link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub">
|
||||
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
|
||||
|
||||
|
||||
|
||||
|
||||
<meta content="authenticity_token" name="csrf-param">
|
||||
<meta content="wedm5SiF4gf6cxpqmjS1xTCRp86Sc8PAssZUiID8N0M=" name="csrf-token">
|
||||
|
||||
<link href="css/github-6053501db2b69fd2b04652c6349117be14468ce4.css" media="screen" rel="stylesheet" type="text/css">
|
||||
<link href="css/github2-277183b6724249eea8a7d10300542831eac78d3f.css" media="screen" rel="stylesheet" type="text/css">
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="js/frameworks-a450c7f907bdc1ee6b362ab1ecca811c761fd259.js" type="text/javascript"></script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><link rel="stylesheet" type="text/css" href="flip_ie.css"/><![endif]-->
|
||||
<!-- <script src="http://www.google.com/jsapi"></script> -->
|
||||
<script type="text/javascript">google.load("jquery", "1");</script>
|
||||
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
|
||||
</head>
|
||||
|
||||
<body class="logged_out wider windows env-production ">
|
||||
<div id="wrapper">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div id="header" class="true clearfix">
|
||||
<div class="container clearfix">
|
||||
<a class="site-logo" href="index.jsp">
|
||||
<!--[if IE]>
|
||||
<img alt="GitHub" class="github-logo" src="head_line/bench4q-1.png" height="30"/>
|
||||
<img alt="GitHub" class="github-logo-hover" src="head_line/bench4q-2.png" height="30"/>
|
||||
<![endif]-->
|
||||
<img alt="GitHub" class="github-logo-4x" src="img/bench4q-1.png" height="30">
|
||||
<img alt="GitHub" class="github-logo-4x-hover" src="img/bench4q-2.png" height="30">
|
||||
</a>
|
||||
|
||||
<!--
|
||||
make sure to use fully qualified URLs here since this nav
|
||||
is used on error pages on other domains
|
||||
-->
|
||||
|
||||
<ul class="top-nav logged_out">
|
||||
<li class="login"><a href="index.jsp">Home</a></li>
|
||||
<li class="login"><a href="register.jsp">Register</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="site home">
|
||||
<div class="container">
|
||||
<div class="pagehead homehead">
|
||||
<div class="hero">
|
||||
<h1>
|
||||
Bench4Q is a new methodology for QoS benchmarking
|
||||
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="margin:20px auto; width:958px; height:600px; background-color:#efefef">
|
||||
<div style="height:20px"></div>
|
||||
<div style="font-size:18px; margin-left:280px">
|
||||
<h1>Welcome to Bench4Q!</h1>
|
||||
</div>
|
||||
|
||||
<div style="height:60px;"></div>
|
||||
<div id="div1" style="float:left; width:270px; height:300px;"></div>
|
||||
<div id="div2" style="width:400px; height:300px; float:left; background-color:#e9f1f4;border:efefff 1px solid;">
|
||||
|
||||
|
||||
|
||||
|
||||
<div style="width:100%;height:100%">
|
||||
<div style="width:100%; height:40px; background-color:#607989">
|
||||
<div style="width:10%; height:40px; float:left"></div>
|
||||
<div style="font-size:20px; color:#ffffff; padding-top:5px; font-weight:900">Sign in
|
||||
<a style="font-size:15px; color:#ffffff; font-weight:normal" href="register.jsp">(Register)</a>
|
||||
</div>
|
||||
</div>
|
||||
<div style="width:100%; height:260px;">
|
||||
<div style="height:10px; width:100%"></div>
|
||||
<div style="height:40px; width:100% border:black 1px solid;">
|
||||
<div style="height:40px; width:30px; padding-left:40px; float:left">
|
||||
<img src="img/username.jpg"/>
|
||||
</div>
|
||||
<div style="height:40px; padding-top:9px;">
|
||||
Username
|
||||
</div>
|
||||
</div>
|
||||
<div style="height:2px; width:100%"></div>
|
||||
<div>
|
||||
<input autofocus type="text" id="username" name="username" style="font-size:18px; margin-left:40px; height:30px; width:300px;" onblur="checkName(this.value)"/>
|
||||
<div id='alertUserName' style='display:none;color:red;margin-left:40px'>The username cannot be empty!</div>
|
||||
</div>
|
||||
<div style="height:10px; width:100%"></div>
|
||||
<div style="height:40px; width:100%">
|
||||
<div style="height:40px; width:30; padding-left:40px; float:left">
|
||||
<img src="img/password.jpg"/>
|
||||
</div>
|
||||
<div style="height:40px; padding-top:9px;">
|
||||
Password
|
||||
</div>
|
||||
</div>
|
||||
<div style="height:10px; width:100%"></div>
|
||||
<div>
|
||||
<input type="password" id="password" name="password" style="font-size:18px; margin-left:40px; height:30px; width:300px;" onblur="checkPass(this.value)"/>
|
||||
<div id='alertPassWord' style='display:none;color:red;margin-left:40px'>The password cannot be empty!</div>
|
||||
</div>
|
||||
<div style="height:20px; width:100%"></div>
|
||||
<div style="height:40px; padding-left:40px;">
|
||||
<button type="submit" onClick="login()"><img id="img" src="img/githubsignon.jpg"></button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<script src="js/jquery-1.7.2.min.js"></script>
|
||||
<script src="js/jquery.i18n.properties-1.0.9.js"></script>
|
||||
<script src="script/login.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,262 +1,262 @@
|
|||
<!DOCTYPE html>
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||
pageEncoding="UTF-8"%>
|
||||
<html>
|
||||
<head>
|
||||
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<meta charset="utf-8">
|
||||
<title>Bench4Q</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description"
|
||||
content="Bench4Q, a new method for QOS benchmarking.">
|
||||
<meta name="author" content="Kai Ren">
|
||||
<title>Create scripts by yourself.</title>
|
||||
<!-- The styles -->
|
||||
<link rel="shortcut icon" href="img/bench4q.png">
|
||||
<link id="bs-css" href="css/bootstrap-cerulean.css" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
body {
|
||||
padding-bottom: 40px;
|
||||
}
|
||||
|
||||
.sidebar-nav {
|
||||
padding: 9px 0;
|
||||
}
|
||||
</style>
|
||||
<link href="css/bootstrap-responsive.css" rel="stylesheet">
|
||||
<link href="css/charisma-app.css" rel="stylesheet">
|
||||
<link href="css/jquery-ui-1.8.21.custom.css" rel="stylesheet">
|
||||
<link href='css/chosen.css' rel='stylesheet'>
|
||||
<link href='css/uniform.default.css' rel='stylesheet'>
|
||||
<link href='css/colorbox.css' rel='stylesheet'>
|
||||
<link href='css/jquery.noty.css' rel='stylesheet'>
|
||||
<link href='css/noty_theme_default.css' rel='stylesheet'>
|
||||
<link href='css/elfinder.min.css' rel='stylesheet'>
|
||||
<link href='css/elfinder.theme.css' rel='stylesheet'>
|
||||
<link href='css/opa-icons.css' rel='stylesheet'>
|
||||
<link href='css/uploadify.css' rel='stylesheet'>
|
||||
<link href='css/buttons.css' rel='stylesheet'>
|
||||
<link href='bench4q-css/plugin.css' rel='stylesheet'>
|
||||
|
||||
<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<!-- The fav icon -->
|
||||
<link rel="shortcut icon" href="img/favicon.ico">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<fmt:bundle basename="i18n">
|
||||
<!-- topbar starts -->
|
||||
<jsp:include page="publiccontrol/navigatebar.jsp"></jsp:include>
|
||||
<!-- topbar ends -->
|
||||
<div class="container-fluid">
|
||||
<div class="row-fluid">
|
||||
<jsp:include page="publiccontrol/leftmenubar.jsp"></jsp:include>
|
||||
<noscript>
|
||||
<div class="alert alert-block span10">
|
||||
<h4 class="alert-heading">
|
||||
<fmt:message key="warning" />
|
||||
!
|
||||
</h4>
|
||||
<p>
|
||||
<fmt:message key="warningcontent1" />
|
||||
<a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a>
|
||||
<fmt:message key="warningcontent2" />
|
||||
.
|
||||
</p>
|
||||
</div>
|
||||
</noscript>
|
||||
|
||||
<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="#"><fmt:message key="scriptmanagement" /></a><span
|
||||
class="divider">/</span></li>
|
||||
<li><a href="#">自制脚本</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="row-fluid sortable">
|
||||
<div class="box span5">
|
||||
<div>
|
||||
<div class="box-header well" data-original-title>
|
||||
<i class="icon-pencil" style="float: left;"></i>
|
||||
<h2>
|
||||
<span>Plug-ins</span>
|
||||
</h2>
|
||||
<div class="box-icon">
|
||||
<a href="#" class="btn btn-setting btn-round"><i
|
||||
class="icon-plus"></i></a> <a href="#" class="btn btn-round"><i
|
||||
class="icon-list"></i></a> <a href="#"
|
||||
class="btn btn-minimize btn-round"><i
|
||||
class="icon-chevron-up"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-content">
|
||||
<div class="operatePlugins center">
|
||||
<div class="span8" style="float: left;">
|
||||
<div id="pluginArea"></div>
|
||||
</div>
|
||||
<div class="pluginButton">
|
||||
<p>
|
||||
<button type="submit" class="btn btn-inverse" id="addPlugin"
|
||||
onClick="addPlugin();">Add</button>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<button type="submit" class="btn btn-inverse"
|
||||
id="removePlugin" onClick="removePlugin();">Remove</button>
|
||||
</p>
|
||||
<p>
|
||||
<button type="submit" class="btn btn-inverse"
|
||||
id="removeAllPlugin" onClick="#">Remove all</button>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--/span-->
|
||||
<!-- Behavior start -->
|
||||
<div class="box span5" style="float: left;">
|
||||
<div>
|
||||
<div class="box-header well" data-original-title>
|
||||
<i class="icon-pencil" style="float: left;"></i>
|
||||
<h2>
|
||||
<i></i> Behavior
|
||||
</h2>
|
||||
<div class="box-icon">
|
||||
<a href="#" class="btn btn-setting btn-round"><i
|
||||
class="icon-plus"></i></a> <a href="#" class="btn btn-round"><i
|
||||
class="icon-list"></i></a> <a href="#"
|
||||
class="btn btn-minimize btn-round"><i
|
||||
class="icon-chevron-up"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-content">
|
||||
<div class="operatePlugins center">
|
||||
<div class="span8 behavior" style="float: left;">
|
||||
<div id="behaviorArea">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="behaviorButton">
|
||||
<p>
|
||||
<button type="submit" class="btn btn-inverse"
|
||||
id="insertBehavior_Plugin" onClick="insertPlugin();">Insert</button>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<button type="submit" class="btn btn-inverse"
|
||||
id="removeBehavior_Plugin" onClick="removeInsertPlugin();">Remove</button>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="showPluginMethod">
|
||||
<!-- 显示方法文档,开始动态生成 ,只显示一个-->
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!--/row-->
|
||||
<!-- content ends -->
|
||||
</div>
|
||||
<!--/#content.span10-->
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="modal hide fade span4" id="myModal_Plugin">
|
||||
<div class="modal-header">
|
||||
<button type="button" id="myModal-close" class="close"
|
||||
data-dismiss="modal">×</button>
|
||||
<h3>Add a new plug-in</h3>
|
||||
</div>
|
||||
<div class="modal-body" style="height: 260px;">
|
||||
<div class="inset scroll" id="choosePlugin">
|
||||
<!-- 显示plugin列表 -->
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
|
||||
<button type="button" class="btn btn-inverse"
|
||||
onClick="pluginFinish();" id="pluginFinish">Finish</button>
|
||||
<button type="button" class="btn btn-inverse"
|
||||
onClick="pluginCancel();" id="pluginCancel">Cancel</button>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="modal hide fade span6" id="myModal_Behavior">
|
||||
<div class="modal-header">
|
||||
<button type="button" id="myModal-close" class="close"
|
||||
data-dismiss="modal">×</button>
|
||||
<h3>Choose the behaviors of plug-in.</h3>
|
||||
</div>
|
||||
<div class="modal-body" style="height: 320px;">
|
||||
<div class="inset span4 center">
|
||||
<div class="span2 behavior-box scroll"
|
||||
style="height: 200px; width: 220px;">
|
||||
<div id="pluginMethod"></div>
|
||||
</div>
|
||||
<div class="span2 behavior-box scroll"
|
||||
style="height: 200px; width: 220px;">
|
||||
<div id="insertPluginAreaPlugins">
|
||||
<!-- 显示上个modal中的内容 -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
|
||||
<button type="button" class="btn btn-inverse"
|
||||
onClick="behaviorFinish();" id="behaviorFinish">Finish</button>
|
||||
<button type="button" class="btn btn-inverse" onClick="#"
|
||||
id="behaviorCancel">Cancel</button>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<jsp:include page="publiccontrol/footer.jsp"></jsp:include>
|
||||
|
||||
<!--/.fluid-container-->
|
||||
|
||||
<!-- external javascript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
|
||||
<!-- jQuery -->
|
||||
<script src="js/jquery-1.8.2.min.js"></script>
|
||||
<script src="js/jquery-ui-1.8.21.custom.min.js"></script>
|
||||
<script src="js/jquery.i18n.properties-1.0.9.js"></script>
|
||||
<script src="js/bootstrap-modal.js"></script>
|
||||
<script src="js/bootstrap-dropdown.js"></script>
|
||||
<script src="js/jquery.cookie.js"></script>
|
||||
<script src="http://malsup.github.com/jquery.form.js"></script>
|
||||
<script src='js/jquery.dataTables.min.js'></script>
|
||||
<script src="js/theme.js"></script>
|
||||
<script src="script/base.js"></script>
|
||||
<script src="script/pluginModel.js"></script>
|
||||
<!-- <script src="script/plugin.js"></script> -->
|
||||
<script src="script/plugin-new.js"></script>
|
||||
</fmt:bundle>
|
||||
</body>
|
||||
</html>
|
||||
<!DOCTYPE html>
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||
pageEncoding="UTF-8"%>
|
||||
<html>
|
||||
<head>
|
||||
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<meta charset="utf-8">
|
||||
<title>Bench4Q</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description"
|
||||
content="Bench4Q, a new method for QOS benchmarking.">
|
||||
<meta name="author" content="Kai Ren">
|
||||
<title>Create scripts by yourself.</title>
|
||||
<!-- The styles -->
|
||||
<link rel="shortcut icon" href="img/bench4q.png">
|
||||
<link id="bs-css" href="css/bootstrap-cerulean.css" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
body {
|
||||
padding-bottom: 40px;
|
||||
}
|
||||
|
||||
.sidebar-nav {
|
||||
padding: 9px 0;
|
||||
}
|
||||
</style>
|
||||
<link href="css/bootstrap-responsive.css" rel="stylesheet">
|
||||
<link href="css/charisma-app.css" rel="stylesheet">
|
||||
<link href="css/jquery-ui-1.8.21.custom.css" rel="stylesheet">
|
||||
<link href='css/chosen.css' rel='stylesheet'>
|
||||
<link href='css/uniform.default.css' rel='stylesheet'>
|
||||
<link href='css/colorbox.css' rel='stylesheet'>
|
||||
<link href='css/jquery.noty.css' rel='stylesheet'>
|
||||
<link href='css/noty_theme_default.css' rel='stylesheet'>
|
||||
<link href='css/elfinder.min.css' rel='stylesheet'>
|
||||
<link href='css/elfinder.theme.css' rel='stylesheet'>
|
||||
<link href='css/opa-icons.css' rel='stylesheet'>
|
||||
<link href='css/uploadify.css' rel='stylesheet'>
|
||||
<link href='css/buttons.css' rel='stylesheet'>
|
||||
<link href='bench4q-css/plugin.css' rel='stylesheet'>
|
||||
|
||||
<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<!-- The fav icon -->
|
||||
<link rel="shortcut icon" href="img/favicon.ico">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<fmt:bundle basename="i18n">
|
||||
<!-- topbar starts -->
|
||||
<jsp:include page="publiccontrol/navigatebar.jsp"></jsp:include>
|
||||
<!-- topbar ends -->
|
||||
<div class="container-fluid">
|
||||
<div class="row-fluid">
|
||||
<jsp:include page="publiccontrol/leftmenubar.jsp"></jsp:include>
|
||||
<noscript>
|
||||
<div class="alert alert-block span10">
|
||||
<h4 class="alert-heading">
|
||||
<fmt:message key="warning" />
|
||||
!
|
||||
</h4>
|
||||
<p>
|
||||
<fmt:message key="warningcontent1" />
|
||||
<a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a>
|
||||
<fmt:message key="warningcontent2" />
|
||||
.
|
||||
</p>
|
||||
</div>
|
||||
</noscript>
|
||||
|
||||
<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="#"><fmt:message key="scriptmanagement" /></a><span
|
||||
class="divider">/</span></li>
|
||||
<li><a href="#">自制脚本</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="row-fluid sortable">
|
||||
<div class="box span5">
|
||||
<div>
|
||||
<div class="box-header well" data-original-title>
|
||||
<i class="icon-pencil" style="float: left;"></i>
|
||||
<h2>
|
||||
<span>Plug-ins</span>
|
||||
</h2>
|
||||
<div class="box-icon">
|
||||
<a href="#" class="btn btn-setting btn-round"><i
|
||||
class="icon-plus"></i></a> <a href="#" class="btn btn-round"><i
|
||||
class="icon-list"></i></a> <a href="#"
|
||||
class="btn btn-minimize btn-round"><i
|
||||
class="icon-chevron-up"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-content">
|
||||
<div class="operatePlugins center">
|
||||
<div class="span8" style="float: left;">
|
||||
<div id="pluginArea"></div>
|
||||
</div>
|
||||
<div class="pluginButton">
|
||||
<p>
|
||||
<button type="submit" class="btn btn-inverse" id="addPlugin"
|
||||
onClick="addPlugin();">Add</button>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<button type="submit" class="btn btn-inverse"
|
||||
id="removePlugin" onClick="removePlugin();">Remove</button>
|
||||
</p>
|
||||
<p>
|
||||
<button type="submit" class="btn btn-inverse"
|
||||
id="removeAllPlugin" onClick="#">Remove all</button>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--/span-->
|
||||
<!-- Behavior start -->
|
||||
<div class="box span5" style="float: left;">
|
||||
<div>
|
||||
<div class="box-header well" data-original-title>
|
||||
<i class="icon-pencil" style="float: left;"></i>
|
||||
<h2>
|
||||
<i></i> Behavior
|
||||
</h2>
|
||||
<div class="box-icon">
|
||||
<a href="#" class="btn btn-setting btn-round"><i
|
||||
class="icon-plus"></i></a> <a href="#" class="btn btn-round"><i
|
||||
class="icon-list"></i></a> <a href="#"
|
||||
class="btn btn-minimize btn-round"><i
|
||||
class="icon-chevron-up"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-content">
|
||||
<div class="operatePlugins center">
|
||||
<div class="span8 behavior" style="float: left;">
|
||||
<div id="behaviorArea">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="behaviorButton">
|
||||
<p>
|
||||
<button type="submit" class="btn btn-inverse"
|
||||
id="insertBehavior_Plugin" onClick="insertPlugin();">Insert</button>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<button type="submit" class="btn btn-inverse"
|
||||
id="removeBehavior_Plugin" onClick="removeInsertPlugin();">Remove</button>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="showPluginMethod" class="showPluginMethod">
|
||||
<!-- 显示方法文档,开始动态生成 ,只显示一个-->
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!--/row-->
|
||||
<!-- content ends -->
|
||||
</div>
|
||||
<!--/#content.span10-->
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="modal hide fade span4" id="myModal_Plugin">
|
||||
<div class="modal-header">
|
||||
<button type="button" id="myModal-close" class="close"
|
||||
data-dismiss="modal">×</button>
|
||||
<h3>Add a new plug-in</h3>
|
||||
</div>
|
||||
<div class="modal-body" style="height: 260px;">
|
||||
<div class="inset scroll" id="choosePlugin">
|
||||
<!-- 显示plugin列表 -->
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
|
||||
<button type="button" class="btn btn-inverse"
|
||||
onClick="pluginFinish();" id="pluginFinish">Finish</button>
|
||||
<button type="button" class="btn btn-inverse"
|
||||
onClick="pluginCancel();" id="pluginCancel">Cancel</button>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="modal hide fade span6" id="myModal_Behavior">
|
||||
<div class="modal-header">
|
||||
<button type="button" id="myModal-close" class="close"
|
||||
data-dismiss="modal">×</button>
|
||||
<h3>Choose the behaviors of plug-in.</h3>
|
||||
</div>
|
||||
<div class="modal-body" style="height: 320px;">
|
||||
<div class="inset span4 center">
|
||||
<div class="span2 behavior-box scroll"
|
||||
style="height: 200px; width: 220px;">
|
||||
<div id="pluginMethod"></div>
|
||||
</div>
|
||||
<div class="span2 behavior-box scroll"
|
||||
style="height: 200px; width: 220px;">
|
||||
<div id="insertPluginAreaPlugins">
|
||||
<!-- 显示上个modal中的内容 -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
|
||||
<button type="button" class="btn btn-inverse"
|
||||
onClick="behaviorFinish();" id="behaviorFinish">Finish</button>
|
||||
<button type="button" class="btn btn-inverse" onClick="#"
|
||||
id="behaviorCancel">Cancel</button>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<jsp:include page="publiccontrol/footer.jsp"></jsp:include>
|
||||
|
||||
<!--/.fluid-container-->
|
||||
|
||||
<!-- external javascript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
|
||||
<!-- jQuery -->
|
||||
<script src="js/jquery-1.8.2.min.js"></script>
|
||||
<script src="js/jquery-ui-1.8.21.custom.min.js"></script>
|
||||
<script src="js/jquery.i18n.properties-1.0.9.js"></script>
|
||||
<script src="js/bootstrap-modal.js"></script>
|
||||
<script src="js/bootstrap-dropdown.js"></script>
|
||||
<script src="js/jquery.cookie.js"></script>
|
||||
<script src="http://malsup.github.com/jquery.form.js"></script>
|
||||
<script src='js/jquery.dataTables.min.js'></script>
|
||||
<script src="js/theme.js"></script>
|
||||
<script src="script/base.js"></script>
|
||||
<script src="script/pluginModel.js"></script>
|
||||
<!-- <script src="script/plugin.js"></script> -->
|
||||
<script src="script/plugin-new.js"></script>
|
||||
</fmt:bundle>
|
||||
</body>
|
||||
</html>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue