change the index page

This commit is contained in:
fanfuxiaoran 2013-09-02 19:31:48 +08:00
parent 34f6314310
commit 9a7f871ac8
7 changed files with 602 additions and 595 deletions

View File

@ -15,6 +15,7 @@
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">

View File

@ -50,7 +50,7 @@ public class AuthorizeActionController extends BaseActionController {
System.out.println("success");
model.addAttribute("accessToken", authorizeResponseModel.getAccessToken());
model.addAttribute("username", username);
return "index";
return "homepage";
} else {
model.addAttribute("rtmsg", "somthing is wrong with the password, please try again.");

View File

@ -0,0 +1,547 @@
<!DOCTYPE html>
<html lang="en">
<head>
<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">
<!-- The styles -->
<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/fullcalendar.css' rel='stylesheet'>
<link href='css/fullcalendar.print.css' rel='stylesheet' media='print'>
<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.cleditor.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/jquery.iphone.toggle.css' rel='stylesheet'>
<link href='css/opa-icons.css' rel='stylesheet'>
<link href='css/uploadify.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/bench4q-1.ico">
</head>
<body>
<!-- topbar starts -->
<div class="navbar">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".top-nav.nav-collapse,.sidebar-nav.nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="index.jsp"> <img alt="Charisma Logo" src="img/bench4q-1.png" /> <span>Bench4Q</span></a>
<!-- theme selector starts -->
<div class="btn-group pull-right theme-container" >
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
<i class="icon-tint"></i><span class="hidden-phone"> Change Theme / Skin</span>
<span class="caret"></span>
</a>
<ul class="dropdown-menu" id="themes">
<li><a data-value="classic" href="#"><i class="icon-blank"></i> Classic</a></li>
<li><a data-value="cerulean" href="#"><i class="icon-blank"></i> Cerulean</a></li>
<li><a data-value="cyborg" href="#"><i class="icon-blank"></i> Cyborg</a></li>
<li><a data-value="redy" href="#"><i class="icon-blank"></i> Redy</a></li>
<li><a data-value="journal" href="#"><i class="icon-blank"></i> Journal</a></li>
<li><a data-value="simplex" href="#"><i class="icon-blank"></i> Simplex</a></li>
<li><a data-value="slate" href="#"><i class="icon-blank"></i> Slate</a></li>
<li><a data-value="spacelab" href="#"><i class="icon-blank"></i> Spacelab</a></li>
<li><a data-value="united" href="#"><i class="icon-blank"></i> United</a></li>
</ul>
</div>
<!-- theme selector ends -->
<!-- user dropdown starts -->
<div class="btn-group pull-right" >
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
<i class="icon-user"></i><span class="hidden-phone"> <%=session.getAttribute("username")%></span>
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="#">Profile</a></li>
<li class="divider"></li>
<li><a href="login.html">Logout</a></li>
</ul>
</div>
<!-- user dropdown ends -->
<div class="top-nav nav-collapse">
<ul class="nav">
<li><a href="#">Welcome Page</a></li>
<li><a href="index.jsp">Home Page</a></li>
<li><a href="register.jsp">Register</a></li>
<li><a href="userlogin.jsp">Login</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<!-- topbar ends -->
<div class="container-fluid">
<div class="row-fluid">
<!-- left menu starts -->
<!-- left menu ends -->
<noscript>
<div class="alert alert-block span10 center">
<h4 class="alert-heading">Warning!</h4>
<p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a> enabled to use this site.</p>
</div>
</noscript>
<div id="content" class="span10 center">
<!-- content starts -->
<div>
<ul class="breadcrumb">
<li>
<a href="#">Home</a> <span class="divider">/</span>
</li>
<li>
<a href="#">Dashboard</a>
</li>
</ul>
</div>
<div class="sortable row-fluid">
<a data-rel="tooltip" title="Your homepage." class="well span3 top-block" href="index.jsp">
<span class="icon32 icon-red icon-user"></span>
<div>Your</div>
<div>Home Page</div>
</a>
<a data-rel="tooltip" title="Your testplans." class="well span3 top-block" href="testplan.jsp">
<span class="icon32 icon-color icon-star-on"></span>
<div>Testplan</div>
<div>Management</div>
</a>
<a data-rel="tooltip" title="Your scripts." class="well span3 top-block" href="script.jsp">
<span class="icon32 icon-color icon-cart"></span>
<div>Script</div>
<div>Management</div>
</a>
<a data-rel="tooltip" title="Create a new test." class="well span3 top-block" href="test.jsp">
<span class="icon32 icon-color icon-envelope-closed"></span>
<div>Create</div>
<div>Testplan</div>
</a>
</div>
<div class="row-fluid">
<div class="box span12">
<div class="box-header well">
<h2><i class="icon-info-sign"></i> Introduction</h2>
<div class="box-icon">
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content">
<h1>Charisma <small>free, premium quality, responsive, multiple skin admin template.</small></h1>
<p>Its a live demo of the template. I have created Charisma to ease the repeat work I have to do on my projects. Now I re-use Charisma as a base for my admin panel work and I am sharing it with you :)</p>
<p><b>All pages in the menu are functional, take a look at all, please share this with your followers.</b></p>
<p class="center">
<a href="http://usman.it/free-responsive-admin-template" class="btn btn-large btn-primary"><i class="icon-chevron-left icon-white"></i> Back to article</a>
<a href="http://usman.it/free-responsive-admin-template" class="btn btn-large"><i class="icon-download-alt"></i> Download Page</a>
</p>
<div class="clearfix"></div>
</div>
</div>
</div>
<div class="row-fluid sortable">
<div class="box span4">
<div class="box-header well">
<h2><i class="icon-th"></i> Tabs</h2>
<div class="box-icon">
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content">
<ul class="nav nav-tabs" id="myTab">
<li class="active"><a href="#info">Info</a></li>
<li><a href="#custom">Custom</a></li>
<li><a href="#messages">Messages</a></li>
</ul>
<div id="myTabContent" class="tab-content">
<div class="tab-pane active" id="info">
<h3>Charisma <small>a fully featued template</small></h3>
<p>Its a fully featured, responsive template for your admin panel. Its optimized for tablet and mobile phones. Scan the QR code below to view it in your mobile device.</p> <img alt="QR Code" class="charisma_qr center" src="img/qrcode136.png" />
</div>
<div class="tab-pane" id="custom">
<h3>Custom <small>small text</small></h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales at. Nulla tellus elit, varius non commodo eget, mattis vel eros. In sed ornare nulla. Donec consectetur, velit a pharetra ultricies, diam lorem lacinia risus, ac commodo orci erat eu massa. Sed sit amet nulla ipsum. Donec felis mauris, vulputate sed tempor at, aliquam a ligula. Pellentesque non pulvinar nisi.</p>
</div>
<div class="tab-pane" id="messages">
<h3>Messages <small>small text</small></h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales at. Nulla tellus elit, varius non commodo eget, mattis vel eros. In sed ornare nulla. Donec consectetur, velit a pharetra ultricies, diam lorem lacinia risus, ac commodo orci erat eu massa. Sed sit amet nulla ipsum. Donec felis mauris, vulputate sed tempor at, aliquam a ligula. Pellentesque non pulvinar nisi.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor.</p>
</div>
</div>
</div>
</div><!--/span-->
<div class="box span4">
<div class="box-header well" data-original-title>
<h2><i class="icon-user"></i> Member Activity</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content">
<div class="box-content">
<ul class="dashboard-list">
<li>
<a href="#">
<img class="dashboard-avatar" alt="Usman" src="http://www.gravatar.com/avatar/f0ea51fa1e4fae92608d8affee12f67b.png?s=50"></a>
<strong>Name:</strong> <a href="#">Usman
</a><br>
<strong>Since:</strong> 17/05/2012<br>
<strong>Status:</strong> <span class="label label-success">Approved</span>
</li>
<li>
<a href="#">
<img class="dashboard-avatar" alt="Sheikh Heera" src="http://www.gravatar.com/avatar/3232415a0380253cfffe19163d04acab.png?s=50"></a>
<strong>Name:</strong> <a href="#">Sheikh Heera
</a><br>
<strong>Since:</strong> 17/05/2012<br>
<strong>Status:</strong> <span class="label label-warning">Pending</span>
</li>
<li>
<a href="#">
<img class="dashboard-avatar" alt="Abdullah" src="http://www.gravatar.com/avatar/46056f772bde7c536e2086004e300a04.png?s=50"></a>
<strong>Name:</strong> <a href="#">Abdullah
</a><br>
<strong>Since:</strong> 25/05/2012<br>
<strong>Status:</strong> <span class="label label-important">Banned</span>
</li>
<li>
<a href="#">
<img class="dashboard-avatar" alt="Saruar Ahmed" src="http://www.gravatar.com/avatar/564e1bb274c074dc4f6823af229d9dbb.png?s=50"></a>
<strong>Name:</strong> <a href="#">Saruar Ahmed
</a><br>
<strong>Since:</strong> 17/05/2012<br>
<strong>Status:</strong> <span class="label label-info">Updates</span>
</li>
</ul>
</div>
</div>
</div><!--/span-->
<div class="box span4">
<div class="box-header well" data-original-title>
<h2><i class="icon-list-alt"></i> Realtime Traffic</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content">
<div id="realtimechart" style="height:190px;"></div>
<p class="clearfix">You can update a chart periodically to get a real-time effect by using a timer to insert the new data in the plot and redraw it.</p>
<p>Time between updates: <input id="updateInterval" type="text" value="" style="text-align: right; width:5em"> milliseconds</p>
</div>
</div><!--/span-->
</div><!--/row-->
<div class="row-fluid sortable">
<div class="box span4">
<div class="box-header well" data-original-title>
<h2><i class="icon-list"></i> Buttons</h2>
<div class="box-icon">
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content buttons">
<p class="btn-group">
<button class="btn">Left</button>
<button class="btn">Middle</button>
<button class="btn">Right</button>
</p>
<p>
<button class="btn btn-small"><i class="icon-star"></i> Icon button</button>
<button class="btn btn-small btn-primary">Small button</button>
<button class="btn btn-small btn-danger">Small button</button>
</p>
<p>
<button class="btn btn-small btn-warning">Small button</button>
<button class="btn btn-small btn-success">Small button</button>
<button class="btn btn-small btn-info">Small button</button>
</p>
<p>
<button class="btn btn-small btn-inverse">Small button</button>
<button class="btn btn-large btn-primary btn-round">Round button</button>
<button class="btn btn-large btn-round"><i class="icon-ok"></i></button>
<button class="btn btn-primary"><i class="icon-edit icon-white"></i></button>
</p>
<p>
<button class="btn btn-mini">Mini button</button>
<button class="btn btn-mini btn-primary">Mini button</button>
<button class="btn btn-mini btn-danger">Mini button</button>
<button class="btn btn-mini btn-warning">Mini button</button>
</p>
<p>
<button class="btn btn-mini btn-info">Mini button</button>
<button class="btn btn-mini btn-success">Mini button</button>
<button class="btn btn-mini btn-inverse">Mini button</button>
</p>
</div>
</div><!--/span-->
<div class="box span4">
<div class="box-header well" data-original-title>
<h2><i class="icon-list"></i> Buttons</h2>
<div class="box-icon">
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content buttons">
<p>
<button class="btn btn-large">Large button</button>
<button class="btn btn-large btn-primary">Large button</button>
</p>
<p>
<button class="btn btn-large btn-danger">Large button</button>
<button class="btn btn-large btn-warning">Large button</button>
</p>
<p>
<button class="btn btn-large btn-success">Large button</button>
<button class="btn btn-large btn-info">Large button</button>
</p>
<p>
<button class="btn btn-large btn-inverse">Large button</button>
</p>
<div class="btn-group">
<button class="btn btn-large">Large Dropdown</button>
<button class="btn btn-large dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
<ul class="dropdown-menu">
<li><a href="#"><i class="icon-star"></i> Action</a></li>
<li><a href="#"><i class="icon-tag"></i> Another action</a></li>
<li><a href="#"><i class="icon-download-alt"></i> Something else here</a></li>
<li class="divider"></li>
<li><a href="#"><i class="icon-tint"></i> Separated link</a></li>
</ul>
</div>
</div>
</div><!--/span-->
<div class="box span4">
<div class="box-header well" data-original-title>
<h2><i class="icon-list"></i> Weekly Stat</h2>
<div class="box-icon">
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content">
<ul class="dashboard-list">
<li>
<a href="#">
<i class="icon-arrow-up"></i>
<span class="green">92</span>
New Comments
</a>
</li>
<li>
<a href="#">
<i class="icon-arrow-down"></i>
<span class="red">15</span>
New Registrations
</a>
</li>
<li>
<a href="#">
<i class="icon-minus"></i>
<span class="blue">36</span>
New Articles
</a>
</li>
<li>
<a href="#">
<i class="icon-comment"></i>
<span class="yellow">45</span>
User reviews
</a>
</li>
<li>
<a href="#">
<i class="icon-arrow-up"></i>
<span class="green">112</span>
New Comments
</a>
</li>
<li>
<a href="#">
<i class="icon-arrow-down"></i>
<span class="red">31</span>
New Registrations
</a>
</li>
<li>
<a href="#">
<i class="icon-minus"></i>
<span class="blue">93</span>
New Articles
</a>
</li>
<li>
<a href="#">
<i class="icon-comment"></i>
<span class="yellow">254</span>
User reviews
</a>
</li>
</ul>
</div>
</div><!--/span-->
</div><!--/row-->
<!-- content ends -->
</div><!--/#content.span10-->
</div><!--/fluid-row-->
<hr>
<div class="modal hide fade" id="myModal">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h3>Settings</h3>
</div>
<div class="modal-body">
<p>Here settings can be configured...</p>
</div>
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal">Close</a>
<a href="#" class="btn btn-primary">Save changes</a>
</div>
</div>
<footer>
<p class="pull-left">&copy; <a href="http://usman.it" target="_blank">Muhammad Usman</a> 2012</p>
<p class="pull-right">Powered by: <a href="http://usman.it/free-responsive-admin-template">Charisma</a></p>
</footer>
</div><!--/.fluid-container-->
<!-- external javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<!-- jQuery -->
<script src="js/jquery-1.7.2.min.js"></script>
<!-- jQuery UI -->
<script src="js/jquery-ui-1.8.21.custom.min.js"></script>
<!-- transition / effect library -->
<script src="js/bootstrap-transition.js"></script>
<!-- alert enhancer library -->
<script src="js/bootstrap-alert.js"></script>
<!-- modal / dialog library -->
<script src="js/bootstrap-modal.js"></script>
<!-- custom dropdown library -->
<script src="js/bootstrap-dropdown.js"></script>
<!-- scrolspy library -->
<script src="js/bootstrap-scrollspy.js"></script>
<!-- library for creating tabs -->
<script src="js/bootstrap-tab.js"></script>
<!-- library for advanced tooltip -->
<script src="js/bootstrap-tooltip.js"></script>
<!-- popover effect library -->
<script src="js/bootstrap-popover.js"></script>
<!-- button enhancer library -->
<script src="js/bootstrap-button.js"></script>
<!-- accordion library (optional, not used in demo) -->
<script src="js/bootstrap-collapse.js"></script>
<!-- carousel slideshow library (optional, not used in demo) -->
<script src="js/bootstrap-carousel.js"></script>
<!-- autocomplete library -->
<script src="js/bootstrap-typeahead.js"></script>
<!-- tour library -->
<script src="js/bootstrap-tour.js"></script>
<!-- library for cookie management -->
<script src="js/jquery.cookie.js"></script>
<!-- calander plugin -->
<script src='js/fullcalendar.min.js'></script>
<!-- data table plugin -->
<script src='js/jquery.dataTables.min.js'></script>
<!-- chart libraries start -->
<script src="js/excanvas.js"></script>
<script src="js/jquery.flot.min.js"></script>
<script src="js/jquery.flot.pie.min.js"></script>
<script src="js/jquery.flot.stack.js"></script>
<script src="js/jquery.flot.resize.min.js"></script>
<!-- chart libraries end -->
<!-- select or dropdown enhancer -->
<script src="js/jquery.chosen.min.js"></script>
<!-- checkbox, radio, and file input styler -->
<script src="js/jquery.uniform.min.js"></script>
<!-- plugin for gallery image view -->
<script src="js/jquery.colorbox.min.js"></script>
<!-- rich text editor library -->
<script src="js/jquery.cleditor.min.js"></script>
<!-- notification plugin -->
<script src="js/jquery.noty.js"></script>
<!-- file manager library -->
<script src="js/jquery.elfinder.min.js"></script>
<!-- star rating plugin -->
<script src="js/jquery.raty.min.js"></script>
<!-- for iOS style toggle switch -->
<script src="js/jquery.iphone.toggle.js"></script>
<!-- autogrowing textarea plugin -->
<script src="js/jquery.autogrow-textarea.js"></script>
<!-- multiple file upload plugin -->
<script src="js/jquery.uploadify-3.1.min.js"></script>
<!-- history.js for cross-browser state change on ajax -->
<script src="js/jquery.history.js"></script>
<!-- application script for Charisma demo -->
<script src="js/charisma.js"></script>
</body>
</html>

View File

@ -1,11 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!--
Charisma v1.0.0
Copyright 2012 Muhammad Usman
Licensed under the Apache License v2.0
http://www.apache.org/licenses/LICENSE-2.0
http://usman.it
http://twitter.com/halalit_usman
-->
<meta charset="utf-8">
<title>Bench4Q</title>
<title>Free HTML5 Bootstrap Admin Template</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">
<meta name="description" content="Charisma, a fully featured, responsive, HTML5, Bootstrap admin template.">
<meta name="author" content="Muhammad Usman">
<!-- The styles -->
<link id="bs-css" href="css/bootstrap-cerulean.css" rel="stylesheet">
<style type="text/css">
@ -39,433 +50,58 @@
<![endif]-->
<!-- The fav icon -->
<link rel="shortcut icon" href="img/bench4q-1.ico">
<link rel="shortcut icon" href="img/favicon.ico">
</head>
<body>
<!-- topbar starts -->
<div class="navbar">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".top-nav.nav-collapse,.sidebar-nav.nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="index.jsp"> <img alt="Charisma Logo" src="img/bench4q-1.png" /> <span>Bench4Q</span></a>
<!-- theme selector starts -->
<div class="btn-group pull-right theme-container" >
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
<i class="icon-tint"></i><span class="hidden-phone"> Change Theme / Skin</span>
<span class="caret"></span>
</a>
<ul class="dropdown-menu" id="themes">
<li><a data-value="classic" href="#"><i class="icon-blank"></i> Classic</a></li>
<li><a data-value="cerulean" href="#"><i class="icon-blank"></i> Cerulean</a></li>
<li><a data-value="cyborg" href="#"><i class="icon-blank"></i> Cyborg</a></li>
<li><a data-value="redy" href="#"><i class="icon-blank"></i> Redy</a></li>
<li><a data-value="journal" href="#"><i class="icon-blank"></i> Journal</a></li>
<li><a data-value="simplex" href="#"><i class="icon-blank"></i> Simplex</a></li>
<li><a data-value="slate" href="#"><i class="icon-blank"></i> Slate</a></li>
<li><a data-value="spacelab" href="#"><i class="icon-blank"></i> Spacelab</a></li>
<li><a data-value="united" href="#"><i class="icon-blank"></i> United</a></li>
</ul>
</div>
<!-- theme selector ends -->
<!-- user dropdown starts -->
<div class="btn-group pull-right" >
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
<i class="icon-user"></i><span class="hidden-phone"> <%=session.getAttribute("username")%></span>
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="#">Profile</a></li>
<li class="divider"></li>
<li><a href="login.html">Logout</a></li>
</ul>
</div>
<!-- user dropdown ends -->
<div class="top-nav nav-collapse">
<ul class="nav">
<li><a href="#">Welcome Page</a></li>
<li><a href="index.jsp">Home Page</a></li>
<li><a href="register.jsp">Register</a></li>
<li><a href="userlogin.jsp">Login</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<!-- topbar ends -->
<div class="container-fluid">
<div class="row-fluid">
<!-- left menu starts -->
<!-- left menu ends -->
<noscript>
<div class="alert alert-block span10 center">
<h4 class="alert-heading">Warning!</h4>
<p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a> enabled to use this site.</p>
</div>
</noscript>
<div id="content" class="span10 center">
<!-- content starts -->
<div>
<ul class="breadcrumb">
<li>
<a href="#">Home</a> <span class="divider">/</span>
</li>
<li>
<a href="#">Dashboard</a>
</li>
</ul>
</div>
<div class="sortable row-fluid">
<a data-rel="tooltip" title="Your homepage." class="well span3 top-block" href="index.jsp">
<span class="icon32 icon-red icon-user"></span>
<div>Your</div>
<div>Home Page</div>
</a>
<a data-rel="tooltip" title="Your testplans." class="well span3 top-block" href="testplan.jsp">
<span class="icon32 icon-color icon-star-on"></span>
<div>Testplan</div>
<div>Management</div>
</a>
<a data-rel="tooltip" title="Your scripts." class="well span3 top-block" href="script.jsp">
<span class="icon32 icon-color icon-cart"></span>
<div>Script</div>
<div>Management</div>
</a>
<a data-rel="tooltip" title="Create a new test." class="well span3 top-block" href="test.jsp">
<span class="icon32 icon-color icon-envelope-closed"></span>
<div>Create</div>
<div>Testplan</div>
</a>
</div>
<div class="row-fluid">
<div class="span12 center login-header">
<h2>Welcome to Bench4Q</h2>
</div><!--/span-->
</div><!--/row-->
<div class="row-fluid">
<div class="box span12">
<div class="box-header well">
<h2><i class="icon-info-sign"></i> Introduction</h2>
<div class="box-icon">
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
<div class="well span5 center login-box">
<div class="alert alert-info">
Please login with your Username and Password.
</div>
<div class="box-content">
<h1>Charisma <small>free, premium quality, responsive, multiple skin admin template.</small></h1>
<p>Its a live demo of the template. I have created Charisma to ease the repeat work I have to do on my projects. Now I re-use Charisma as a base for my admin panel work and I am sharing it with you :)</p>
<p><b>All pages in the menu are functional, take a look at all, please share this with your followers.</b></p>
<p class="center">
<a href="http://usman.it/free-responsive-admin-template" class="btn btn-large btn-primary"><i class="icon-chevron-left icon-white"></i> Back to article</a>
<a href="http://usman.it/free-responsive-admin-template" class="btn btn-large"><i class="icon-download-alt"></i> Download Page</a>
</p>
<div class="clearfix"></div>
</div>
</div>
</div>
<div class="row-fluid sortable">
<div class="box span4">
<div class="box-header well">
<h2><i class="icon-th"></i> Tabs</h2>
<div class="box-icon">
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content">
<ul class="nav nav-tabs" id="myTab">
<li class="active"><a href="#info">Info</a></li>
<li><a href="#custom">Custom</a></li>
<li><a href="#messages">Messages</a></li>
</ul>
<div id="myTabContent" class="tab-content">
<div class="tab-pane active" id="info">
<h3>Charisma <small>a fully featued template</small></h3>
<p>Its a fully featured, responsive template for your admin panel. Its optimized for tablet and mobile phones. Scan the QR code below to view it in your mobile device.</p> <img alt="QR Code" class="charisma_qr center" src="img/qrcode136.png" />
<form class="form-horizontal" action="login.do" method="post">
<fieldset>
<div class="input-prepend" title="Username" data-rel="tooltip">
<span class="add-on"><i class="icon-user"></i></span><input autofocus class="input-large span10" name="username" id="username" type="text" />
</div>
<div class="tab-pane" id="custom">
<h3>Custom <small>small text</small></h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales at. Nulla tellus elit, varius non commodo eget, mattis vel eros. In sed ornare nulla. Donec consectetur, velit a pharetra ultricies, diam lorem lacinia risus, ac commodo orci erat eu massa. Sed sit amet nulla ipsum. Donec felis mauris, vulputate sed tempor at, aliquam a ligula. Pellentesque non pulvinar nisi.</p>
</div>
<div class="tab-pane" id="messages">
<h3>Messages <small>small text</small></h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales at. Nulla tellus elit, varius non commodo eget, mattis vel eros. In sed ornare nulla. Donec consectetur, velit a pharetra ultricies, diam lorem lacinia risus, ac commodo orci erat eu massa. Sed sit amet nulla ipsum. Donec felis mauris, vulputate sed tempor at, aliquam a ligula. Pellentesque non pulvinar nisi.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor.</p>
</div>
</div>
</div>
</div><!--/span-->
<div class="clearfix"></div>
<div class="box span4">
<div class="box-header well" data-original-title>
<h2><i class="icon-user"></i> Member Activity</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content">
<div class="box-content">
<ul class="dashboard-list">
<li>
<a href="#">
<img class="dashboard-avatar" alt="Usman" src="http://www.gravatar.com/avatar/f0ea51fa1e4fae92608d8affee12f67b.png?s=50"></a>
<strong>Name:</strong> <a href="#">Usman
</a><br>
<strong>Since:</strong> 17/05/2012<br>
<strong>Status:</strong> <span class="label label-success">Approved</span>
</li>
<li>
<a href="#">
<img class="dashboard-avatar" alt="Sheikh Heera" src="http://www.gravatar.com/avatar/3232415a0380253cfffe19163d04acab.png?s=50"></a>
<strong>Name:</strong> <a href="#">Sheikh Heera
</a><br>
<strong>Since:</strong> 17/05/2012<br>
<strong>Status:</strong> <span class="label label-warning">Pending</span>
</li>
<li>
<a href="#">
<img class="dashboard-avatar" alt="Abdullah" src="http://www.gravatar.com/avatar/46056f772bde7c536e2086004e300a04.png?s=50"></a>
<strong>Name:</strong> <a href="#">Abdullah
</a><br>
<strong>Since:</strong> 25/05/2012<br>
<strong>Status:</strong> <span class="label label-important">Banned</span>
</li>
<li>
<a href="#">
<img class="dashboard-avatar" alt="Saruar Ahmed" src="http://www.gravatar.com/avatar/564e1bb274c074dc4f6823af229d9dbb.png?s=50"></a>
<strong>Name:</strong> <a href="#">Saruar Ahmed
</a><br>
<strong>Since:</strong> 17/05/2012<br>
<strong>Status:</strong> <span class="label label-info">Updates</span>
</li>
</ul>
</div>
</div>
</div><!--/span-->
<div class="input-prepend" title="Password" data-rel="tooltip">
<span class="add-on"><i class="icon-lock"></i></span><input class="input-large span10" name="password" id="password" type="password" />
</div>
<div class="clearfix"></div>
<div class="box span4">
<div class="box-header well" data-original-title>
<h2><i class="icon-list-alt"></i> Realtime Traffic</h2>
<div class="box-icon">
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content">
<div id="realtimechart" style="height:190px;"></div>
<p class="clearfix">You can update a chart periodically to get a real-time effect by using a timer to insert the new data in the plot and redraw it.</p>
<p>Time between updates: <input id="updateInterval" type="text" value="" style="text-align: right; width:5em"> milliseconds</p>
</div>
<div class="clearfix"></div>
<p class="center span5">
<button type="submit" class="btn btn-primary" onClick="userlogin()">Login</button>
</p>
<div class="clearfix"></div>
<div class="clearfix"></div>
<p>
<a href="register.jsp">Sign up now</a>
</p>
<p class="center">
<button id="noticebutton" style="display:none" class="btn btn-primary noty" data-noty-options='{"text":"This is a success information","layout":"top","type":"error"}'><i class="icon-bell icon-white"></i> Top Full Width</button>
</p>
</fieldset>
</form>
</div><!--/span-->
</div><!--/row-->
<div class="row-fluid sortable">
<div class="box span4">
<div class="box-header well" data-original-title>
<h2><i class="icon-list"></i> Buttons</h2>
<div class="box-icon">
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content buttons">
<p class="btn-group">
<button class="btn">Left</button>
<button class="btn">Middle</button>
<button class="btn">Right</button>
</p>
<p>
<button class="btn btn-small"><i class="icon-star"></i> Icon button</button>
<button class="btn btn-small btn-primary">Small button</button>
<button class="btn btn-small btn-danger">Small button</button>
</p>
<p>
<button class="btn btn-small btn-warning">Small button</button>
<button class="btn btn-small btn-success">Small button</button>
<button class="btn btn-small btn-info">Small button</button>
</p>
<p>
<button class="btn btn-small btn-inverse">Small button</button>
<button class="btn btn-large btn-primary btn-round">Round button</button>
<button class="btn btn-large btn-round"><i class="icon-ok"></i></button>
<button class="btn btn-primary"><i class="icon-edit icon-white"></i></button>
</p>
<p>
<button class="btn btn-mini">Mini button</button>
<button class="btn btn-mini btn-primary">Mini button</button>
<button class="btn btn-mini btn-danger">Mini button</button>
<button class="btn btn-mini btn-warning">Mini button</button>
</p>
<p>
<button class="btn btn-mini btn-info">Mini button</button>
<button class="btn btn-mini btn-success">Mini button</button>
<button class="btn btn-mini btn-inverse">Mini button</button>
</p>
</div>
</div><!--/span-->
<div class="box span4">
<div class="box-header well" data-original-title>
<h2><i class="icon-list"></i> Buttons</h2>
<div class="box-icon">
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content buttons">
<p>
<button class="btn btn-large">Large button</button>
<button class="btn btn-large btn-primary">Large button</button>
</p>
<p>
<button class="btn btn-large btn-danger">Large button</button>
<button class="btn btn-large btn-warning">Large button</button>
</p>
<p>
<button class="btn btn-large btn-success">Large button</button>
<button class="btn btn-large btn-info">Large button</button>
</p>
<p>
<button class="btn btn-large btn-inverse">Large button</button>
</p>
<div class="btn-group">
<button class="btn btn-large">Large Dropdown</button>
<button class="btn btn-large dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
<ul class="dropdown-menu">
<li><a href="#"><i class="icon-star"></i> Action</a></li>
<li><a href="#"><i class="icon-tag"></i> Another action</a></li>
<li><a href="#"><i class="icon-download-alt"></i> Something else here</a></li>
<li class="divider"></li>
<li><a href="#"><i class="icon-tint"></i> Separated link</a></li>
</ul>
</div>
</div>
</div><!--/span-->
<div class="box span4">
<div class="box-header well" data-original-title>
<h2><i class="icon-list"></i> Weekly Stat</h2>
<div class="box-icon">
<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
</div>
</div>
<div class="box-content">
<ul class="dashboard-list">
<li>
<a href="#">
<i class="icon-arrow-up"></i>
<span class="green">92</span>
New Comments
</a>
</li>
<li>
<a href="#">
<i class="icon-arrow-down"></i>
<span class="red">15</span>
New Registrations
</a>
</li>
<li>
<a href="#">
<i class="icon-minus"></i>
<span class="blue">36</span>
New Articles
</a>
</li>
<li>
<a href="#">
<i class="icon-comment"></i>
<span class="yellow">45</span>
User reviews
</a>
</li>
<li>
<a href="#">
<i class="icon-arrow-up"></i>
<span class="green">112</span>
New Comments
</a>
</li>
<li>
<a href="#">
<i class="icon-arrow-down"></i>
<span class="red">31</span>
New Registrations
</a>
</li>
<li>
<a href="#">
<i class="icon-minus"></i>
<span class="blue">93</span>
New Articles
</a>
</li>
<li>
<a href="#">
<i class="icon-comment"></i>
<span class="yellow">254</span>
User reviews
</a>
</li>
</ul>
</div>
</div><!--/span-->
</div><!--/row-->
<!-- content ends -->
</div><!--/#content.span10-->
</div><!--/fluid-row-->
<hr>
<div class="modal hide fade" id="myModal">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h3>Settings</h3>
</div>
<div class="modal-body">
<p>Here settings can be configured...</p>
</div>
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal">Close</a>
<a href="#" class="btn btn-primary">Save changes</a>
</div>
</div>
<footer>
<p class="pull-left">&copy; <a href="http://usman.it" target="_blank">Muhammad Usman</a> 2012</p>
<p class="pull-right">Powered by: <a href="http://usman.it/free-responsive-admin-template">Charisma</a></p>
</footer>
</div><!--/.fluid-container-->
<!-- external javascript
@ -541,6 +177,8 @@
<script src="js/jquery.history.js"></script>
<!-- application script for Charisma demo -->
<script src="js/charisma.js"></script>
<!-- the script for this page -->
<script src="bench4qjs/userlogin.js"></script>
</body>

View File

@ -1,179 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!--
Charisma v1.0.0
Copyright 2012 Muhammad Usman
Licensed under the Apache License v2.0
http://www.apache.org/licenses/LICENSE-2.0
http://usman.it
http://twitter.com/halalit_usman
-->
<meta charset="utf-8">
<title>Free HTML5 Bootstrap Admin Template</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Charisma, a fully featured, responsive, HTML5, Bootstrap admin template.">
<meta name="author" content="Muhammad Usman">
<!-- The styles -->
<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/fullcalendar.css' rel='stylesheet'>
<link href='css/fullcalendar.print.css' rel='stylesheet' media='print'>
<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.cleditor.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/jquery.iphone.toggle.css' rel='stylesheet'>
<link href='css/opa-icons.css' rel='stylesheet'>
<link href='css/uploadify.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>
<div class="container-fluid">
<div class="row-fluid">
<div class="row-fluid">
<div class="span12 center login-header">
<h2>Welcome to Bench4Q</h2>
</div><!--/span-->
</div><!--/row-->
<div class="row-fluid">
<div class="well span5 center login-box">
<div class="alert alert-info">
Please login with your Username and Password.
</div>
<form class="form-horizontal" action="login.do" method="post">
<fieldset>
<div class="input-prepend" title="Username" data-rel="tooltip">
<span class="add-on"><i class="icon-user"></i></span><input autofocus class="input-large span10" name="username" id="username" type="text" />
</div>
<div class="clearfix"></div>
<div class="input-prepend" title="Password" data-rel="tooltip">
<span class="add-on"><i class="icon-lock"></i></span><input class="input-large span10" name="password" id="password" type="password" />
</div>
<div class="clearfix"></div>
<div class="clearfix"></div>
<p class="center span5">
<button type="submit" class="btn btn-primary" onClick="userlogin()">Login</button>
</p>
<p class="center">
<button id="noticebutton" style="display:none" class="btn btn-primary noty" data-noty-options='{"text":"This is a success information","layout":"top","type":"error"}'><i class="icon-bell icon-white"></i> Top Full Width</button>
</p>
</fieldset>
</form>
</div><!--/span-->
</div><!--/row-->
</div><!--/fluid-row-->
</div><!--/.fluid-container-->
<!-- external javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<!-- jQuery -->
<script src="js/jquery-1.7.2.min.js"></script>
<!-- jQuery UI -->
<script src="js/jquery-ui-1.8.21.custom.min.js"></script>
<!-- transition / effect library -->
<script src="js/bootstrap-transition.js"></script>
<!-- alert enhancer library -->
<script src="js/bootstrap-alert.js"></script>
<!-- modal / dialog library -->
<script src="js/bootstrap-modal.js"></script>
<!-- custom dropdown library -->
<script src="js/bootstrap-dropdown.js"></script>
<!-- scrolspy library -->
<script src="js/bootstrap-scrollspy.js"></script>
<!-- library for creating tabs -->
<script src="js/bootstrap-tab.js"></script>
<!-- library for advanced tooltip -->
<script src="js/bootstrap-tooltip.js"></script>
<!-- popover effect library -->
<script src="js/bootstrap-popover.js"></script>
<!-- button enhancer library -->
<script src="js/bootstrap-button.js"></script>
<!-- accordion library (optional, not used in demo) -->
<script src="js/bootstrap-collapse.js"></script>
<!-- carousel slideshow library (optional, not used in demo) -->
<script src="js/bootstrap-carousel.js"></script>
<!-- autocomplete library -->
<script src="js/bootstrap-typeahead.js"></script>
<!-- tour library -->
<script src="js/bootstrap-tour.js"></script>
<!-- library for cookie management -->
<script src="js/jquery.cookie.js"></script>
<!-- calander plugin -->
<script src='js/fullcalendar.min.js'></script>
<!-- data table plugin -->
<script src='js/jquery.dataTables.min.js'></script>
<!-- chart libraries start -->
<script src="js/excanvas.js"></script>
<script src="js/jquery.flot.min.js"></script>
<script src="js/jquery.flot.pie.min.js"></script>
<script src="js/jquery.flot.stack.js"></script>
<script src="js/jquery.flot.resize.min.js"></script>
<!-- chart libraries end -->
<!-- select or dropdown enhancer -->
<script src="js/jquery.chosen.min.js"></script>
<!-- checkbox, radio, and file input styler -->
<script src="js/jquery.uniform.min.js"></script>
<!-- plugin for gallery image view -->
<script src="js/jquery.colorbox.min.js"></script>
<!-- rich text editor library -->
<script src="js/jquery.cleditor.min.js"></script>
<!-- notification plugin -->
<script src="js/jquery.noty.js"></script>
<!-- file manager library -->
<script src="js/jquery.elfinder.min.js"></script>
<!-- star rating plugin -->
<script src="js/jquery.raty.min.js"></script>
<!-- for iOS style toggle switch -->
<script src="js/jquery.iphone.toggle.js"></script>
<!-- autogrowing textarea plugin -->
<script src="js/jquery.autogrow-textarea.js"></script>
<!-- multiple file upload plugin -->
<script src="js/jquery.uploadify-3.1.min.js"></script>
<!-- history.js for cross-browser state change on ajax -->
<script src="js/jquery.history.js"></script>
<!-- application script for Charisma demo -->
<script src="js/charisma.js"></script>
<!-- the script for this page -->
<script src="bench4qjs/userlogin.js"></script>
</body>
</html>

View File

@ -1,5 +1,5 @@
#Generated by Maven Integration for Eclipse
#Mon Sep 02 19:05:32 CST 2013
#Mon Sep 02 19:30:53 CST 2013
version=0.0.1-SNAPSHOT
groupId=bench4q-web
m2e.projectName=bench4q-web