commit
77881b3b2e
@ -0,0 +1,15 @@
|
||||
<component name="ArtifactManager">
|
||||
<artifact type="exploded-war" name="Lyyyys:war exploded">
|
||||
<output-path>$PROJECT_DIR$/classes/artifacts/Lyyyys_war_exploded</output-path>
|
||||
<root id="root">
|
||||
<element id="directory" name="WEB-INF">
|
||||
<element id="directory" name="classes">
|
||||
<element id="module-output" name="Lyyyys" />
|
||||
</element>
|
||||
<element id="directory" name="lib">
|
||||
<element id="library" level="project" name="lib" />
|
||||
</element>
|
||||
</element>
|
||||
<element id="javaee-facet-resources" facet="Lyyyys/web/Web" />
|
||||
</root>
|
||||
</artifact>
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<option name="USE_RELEASE_OPTION" value="false" />
|
||||
<bytecodeTargetLevel>
|
||||
<module name="Lyyyys" target="8" />
|
||||
</bytecodeTargetLevel>
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,3 @@
|
||||
<component name="ProjectDictionaryState">
|
||||
<dictionary name="hanmeng" />
|
||||
</component>
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding" defaultCharsetForPropertiesFiles="GBK" addBOMForNewFiles="with NO BOM">
|
||||
<file url="file://$PROJECT_DIR$/src/com/so/team/controller/FrontController.java" charset="GBK" />
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,5 @@
|
||||
<component name="InspectionProjectProfileManager">
|
||||
<profile version="1.0">
|
||||
<option name="myName" value="Project Default" />
|
||||
</profile>
|
||||
</component>
|
@ -0,0 +1,10 @@
|
||||
<component name="libraryTable">
|
||||
<library name="lib">
|
||||
<CLASSES>
|
||||
<root url="file://$PROJECT_DIR$/web/WEB-INF/lib" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
<jarDirectory url="file://$PROJECT_DIR$/web/WEB-INF/lib" recursive="false" />
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectInspectionProfilesVisibleTreeState">
|
||||
<entry key="Project Default">
|
||||
<profile-state>
|
||||
<expanded-state>
|
||||
<State>
|
||||
<id />
|
||||
</State>
|
||||
<State>
|
||||
<id>Class structureJava</id>
|
||||
</State>
|
||||
<State>
|
||||
<id>Code maturity issuesJava</id>
|
||||
</State>
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/Lyyyys.iml" filepath="$PROJECT_DIR$/Lyyyys.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ArtifactsWorkspaceSettings">
|
||||
<artifacts-to-build>
|
||||
<artifact name="Lyyyys:war exploded" />
|
||||
</artifacts-to-build>
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="270a53ca-00d2-4d1c-b39e-f5c478c5e1bd" name="Default Changelist" comment="" />
|
||||
<ignored path="$PROJECT_DIR$/classes/" />
|
||||
<ignored path="$PROJECT_DIR$/build/classes/" />
|
||||
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<faceted-project>
|
||||
<runtime name="Apache Tomcat v8.5"/>
|
||||
<fixed facet="jst.web"/>
|
||||
<fixed facet="java"/>
|
||||
<fixed facet="wst.jsdt.web"/>
|
||||
<installed facet="jst.web" version="3.1"/>
|
||||
<installed facet="wst.jsdt.web" version="1.0"/>
|
||||
<installed facet="java" version="11"/>
|
||||
</faceted-project>
|
@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Insert title here</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>11111111111</h1>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||
pageEncoding="UTF-8"%>
|
||||
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>员工列表</title>
|
||||
<%
|
||||
pageContext.setAttribute("APP_PATH", request.getContextPath());
|
||||
%>
|
||||
<script type="text/javascript">
|
||||
window.location.href = "../front/index.jsp";
|
||||
</script>
|
||||
</head>
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
|
||||
<display-name>onlineStudy</display-name>
|
||||
<welcome-file-list>
|
||||
<welcome-file>index.html</welcome-file>
|
||||
<welcome-file>index.htm</welcome-file>
|
||||
<welcome-file>index.jsp</welcome-file>
|
||||
<welcome-file>default.html</welcome-file>
|
||||
<welcome-file>default.htm</welcome-file>
|
||||
<welcome-file>default.jsp</welcome-file>
|
||||
</welcome-file-list>
|
||||
</web-app>
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8"
|
||||
pageEncoding="utf-8"%>
|
||||
<%@ include file="/views/include/taglib.jsp"%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>高校社团管理</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="keywords" content="">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
|
||||
<link href="${adminPath}/front/css/styles.css" rel="stylesheet">
|
||||
<link rel="shortcut icon" href="${adminPath}/front/favicon1.ico">
|
||||
</head>
|
@ -0,0 +1,15 @@
|
||||
@charset "utf-8";
|
||||
body,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
hr,
|
||||
p,
|
||||
blockquote,
|
||||
dl,
|
||||
dt,
|
||||
dd,
|
||||
ul,
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8"
|
||||
pageEncoding="utf-8"%>
|
||||
<%@ include file="/views/include/taglib.jsp"%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>高校社团管理</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="keywords" content="">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
|
||||
<link href="${adminPath}/front/css/styles.css" rel="stylesheet">
|
||||
<link rel="shortcut icon" href="${adminPath}/front/favicon1.ico">
|
||||
</head>
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8"
|
||||
pageEncoding="utf-8"%>
|
||||
<div class="footer-bg">
|
||||
<div class="footer wc1000">
|
||||
<ul class="flink">
|
||||
<li>
|
||||
<a class="tit" href="javascript:;">友情链接: </a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript:;">学校官网</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript:;">美丽校园</a>
|
||||
</li>
|
||||
<li>
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8"
|
||||
pageEncoding="utf-8"%>
|
||||
<%@ include file="/views/include/taglib.jsp"%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>高校社团管理系统</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="keywords" content="">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
|
||||
<link href="${adminPath}/front/css/styles.css" rel="stylesheet">
|
||||
<link rel="shortcut icon" href="${adminPath}/front/favicon1.ico">
|
||||
</head>
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8"
|
||||
pageEncoding="utf-8"%>
|
||||
<%@ include file="/views/include/taglib.jsp"%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>高校社团管理</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="keywords" content="">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
|
||||
<link href="${adminPath}/front/css/styles.css" rel="stylesheet">
|
||||
<%-- <link rel="shortcut icon" href="${adminPath}/front/favicon.ico"> --%>
|
||||
</head>
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8"
|
||||
pageEncoding="utf-8"%>
|
||||
<%@ include file="/views/include/taglib.jsp"%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>高校社团管理</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="keywords" content="">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
|
||||
<link href="${adminPath}/front/css/styles.css" rel="stylesheet">
|
||||
<link rel="shortcut icon" href="${adminPath}/front/favicon1.ico">
|
||||
</head>
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8"
|
||||
pageEncoding="utf-8"%>
|
||||
<%@ include file="/views/include/taglib.jsp"%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>高校社团管理</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="keywords" content="">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
|
||||
<link href="${adminPath}/front/css/styles.css" rel="stylesheet">
|
||||
<link rel="shortcut icon" href="${adminPath}/front/favicon1.ico">
|
||||
</head>
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8"
|
||||
pageEncoding="utf-8"%>
|
||||
<%@ include file="/views/include/taglib.jsp"%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>高校社团管理</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="keywords" content="">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
|
||||
<link href="${adminPath}/front/css/styles.css" rel="stylesheet">
|
||||
<link rel="shortcut icon" href="${adminPath}/front/favicon1.ico">
|
||||
</head>
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8"
|
||||
pageEncoding="utf-8"%>
|
||||
<%@ include file="/views/include/taglib.jsp"%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>高校社团管理</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="keywords" content="">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
|
||||
<link href="${adminPath}/front/css/styles.css" rel="stylesheet">
|
||||
<%-- <link rel="shortcut icon" href="${adminPath}/front/favicon.ico"> --%>
|
||||
</head>
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8"
|
||||
pageEncoding="utf-8"%>
|
||||
<%@ include file="/views/include/taglib.jsp"%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>高校社团管理</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="keywords" content="">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
|
||||
<link href="${adminPath}/front/css/styles.css" rel="stylesheet">
|
||||
<%-- <link rel="shortcut icon" href="${adminPath}/front/favicon.ico"> --%>
|
||||
</head>
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8"
|
||||
pageEncoding="utf-8"%>
|
||||
<%@ include file="/views/include/taglib.jsp"%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>高校社团管理</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="keywords" content="">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
|
||||
<link href="${adminPath}/front/css/styles.css" rel="stylesheet">
|
||||
<link rel="shortcut icon" href="${adminPath}/front/favicon1.ico">
|
||||
<script type="text/javascript" src="${adminPath }/static/js/jquery-1.12.4.min.js"></script>
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8"
|
||||
pageEncoding="utf-8"%>
|
||||
<%@ include file="/views/include/taglib.jsp"%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>高校社团管理</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="keywords" content="">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
|
||||
<link href="${adminPath}/front/css/styles.css" rel="stylesheet">
|
||||
<link rel="shortcut icon" href="${adminPath}/front/favicon1.ico">
|
||||
</head>
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8"
|
||||
pageEncoding="utf-8"%>
|
||||
<div class="t-line"></div>
|
||||
<div class="header">
|
||||
<div class="tools clearfix">
|
||||
<p class="welcome"><img alt="" src="${adminPath}/front/images/kok.jpg" height="60"/></p>
|
||||
<div class="usearea">
|
||||
<c:if test="${flogin!=null }">
|
||||
<a href="${adminPath }/f?action=userInfo">个人中心</a>
|
||||
<a href="${adminPath }/f?action=logout">安全退出</a>
|
||||
</c:if>
|
||||
|
||||
<c:if test="${flogin==null }">
|
||||
<a href="${adminPath }/front/login.jsp">登录</a>
|
||||
<a href="${adminPath }/front/regit.jsp">注册</a>
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8"
|
||||
pageEncoding="utf-8"%>
|
||||
<%@ include file="/views/include/taglib.jsp"%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>高校社团管理</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="keywords" content="">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
|
||||
<link href="${adminPath}/front/css/styles.css" rel="stylesheet">
|
||||
<link rel="shortcut icon" href="${adminPath}/front/favicon1.ico">
|
||||
</head>
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||
pageEncoding="UTF-8"%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Insert title here</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<%
|
||||
response.sendRedirect("f?action=index");
|
||||
|
||||
%>
|
||||
</body>
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8"
|
||||
pageEncoding="utf-8"%>
|
||||
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
||||
<%
|
||||
pageContext.setAttribute("adminPath", request.getContextPath());
|
||||
%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<meta name="renderer" content="webkit">
|
||||
<title>后台管理中心</title>
|
||||
<link rel="stylesheet" href="${adminPath }/static/mui/css/pintuer.css">
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8"
|
||||
pageEncoding="utf-8"%>
|
||||
<%
|
||||
pageContext.setAttribute("adminPath", request.getContextPath());
|
||||
%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<meta name="renderer" content="webkit">
|
||||
<title>登录</title>
|
||||
<link rel="stylesheet" href="${adminPath }/static/mui/css/pintuer.css">
|
||||
<link rel="stylesheet" href="${adminPath }/static/mui/css/admin.css">
|
@ -0,0 +1,15 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8"
|
||||
pageEncoding="utf-8"%>
|
||||
<%@ include file="/views/include/taglib.jsp"%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<meta name="renderer" content="webkit">
|
||||
<title>登录</title>
|
||||
<%@ include file="/views/include/head.jsp"%>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* My97 DatePicker 4.8 Beta4
|
||||
* License: http://www.my97.net/dp/license.asp
|
||||
*/
|
||||
var $dp,WdatePicker;(function(){var $={
|
||||
$langList:[
|
||||
{name:"en",charset:"UTF-8"},
|
||||
{name:"zh-cn",charset:"gb2312"},
|
||||
{name:"zh-tw",charset:"GBK"}],
|
||||
$skinList:[
|
||||
{name:"default",charset:"gb2312"},
|
||||
{name:"whyGreen",charset:"gb2312"},
|
||||
{name:"blue",charset:"gb2312"},
|
||||
{name:"green",charset:"gb2312"},
|
||||
{name:"simple",charset:"gb2312"},
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,14 @@
|
||||
var $lang={
|
||||
errAlertMsg: "Invalid date or the date out of range,redo or not?",
|
||||
aWeekStr: ["wk", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
||||
aLongWeekStr:["wk","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],
|
||||
aMonStr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
||||
aLongMonStr: ["January","February","March","April","May","June","July","August","September","October","November","December"],
|
||||
clearStr: "Clear",
|
||||
todayStr: "Today",
|
||||
okStr: "OK",
|
||||
updateStr: "OK",
|
||||
timeStr: "Time",
|
||||
quickStr: "Quick Selection",
|
||||
err_1: 'MinDate Cannot be bigger than MaxDate!'
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
var $lang={
|
||||
errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u8303\u56F4,\u9700\u8981\u64A4\u9500\u5417?",
|
||||
aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],
|
||||
aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],
|
||||
aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"],
|
||||
aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],
|
||||
clearStr: "\u6E05\u7A7A",
|
||||
todayStr: "\u4ECA\u5929",
|
||||
okStr: "\u786E\u5B9A",
|
||||
updateStr: "\u786E\u5B9A",
|
||||
timeStr: "\u65F6\u95F4",
|
||||
quickStr: "\u5FEB\u901F\u9009\u62E9",
|
||||
err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u4E8E\u6700\u5927\u65E5\u671F!'
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
var $lang={
|
||||
errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u7BC4\u570D,\u9700\u8981\u64A4\u92B7\u55CE?",
|
||||
aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],
|
||||
aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],
|
||||
aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"],
|
||||
aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],
|
||||
clearStr: "\u6E05\u7A7A",
|
||||
todayStr: "\u4ECA\u5929",
|
||||
okStr: "\u78BA\u5B9A",
|
||||
updateStr: "\u78BA\u5B9A",
|
||||
timeStr: "\u6642\u9593",
|
||||
quickStr: "\u5FEB\u901F\u9078\u64C7",
|
||||
err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u65BC\u6700\u5927\u65E5\u671F!'
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
.Wdate{
|
||||
border:#999 1px solid;
|
||||
height:20px;
|
||||
background:#fff url(datePicker.gif) no-repeat right;
|
||||
}
|
||||
.Wdate::-ms-clear{display:none;}
|
||||
|
||||
.WdateFmtErr{
|
||||
font-weight:bold;
|
||||
color:red;
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* My97 DatePicker 4.8
|
||||
*/
|
||||
|
||||
.WdateDiv{
|
||||
width:180px;
|
||||
background-color:#FFFFFF;
|
||||
border:#bbb 1px solid;
|
||||
padding:2px;
|
||||
}
|
||||
|
||||
.WdateDiv2{
|
||||
width:360px;
|
||||
}
|
||||
.WdateDiv *{font-size:9pt;}
|
@ -0,0 +1,15 @@
|
||||
/*
|
||||
* My97 DatePicker 4.8 Skin:whyGreen
|
||||
*/
|
||||
.WdateDiv{
|
||||
width:180px;
|
||||
background-color:#fff;
|
||||
border:#C5E1E4 1px solid;
|
||||
padding:2px;
|
||||
}
|
||||
|
||||
.WdateDiv2{
|
||||
width:360px;
|
||||
}
|
||||
.WdateDiv *{font-size:9pt;}
|
||||
|
@ -0,0 +1,15 @@
|
||||
/*!
|
||||
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
*/
|
||||
.btn-default,
|
||||
.btn-primary,
|
||||
.btn-success,
|
||||
.btn-info,
|
||||
.btn-warning,
|
||||
.btn-danger {
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
|
||||
}
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,15 @@
|
||||
/*!
|
||||
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
*/
|
||||
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
|
||||
html {
|
||||
font-family: sans-serif;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-ms-text-size-adjust: 100%;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
article,
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,15 @@
|
||||
/*!
|
||||
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Licensed under the MIT license
|
||||
*/
|
||||
|
||||
if (typeof jQuery === 'undefined') {
|
||||
throw new Error('Bootstrap\'s JavaScript requires jQuery')
|
||||
}
|
||||
|
||||
+function ($) {
|
||||
'use strict';
|
||||
var version = $.fn.jquery.split(' ')[0].split('.')
|
||||
if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] > 3)) {
|
||||
throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4')
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,13 @@
|
||||
// This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment.
|
||||
require('../../js/transition.js')
|
||||
require('../../js/alert.js')
|
||||
require('../../js/button.js')
|
||||
require('../../js/carousel.js')
|
||||
require('../../js/collapse.js')
|
||||
require('../../js/dropdown.js')
|
||||
require('../../js/modal.js')
|
||||
require('../../js/tooltip.js')
|
||||
require('../../js/popover.js')
|
||||
require('../../js/scrollspy.js')
|
||||
require('../../js/tab.js')
|
||||
require('../../js/affix.js')
|
@ -0,0 +1,15 @@
|
||||
/*!
|
||||
* jQuery JavaScript Library v1.4.4
|
||||
* http://jquery.com/
|
||||
*
|
||||
* Copyright 2010, John Resig
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* Includes Sizzle.js
|
||||
* http://sizzlejs.com/
|
||||
* Copyright 2010, The Dojo Foundation
|
||||
* Released under the MIT, BSD, and GPL Licenses.
|
||||
*
|
||||
* Date: Thu Nov 11 19:04:53 2010 -0500
|
||||
*/
|
@ -0,0 +1,15 @@
|
||||
/*!
|
||||
* jQuery UI 1.8.16
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI
|
||||
*/
|
||||
(function(a,d){function c(h,g){var i=h.nodeName.toLowerCase();if("area"===i){g=h.parentNode;i=g.name;if(!h.href||!i||g.nodeName.toLowerCase()!=="map")return false;h=a("img[usemap=#"+i+"]")[0];return!!h&&e(h)}return(/input|select|textarea|button|object/.test(i)?!h.disabled:"a"==i?h.href||g:g)&&e(h)}function e(h){return!a(h).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.ui=a.ui||{};if(!a.ui.version){a.extend(a.ui,{version:"1.8.16",
|
||||
keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(h,g){return typeof h==="number"?this.each(function(){var i=
|
||||
this;setTimeout(function(){a(i).focus();g&&g.call(i)},h)}):this._focus.apply(this,arguments)},scrollParent:function(){var h;h=a.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(a.curCSS(this,"position",1))&&/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(a.curCSS(this,
|
||||
"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!h.length?a(document):h},zIndex:function(h){if(h!==d)return this.css("zIndex",h);if(this.length){h=a(this[0]);for(var g;h.length&&h[0]!==document;){g=h.css("position");if(g==="absolute"||g==="relative"||g==="fixed"){g=parseInt(h.css("zIndex"),10);if(!isNaN(g)&&g!==0)return g}h=h.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":
|
||||
"mousedown")+".ui-disableSelection",function(h){h.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});a.each(["Width","Height"],function(h,g){function i(l,o,n,k){a.each(b,function(){o-=parseFloat(a.curCSS(l,"padding"+this,true))||0;if(n)o-=parseFloat(a.curCSS(l,"border"+this+"Width",true))||0;if(k)o-=parseFloat(a.curCSS(l,"margin"+this,true))||0});return o}var b=g==="Width"?["Left","Right"]:["Top","Bottom"],f=g.toLowerCase(),j={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,
|
||||
outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};a.fn["inner"+g]=function(l){if(l===d)return j["inner"+g].call(this);return this.each(function(){a(this).css(f,i(this,l)+"px")})};a.fn["outer"+g]=function(l,o){if(typeof l!=="number")return j["outer"+g].call(this,l);return this.each(function(){a(this).css(f,i(this,l,true,o)+"px")})}});a.extend(a.expr[":"],{data:function(h,g,i){return!!a.data(h,i[3])},focusable:function(h){return c(h,!isNaN(a.attr(h,"tabindex")))},tabbable:function(h){var g=a.attr(h,
|
@ -0,0 +1,15 @@
|
||||
(function(e,$){if(window.xheditor)return!1;var I=navigator.userAgent.toLowerCase(),Ba=-1!==I.indexOf("mobile"),J=e.browser,pa=parseFloat(J.version),h=J.msie,qa=J.mozilla,R=J.safari,Ca=J.opera,eb=-1<I.indexOf(" adobeair/"),Da=/OS 5(_\d)+ like Mac OS X/i.test(I);e.fn.xheditor=function(h){if(Ba&&!Da)return!1;var o=[];this.each(function(){if(e.nodeName(this,"TEXTAREA"))if(!1===h){if(this.xheditor)this.xheditor.remove(),this.xheditor=null}else if(this.xheditor)o.push(this.xheditor);else{var q=/({.*})/.exec(e(this).attr("class"));
|
||||
if(q){try{q=eval("("+q[1]+")")}catch(t){}h=e.extend({},q,h)}q=new ra(this,h);if(q.init())this.xheditor=q,o.push(q)}});0===o.length&&(o=!1);1===o.length&&(o=o[0]);return o};var aa=0,S=!1,sa=!0,ta=!1,Sa=!1,t,ba,ca,da,K,Ea,ea,Fa,Ga,Ha,A;e("script[src*=xheditor]").each(function(){var e=this.src;if(e.match(/xheditor[^\/]*\.js/i))return A=e.replace(/[\?#].*$/,"").replace(/(^|[\/\\])[^\/]*$/,"$1"),!1});if(h){try{document.execCommand("BackgroundImageCache",!1,!0)}catch(qb){}(I=e.fn.jquery)&&I.match(/^1\.[67]/)&&
|
||||
(e.attrHooks.width=e.attrHooks.height=null)}var fb={27:"esc",9:"tab",32:"space",13:"enter",8:"backspace",145:"scroll",20:"capslock",144:"numlock",19:"pause",45:"insert",36:"home",46:"del",35:"end",33:"pageup",34:"pagedown",37:"left",38:"up",39:"right",40:"down",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12"},Ta="#FFFFFF,#CCCCCC,#C0C0C0,#999999,#666666,#333333,#000000,#FFCCCC,#FF6666,#FF0000,#CC0000,#990000,#660000,#330000,#FFCC99,#FF9966,#FF9900,#FF6600,#CC6600,#993300,#663300,#FFFF99,#FFFF66,#FFCC66,#FFCC33,#CC9933,#996633,#663333,#FFFFCC,#FFFF33,#FFFF00,#FFCC00,#999900,#666600,#333300,#99FF99,#66FF99,#33FF33,#33CC00,#009900,#006600,#003300,#99FFFF,#33FFFF,#66CCCC,#00CCCC,#339999,#336666,#003333,#CCFFFF,#66FFFF,#33CCFF,#3366FF,#3333FF,#000099,#000066,#CCCCFF,#9999FF,#6666CC,#6633FF,#6600CC,#333399,#330099,#FFCCFF,#FF99FF,#CC66CC,#CC33CC,#993399,#663366,#330033".split(","),
|
||||
gb=[{n:"p",t:"\u666e\u901a\u6bb5\u843d"},{n:"h1",t:"\u6807\u98981"},{n:"h2",t:"\u6807\u98982"},{n:"h3",t:"\u6807\u98983"},{n:"h4",t:"\u6807\u98984"},{n:"h5",t:"\u6807\u98985"},{n:"h6",t:"\u6807\u98986"},{n:"pre",t:"\u5df2\u7f16\u6392\u683c\u5f0f"},{n:"address",t:"\u5730\u5740"}],hb=[{n:"\u5b8b\u4f53",c:"SimSun"},{n:"\u4eff\u5b8b\u4f53",c:"FangSong_GB2312"},{n:"\u9ed1\u4f53",c:"SimHei"},{n:"\u6977\u4f53",c:"KaiTi_GB2312"},{n:"\u5fae\u8f6f\u96c5\u9ed1",c:"Microsoft YaHei"},{n:"Arial"},{n:"Arial Black"},
|
||||
{n:"Comic Sans MS"},{n:"Courier New"},{n:"System"},{n:"Times New Roman"},{n:"Tahoma"},{n:"Verdana"}],T=[{n:"x-small",s:"10px",t:"\u6781\u5c0f"},{n:"small",s:"12px",t:"\u7279\u5c0f"},{n:"medium",s:"16px",t:"\u5c0f"},{n:"large",s:"18px",t:"\u4e2d"},{n:"x-large",s:"24px",t:"\u5927"},{n:"xx-large",s:"32px",t:"\u7279\u5927"},{n:"-webkit-xxx-large",s:"48px",t:"\u6781\u5927"}],ib=[{s:"\u5de6\u5bf9\u9f50",v:"justifyleft"},{s:"\u5c45\u4e2d",v:"justifycenter"},{s:"\u53f3\u5bf9\u9f50",v:"justifyright"},{s:"\u4e24\u7aef\u5bf9\u9f50",
|
||||
v:"justifyfull"}],jb=[{s:"\u6570\u5b57\u5217\u8868",v:"insertOrderedList"},{s:"\u7b26\u53f7\u5217\u8868",v:"insertUnorderedList"}],kb={"default":{name:"\u9ed8\u8ba4",width:24,height:24,line:7,list:{smile:"\u5fae\u7b11",tongue:"\u5410\u820c\u5934",titter:"\u5077\u7b11",laugh:"\u5927\u7b11",sad:"\u96be\u8fc7",wronged:"\u59d4\u5c48",fastcry:"\u5feb\u54ed\u4e86",cry:"\u54ed",wail:"\u5927\u54ed",mad:"\u751f\u6c14",knock:"\u6572\u6253",curse:"\u9a82\u4eba",crazy:"\u6293\u72c2",angry:"\u53d1\u706b",ohmy:"\u60ca\u8bb6",
|
||||
awkward:"\u5c34\u5c2c",panic:"\u60ca\u6050",shy:"\u5bb3\u7f9e",cute:"\u53ef\u601c",envy:"\u7fa1\u6155",proud:"\u5f97\u610f",struggle:"\u594b\u6597",quiet:"\u5b89\u9759",shutup:"\u95ed\u5634",doubt:"\u7591\u95ee",despise:"\u9119\u89c6",sleep:"\u7761\u89c9",bye:"\u518d\u89c1"}}},ka={Cut:{t:"\u526a\u5207 (Ctrl+X)"},Copy:{t:"\u590d\u5236 (Ctrl+C)"},Paste:{t:"\u7c98\u8d34 (Ctrl+V)"},Pastetext:{t:"\u7c98\u8d34\u6587\u672c",h:h?0:1},Blocktag:{t:"\u6bb5\u843d\u6807\u7b7e",h:1},Fontface:{t:"\u5b57\u4f53",
|
||||
h:1},FontSize:{t:"\u5b57\u4f53\u5927\u5c0f",h:1},Bold:{t:"\u52a0\u7c97 (Ctrl+B)",s:"Ctrl+B"},Italic:{t:"\u659c\u4f53 (Ctrl+I)",s:"Ctrl+I"},Underline:{t:"\u4e0b\u5212\u7ebf (Ctrl+U)",s:"Ctrl+U"},Strikethrough:{t:"\u5220\u9664\u7ebf"},FontColor:{t:"\u5b57\u4f53\u989c\u8272",h:1},BackColor:{t:"\u80cc\u666f\u989c\u8272",h:1},SelectAll:{t:"\u5168\u9009 (Ctrl+A)"},Removeformat:{t:"\u5220\u9664\u6587\u5b57\u683c\u5f0f"},Align:{t:"\u5bf9\u9f50",h:1},List:{t:"\u5217\u8868",h:1},Outdent:{t:"\u51cf\u5c11\u7f29\u8fdb"},
|
||||
Indent:{t:"\u589e\u52a0\u7f29\u8fdb"},Link:{t:"\u8d85\u94fe\u63a5 (Ctrl+L)",s:"Ctrl+L",h:1},Unlink:{t:"\u53d6\u6d88\u8d85\u94fe\u63a5"},Anchor:{t:"\u951a\u70b9",h:1},Img:{t:"\u56fe\u7247",h:1},Flash:{t:"Flash\u52a8\u753b",h:1},Media:{t:"\u591a\u5a92\u4f53\u6587\u4ef6",h:1},Hr:{t:"\u63d2\u5165\u6c34\u5e73\u7ebf"},Emot:{t:"\u8868\u60c5",s:"ctrl+e",h:1},Table:{t:"\u8868\u683c",h:1},Source:{t:"\u6e90\u4ee3\u7801"},Preview:{t:"\u9884\u89c8"},Print:{t:"\u6253\u5370 (Ctrl+P)",s:"Ctrl+P"},Fullscreen:{t:"\u5168\u5c4f\u7f16\u8f91 (Esc)",
|
||||
s:"Esc"},About:{t:"\u5173\u4e8e xhEditor"}},Ia={mini:"Bold,Italic,Underline,Strikethrough,|,Align,List,|,Link,Img",simple:"Blocktag,Fontface,FontSize,Bold,Italic,Underline,Strikethrough,FontColor,BackColor,|,Align,List,Outdent,Indent,|,Link,Img,Emot",full:"Cut,Copy,Paste,Pastetext,|,Blocktag,Fontface,FontSize,Bold,Italic,Underline,Strikethrough,FontColor,BackColor,SelectAll,Removeformat,|,Align,List,Outdent,Indent,|,Link,Unlink,Anchor,Img,Flash,Media,Hr,Emot,Table,|,Source,Preview,Print,Fullscreen"};
|
||||
Ia.mfull=Ia.full.replace(/\|(,Align)/i,"/$1");var lb={a:"Link",img:"Img",embed:"Embed"},mb={"<":"<",">":">",'"':""","\u00ae":"®","\u00a9":"©"},nb=/[<>"\u00ae\u00a9]/g,ra=function(z,o){function q(a){var a=a.target,b=lb[a.tagName.toLowerCase()];b&&("Embed"===b&&(b={"application/x-shockwave-flash":"Flash","application/x-mplayer2":"Media"}[a.type.toLowerCase()]),d.exec(b))}function I(a){if(27===a.which)return ta?d.removeModal():S&&d.hidePanel(),!1}function J(){setTimeout(d.setSource,
|
||||
10)}function U(){d.getSource()}function Ua(a){var b,c,f;if(a&&(b=a.originalEvent.clipboardData)&&(c=b.items)&&(f=c[0])&&"file"==f.kind&&f.type.match(/^image\//i))return a=f.getAsFile(),b=new FileReader,b.onload=function(){var a='<img src="'+event.target.result+'">',a=Va(a);d.pasteHTML(a)},b.readAsDataURL(a),!1;var i=g.cleanPaste;if(0===i||x||Ja)return!0;Ja=!0;d.saveBookmark();var a=h?"pre":"div",m=e("<"+a+' class="xhe-paste">\ufeff\ufeff</'+a+">",l).appendTo(l.body),a=m[0];b=d.getSel();c=d.getRng(!0);
|
||||
m.css("top",fa.scrollTop());h?(c.moveToElementText(a),c.select()):(c.selectNodeContents(a),b.removeAllRanges(),b.addRange(c));setTimeout(function(){var a=3===i,b;if(a)b=m.text();else{var c=[];e(".xhe-paste",l.body).each(function(a,b){0==e(b).find(".xhe-paste").length&&c.push(b.innerHTML)});b=c.join("<br />")}m.remove();d.loadBookmark();if(b=b.replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,""))if(a)d.pasteText(b);else if(b=d.cleanHTML(b),b=d.cleanWord(b),b=d.formatXHTML(b),!g.onPaste||g.onPaste&&!1!==(b=g.onPaste(b)))b=
|
||||
Va(b),d.pasteHTML(b);Ja=!1},0)}function Va(a){var b=g.localUrlTest,c=g.remoteImgSaveUrl;if(b&&c){var f=[],i=0,a=a.replace(/(<img)((?:\s+[^>]*?)?(?:\s+src="\s*([^"]+)\s*")(?: [^>]*)?)(\/?>)/ig,function(a,c,d,e,s){/^(https?|data:image)/i.test(e)&&!/_xhe_temp/.test(d)&&!b.test(e)&&(f[i]=e,d=d.replace(/\s+(width|height)="[^"]*"/ig,"").replace(/\s+src="[^"]*"/ig,' src="'+ua+'img/waiting.gif" remoteimg="'+i++ +'"'));return c+d+s});0<f.length&&e.post(c,{urls:f.join("|")},function(a){a=a.split("|");e("img[remoteimg]",
|
||||
d.doc).each(function(){var b=e(this);L(b,"src",a[b.attr("remoteimg")]);b.removeAttr("remoteimg")})})}return a}function Ka(a){try{d._exec("styleWithCSS",a,!0)}catch(b){try{d._exec("useCSS",!a,!0)}catch(c){}}}function La(){if(Ma&&!x){Ka(!1);try{d._exec("enableObjectResizing",!0,!0)}catch(a){}if(h)try{d._exec("BackgroundImageCache",!0,!0)}catch(b){}}}function Ba(a){if(x||13!==a.which||a.shiftKey||a.ctrlKey||a.altKey)return!0;a=d.getParent("p,h1,h2,h3,h4,h5,h6,pre,address,div,li");if(a.is("li"))return!0;
|
@ -0,0 +1,15 @@
|
||||
html,body{
|
||||
font-size:12px;
|
||||
padding:0px;margin:0;
|
||||
overflow:hidden;
|
||||
width:100%;height:100%;
|
||||
}
|
||||
#buttonArea{
|
||||
background:url(img/bg1.gif);
|
||||
border-top:1px solid #F0F5FA;
|
||||
border-bottom:1px solid #99BBE8;
|
||||
padding:3px;
|
||||
}
|
||||
#controlBtns{
|
||||
float:right;
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" >
|
||||
<head>
|
||||
<meta name="robots" content="noindex, nofollow" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>MultiUpload Demo</title>
|
||||
<link href="multiupload.css" rel="stylesheet" type="text/css" />
|
||||
<script type="text/javascript" src="../../jquery/jquery-1.4.4.min.js"></script>
|
||||
<script type="text/javascript" src="swfupload/swfupload.js"></script>
|
||||
<script type="text/javascript" src="multiupload.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(window).load(pageInit);
|
||||
function pageInit()
|
||||
{
|
||||
var uploadurl='../upload.php',ext='所有文件 (*.*)',size='2 MB',count=5,useget=0,params={}//默认值
|
@ -0,0 +1,15 @@
|
||||
/*!
|
||||
* MultiUpload for xheditor
|
||||
* @requires xhEditor
|
||||
*
|
||||
* @author Yanis.Wang<yanis.wang@gmail.com>
|
||||
* @site http://xheditor.com/
|
||||
* @licence LGPL(http://www.opensource.org/licenses/lgpl-license.php)
|
||||
*
|
||||
* @Version: 0.9.2 (build 100505)
|
||||
*/
|
||||
var swfu,selQueue=[],selectID,arrMsg=[],allSize=0,uploadSize=0;
|
||||
function removeFile()
|
||||
{
|
||||
var file;
|
||||
if(!selectID)return;
|
@ -0,0 +1,15 @@
|
||||
function ubb2html(c){function g(b){return null!=b&&""!=b?!isNaN(b):!1}var b,l=[],e=0,m="10px,13px,16px,18px,24px,32px,48px".split(",");b=(""+c).replace(/[<>&"]/g,function(b){return{"<":"<",">":">","&":"&",'"':"""}[b]});b=b.replace(/\r?\n/g,"<br />");b=b.replace(/\[code\s*(?:=\s*([^\]]+?))?\]([\s\S]*?)\[\/code\]/ig,function(b){e++;l[e]=b;return"[\tubbcodeplace_"+e+"\t]"});b=b.replace(/\[(\/?)(b|u|i|s|sup|sub)\]/ig,"<$1$2>");b=b.replace(/\[color\s*=\s*([^\]"]+?)(?:"[^\]]*?)?\s*\]/ig,
|
||||
'<font color="$1">');b=b.replace(/\[font\s*=\s*([^\]"]+?)(?:"[^\]]*?)?\s*\]/ig,'<font face="$1">');b=b.replace(/\[\/(color|font)\]/ig,"</font>");b=b.replace(/\[size\s*=\s*([^\]"]+?)(?:"[^\]]*?)?\s*\]/ig,function(b,a){a.match(/^\d+$/)&&(a=m[a-1]);return'<span style="font-size:'+a+';">'});b=b.replace(/\[back\s*=\s*([^\]"]+?)(?:"[^\]]*?)?\s*\]/ig,'<span style="background-color:$1;">');b=b.replace(/\[\/(size|back)\]/ig,"</span>");for(c=0;3>c;c++)b=b.replace(/\[align\s*=\s*([^\]"]+?)(?:"[^\]]*?)?\s*\](((?!\[align(?:\s+[^\]]+)?\])[\s\S])*?)\[\/align\]/ig,
|
||||
'<p align="$1">$2</p>');b=b.replace(/\[img\]\s*(((?!")[\s\S])+?)(?:"[\s\S]*?)?\s*\[\/img\]/ig,'<img src="$1" alt="" />');b=b.replace(/\[img\s*=([^,\]]*)(?:\s*,\s*(\d*%?)\s*,\s*(\d*%?)\s*)?(?:,?\s*(\w+))?\s*\]\s*(((?!")[\s\S])+?)(?:"[\s\S]*)?\s*\[\/img\]/ig,function(b,a,c,j,e,q){b='<img src="'+q+'" alt="'+a+'"';e=e?e:!g(c)?c:"";g(c)&&(b+=' width="'+c+'"');g(j)&&(b+=' height="'+j+'"');e&&(b+=' align="'+e+'"');return b+" />"});b=b.replace(/\[emot\s*=\s*([^\]"]+?)(?:"[^\]]*?)?\s*\/\]/ig,'<img emot="$1" />');
|
||||
b=b.replace(/\[url\]\s*(((?!")[\s\S])*?)(?:"[\s\S]*?)?\s*\[\/url\]/ig,'<a href="$1">$1</a>');b=b.replace(/\[url\s*=\s*([^\]"]+?)(?:"[^\]]*?)?\s*\]\s*([\s\S]*?)\s*\[\/url\]/ig,'<a href="$1">$2</a>');b=b.replace(/\[email\]\s*(((?!")[\s\S])+?)(?:"[\s\S]*?)?\s*\[\/email\]/ig,'<a href="mailto:$1">$1</a>');b=b.replace(/\[email\s*=\s*([^\]"]+?)(?:"[^\]]*?)?\s*\]\s*([\s\S]+?)\s*\[\/email\]/ig,'<a href="mailto:$1">$2</a>');b=b.replace(/\[quote\]/ig,"<blockquote>");b=b.replace(/\[\/quote\]/ig,"</blockquote>");
|
||||
b=b.replace(/\[flash\s*(?:=\s*(\d+)\s*,\s*(\d+)\s*)?\]\s*(((?!")[\s\S])+?)(?:"[\s\S]*?)?\s*\[\/flash\]/ig,function(b,a,c,e){a||(a=480);c||(c=400);return'<embed type="application/x-shockwave-flash" src="'+e+'" wmode="opaque" quality="high" bgcolor="#ffffff" menu="false" play="true" loop="true" width="'+a+'" height="'+c+'"/>'});b=b.replace(/\[media\s*(?:=\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d+)\s*)?)?\]\s*(((?!")[\s\S])+?)(?:"[\s\S]*?)?\s*\[\/media\]/ig,function(b,a,c,e,g){a||(a=480);c||(c=400);return'<embed type="application/x-mplayer2" src="'+
|
||||
g+'" enablecontextmenu="false" autostart="'+("1"==e?"true":"false")+'" width="'+a+'" height="'+c+'"/>'});b=b.replace(/\[table\s*(?:=\s*(\d{1,4}%?)\s*(?:,\s*([^\]"]+)(?:"[^\]]*?)?)?)?\s*\]/ig,function(b,a,c){b="<table";a&&(b+=' width="'+a+'"');c&&(b+=' bgcolor="'+c+'"');return b+">"});b=b.replace(/\[tr\s*(?:=\s*([^\]"]+?)(?:"[^\]]*?)?)?\s*\]/ig,function(b,a){return"<tr"+(a?' bgcolor="'+a+'"':"")+">"});b=b.replace(/\[td\s*(?:=\s*(\d{1,2})\s*,\s*(\d{1,2})\s*(?:,\s*(\d{1,4}%?))?)?\s*\]/ig,function(b,
|
||||
a,c,e){return"<td"+(1<a?' colspan="'+a+'"':"")+(1<c?' rowspan="'+c+'"':"")+(e?' width="'+e+'"':"")+">"});b=b.replace(/\[\/(table|tr|td)\]/ig,"</$1>");b=b.replace(/\[\*\]((?:(?!\[\*\]|\[\/list\]|\[list\s*(?:=[^\]]+)?\])[\s\S])+)/ig,"<li>$1</li>");b=b.replace(/\[list\s*(?:=\s*([^\]"]+?)(?:"[^\]]*?)?)?\s*\]/ig,function(b,a){var c="<ul";a&&(c+=' type="'+a+'"');return c+">"});b=b.replace(/\[\/list\]/ig,"</ul>");b=b.replace(/\[hr\/\]/ig,"<hr />");for(c=1;c<=e;c++)b=b.replace("[\tubbcodeplace_"+c+"\t]",
|
||||
l[c]);return b=b.replace(/(^|<\/?\w+(?:\s+[^>]*?)?>)([^<$]+)/ig,function(b,a,c){return a+c.replace(/[\t ]/g,function(a){return{"\t":" "," ":" "}[a]})})}
|
||||
function html2ubb(c){function g(a,c,h,d){if(!h)return d;var a=[],c=[],f;if(f=h.match(/ face\s*=\s*"\s*([^"]+)\s*"/i))a.push("[font="+f[1]+"]"),c.push("[/font]");if(f=h.match(/ size\s*=\s*"\s*(\d+)\s*"/i))a.push("[size="+f[1]+"]"),c.push("[/size]");if(f=h.match(/ color\s*=\s*"\s*([^"]+)\s*"/i))a.push("[color="+b(f[1])+"]"),c.push("[/color]");return a.join("")+d+c.join("")}function b(a){var b;if(b=a.match(/\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/i)){for(a=(65536*b[1]+256*b[2]+1*b[3]).toString(16);6>
|
||||
a.length;)a="0"+a;a="#"+a}return a=a.replace(/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i,"#$1$1$2$2$3$3")}var l=/\s+src\s*=\s*(["']?)\s*(.+?)\s*\1(\s|$)/i,e=/\s+width\s*=\s*(["']?)\s*(\d+(?:\.\d+)?%?)\s*\1(\s|$)/i,m=/\s+height\s*=\s*(["']?)\s*(\d+(?:\.\d+)?%?)\s*\1(\s|$)/i,n=/(?:background|background-color|bgcolor)\s*[:=]\s*(["']?)\s*((rgb\s*\(\s*\d{1,3}%?,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\))|(#[0-9a-f]{3,6})|([a-z]{1,20}))\s*\1/i,a,o=[],j=0;a=(""+c).replace(/\s*\r?\n\s*/g,"");a=a.replace(/<(script|style)(\s+[^>]*?)?>[\s\S]*?<\/\1>/ig,
|
||||
"");a=a.replace(/<\!--[\s\S]*?--\>/ig,"");a=a.replace(/<br(\s+[^>]*)?\/?>/ig,"\r\n");a=a.replace(/\[code\s*(=\s*([^\]]+?))?\]([\s\S]*?)\[\/code\]/ig,function(a){j++;o[j]=a;return"[\tubbcodeplace_"+j+"\t]"});a=a.replace(/<(\/?)(b|u|i|s)(\s+[^>]*?)?>/ig,"[$1$2]");a=a.replace(/<(\/?)strong(\s+[^>]*?)?>/ig,"[$1b]");a=a.replace(/<(\/?)em(\s+[^>]*?)?>/ig,"[$1i]");a=a.replace(/<(\/?)(strike|del)(\s+[^>]*?)?>/ig,"[$1s]");a=a.replace(/<(\/?)(sup|sub)(\s+[^>]*?)?>/ig,"[$1$2]");a=a.replace(/<(font)(\s+[^>]*?)?>(((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S])*?<\/\1>)*?<\/\1>)*?)<\/\1>/ig,
|
||||
g);a=a.replace(/<(font)(\s+[^>]*?)?>(((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S])*?<\/\1>)*?)<\/\1>/ig,g);a=a.replace(/<(font)(\s+[^>]*?)?>(((?!<\1(\s+[^>]*?)?>)[\s\S])*?)<\/\1>/ig,g);for(c=0;3>c;c++)a=a.replace(/<(span)(?:\s+[^>]*?)?\s+style\s*=\s*"((?:[^"]*?;)*\s*(?:font-family|font-size|color|background|background-color)\s*:[^"]*)"(?: [^>]+)?>(((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S])*?<\/\1>)*?<\/\1>)*?)<\/\1>/ig,
|
||||
function(a,c,h,d){var a=h.match(/(?:^|;)\s*font-family\s*:\s*([^;]+)/i),c=h.match(/(?:^|;)\s*font-size\s*:\s*([^;]+)/i),f=h.match(/(?:^|;)\s*color\s*:\s*([^;]+)/i),h=h.match(/(?:^|;)\s*(?:background|background-color)\s*:\s*([^;]+)/i),e=[],k=[];a&&(e.push("[font="+a[1]+"]"),k.push("[/font]"));c&&(e.push("[size="+c[1]+"]"),k.push("[/size]"));f&&(e.push("[color="+b(f[1])+"]"),k.push("[/color]"));h&&(e.push("[back="+b(h[1])+"]"),k.push("[/back]"));return e.join("")+d+k.join("")});for(c=0;3>c;c++)a=a.replace(/<(div|p)(?:\s+[^>]*?)?[\s"';]\s*(?:text-)?align\s*[=:]\s*(["']?)\s*(left|center|right)\s*\2[^>]*>(((?!<\1(\s+[^>]*?)?>)[\s\S])+?)<\/\1>/ig,
|
||||
"[align=$3]$4[/align]");for(c=0;3>c;c++)a=a.replace(/<(center)(?:\s+[^>]*?)?>(((?!<\1(\s+[^>]*?)?>)[\s\S])*?)<\/\1>/ig,"[align=center]$2[/align]");for(c=0;3>c;c++)a=a.replace(/<(p|div)(?:\s+[^>]*?)?\s+style\s*=\s*"(?:[^;"]*;)*\s*text-align\s*:([^;"]*)[^"]*"(?: [^>]+)?>(((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S]|<\1(\s+[^>]*?)?>((?!<\1(\s+[^>]*?)?>)[\s\S])*?<\/\1>)*?<\/\1>)*?)<\/\1>/ig,function(a,b,c,d){return"[align="+c+"]"+d+"[/align]"});a=a.replace(/<a(?:\s+[^>]*?)?\s+href=(["'])\s*(.+?)\s*\1[^>]*>\s*([\s\S]*?)\s*<\/a>/ig,
|
||||
function(a,b,c,d){if(!c||!d)return"";a="url";c.match(/^mailto:/i)&&(a="email",c=c.replace(/mailto:(.+?)/i,"$1"));b="["+a;c!=d&&(b+="="+c);return b+"]"+d+"[/"+a+"]"});a=a.replace(/<img(\s+[^>]*?)\/?>/ig,function(a,b){var c=b.match(/\s+emot\s*=\s*(["']?)\s*(.+?)\s*\1(\s|$)/i);if(c)return"[emot="+c[2]+"/]";var c=b.match(l),d=b.match(/\s+alt\s*=\s*(["']?)\s*(.*?)\s*\1(\s|$)/i),f=b.match(e),i=b.match(m),k=b.match(/\s+align\s*=\s*(["']?)\s*(\w+)\s*\1(\s|$)/i),g="[img";if(!c)return"";d=""+d[2];if(f||i)d+=
|
@ -0,0 +1,15 @@
|
||||
html{height:100%;background-color:#FFFFFF;}
|
||||
body,td,th{font-family:Arial,Helvetica,sans-serif;font-size:12px;}
|
||||
body{height:100%;*height:90%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}
|
||||
|
||||
.xhe-border{border:1px dotted #d3d3d3;}
|
||||
.xhe-border th,.xhe-border td{border:1px dotted #d3d3d3;}
|
||||
.wordImage{border:1px dotted #c00;background:url(img/wordimg.gif) #ffc center center no-repeat;}
|
||||
|
||||
.editMode{margin:0px;padding:5px;overflow-y:auto;word-break:break-word;word-wrap:break-word;}
|
||||
.editMode img:-moz-broken {-moz-force-broken-image-icon:1;height:24px;width:24px;}
|
||||
.editMode embed{display:inline-block;border:1px dotted #c00;}
|
||||
.editMode embed[type="application/x-shockwave-flash"]{background:url(img/flash.gif) #ffc center center no-repeat;}
|
||||
.editMode embed[type="application/x-mplayer2"]{background:url(img/wmp.gif) center center no-repeat;}
|
||||
.editMode .xhe-paste{position:absolute;left:-1000px;overflow:hidden;width:1px;height:1px;}
|
||||
.editMode .xhe-anchor{display:inline-block;background: url(img/anchor.gif) no-repeat;border: 1px dotted #0000FF;width:16px;height:15px;overflow:hidden;}
|
@ -0,0 +1,15 @@
|
||||
.xhe_default table, .xhe_default tr, .xhe_default td, .xhe_default iframe {border:0; margin:0; padding:0; background:transparent;text-decoration:none; font-weight:normal; color:#000}
|
||||
|
||||
.xhe_default table.xheLayout {display:inline-table;background:#F0F0EE; border:1px solid #C5C5C5;width:100%;height:100%;}
|
||||
.xhe_default td.xheTool{padding:0px 3px;border-bottom:1px solid #C5C5C5;}
|
||||
.xhe_default td.xheTool span{float:left;margin:2px 0px;}
|
||||
.xhe_default td.xheTool br{clear:left;}
|
||||
|
||||
.xhe_default span.xheGStart{display:none;}
|
||||
.xhe_default span.xheGEnd{display:none;}
|
||||
.xhe_default span.xheSeparator{display:block;height:22px;width:4px;margin:2px 2px !important;background:url(img/icons.gif) no-repeat -660px 0;}
|
||||
|
||||
.xhe_default a.xheButton{display:inline-block;margin:1px;border:0px;cursor:pointer;text-decoration:none;}
|
||||
.xhe_default a.xheButton span{opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30);}
|
||||
.xhe_default a.xheEnabled span{opacity:1; -ms-filter:'alpha(opacity=100)'; filter:alpha(opacity=100);}
|
||||
.xhe_default a.xheEnabled:hover {margin:0px;border:1px solid #999;background:#fff;}
|
@ -0,0 +1,15 @@
|
||||
html{height:100%;background-color:#FFFFFF;}
|
||||
body,td,th{font-family:Arial,Helvetica,sans-serif;font-size:12px;}
|
||||
body{height:100%;*height:90%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}
|
||||
|
||||
.xhe-border{border:1px dotted #d3d3d3;}
|
||||
.xhe-border th,.xhe-border td{border:1px dotted #d3d3d3;}
|
||||
|
||||
.editMode{margin:0px;padding:5px;overflow-y:auto;word-break:break-word;word-wrap:break-word;}
|
||||
.editMode img:-moz-broken {-moz-force-broken-image-icon:1;height:24px;width:24px;}
|
||||
.editMode embed{display:inline-block;border:1px dashed #FF4E4E;}
|
||||
.editMode embed[type="application/x-shockwave-flash"]{background:url(img/flash.gif) center center no-repeat;}
|
||||
.editMode embed[type="application/x-mplayer2"]{background:url(img/wmp.gif) center center no-repeat;}
|
||||
.editMode .xhe-paste{position:absolute;left:-1000px;overflow:hidden;width:1px;height:1px;}
|
||||
.editMode .xhe-anchor{display:inline-block;background: url(img/anchor.gif) no-repeat;border: 1px dotted #0000FF;width:16px;height:15px;overflow:hidden;}
|
||||
|
@ -0,0 +1,15 @@
|
||||
.xhe_nostyle table, .xhe_nostyle tr, .xhe_nostyle td, .xhe_nostyle iframe {border:0; margin:0; padding:0; background:transparent;text-decoration:none; font-weight:normal; color:#000}
|
||||
|
||||
.xhe_nostyle table.xheLayout {display:inline-table;background:#FFF; border:1px solid #C5C5C5;width:100%;height:100%;}
|
||||
.xhe_nostyle td.xheTool{padding:0px 3px;border-bottom:1px solid #C5C5C5;}
|
||||
.xhe_nostyle td.xheTool span{float:left;margin:2px 0px;}
|
||||
.xhe_nostyle td.xheTool br{clear:left;}
|
||||
|
||||
.xhe_nostyle span.xheGStart{display:none;}
|
||||
.xhe_nostyle span.xheGEnd{display:none;}
|
||||
.xhe_nostyle span.xheSeparator{display:block;height:22px;width:4px;margin:2px 2px !important;background:url(img/icons.gif) no-repeat -660px 0;}
|
||||
|
||||
.xhe_nostyle a.xheButton{display:inline-block;margin:1px;border:0px;cursor:pointer;text-decoration:none;}
|
||||
.xhe_nostyle a.xheButton span{opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30);}
|
||||
.xhe_nostyle a.xheEnabled span{opacity:1; -ms-filter:'alpha(opacity=100)'; filter:alpha(opacity=100);}
|
||||
.xhe_nostyle a.xheEnabled:hover {margin:0px;border:1px solid #999;background:#fff;}
|
@ -0,0 +1,15 @@
|
||||
html{height:100%;background-color:#FFFFFF;}
|
||||
body,td,th{font-family:Arial,Helvetica,sans-serif;font-size:12px;}
|
||||
body{height:100%;*height:90%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}
|
||||
|
||||
.xhe-border{border:1px dotted #d3d3d3;}
|
||||
.xhe-border th,.xhe-border td{border:1px dotted #d3d3d3;}
|
||||
|
||||
.editMode{margin:0px;padding:5px;overflow-y:auto;word-break:break-word;word-wrap:break-word;}
|
||||
.editMode img:-moz-broken {-moz-force-broken-image-icon:1;height:24px;width:24px;}
|
||||
.editMode embed{display:inline-block;border:1px dashed #FF4E4E;}
|
||||
.editMode embed[type="application/x-shockwave-flash"]{background:url(img/flash.gif) center center no-repeat;}
|
||||
.editMode embed[type="application/x-mplayer2"]{background:url(img/wmp.gif) center center no-repeat;}
|
||||
.editMode .xhe-paste{position:absolute;left:-1000px;overflow:hidden;width:1px;height:1px;}
|
||||
.editMode .xhe-anchor{display:inline-block;background: url(img/anchor.gif) no-repeat;border: 1px dotted #0000FF;width:16px;height:15px;overflow:hidden;}
|
||||
|
@ -0,0 +1,15 @@
|
||||
.xhe_o2007blue table, .xhe_o2007blue tr, .xhe_o2007blue td, .xhe_o2007blue iframe {border:0; margin:0; padding:0; background:transparent;text-decoration:none; font-weight:normal; color:#000}
|
||||
|
||||
.xhe_o2007blue table.xheLayout {display:inline-table;background:#E5EFFD; border:1px solid #ABC6DD;width:100%;height:100%;}
|
||||
.xhe_o2007blue td.xheTool {padding:1px 3px;border-bottom:1px solid #ABC6DD;}
|
||||
.xhe_o2007blue td.xheTool span{float:left;margin:2px 0px;}
|
||||
.xhe_o2007blue td.xheTool br{clear:left;}
|
||||
|
||||
.xhe_o2007blue span.xheGStart{display:block;width:1px;height:22px;background:url(img/buttonbg.gif) -22px 0;}
|
||||
.xhe_o2007blue span.xheGEnd{display:block;width:1px;height:22px;background:url(img/buttonbg.gif) -22px 0;}
|
||||
.xhe_o2007blue span.xheSeparator{display:block;height:22px;width:4px;}
|
||||
|
||||
.xhe_o2007blue a.xheButton{display:inline-block;padding:1px;border:0px;background:url(img/buttonbg.gif);cursor:pointer;text-decoration:none;}
|
||||
.xhe_o2007blue a.xheButton span{opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30);}
|
||||
.xhe_o2007blue a.xheEnabled span{opacity:1; -ms-filter:'alpha(opacity=100)'; filter:alpha(opacity=100)}
|
||||
.xhe_o2007blue a.xheEnabled:hover {background-color:#B2BBD0; background-position:0 -22px}
|
@ -0,0 +1,15 @@
|
||||
html{height:100%;background-color:#FFFFFF;}
|
||||
body,td,th{font-family:Arial,Helvetica,sans-serif;font-size:12px;}
|
||||
body{height:100%;*height:90%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}
|
||||
|
||||
.xhe-border{border:1px dotted #d3d3d3;}
|
||||
.xhe-border th,.xhe-border td{border:1px dotted #d3d3d3;}
|
||||
|
||||
.editMode{margin:0px;padding:5px;overflow-y:auto;word-break:break-word;word-wrap:break-word;}
|
||||
.editMode img:-moz-broken {-moz-force-broken-image-icon:1;height:24px;width:24px;}
|
||||
.editMode embed{display:inline-block;border:1px dashed #FF4E4E;}
|
||||
.editMode embed[type="application/x-shockwave-flash"]{background:url(img/flash.gif) center center no-repeat;}
|
||||
.editMode embed[type="application/x-mplayer2"]{background:url(img/wmp.gif) center center no-repeat;}
|
||||
.editMode .xhe-paste{position:absolute;left:-1000px;overflow:hidden;width:1px;height:1px;}
|
||||
.editMode .xhe-anchor{display:inline-block;background: url(img/anchor.gif) no-repeat;border: 1px dotted #0000FF;width:16px;height:15px;overflow:hidden;}
|
||||
|
@ -0,0 +1,15 @@
|
||||
.xhe_o2007silver table, .xhe_o2007silver tr, .xhe_o2007silver td, .xhe_o2007silver iframe {border:0; margin:0; padding:0; background:transparent;text-decoration:none; font-weight:normal; color:#000}
|
||||
|
||||
.xhe_o2007silver table.xheLayout {display:inline-table;background:#EEEEEE; border:1px solid #BBBBBB;width:100%;height:100%;}
|
||||
.xhe_o2007silver td.xheTool {padding:1px 3px;border-bottom:1px solid #BBBBBB;}
|
||||
.xhe_o2007silver td.xheTool span{float:left;margin:2px 0px;}
|
||||
.xhe_o2007silver td.xheTool br{clear:left;}
|
||||
|
||||
.xhe_o2007silver span.xheGStart{display:block;width:1px;height:22px;background:url(img/buttonbg.gif) -22px 0;}
|
||||
.xhe_o2007silver span.xheGEnd{display:block;width:1px;height:22px;background:url(img/buttonbg.gif) -22px 0;}
|
||||
.xhe_o2007silver span.xheSeparator{display:block;height:22px;width:4px;}
|
||||
|
||||
.xhe_o2007silver a.xheButton{display:inline-block;padding:1px;border:0px;background:url(img/buttonbg.gif);cursor:pointer;text-decoration:none;}
|
||||
.xhe_o2007silver a.xheButton span{opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30);}
|
||||
.xhe_o2007silver a.xheEnabled span{opacity:1; -ms-filter:'alpha(opacity=100)'; filter:alpha(opacity=100)}
|
||||
.xhe_o2007silver a.xheEnabled:hover {background-color:#B2BBD0; background-position:0 -22px}
|
@ -0,0 +1,15 @@
|
||||
html{height:100%;background-color:#FFFFFF;}
|
||||
body,td,th{font-family:Arial,Helvetica,sans-serif;font-size:12px;}
|
||||
body{height:100%;*height:90%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}
|
||||
|
||||
.xhe-border{border:1px dotted #d3d3d3;}
|
||||
.xhe-border th,.xhe-border td{border:1px dotted #d3d3d3;}
|
||||
|
||||
.editMode{margin:0px;padding:5px;overflow-y:auto;word-break:break-word;word-wrap:break-word;}
|
||||
.editMode img:-moz-broken {-moz-force-broken-image-icon:1;height:24px;width:24px;}
|
||||
.editMode embed{display:inline-block;border:1px dashed #FF4E4E;}
|
||||
.editMode embed[type="application/x-shockwave-flash"]{background:url(img/flash.gif) center center no-repeat;}
|
||||
.editMode embed[type="application/x-mplayer2"]{background:url(img/wmp.gif) center center no-repeat;}
|
||||
.editMode .xhe-paste{position:absolute;left:-1000px;overflow:hidden;width:1px;height:1px;}
|
||||
.editMode .xhe-anchor{display:inline-block;background: url(img/anchor.gif) no-repeat;border: 1px dotted #0000FF;width:16px;height:15px;overflow:hidden;}
|
||||
|
@ -0,0 +1,15 @@
|
||||
.xhe_vista table, .xhe_vista tr, .xhe_vista td, .xhe_vista iframe {border:0; margin:0; padding:0; background:transparent;text-decoration:none; font-weight:normal; color:#000}
|
||||
|
||||
.xhe_vista table.xheLayout {display:inline-table;background:#E0E8F5; border:1px solid #99BBE8;width:100%;height:100%;}
|
||||
.xhe_vista td.xheTool {padding:1px 3px;border-bottom:1px solid #99BBE8;}
|
||||
.xhe_vista td.xheTool span{float:left;margin:2px 0px;}
|
||||
.xhe_vista td.xheTool br{clear:left;}
|
||||
|
||||
.xhe_vista span.xheGStart{display:block;width:4px;height:22px;background:url(img/buttonbg.gif) -22px 0;}
|
||||
.xhe_vista span.xheGEnd{display:block;width:4px;height:22px;background:url(img/buttonbg.gif) -26px 0;}
|
||||
.xhe_vista span.xheSeparator{display:block;height:22px;width:4px;}
|
||||
|
||||
.xhe_vista a.xheButton{display:inline-block;padding:1px;border:0px;background:url(img/buttonbg.gif);cursor:pointer;text-decoration:none;}
|
||||
.xhe_vista a.xheButton span{opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30);}
|
||||
.xhe_vista a.xheEnabled span{opacity:1; -ms-filter:'alpha(opacity=100)'; filter:alpha(opacity=100);}
|
||||
.xhe_vista a.xheEnabled:hover {background-color:#B2BBD0; background-position:0 -22px}
|
@ -0,0 +1,15 @@
|
||||
/*jshint node:true*/
|
||||
module.exports = function(grunt) {
|
||||
|
||||
"use strict";
|
||||
|
||||
var banner,
|
||||
umdStart,
|
||||
umdMiddle,
|
||||
umdEnd,
|
||||
umdStandardDefine,
|
||||
umdAdditionalDefine,
|
||||
umdLocalizationDefine;
|
||||
|
||||
banner = "/*!\n" +
|
||||
" * jQuery Validation Plugin v<%= pkg.version %>\n" +
|
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for jQuery validate() plugin</title>
|
||||
<link rel="stylesheet" media="screen" href="css/screen.css">
|
||||
<style>
|
||||
.warning {
|
||||
color: red;
|
||||
}
|
||||
</style>
|
||||
<script src="../lib/jquery.js"></script>
|
||||
<script src="../lib/jquery.mockjax.js"></script>
|
||||
<script src="../lib/jquery.form.js"></script>
|
||||
<script src="../dist/jquery.validate.js"></script>
|
@ -0,0 +1,15 @@
|
||||
$(function(){
|
||||
$("body").on("click", "#refreshimg", function(){
|
||||
$.post("newsession.php");
|
||||
$("#captchaimage").load("image_req.php");
|
||||
return false;
|
||||
});
|
||||
|
||||
$("#captchaform").validate({
|
||||
rules: {
|
||||
captcha: {
|
||||
required: true,
|
||||
remote: "process.php"
|
||||
}
|
||||
},
|
||||
messages: {
|
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
// Echo the image - timestamp appended to prevent caching
|
||||
echo '<a href="index.php" id="refreshimg" title="Click to refresh image"><img src="images/image.php?' . time() . '" width="132" height="46" alt="Captcha image"></a>';
|
||||
|
||||
?>
|
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
// Begin the session
|
||||
session_start();
|
||||
|
||||
// If the session is not present, set the variable to an error message
|
||||
if(!isset($_SESSION['captcha_id']))
|
||||
$str = 'ERROR!';
|
||||
// Else if it is present, set the variable to the session contents
|
||||
else
|
||||
$str = $_SESSION['captcha_id'];
|
||||
|
||||
// Set the content type
|
||||
header('Content-Type: image/png');
|
||||
header('Cache-Control: no-cache');
|
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
// Make the page validate
|
||||
ini_set('session.use_trans_sid', '0');
|
||||
|
||||
// Include the random string file
|
||||
require 'rand.php';
|
||||
|
||||
// Begin the session
|
||||
session_start();
|
||||
|
||||
// Set the session contents
|
||||
$_SESSION['captcha_id'] = $str;
|
||||
|
||||
?>
|
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
// Include the random string file
|
||||
require 'rand.php';
|
||||
|
||||
// Begin a new session
|
||||
session_start();
|
||||
|
||||
// Set the session contents
|
||||
$_SESSION['captcha_id'] = $str;
|
||||
|
||||
?>
|
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
// Begin the session
|
||||
session_start();
|
||||
|
||||
// To avoid case conflicts, make the input uppercase and check against the session value
|
||||
// If it's correct, echo '1' as a string
|
||||
if(strtoupper($_GET['captcha']) == $_SESSION['captcha_id'])
|
||||
echo 'true';
|
||||
// Else echo '0' as a string
|
||||
else
|
||||
echo 'false';
|
||||
|
||||
?>
|
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
// Create a random string, leaving out 'o' to avoid confusion with '0'
|
||||
$char = strtoupper(substr(str_shuffle('abcdefghjkmnpqrstuvwxyz'), 0, 4));
|
||||
|
||||
// Concatenate the random string onto the random numbers
|
||||
// The font 'Anorexia' doesn't have a character for '8', so the numbers will only go up to 7
|
||||
// '0' is left out to avoid confusion with 'O'
|
||||
$str = rand(1, 7) . rand(1, 7) . $char;
|
||||
|
||||
?>
|
@ -0,0 +1,15 @@
|
||||
body {
|
||||
margin: 3% 5%;
|
||||
padding: 0;
|
||||
background-color: #fff;
|
||||
color: #333;
|
||||
font: 0.9em/1.3 Helvetica, Arial, Verdana, Sans-serif;
|
||||
}
|
||||
|
||||
a:link, a:visited {
|
||||
background-color: #fff;
|
||||
color: #333;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a:hover, a:focus, a:active {
|
@ -0,0 +1,15 @@
|
||||
/**********************************
|
||||
|
||||
Name: cmxform Styles
|
||||
|
||||
***********************************/
|
||||
form.cmxform {
|
||||
width: 370px;
|
||||
font-size: 1.0em;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
form.cmxform legend {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
/**********************************
|
||||
|
||||
Use: cmxform template
|
||||
|
||||
***********************************/
|
||||
form.cmxform fieldset {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
form.cmxform legend {
|
||||
padding: 0 2px;
|
||||
font-weight: bold;
|
||||
_margin: 0 -7px; /* IE Win */
|
||||
}
|
||||
|
@ -0,0 +1,15 @@
|
||||
body, div { font-family: 'lucida grande', helvetica, verdana, arial, sans-serif }
|
||||
body { margin: 0; padding: 0; font-size: small; color: #333 }
|
||||
h1, h2 { font-family: 'trebuchet ms', verdana, arial; padding: 10px; margin: 0 }
|
||||
h1 { font-size: large }
|
||||
#main { padding: 1em; }
|
||||
#banner { padding: 15px; background-color: #06b; color: white; font-size: large; border-bottom: 1px solid #ccc;
|
||||
background: url(../images/bg.gif) repeat-x; text-align: center }
|
||||
#banner a { color: white; }
|
||||
|
||||
p { margin: 10px 0; }
|
||||
|
||||
li { margin-left: 10px; }
|
||||
|
||||
h3 { margin: 1em 0 0; }
|
||||
|
@ -0,0 +1,15 @@
|
||||
/**********************************
|
||||
|
||||
Use: Reset Styles for all browsers
|
||||
|
||||
***********************************/
|
||||
|
||||
body, p, blockquote {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
a img, iframe { border: none; }
|
||||
|
||||
/* Headers
|
||||
------------------------------*/
|
@ -0,0 +1,11 @@
|
||||
/**********************************
|
||||
|
||||
Use: Main Screen Import
|
||||
|
||||
***********************************/
|
||||
|
||||
@import "reset.css";
|
||||
@import "core.css";
|
||||
|
||||
@import "cmxformTemplate.css";
|
||||
@import "cmxform.css";
|
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>jQuery validation plug-in - comment form example</title>
|
||||
<link rel="stylesheet" media="screen" href="css/screen.css">
|
||||
<script src="../lib/jquery.js"></script>
|
||||
<script src="../dist/jquery.validate.js"></script>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$("#commentForm").validate();
|
||||
$("#commentForm2").validate({
|
||||
messages: {
|
||||
email: {
|
||||
required: 'Enter this!'
|
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for jQuery validate() plugin</title>
|
||||
<link rel="stylesheet" media="screen" href="css/screen.css">
|
||||
<script src="../lib/jquery.js"></script>
|
||||
<script src="../dist/jquery.validate.js"></script>
|
||||
<script>
|
||||
// extend the current rules with new groovy ones
|
||||
|
||||
// this one requires the text "buga", we define a default message, too
|
||||
$.validator.addMethod("buga", function(value) {
|
||||
return value == "buga";
|
||||
}, 'Please enter "buga"!');
|
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>jQuery validation plug-in - dynamic forms demo</title>
|
||||
<link rel="stylesheet" media="screen" href="css/screen.css">
|
||||
<script src="../lib/jquery.js"></script>
|
||||
<script src="../dist/jquery.validate.js"></script>
|
||||
<script>
|
||||
// only for demo purposes
|
||||
$.validator.setDefaults({
|
||||
submitHandler: function() {
|
||||
alert("submitted!");
|
||||
}
|
||||
});
|
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for jQuery validate() plugin</title>
|
||||
<link rel="stylesheet" media="screen" href="css/screen.css">
|
||||
<script src="../lib/jquery.js"></script>
|
||||
<script src="../dist/jquery.validate.js"></script>
|
||||
<style>
|
||||
.cmxform fieldset p.error label {
|
||||
color: red;
|
||||
}
|
||||
div.container {
|
||||
background-color: #eee;
|
||||
border: 1px solid red;
|
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for jQuery validate() plugin</title>
|
||||
|
||||
<link rel="stylesheet" media="screen" href="css/screen.css">
|
||||
|
||||
<script src="../lib/jquery.js"></script>
|
||||
<script src="../dist/jquery.validate.js"></script>
|
||||
|
||||
<style>
|
||||
.cmxform fieldset p label span.error { color: red; }
|
||||
form.cmxform { width: 30em; }
|
||||
form.cmxform label {
|
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>jQuery validation plug-in - comment form example</title>
|
||||
<link rel="stylesheet" href="css/screen.css">
|
||||
<link rel="stylesheet" href="css/cmxform.css">
|
||||
<script src="../lib/jquery.js"></script>
|
||||
<script src="../dist/jquery.validate.js"></script>
|
||||
<script src="../dist/additional-methods.js"></script>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$("#fileForm").validate();
|
||||
});
|
||||
</script>
|
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>jQuery validation plug-in - main demo</title>
|
||||
<link rel="stylesheet" href="css/screen.css">
|
||||
<script src="../lib/jquery.js"></script>
|
||||
<script src="../dist/jquery.validate.js"></script>
|
||||
<script>
|
||||
$.validator.setDefaults({
|
||||
submitHandler: function() {
|
||||
alert("submitted!");
|
||||
}
|
||||
});
|
||||
|
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>My Page</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.css">
|
||||
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
|
||||
<script src="http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.js"></script>
|
||||
<script src="../dist/jquery.validate.js"></script>
|
||||
<style>
|
||||
label.error {
|
||||
color: red;
|
||||
font-size: 16px;
|
||||
font-weight: normal;
|
@ -0,0 +1,15 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Login Form with Email Password Link</title>
|
||||
<link rel="stylesheet" media="screen" href="screen.css">
|
||||
<script src="../../lib/jquery.js"></script>
|
||||
<script src="../../dist/jquery.validate.js"></script>
|
||||
<script>
|
||||
$(function() {
|
||||
// highlight
|
||||
var elements = $("input[type!='submit'], textarea, select");
|
||||
elements.focus(function() {
|
||||
$(this).parents('li').addClass('highlight');
|
||||
});
|
@ -0,0 +1,15 @@
|
||||
/*******************************************************************************
|
||||
********************************************************************************
|
||||
**
|
||||
* - GENERAL
|
||||
*
|
||||
* - PAGE CONTAINERS
|
||||
*
|
||||
* - HEADER
|
||||
*
|
||||
* - CONTENT
|
||||
**
|
||||
********************************************************************************
|
||||
******************************************************************************/
|
||||
|
||||
|
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Subscription Signup | Marketo</title>
|
||||
<script src="../../lib/jquery.js"></script>
|
||||
<script src="../../lib/jquery.mockjax.js"></script>
|
||||
<script src="../../dist/jquery.validate.js"></script>
|
||||
<script src="jquery.maskedinput.js"></script>
|
||||
<script src="mktSignup.js"></script>
|
||||
<link rel="stylesheet" href="stylesheet.css">
|
||||
</head>
|
||||
<body>
|
||||
<!-- start page wrapper -->
|
||||
<div id="letterbox">
|
@ -0,0 +1,15 @@
|
||||
/*
|
||||
Masked Input plugin for jQuery
|
||||
Copyright (c) 2007-2013 Josh Bush (digitalbush.com)
|
||||
Licensed under the MIT license (http://digitalbush.com/projects/masked-input-plugin/#license)
|
||||
Version: 1.3.1
|
||||
*/
|
||||
(function($) {
|
||||
function getPasteEvent() {
|
||||
var el = document.createElement('input'),
|
||||
name = 'onpaste';
|
||||
el.setAttribute(name, '');
|
||||
return (typeof el[name] === 'function')?'paste':'input';
|
||||
}
|
||||
|
||||
var pasteEventName = getPasteEvent() + ".mask",
|
@ -0,0 +1,15 @@
|
||||
$(document).ready(function(){
|
||||
$.mockjax({
|
||||
url: "emails.action",
|
||||
response: function(settings) {
|
||||
var email = settings.data.email,
|
||||
emails = ["glen@marketo.com", "george@bush.gov", "me@god.com", "aboutface@cooper.com", "steam@valve.com", "bill@gates.com"];
|
||||
this.responseText = "true";
|
||||
if ( $.inArray( email, emails ) !== -1 ) {
|
||||
this.responseText = "false";
|
||||
}
|
||||
},
|
||||
responseTime: 500
|
||||
});
|
||||
|
||||
jQuery.validator.addMethod("password", function( value, element ) {
|
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Subscription Signup | Marketo</title>
|
||||
<script src="../../lib/jquery.js"></script>
|
||||
<script src="../../lib/jquery.mockjax.js"></script>
|
||||
<script src="../../dist/jquery.validate.js"></script>
|
||||
<script src="jquery.maskedinput.js"></script>
|
||||
<script src="mktSignup.js"></script>
|
||||
<link rel="stylesheet" href="stylesheet.css">
|
||||
</head>
|
||||
<body>
|
||||
<!-- start page wrapper -->
|
||||
<div id="letterbox">
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue