IT-KIMI_SHI\SINOIT.KIMI
2018-06-01 64c40fb427bff513f575f11e4c1e7bd9a1bfe3e3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
 
<html lang="en">
<head>
    <%@ include file="/common/global.jsp"%>
    <title>KAD登录页 - 咖啡兔(闫洪磊)</title>
    <script >
        var logon = ${not empty user};
        if (logon) {
            location.href = '${ctx}/main/index';
        }
    </script>
    <%@ include file="/common/meta.jsp" %>
    <%@ include file="/common/include-jquery-ui-theme.jsp" %>
    <%@ include file="/common/include-base-styles.jsp" %>
    <style type="text/css">
        .login-center {
            width: 600px;
            margin-left:auto;
            margin-right:auto;
        }
        #loginContainer {
            margin-top: 3em;
        }
        .login-input {
            padding: 4px 6px;
            font-size: 14px;
            vertical-align: middle;
        }
    </style>
 
    <script src="${ctx }/js/common/jquery-1.8.3.js" type="text/javascript"></script>
    <script src="${ctx }/js/common/plugins/jui/jquery-ui-${themeVersion }.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function() {
        $('button').button({
            icons: {
                primary: 'ui-icon-key'
            }
        });
    });
    </script>
</head>
 
<body>
    <div id="loginContainer" class="login-center">
        <c:if test="${not empty param.error}">
            <h2 id="error" class="alert alert-error">用户名或密码错误!!!</h2>
        </c:if>
        <c:if test="${not empty param.timeout}">
            <h2 id="error" class="alert alert-error">未登录或超时!!!</h2>
        </c:if>
 
        <div style="text-align: center;">
            <h2>工作流引擎Activiti演示项目</h2>
            <h3>
                <a href="https://github.com/henryyan/kft-activiti-demo" target="_blank" style="text-decoration: none;">kft-activiti-demo(v${prop['system.version']})</a>
                <a href="http://www.kafeitu.me/about.html" target="_blank" style="text-decoration: none;">(By 咖啡兔)</a></h3>
        </div>
        <hr />
        <form action="${ctx }/user/logon" method="get">
            <table>
                <tr>
                    <td width="200" style="text-align: right;">用户名:</td>
                    <td><input id="username" name="username" class="login-input" placeholder="用户名(见下左表)" /></td>
                </tr>
                <tr>
                    <td style="text-align: right;">密码:</td>
                    <td><input id="password" name="password" type="password" class="login-input" placeholder="默认为:000000" /></td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td>
                        <button type="submit">登录Demo</button>
                    </td>
                </tr>
            </table>
        </form>
        <hr />
        <div>
            <div style="float:left; width: 48%;margin-right: 2%;">
                <table border="1">
                    <caption>用户列表(密码:000000)</caption>
                    <tr>
                        <th width="50" style="text-align: center">用户名</th>
                        <th style="text-align: center">角色</th>
                    </tr>
                    <tr>
                        <td>admin</td>
                        <td>管理员、用户</td>
                    </tr>
                    <tr>
                        <td>kafeitu</td>
                        <td>用户</td>
                    </tr>
                    <tr>
                        <td>hruser</td>
                        <td>人事、用户</td>
                    </tr>
                    <tr>
                        <td>leaderuser</td>
                        <td>部门经理、用户</td>
                    </tr>
                </table>
            </div>
            <div style="float:right; width: 50%;">
                <dl>
                    <dt>《Activiti实战》:</dt>
                    <dd><a target="_blank" href="http://www.kafeitu.me/activiti-in-action.html">http://www.kafeitu.me/activiti-in-action.html</a></dd>
 
                    <dt>Wiki:</dt>
                    <dd><a target="_blank" href="https://github.com/henryyan/kft-activiti-demo/wiki">https://github.com/henryyan/kft-activiti-demo/wiki</a></dd>
 
                    <dt>Demo源码:</dt>
                    <dd><a target="_blank" href="https://github.com/henryyan/kft-activiti-demo">https://github.com/henryyan/kft-activiti-demo</a></dd>
 
                    <dt>Activiti资料:</dt>
                    <dd><a target="_blank" href="http://www.kafeitu.me/categories.html#activiti-ref">http://www.kafeitu.me/categories.html#activiti-ref</a></dd>
 
                </dl>
            </div>
        </div>
        <hr />
        <div>
            <div style="float:left; width: 50%;">
                <h5>组件版本信息</h5>
                <ul>
                    <li>Activiti版本:${prop['activiti.version']}</li>
                    <li>Spring版本:${prop['spring.version']}</li>
                    <li>Database:${prop['db.type']}</li>
                    <li>使用<a href="http://maven.apache.org" target="_blank">Maven</a>管理依赖</li>
                </ul>
            </div>
            <div style="float:right; width: 50%;">
                <h5>QQ交流群</h5>
                <ul>
                    <li>Activiti中文群1(<span style="color:green;font-weight: bold">欢迎</span>):236540304</li>
                    <li>Activiti中文群2(<span style="color:red">已满</span>):23539326</li>
                    <li>Activiti中文群3(<span style="color:red">已满</span>):139983080</li>
                    <li>Activiti中文群4(<span style="color:red">已满</span>):327913744</li>
                </ul>
            </div>
        </div>
        <hr />
        <div>
            <a href="http://www.kafeitu.me/activiti-in-action.html" target="_blank"><img src="${ctx}/images/activiti-in-action.jpg" alt=""></a>
        </div>
    </div>
</body>
</html>