Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
162 changes: 162 additions & 0 deletions WebRoot/Admin/addPerson.jsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!doctype html>
<html lang="ch">

<head>
<meta charset="utf-8"/>
<title>添加维修人员</title>

<link rel="stylesheet" href="css/layout.css" type="text/css" media="screen" />
<!--[if lt IE 9]>
<link rel="stylesheet" href="css/ie.css" type="text/css" media="screen" />
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script src="js/jquery-1.5.2.min.js" type="text/javascript"></script>
<script src="js/hideshow.js" type="text/javascript"></script>
<script src="js/jquery.tablesorter.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/jquery.equalHeight.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
$(".tablesorter").tablesorter();
}
);
$(document).ready(function() {

//When page loads...
$(".tab_content").hide(); //Hide all content
$("ul.tabs li:first").addClass("active").show(); //Activate first tab
$(".tab_content:first").show(); //Show first tab content

//On Click Event
$("ul.tabs li").click(function() {

$("ul.tabs li").removeClass("active"); //Remove any "active" class
$(this).addClass("active"); //Add "active" class to selected tab
$(".tab_content").hide(); //Hide all tab content

var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
$(activeTab).fadeIn(); //Fade in the active ID content
return false;
});

});
</script>
<script type="text/javascript">
$(function(){
$('.column').equalHeight();
});
</script>

</head>

<body>

<header id="header">
<hgroup>
<h1 class="site_title"><a href="dashboard.jsp">设备维修后台管理</a></h1>
<h2 class="section_title"></h2><div class="btn_view_site"><a href="login.jsp">退出</a></div>
</hgroup>
</header> <!-- end of header bar -->

<section id="secondary_bar">
<div class="user">
<p><s:property value="#session.USER_NAME"/> </p>
<!-- <a class="logout_user" href="#" title="Logout">Logout</a> -->
</div>
<div class="breadcrumbs_container">
<article class="breadcrumbs"><a href="dashboard.jsp">维修人员管理</a> <div class="breadcrumb_divider"></div> <a class="current">添加维修人员</a></article>
</div>
</section><!-- end of secondary bar -->

<aside id="sidebar" class="column">
<form class="quick_search">
<input type="text" value="Quick Search" onfocus="if(!this._haschanged){this.value=''};this._haschanged=true;">
</form>
<hr/>
<h3>系统管理</h3>
<ul class="toggle">
<li class="icn_categories"><a href="admin!queryOrder.action">维修订单</a></li>
<li class="icn_settings"><a href="system!querySystemPlan.action">系统调度</a></li>
<li class="icn_tags"><a href="monitor!querys.action">过程监控</a></li>
</ul>

<h3>维修人员管理</h3>
<ul class="toggle">
<li class="icn_view_users"><a href="personnel!queryAllPerson.action">查看维修人员</a></li>
<li class="icn_add_user"><a href="addPerson.jsp">添加维修人员</a></li>
<li class="icn_profile"><a href="#">维修人员历史贡献</a></li>
</ul>

<footer>
<hr />
<p><strong>Copyright &copy; 2016 后台管理 Admin</strong></p>
<p>Theme by TechDream</p>
</footer>
</aside><!-- end of sidebar -->

<section id="main" class="column">

<h4 class="alert_success">认真填写哦!</h4>

<article class="module width_full">
<header><h3>添加维修人员</h3></header>
<div class="module_content">
<h4>请填写维修人员信息</h4> <input type='text' style="visibility:hidden" >
<s:form action="personnel!addPersonnel.action" method="post" theme="simple">
<table>
<tr>
<td>姓名:</td>
<td>
<s:textfield name="myper.name"></s:textfield>
</td>
</tr>
<tr>
<td>年龄:</td>
<td>
<s:textfield name="myper.age"></s:textfield>
</td>
</tr>
<tr>
<td>性别:</td>
<td>
<s:radio list="{'男','女'}" name="myper.sex"></s:radio>
</td>
</tr>

<tr>
<td>选择分组:</td>
<td>
<s:select list="{'第一组','第二组','第三组'}" name="myper.grade"></s:select>
</td>
</tr>
<tr>
<td>备注:</td>
<td>
<s:textarea cols="22" rows="5" name="myper.descr"></s:textarea>
</td>
</tr>
<tr>
<td></td>
<td>&nbsp;&nbsp;
<s:submit value="确定"></s:submit>
</td>
</tr>
</table>
</s:form>
<div class="clear"></div>
</div><!-- end of #tab2 -->
<div class="clear"></div>
</div>
</article><!-- end of stats article -->

