提交 b3543fa9 编写于 作者: Y youyong205

modify the login jsp

上级 c828505a
......@@ -21,6 +21,7 @@ import org.unidal.web.mvc.PageHandler;
import org.unidal.web.mvc.annotation.InboundActionMeta;
import org.unidal.web.mvc.annotation.OutboundActionMeta;
import org.unidal.web.mvc.annotation.PayloadMeta;
import org.unidal.web.mvc.annotation.PreInboundActionMeta;
import com.dianping.cat.Cat;
import com.dianping.cat.Constants;
......@@ -216,6 +217,7 @@ public class Handler implements PageHandler<Context> {
}
@Override
@PreInboundActionMeta("login")
@PayloadMeta(Payload.class)
@InboundActionMeta(name = "config")
public void handleInbound(Context ctx) throws ServletException, IOException {
......
......@@ -13,15 +13,15 @@
<res:useCss value='${res.css.local.large_css}' media="screen and (min-width: 1050px)" target="head-css" />
<style>
.form-horizontal .control-label{
width:50px;
}
.form-horizontal .controls{
margin-left:70px;
}
body{text-align:center}
div_center{margin:0 auto}
</style>
<form class="form-horizontal" name="login" id="form" method="post" action="/cat/s/login">
<h4 id="myModalLabel" class="text-success">用户登录</h4>
<br/>
<br/>
<div class="div_center" style="width:40%">
<h2 class="text-info">点评监控系统CAT</h2>
<form class="form-horizontal" name="login" id="form" method="post" action="/cat/s/login">
<div class="control-group">
<label class="control-label text-success" for="account">用户名</label>
<div class="controls">
......
......@@ -337,6 +337,7 @@ CREATE TABLE `alert_summary` (
CREATE TABLE `operation` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增长ID',
`user` varchar(128) NOT NULL COMMENT '用户名',
`module` varchar(128) NOT NULL COMMENT '模块',
`operation` varchar(128) NOT NULL COMMENT '操作',
`time` datetime NOT NULL COMMENT '修改时间',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册