<div class="clear"></div>
<div class="spacer"></div>
</section>


</body>

</html>
143 changes: 143 additions & 0 deletions WebRoot/Admin/dashboard.jsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!doctype html>
<html lang="ch">

<head>
<meta charset="utf-8"/>
<title>Salesupport</title>

<link rel="stylesheet" href="css/layout.css" type="text/css" media="screen" />
<!--[if lt IE 9]>
<link rel="stylesheet" href="css/ie.css" type="text/css" media="screen" />
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script src="js/jquery-1.5.2.min.js" type="text/javascript"></script>
<script src="js/hideshow.js" type="text/javascript"></script>
<script src="js/jquery.tablesorter.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/jquery.equalHeight.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
$(".tablesorter").tablesorter();
}
);
$(document).ready(function() {

//When page loads...
$(".tab_content").hide(); //Hide all content
$("ul.tabs li:first").addClass("active").show(); //Activate first tab
$(".tab_content:first").show(); //Show first tab content

//On Click Event
$("ul.tabs li").click(function() {

$("ul.tabs li").removeClass("active"); //Remove any "active" class
$(this).addClass("active"); //Add "active" class to selected tab
$(".tab_content").hide(); //Hide all tab content

var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
$(activeTab).fadeIn(); //Fade in the active ID content
return false;
});

});
</script>
<script type="text/javascript">
$(function(){
$('.column').equalHeight();
});
</script>

</head>


<body>

<header id="header">
<hgroup>
<h1 class="site_title"><a href="dashboard.jsp">设备维修后台管理</a></h1>
<h2 class="section_title">Dashboard</h2><div class="btn_view_site"><a href="login.jsp">退出</a></div>
</hgroup>
</header> <!-- end of header bar -->

<section id="secondary_bar">
<div class="user">
<p><s:property value="#session.USER_NAME"/> </p>
<!-- <a class="logout_user" href="#" title="Logout">Logout</a> -->
</div>
<div class="breadcrumbs_container">
<article class="breadcrumbs"><a href="dashboard.jsp">后台管理 </a> <div class="breadcrumb_divider"></div> <a class="current">Dashboard</a></article>
</div>
</section><!-- end of secondary bar -->

<aside id="sidebar" class="column">
<form class="quick_search">
<input type="text" value="Quick Search" onfocus="if(!this._haschanged){this.value=''};this._haschanged=true;">
</form>
<hr/>
<h3>系统管理</h3>
<ul class="toggle">
<li class="icn_categories"><a href="admin!queryOrder.action">维修订单</a></li>
<li class="icn_settings"><a href="system!querySystemPlan.action">系统调度</a></li>
<li class="icn_tags"><a href="monitor!querys.action">过程监控</a></li>
</ul>

<h3>维修人员管理</h3>
<ul class="toggle">
<li class="icn_view_users"><a href="personnel!queryAllPerson.action">查看维修人员</a></li>
<li class="icn_add_user"><a href="addPerson.jsp">添加维修人员</a></li>
<li class="icn_profile"><a href="#">维修人员历史贡献</a></li>
</ul>

<footer>
<hr />
<p><strong>Copyright &copy; 2016 后台管理 Admin</strong></p>
<p>Theme by TechDream</p>
</footer>
</aside><!-- end of sidebar -->

<section id="main" class="column">

<h4 class="alert_success">今日已完成维修订单300!</h4>

<article class="module width_full">

<header><h3>维修量一览</h3></header>
<div class="module_content">
<article class="stats_graph">
<img src="./images/chart.png" width="520" height="140" alt="" />
</article>

<article class="stats_overview">
<div class="overview_today">
<p class="overview_day">今天</p>
<p class="overview_count">1,876</p>
<p class="overview_type">Hits</p>
<p class="overview_count">2,103</p>
<p class="overview_type">Views</p>
</div>
<div class="overview_previous">
<p class="overview_day">昨天</p>
<p class="overview_count">1,646</p>
<p class="overview_type">Hits</p>
<p class="overview_count">2,054</p>
<p class="overview_type">Views</p>
</div>
</article>
<div class="clear"></div>
</div>

</article><!-- end of stats article -->


<div class="clear"></div>

<div class="spacer"></div>
</section>


</body>

</html>
Binary file added WebRoot/Admin/images/chart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added WebRoot/Admin/images/findd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading