@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:context="http://www.springframework.org/schema/context"
|
||||
xmlns:p="http://www.springframework.org/schema/p"
|
||||
xmlns:util="http://www.springframework.org/schema/util"
|
||||
xmlns:aop="http://www.springframework.org/schema/aop"
|
||||
xmlns:tx="http://www.springframework.org/schema/tx"
|
||||
xmlns:mvc="http://www.springframework.org/schema/mvc"
|
||||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://www.springframework.org/schema/context
|
||||
http://www.springframework.org/schema/context/spring-context.xsd
|
||||
http://www.springframework.org/schema/tx
|
||||
http://www.springframework.org/schema/tx/spring-tx.xsd
|
||||
http://www.springframework.org/schema/aop
|
||||
http://www.springframework.org/schema/aop/spring-aop.xsd
|
||||
http://www.springframework.org/schema/mvc
|
||||
http://www.springframework.org/schema/mvc/spring-mvc.xsd
|
||||
http://www.springframework.org/schema/util
|
||||
http://www.springframework.org/schema/util/spring-util.xsd">
|
||||
<!-- dispatcherServlet截获所有URL请求 -->
|
||||
<mvc:default-servlet-handler />
|
||||
<!-- spring mvc 扫描包下的controller -->
|
||||
<context:component-scan base-package="com.cdy.cms.web.controller"/>
|
||||
<context:component-scan base-package="com.cdy.cms.settings.web.controller"/>
|
||||
<context:component-scan base-package="com.cdy.cms.workbench.web.controller"/>
|
||||
<!-- 配置注解驱动 -->
|
||||
<mvc:annotation-driven/>
|
||||
<!-- 配置视图解析器 -->
|
||||
<bean id="viewResolver"
|
||||
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
|
||||
<property name="prefix" value="/WEB-INF/pages/"/>
|
||||
<property name="suffix" value=".jsp"/>
|
||||
</bean>
|
||||
<!-- 配置文件上传解析器 id:必须是multipartResolver-->
|
||||
<!--<bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
|
||||
<property name="maxUploadSize" value="#{1024*1024*80}"/>
|
||||
<property name="defaultEncoding" value="utf-8"/>
|
||||
</bean>-->
|
||||
<mvc:interceptors>
|
||||
<mvc:interceptor>
|
||||
<mvc:mapping path="/settings/**"/>
|
||||
<mvc:mapping path="/workbench/**"/>
|
||||
<mvc:exclude-mapping path="/settings/qx/Login/toLogin.do"/>
|
||||
<mvc:exclude-mapping path="/settings/qx/Login/LoginForTeacher.do"/>
|
||||
<mvc:exclude-mapping path="/settings/qx/Login/LoginForStudent.do"/>
|
||||
<mvc:exclude-mapping path="/settings/qx/Register/toRegister.do"/>
|
||||
<mvc:exclude-mapping path="/settings/qx/Register/toStuRegister.do"/>
|
||||
<mvc:exclude-mapping path="/settings/qx/Register/toTeaRegister.do"/>
|
||||
<mvc:exclude-mapping path="/settings/qx/Register/toTeaRegister.do"/>
|
||||
<mvc:exclude-mapping path="/settings/qx/Register/registerForTeacher.do"/>
|
||||
<mvc:exclude-mapping path="/settings/qx/Register/registerForStudent.do"/>
|
||||
<bean class="com.cdy.cms.settings.interceptor.LoginInterceptor"/>
|
||||
</mvc:interceptor>
|
||||
</mvc:interceptors>
|
||||
</beans>
|
@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:context="http://www.springframework.org/schema/context"
|
||||
xmlns:p="http://www.springframework.org/schema/p"
|
||||
xmlns:aop="http://www.springframework.org/schema/aop"
|
||||
xmlns:tx="http://www.springframework.org/schema/tx"
|
||||
xmlns:task="http://www.springframework.org/schema/task"
|
||||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://www.springframework.org/schema/context
|
||||
http://www.springframework.org/schema/context/spring-context.xsd
|
||||
http://www.springframework.org/schema/tx
|
||||
http://www.springframework.org/schema/tx/spring-tx.xsd
|
||||
http://www.springframework.org/schema/aop
|
||||
http://www.springframework.org/schema/aop/spring-aop.xsd">
|
||||
<!-- 加载系统配置文件
|
||||
<context:property-placeholder location="classpath:*.properties" />-->
|
||||
<!-- 扫描注解 -->
|
||||
<context:component-scan base-package="com.cdy.cms.settings.service" />
|
||||
<context:component-scan base-package="com.cdy.cms.workbench.service" />
|
||||
<!-- 导入数据相关配置 -->
|
||||
<import resource="applicationContext-datasource.xml" />
|
||||
</beans>
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE configuration
|
||||
PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-config.dtd">
|
||||
<configuration>
|
||||
<settings>
|
||||
<setting name="logImpl" value="STDOUT_LOGGING"/>
|
||||
</settings>
|
||||
<typeAliases>
|
||||
<package name="com.cdy.cms.pojo"/>
|
||||
</typeAliases>
|
||||
<mappers>
|
||||
<package name="com.cdy.cms.mapper"/>
|
||||
</mappers>
|
||||
</configuration>
|
After Width: | Height: | Size: 4.2 KiB |
@ -0,0 +1,587 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<taglib xmlns="http://java.sun.com/xml/ns/javaee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"
|
||||
version="2.1">
|
||||
|
||||
<description>JSTL 1.2 core library</description>
|
||||
<display-name>JSTL core</display-name>
|
||||
<tlib-version>1.2</tlib-version>
|
||||
<short-name>c</short-name>
|
||||
<uri>http://java.sun.com/jsp/jstl/core</uri>
|
||||
|
||||
<validator>
|
||||
<description>
|
||||
Provides core validation features for JSTL tags.
|
||||
</description>
|
||||
<validator-class>
|
||||
org.apache.taglibs.standard.tlv.JstlCoreTLV
|
||||
</validator-class>
|
||||
</validator>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Catches any Throwable that occurs in its body and optionally
|
||||
exposes it.
|
||||
</description>
|
||||
<name>catch</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.CatchTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
exception thrown from a nested action. The type of the
|
||||
scoped variable is the type of the exception thrown.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Simple conditional tag that establishes a context for
|
||||
mutually exclusive conditional operations, marked by
|
||||
<when> and <otherwise>
|
||||
</description>
|
||||
<name>choose</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.ChooseTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Simple conditional tag, which evalutes its body if the
|
||||
supplied condition is true and optionally exposes a Boolean
|
||||
scripting variable representing the evaluation of this condition
|
||||
</description>
|
||||
<name>if</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.IfTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
The test condition that determines whether or
|
||||
not the body content should be processed.
|
||||
</description>
|
||||
<name>test</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>boolean</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
resulting value of the test condition. The type
|
||||
of the scoped variable is Boolean.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Retrieves an absolute or relative URL and exposes its contents
|
||||
to either the page, a String in 'var', or a Reader in 'varReader'.
|
||||
</description>
|
||||
<name>import</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ImportTag</tag-class>
|
||||
<tei-class>org.apache.taglibs.standard.tei.ImportTEI</tei-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
The URL of the resource to import.
|
||||
</description>
|
||||
<name>url</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
resource's content. The type of the scoped
|
||||
variable is String.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
resource's content. The type of the scoped
|
||||
variable is Reader.
|
||||
</description>
|
||||
<name>varReader</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the context when accessing a relative
|
||||
URL resource that belongs to a foreign
|
||||
context.
|
||||
</description>
|
||||
<name>context</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Character encoding of the content at the input
|
||||
resource.
|
||||
</description>
|
||||
<name>charEncoding</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
The basic iteration tag, accepting many different
|
||||
collection types and supporting subsetting and other
|
||||
functionality
|
||||
</description>
|
||||
<name>forEach</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ForEachTag</tag-class>
|
||||
<tei-class>org.apache.taglibs.standard.tei.ForEachTEI</tei-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Collection of items to iterate over.
|
||||
</description>
|
||||
<name>items</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>java.lang.Object</type>
|
||||
<deferred-value>
|
||||
<type>java.lang.Object</type>
|
||||
</deferred-value>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
If items specified:
|
||||
Iteration begins at the item located at the
|
||||
specified index. First item of the collection has
|
||||
index 0.
|
||||
If items not specified:
|
||||
Iteration begins with index set at the value
|
||||
specified.
|
||||
</description>
|
||||
<name>begin</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
If items specified:
|
||||
Iteration ends at the item located at the
|
||||
specified index (inclusive).
|
||||
If items not specified:
|
||||
Iteration ends when index reaches the value
|
||||
specified.
|
||||
</description>
|
||||
<name>end</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Iteration will only process every step items of
|
||||
the collection, starting with the first one.
|
||||
</description>
|
||||
<name>step</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
current item of the iteration. This scoped
|
||||
variable has nested visibility. Its type depends
|
||||
on the object of the underlying collection.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
status of the iteration. Object exported is of type
|
||||
javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested
|
||||
visibility.
|
||||
</description>
|
||||
<name>varStatus</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Iterates over tokens, separated by the supplied delimeters
|
||||
</description>
|
||||
<name>forTokens</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ForTokensTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
String of tokens to iterate over.
|
||||
</description>
|
||||
<name>items</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>java.lang.String</type>
|
||||
<deferred-value>
|
||||
<type>java.lang.String</type>
|
||||
</deferred-value>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
The set of delimiters (the characters that
|
||||
separate the tokens in the string).
|
||||
</description>
|
||||
<name>delims</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>java.lang.String</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Iteration begins at the token located at the
|
||||
specified index. First token has index 0.
|
||||
</description>
|
||||
<name>begin</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Iteration ends at the token located at the
|
||||
specified index (inclusive).
|
||||
</description>
|
||||
<name>end</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Iteration will only process every step tokens
|
||||
of the string, starting with the first one.
|
||||
</description>
|
||||
<name>step</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
current item of the iteration. This scoped
|
||||
variable has nested visibility.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
status of the iteration. Object exported is of
|
||||
type
|
||||
javax.servlet.jsp.jstl.core.LoopTag
|
||||
Status. This scoped variable has nested
|
||||
visibility.
|
||||
</description>
|
||||
<name>varStatus</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Like <%= ... >, but for expressions.
|
||||
</description>
|
||||
<name>out</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.OutTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Expression to be evaluated.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Default value if the resulting value is null.
|
||||
</description>
|
||||
<name>default</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Determines whether characters <,>,&,'," in the
|
||||
resulting string should be converted to their
|
||||
corresponding character entity codes. Default value is
|
||||
true.
|
||||
</description>
|
||||
<name>escapeXml</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Subtag of <choose> that follows <when> tags
|
||||
and runs only if all of the prior conditions evaluated to
|
||||
'false'
|
||||
</description>
|
||||
<name>otherwise</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.OtherwiseTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Adds a parameter to a containing 'import' tag's URL.
|
||||
</description>
|
||||
<name>param</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.ParamTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the query string parameter.
|
||||
</description>
|
||||
<name>name</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Value of the parameter.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Redirects to a new URL.
|
||||
</description>
|
||||
<name>redirect</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.RedirectTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
The URL of the resource to redirect to.
|
||||
</description>
|
||||
<name>url</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the context when redirecting to a relative URL
|
||||
resource that belongs to a foreign context.
|
||||
</description>
|
||||
<name>context</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Removes a scoped variable (from a particular scope, if specified).
|
||||
</description>
|
||||
<name>remove</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.RemoveTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the scoped variable to be removed.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Sets the result of an expression evaluation in a 'scope'
|
||||
</description>
|
||||
<name>set</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.SetTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable to hold the value
|
||||
specified in the action. The type of the scoped variable is
|
||||
whatever type the value expression evaluates to.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Expression to be evaluated.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<deferred-value>
|
||||
<type>java.lang.Object</type>
|
||||
</deferred-value>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Target object whose property will be set. Must evaluate to
|
||||
a JavaBeans object with setter property property, or to a
|
||||
java.util.Map object.
|
||||
</description>
|
||||
<name>target</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the property to be set in the target object.
|
||||
</description>
|
||||
<name>property</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Creates a URL with optional query parameters.
|
||||
</description>
|
||||
<name>url</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.UrlTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
processed url. The type of the scoped variable is
|
||||
String.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
URL to be processed.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the context when specifying a relative URL
|
||||
resource that belongs to a foreign context.
|
||||
</description>
|
||||
<name>context</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Subtag of <choose> that includes its body if its
|
||||
condition evalutes to 'true'
|
||||
</description>
|
||||
<name>when</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.core.WhenTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
The test condition that determines whether or not the
|
||||
body content should be processed.
|
||||
</description>
|
||||
<name>test</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>boolean</type>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
@ -0,0 +1,686 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
|
||||
version="2.0">
|
||||
|
||||
<description>JSTL 1.1 i18n-capable formatting library</description>
|
||||
<display-name>JSTL fmt</display-name>
|
||||
<tlib-version>1.1</tlib-version>
|
||||
<short-name>fmt</short-name>
|
||||
<uri>http://java.sun.com/jsp/jstl/fmt</uri>
|
||||
|
||||
<validator>
|
||||
<description>
|
||||
Provides core validation features for JSTL tags.
|
||||
</description>
|
||||
<validator-class>
|
||||
org.apache.taglibs.standard.tlv.JstlFmtTLV
|
||||
</validator-class>
|
||||
</validator>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Sets the request character encoding
|
||||
</description>
|
||||
<name>requestEncoding</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.RequestEncodingTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of character encoding to be applied when
|
||||
decoding request parameters.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Stores the given locale in the locale configuration variable
|
||||
</description>
|
||||
<name>setLocale</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.SetLocaleTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
A String value is interpreted as the
|
||||
printable representation of a locale, which
|
||||
must contain a two-letter (lower-case)
|
||||
language code (as defined by ISO-639),
|
||||
and may contain a two-letter (upper-case)
|
||||
country code (as defined by ISO-3166).
|
||||
Language and country codes must be
|
||||
separated by hyphen (-) or underscore
|
||||
(_).
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Vendor- or browser-specific variant.
|
||||
See the java.util.Locale javadocs for
|
||||
more information on variants.
|
||||
</description>
|
||||
<name>variant</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope of the locale configuration variable.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Specifies the time zone for any time formatting or parsing actions
|
||||
nested in its body
|
||||
</description>
|
||||
<name>timeZone</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.TimeZoneTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
The time zone. A String value is interpreted as
|
||||
a time zone ID. This may be one of the time zone
|
||||
IDs supported by the Java platform (such as
|
||||
"America/Los_Angeles") or a custom time zone
|
||||
ID (such as "GMT-8"). See
|
||||
java.util.TimeZone for more information on
|
||||
supported time zone formats.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Stores the given time zone in the time zone configuration variable
|
||||
</description>
|
||||
<name>setTimeZone</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.SetTimeZoneTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
The time zone. A String value is interpreted as
|
||||
a time zone ID. This may be one of the time zone
|
||||
IDs supported by the Java platform (such as
|
||||
"America/Los_Angeles") or a custom time zone
|
||||
ID (such as "GMT-8"). See java.util.TimeZone for
|
||||
more information on supported time zone
|
||||
formats.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable which
|
||||
stores the time zone of type
|
||||
java.util.TimeZone.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope of var or the time zone configuration
|
||||
variable.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Loads a resource bundle to be used by its tag body
|
||||
</description>
|
||||
<name>bundle</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.BundleTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Resource bundle base name. This is the bundle's
|
||||
fully-qualified resource name, which has the same
|
||||
form as a fully-qualified class name, that is, it uses
|
||||
"." as the package component separator and does not
|
||||
have any file type (such as ".class" or ".properties")
|
||||
suffix.
|
||||
</description>
|
||||
<name>basename</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Prefix to be prepended to the value of the message
|
||||
key of any nested <fmt:message> action.
|
||||
</description>
|
||||
<name>prefix</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Loads a resource bundle and stores it in the named scoped variable or
|
||||
the bundle configuration variable
|
||||
</description>
|
||||
<name>setBundle</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.SetBundleTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Resource bundle base name. This is the bundle's
|
||||
fully-qualified resource name, which has the same
|
||||
form as a fully-qualified class name, that is, it uses
|
||||
"." as the package component separator and does not
|
||||
have any file type (such as ".class" or ".properties")
|
||||
suffix.
|
||||
</description>
|
||||
<name>basename</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable which stores
|
||||
the i18n localization context of type
|
||||
javax.servlet.jsp.jstl.fmt.LocalizationC
|
||||
ontext.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope of var or the localization context
|
||||
configuration variable.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Maps key to localized message and performs parametric replacement
|
||||
</description>
|
||||
<name>message</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.MessageTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Message key to be looked up.
|
||||
</description>
|
||||
<name>key</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Localization context in whose resource
|
||||
bundle the message key is looked up.
|
||||
</description>
|
||||
<name>bundle</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable
|
||||
which stores the localized message.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope of var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Supplies an argument for parametric replacement to a containing
|
||||
<message> tag
|
||||
</description>
|
||||
<name>param</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.ParamTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Argument used for parametric replacement.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Formats a numeric value as a number, currency, or percentage
|
||||
</description>
|
||||
<name>formatNumber</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.FormatNumberTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Numeric value to be formatted.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Specifies whether the value is to be
|
||||
formatted as number, currency, or
|
||||
percentage.
|
||||
</description>
|
||||
<name>type</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Custom formatting pattern.
|
||||
</description>
|
||||
<name>pattern</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
ISO 4217 currency code. Applied only
|
||||
when formatting currencies (i.e. if type is
|
||||
equal to "currency"); ignored otherwise.
|
||||
</description>
|
||||
<name>currencyCode</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Currency symbol. Applied only when
|
||||
formatting currencies (i.e. if type is equal
|
||||
to "currency"); ignored otherwise.
|
||||
</description>
|
||||
<name>currencySymbol</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Specifies whether the formatted output
|
||||
will contain any grouping separators.
|
||||
</description>
|
||||
<name>groupingUsed</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Maximum number of digits in the integer
|
||||
portion of the formatted output.
|
||||
</description>
|
||||
<name>maxIntegerDigits</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Minimum number of digits in the integer
|
||||
portion of the formatted output.
|
||||
</description>
|
||||
<name>minIntegerDigits</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Maximum number of digits in the
|
||||
fractional portion of the formatted output.
|
||||
</description>
|
||||
<name>maxFractionDigits</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Minimum number of digits in the
|
||||
fractional portion of the formatted output.
|
||||
</description>
|
||||
<name>minFractionDigits</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable
|
||||
which stores the formatted result as a
|
||||
String.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope of var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Parses the string representation of a number, currency, or percentage
|
||||
</description>
|
||||
<name>parseNumber</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.ParseNumberTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
String to be parsed.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Specifies whether the string in the value
|
||||
attribute should be parsed as a number,
|
||||
currency, or percentage.
|
||||
</description>
|
||||
<name>type</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Custom formatting pattern that determines
|
||||
how the string in the value attribute is to be
|
||||
parsed.
|
||||
</description>
|
||||
<name>pattern</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Locale whose default formatting pattern (for
|
||||
numbers, currencies, or percentages,
|
||||
respectively) is to be used during the parse
|
||||
operation, or to which the pattern specified
|
||||
via the pattern attribute (if present) is
|
||||
applied.
|
||||
</description>
|
||||
<name>parseLocale</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Specifies whether just the integer portion of
|
||||
the given value should be parsed.
|
||||
</description>
|
||||
<name>integerOnly</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable which
|
||||
stores the parsed result (of type
|
||||
java.lang.Number).
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope of var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Formats a date and/or time using the supplied styles and pattern
|
||||
</description>
|
||||
<name>formatDate</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Date and/or time to be formatted.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Specifies whether the time, the date, or both
|
||||
the time and date components of the given
|
||||
date are to be formatted.
|
||||
</description>
|
||||
<name>type</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Predefined formatting style for dates. Follows
|
||||
the semantics defined in class
|
||||
java.text.DateFormat. Applied only
|
||||
when formatting a date or both a date and
|
||||
time (i.e. if type is missing or is equal to
|
||||
"date" or "both"); ignored otherwise.
|
||||
</description>
|
||||
<name>dateStyle</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Predefined formatting style for times. Follows
|
||||
the semantics defined in class
|
||||
java.text.DateFormat. Applied only
|
||||
when formatting a time or both a date and
|
||||
time (i.e. if type is equal to "time" or "both");
|
||||
ignored otherwise.
|
||||
</description>
|
||||
<name>timeStyle</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Custom formatting style for dates and times.
|
||||
</description>
|
||||
<name>pattern</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Time zone in which to represent the formatted
|
||||
time.
|
||||
</description>
|
||||
<name>timeZone</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable which
|
||||
stores the formatted result as a String.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope of var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Parses the string representation of a date and/or time
|
||||
</description>
|
||||
<name>parseDate</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.fmt.ParseDateTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Date string to be parsed.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Specifies whether the date string in the
|
||||
value attribute is supposed to contain a
|
||||
time, a date, or both.
|
||||
</description>
|
||||
<name>type</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Predefined formatting style for days
|
||||
which determines how the date
|
||||
component of the date string is to be
|
||||
parsed. Applied only when formatting a
|
||||
date or both a date and time (i.e. if type
|
||||
is missing or is equal to "date" or "both");
|
||||
ignored otherwise.
|
||||
</description>
|
||||
<name>dateStyle</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Predefined formatting styles for times
|
||||
which determines how the time
|
||||
component in the date string is to be
|
||||
parsed. Applied only when formatting a
|
||||
time or both a date and time (i.e. if type
|
||||
is equal to "time" or "both"); ignored
|
||||
otherwise.
|
||||
</description>
|
||||
<name>timeStyle</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Custom formatting pattern which
|
||||
determines how the date string is to be
|
||||
parsed.
|
||||
</description>
|
||||
<name>pattern</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Time zone in which to interpret any time
|
||||
information in the date string.
|
||||
</description>
|
||||
<name>timeZone</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Locale whose predefined formatting styles
|
||||
for dates and times are to be used during
|
||||
the parse operation, or to which the
|
||||
pattern specified via the pattern
|
||||
attribute (if present) is applied.
|
||||
</description>
|
||||
<name>parseLocale</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable in
|
||||
which the parsing result (of type
|
||||
java.util.Date) is stored.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope of var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
@ -0,0 +1,222 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
|
||||
version="2.0">
|
||||
|
||||
<description>JSTL 1.1 functions library</description>
|
||||
<display-name>JSTL functions</display-name>
|
||||
<tlib-version>1.1</tlib-version>
|
||||
<short-name>fn</short-name>
|
||||
<uri>http://java.sun.com/jsp/jstl/functions</uri>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Tests if an input string contains the specified substring.
|
||||
</description>
|
||||
<name>contains</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>boolean contains(java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
<c:if test="${fn:contains(name, searchString)}">
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Tests if an input string contains the specified substring in a case insensitive way.
|
||||
</description>
|
||||
<name>containsIgnoreCase</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>boolean containsIgnoreCase(java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
<c:if test="${fn:containsIgnoreCase(name, searchString)}">
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Tests if an input string ends with the specified suffix.
|
||||
</description>
|
||||
<name>endsWith</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>boolean endsWith(java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
<c:if test="${fn:endsWith(filename, ".txt")}">
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Escapes characters that could be interpreted as XML markup.
|
||||
</description>
|
||||
<name>escapeXml</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String escapeXml(java.lang.String)</function-signature>
|
||||
<example>
|
||||
${fn:escapeXml(param:info)}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Returns the index withing a string of the first occurrence of a specified substring.
|
||||
</description>
|
||||
<name>indexOf</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>int indexOf(java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
${fn:indexOf(name, "-")}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Joins all elements of an array into a string.
|
||||
</description>
|
||||
<name>join</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String join(java.lang.String[], java.lang.String)</function-signature>
|
||||
<example>
|
||||
${fn:join(array, ";")}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Returns the number of items in a collection, or the number of characters in a string.
|
||||
</description>
|
||||
<name>length</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>int length(java.lang.Object)</function-signature>
|
||||
<example>
|
||||
You have ${fn:length(shoppingCart.products)} in your shopping cart.
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Returns a string resulting from replacing in an input string all occurrences
|
||||
of a "before" string into an "after" substring.
|
||||
</description>
|
||||
<name>replace</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String replace(java.lang.String, java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
${fn:replace(text, "-", "•")}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Splits a string into an array of substrings.
|
||||
</description>
|
||||
<name>split</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String[] split(java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
${fn:split(customerNames, ";")}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Tests if an input string starts with the specified prefix.
|
||||
</description>
|
||||
<name>startsWith</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>boolean startsWith(java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
<c:if test="${fn:startsWith(product.id, "100-")}">
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Returns a subset of a string.
|
||||
</description>
|
||||
<name>substring</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String substring(java.lang.String, int, int)</function-signature>
|
||||
<example>
|
||||
P.O. Box: ${fn:substring(zip, 6, -1)}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Returns a subset of a string following a specific substring.
|
||||
</description>
|
||||
<name>substringAfter</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String substringAfter(java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
P.O. Box: ${fn:substringAfter(zip, "-")}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Returns a subset of a string before a specific substring.
|
||||
</description>
|
||||
<name>substringBefore</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String substringBefore(java.lang.String, java.lang.String)</function-signature>
|
||||
<example>
|
||||
Zip (without P.O. Box): ${fn:substringBefore(zip, "-")}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Converts all of the characters of a string to lower case.
|
||||
</description>
|
||||
<name>toLowerCase</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String toLowerCase(java.lang.String)</function-signature>
|
||||
<example>
|
||||
Product name: ${fn.toLowerCase(product.name)}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Converts all of the characters of a string to upper case.
|
||||
</description>
|
||||
<name>toUpperCase</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String toUpperCase(java.lang.String)</function-signature>
|
||||
<example>
|
||||
Product name: ${fn.UpperCase(product.name)}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
<function>
|
||||
<description>
|
||||
Removes white spaces from both ends of a string.
|
||||
</description>
|
||||
<name>trim</name>
|
||||
<function-class>org.apache.taglibs.standard.functions.Functions</function-class>
|
||||
<function-signature>java.lang.String trim(java.lang.String)</function-signature>
|
||||
<example>
|
||||
Name: ${fn.trim(name)}
|
||||
</example>
|
||||
</function>
|
||||
|
||||
</taglib>
|
@ -0,0 +1,304 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
|
||||
version="2.0">
|
||||
|
||||
<description>JSTL 1.1 sql library</description>
|
||||
<display-name>JSTL sql</display-name>
|
||||
<tlib-version>1.1</tlib-version>
|
||||
<short-name>sql</short-name>
|
||||
<uri>http://java.sun.com/jsp/jstl/sql</uri>
|
||||
|
||||
<validator>
|
||||
<description>
|
||||
Provides core validation features for JSTL tags.
|
||||
</description>
|
||||
<validator-class>
|
||||
org.apache.taglibs.standard.tlv.JstlSqlTLV
|
||||
</validator-class>
|
||||
</validator>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Provides nested database action elements with a shared Connection,
|
||||
set up to execute all statements as one transaction.
|
||||
</description>
|
||||
<name>transaction</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.sql.TransactionTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
DataSource associated with the database to access. A
|
||||
String value represents a relative path to a JNDI
|
||||
resource or the parameters for the JDBC
|
||||
DriverManager facility.
|
||||
</description>
|
||||
<name>dataSource</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Transaction isolation level. If not specified, it is the
|
||||
isolation level the DataSource has been configured
|
||||
with.
|
||||
</description>
|
||||
<name>isolation</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Executes the SQL query defined in its body or through the
|
||||
sql attribute.
|
||||
</description>
|
||||
<name>query</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.sql.QueryTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
query result. The type of the scoped variable is
|
||||
javax.servlet.jsp.jstl.sql.
|
||||
Result (see Chapter 16 "Java APIs").
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope of var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
SQL query statement.
|
||||
</description>
|
||||
<name>sql</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Data source associated with the database to
|
||||
query. A String value represents a relative path
|
||||
to a JNDI resource or the parameters for the
|
||||
DriverManager class.
|
||||
</description>
|
||||
<name>dataSource</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
The returned Result object includes the rows
|
||||
starting at the specified index. The first row of
|
||||
the original query result set is at index 0. If not
|
||||
specified, rows are included starting from the
|
||||
first row at index 0.
|
||||
</description>
|
||||
<name>startRow</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
The maximum number of rows to be included in
|
||||
the query result. If not specified, or set to -1, no
|
||||
limit on the maximum number of rows is
|
||||
enforced.
|
||||
</description>
|
||||
<name>maxRows</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Executes the SQL update defined in its body or through the
|
||||
sql attribute.
|
||||
</description>
|
||||
<name>update</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.sql.UpdateTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the result
|
||||
of the database update. The type of the scoped
|
||||
variable is java.lang.Integer.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope of var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
SQL update statement.
|
||||
</description>
|
||||
<name>sql</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Data source associated with the database to update.
|
||||
A String value represents a relative path to a JNDI
|
||||
resource or the parameters for the JDBC
|
||||
DriverManager class.
|
||||
</description>
|
||||
<name>dataSource</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Sets a parameter in an SQL statement to the specified value.
|
||||
</description>
|
||||
<name>param</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.sql.ParamTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Parameter value.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Sets a parameter in an SQL statement to the specified java.util.Date value.
|
||||
</description>
|
||||
<name>dateParam</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.sql.DateParamTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Parameter value for DATE, TIME, or
|
||||
TIMESTAMP column in a database table.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
One of "date", "time" or "timestamp".
|
||||
</description>
|
||||
<name>type</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Creates a simple DataSource suitable only for prototyping.
|
||||
</description>
|
||||
<name>setDataSource</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.sql.SetDataSourceTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable
|
||||
for the data source specified. Type can
|
||||
be String or DataSource.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
If var is specified, scope of the
|
||||
exported variable. Otherwise, scope of
|
||||
the data source configuration variable.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Data source. If specified as a string, it
|
||||
can either be a relative path to a JNDI
|
||||
resource, or a JDBC parameters string
|
||||
as defined in Section 10.1.1.
|
||||
</description>
|
||||
<name>dataSource</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
JDBC parameter: driver class name.
|
||||
</description>
|
||||
<name>driver</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
JDBC parameter: URL associated with
|
||||
the database.
|
||||
</description>
|
||||
<name>url</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
JDBC parameter: database user on
|
||||
whose behalf the connection to the
|
||||
database is being made.
|
||||
</description>
|
||||
<name>user</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
JDBC parameter: user password
|
||||
</description>
|
||||
<name>password</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
</taglib>
|
@ -0,0 +1,463 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
|
||||
version="2.0">
|
||||
|
||||
<description>JSTL 1.1 XML library</description>
|
||||
<display-name>JSTL XML</display-name>
|
||||
<tlib-version>1.1</tlib-version>
|
||||
<short-name>x</short-name>
|
||||
<uri>http://java.sun.com/jsp/jstl/xml</uri>
|
||||
|
||||
<validator>
|
||||
<description>
|
||||
Provides validation features for JSTL XML tags.
|
||||
</description>
|
||||
<validator-class>
|
||||
org.apache.taglibs.standard.tlv.JstlXmlTLV
|
||||
</validator-class>
|
||||
</validator>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Simple conditional tag that establishes a context for
|
||||
mutually exclusive conditional operations, marked by
|
||||
<when> and <otherwise>
|
||||
</description>
|
||||
<name>choose</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.ChooseTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Like <%= ... >, but for XPath expressions.
|
||||
</description>
|
||||
<name>out</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.xml.ExprTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
XPath expression to be evaluated.
|
||||
</description>
|
||||
<name>select</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Determines whether characters <,>,&,'," in the
|
||||
resulting string should be converted to their
|
||||
corresponding character entity codes. Default
|
||||
value is true.
|
||||
</description>
|
||||
<name>escapeXml</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
XML conditional tag, which evalutes its body if the
|
||||
supplied XPath expression evalutes to 'true' as a boolean
|
||||
</description>
|
||||
<name>if</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.xml.IfTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
The test condition that tells whether or not the
|
||||
body content should be processed.
|
||||
</description>
|
||||
<name>select</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
resulting value of the test condition. The type
|
||||
of the scoped variable is Boolean.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
XML iteration tag.
|
||||
</description>
|
||||
<name>forEach</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.xml.ForEachTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
current item of the iteration. This scoped variable
|
||||
has nested visibility. Its type depends on the
|
||||
result of the XPath expression in the select
|
||||
attribute.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
XPath expression to be evaluated.
|
||||
</description>
|
||||
<name>select</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Iteration begins at the item located at the
|
||||
specified index. First item of the collection has
|
||||
index 0.
|
||||
</description>
|
||||
<name>begin</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Iteration ends at the item located at the specified
|
||||
index (inclusive).
|
||||
</description>
|
||||
<name>end</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Iteration will only process every step items of
|
||||
the collection, starting with the first one.
|
||||
</description>
|
||||
<name>step</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>int</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for the
|
||||
status of the iteration. Object exported is of type
|
||||
javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested visibility.
|
||||
</description>
|
||||
<name>varStatus</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Subtag of <choose> that follows <when> tags
|
||||
and runs only if all of the prior conditions evaluated to
|
||||
'false'
|
||||
</description>
|
||||
<name>otherwise</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.core.OtherwiseTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Adds a parameter to a containing 'transform' tag's Transformer
|
||||
</description>
|
||||
<name>param</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.xml.ParamTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the transformation parameter.
|
||||
</description>
|
||||
<name>name</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Value of the parameter.
|
||||
</description>
|
||||
<name>value</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Parses XML content from 'source' attribute or 'body'
|
||||
</description>
|
||||
<name>parse</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.xml.ParseTag</tag-class>
|
||||
<tei-class>org.apache.taglibs.standard.tei.XmlParseTEI</tei-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for
|
||||
the parsed XML document. The type of the
|
||||
scoped variable is implementation
|
||||
dependent.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable for
|
||||
the parsed XML document. The type of the
|
||||
scoped variable is
|
||||
org.w3c.dom.Document.
|
||||
</description>
|
||||
<name>varDom</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for varDom.
|
||||
</description>
|
||||
<name>scopeDom</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Deprecated. Use attribute 'doc' instead.
|
||||
</description>
|
||||
<name>xml</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Source XML document to be parsed.
|
||||
</description>
|
||||
<name>doc</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
The system identifier (URI) for parsing the
|
||||
XML document.
|
||||
</description>
|
||||
<name>systemId</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Filter to be applied to the source
|
||||
document.
|
||||
</description>
|
||||
<name>filter</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Saves the result of an XPath expression evaluation in a 'scope'
|
||||
</description>
|
||||
<name>set</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.xml.SetTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported scoped variable to hold
|
||||
the value specified in the action. The type of the
|
||||
scoped variable is whatever type the select
|
||||
expression evaluates to.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
XPath expression to be evaluated.
|
||||
</description>
|
||||
<name>select</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Conducts a transformation given a source XML document
|
||||
and an XSLT stylesheet
|
||||
</description>
|
||||
<name>transform</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.rt.xml.TransformTag</tag-class>
|
||||
<tei-class>org.apache.taglibs.standard.tei.XmlTransformTEI</tei-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
Name of the exported
|
||||
scoped variable for the
|
||||
transformed XML
|
||||
document. The type of the
|
||||
scoped variable is
|
||||
org.w3c.dom.Document.
|
||||
</description>
|
||||
<name>var</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Scope for var.
|
||||
</description>
|
||||
<name>scope</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Result
|
||||
Object that captures or
|
||||
processes the transformation
|
||||
result.
|
||||
</description>
|
||||
<name>result</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Deprecated. Use attribute
|
||||
'doc' instead.
|
||||
</description>
|
||||
<name>xml</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Source XML document to be
|
||||
transformed. (If exported by
|
||||
<x:set>, it must correspond
|
||||
to a well-formed XML
|
||||
document, not a partial
|
||||
document.)
|
||||
</description>
|
||||
<name>doc</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
Deprecated. Use attribute
|
||||
'docSystemId' instead.
|
||||
</description>
|
||||
<name>xmlSystemId</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
The system identifier (URI)
|
||||
for parsing the XML
|
||||
document.
|
||||
</description>
|
||||
<name>docSystemId</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
javax.xml.transform.Source
|
||||
Transformation stylesheet as
|
||||
a String, Reader, or
|
||||
Source object.
|
||||
</description>
|
||||
<name>xslt</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<description>
|
||||
The system identifier (URI)
|
||||
for parsing the XSLT
|
||||
stylesheet.
|
||||
</description>
|
||||
<name>xsltSystemId</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<tag>
|
||||
<description>
|
||||
Subtag of <choose> that includes its body if its
|
||||
expression evalutes to 'true'
|
||||
</description>
|
||||
<name>when</name>
|
||||
<tag-class>org.apache.taglibs.standard.tag.common.xml.WhenTag</tag-class>
|
||||
<body-content>JSP</body-content>
|
||||
<attribute>
|
||||
<description>
|
||||
The test condition that tells whether or
|
||||
not the body content should be
|
||||
processed
|
||||
</description>
|
||||
<name>select</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>false</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
@ -0,0 +1,146 @@
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%
|
||||
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath() + "/";
|
||||
%>
|
||||
<html>
|
||||
<head>
|
||||
<base href="<%=basePath%>">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<link href="jquery/bootstrap_3.3.0/css/bootstrap.min.css" type="text/css" rel="stylesheet"/>
|
||||
<script type="text/javascript" src="jquery/jquery-1.11.1-min.js"></script>
|
||||
<script type="text/javascript" src="jquery/bootstrap_3.3.0/js/bootstrap.min.js"></script>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>教室管理系统</title>
|
||||
<link rel="stylesheet" href="css/reset.css">
|
||||
<link rel="stylesheet" href="Font/css/all.css">
|
||||
<link rel="stylesheet" href="css/styleForIndex.css">
|
||||
<link rel="icon" href="Font/favicon.ico">
|
||||
<style>
|
||||
.box2 p,
|
||||
.box1 p{
|
||||
height: 30%;
|
||||
letter-spacing: 2px;
|
||||
color: #0b2983;
|
||||
}
|
||||
.aaa{
|
||||
width: 758px;
|
||||
height: 424px;
|
||||
margin: 50px auto;
|
||||
position: relative;
|
||||
}
|
||||
.aaa .ddd{
|
||||
position: absolute;
|
||||
}
|
||||
.aaa li:nth-child(1){
|
||||
z-index: 1;
|
||||
}
|
||||
.bbb{
|
||||
position: absolute;
|
||||
z-index: 9999;
|
||||
bottom: 10px;
|
||||
left: 20px;
|
||||
|
||||
}
|
||||
.bbb li{
|
||||
float: left;
|
||||
margin-left: 2px;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
background-color: rgba(0, 0, 0, .4);
|
||||
background-clip: content-box;
|
||||
border: 2px solid transparent;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
window.onload=function(){
|
||||
let img1=document.getElementById("img1");
|
||||
let imgArr=["image/1.png","image/2.png","image/3.png","image/4.png"];
|
||||
var index=0;
|
||||
let allA=document.getElementsByClassName("cd");
|
||||
setInterval(function(){
|
||||
index++;
|
||||
if(index>=allA.length){
|
||||
allA[index-1].style.backgroundColor=" rgba(0, 0, 0, .4)";
|
||||
index=0;
|
||||
}
|
||||
img1.src=imgArr[index];
|
||||
allA[index].style.backgroundColor="#3b79ff";
|
||||
allA[index-1].style.backgroundColor=" rgba(0, 0, 0, .4)";
|
||||
},2800);
|
||||
}
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="topbar-wrapper">
|
||||
<div class="topbar w clearfix">
|
||||
<ul class="left">
|
||||
<li>
|
||||
<i class="fas fa-school"></i>
|
||||
教室管理系统
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="right">
|
||||
<li class="li1">反馈
|
||||
<i class="fas fa-angle-down"></i>
|
||||
<div class="box1" style="overflow: hidden;font-size: 13px;">
|
||||
<p>qq邮箱:</p>
|
||||
<p>3104044743</p>
|
||||
<p>@qq.com</p>
|
||||
</div>
|
||||
</li>
|
||||
<li class="li2">制作人员
|
||||
<i class="fas fa-angle-down"></i>
|
||||
<div class="box2" style="overflow: hidden;">
|
||||
<p>陈后珩</p>
|
||||
<p>董灿</p>
|
||||
<p>严权</p>
|
||||
</div>
|
||||
</li>
|
||||
<li class="login">
|
||||
<a href="settings/qx/Login/toLogin.do">
|
||||
登录
|
||||
</a>
|
||||
</li>
|
||||
<li class="signup">
|
||||
<a href="settings/qx/Register/toRegister.do">
|
||||
注册
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="main-wrapper w clearfix">
|
||||
<div class="main" style="position: relative;">
|
||||
<div style="left: 0;right: 0;margin: 5px auto;padding:5px;padding-left:5%;color:rgb(76, 76, 215);line-height: 30px;height: 30px;font-size: 20px;letter-spacing: 4px;">欢迎来到教室管理系统!</div>
|
||||
<div style="left: 0;right: 0;margin: 5px auto;padding:5px;padding-left:5%;letter-spacing: 2px; ">本系统界面简洁,易于操作:)欢迎您的使用~</div>
|
||||
<div class="myDetails" style="
|
||||
padding: 10px;
|
||||
width: fit-content;
|
||||
border-radius: 3px;
|
||||
border: #859fd9 2px dotted;
|
||||
background-color: #c2c9d8;
|
||||
letter-spacing: 2px;
|
||||
margin-left:5%;
|
||||
margin-top:10px">
|
||||
界面展示
|
||||
</div>
|
||||
<ul class="aaa">
|
||||
<li class="ddd"><a href="#"><img src="image/1.png" id="img1" ></a></li>
|
||||
<ul class="bbb">
|
||||
<li class="active cd"><a href="#"></a></li>
|
||||
<li class="cd"><a href="#"></a></li>
|
||||
<li class="cd"><a href="#"></a></li>
|
||||
<li class="cd"><a href="#"></a></li>
|
||||
</ul>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,182 @@
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%
|
||||
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath() + "/";
|
||||
%>
|
||||
<html>
|
||||
<head>
|
||||
<base href="<%=basePath%>">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<link href="jquery/bootstrap_3.3.0/css/bootstrap.min.css" type="text/css" rel="stylesheet"/>
|
||||
<link rel="stylesheet" href="js/lib-master/theme-chalk/index.css">
|
||||
<script src="js/vue.js"></script>
|
||||
<script src="js/lib-master/index.js"></script>
|
||||
<script src="js/axios.js"></script>
|
||||
<script src="js/qs.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-1.11.1-min.js"></script>
|
||||
<script type="text/javascript" src="jquery/bootstrap_3.3.0/js/bootstrap.min.js"></script>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>教室管理系统用户登录</title>
|
||||
<link rel="stylesheet" href="css/reset.css">
|
||||
<link rel="stylesheet" href="css/styleForLogin.css">
|
||||
<link rel="icon" href="Font/favicon.ico">
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
|
||||
$("#loginBtnForStu").click(function () {
|
||||
var studentNumber = $.trim($("#studentNumber").val());
|
||||
var stuPwd = $.trim($("#stuPwd").val());
|
||||
var isRemPwdForStu = $("#isRemPwdForStu").prop("checked");
|
||||
if (studentNumber == "") {
|
||||
$("#msgForStu").text("用户名不能为空");
|
||||
return;
|
||||
}
|
||||
if (stuPwd == "") {
|
||||
$("#msgForStu").text("密码不能为空");
|
||||
return;
|
||||
}
|
||||
$.ajax({
|
||||
url: 'settings/qx/Login/LoginForStudent.do',
|
||||
data: {
|
||||
studentNumber: studentNumber,
|
||||
loginPwd: stuPwd,
|
||||
isRemPwdForStu:isRemPwdForStu
|
||||
},
|
||||
type: 'post',
|
||||
dataType: 'json',
|
||||
success: function (data) {
|
||||
if (data.code == "1") {
|
||||
window.location.href = "settings/qx/Login/toStuMain.do";
|
||||
} else {
|
||||
$("#msgForStu").text(data.message);
|
||||
//alert("登录失败,用户名或密码错误!");
|
||||
}
|
||||
},
|
||||
beforeSend: function () {
|
||||
$("#msgForStu").text("正在努力验证...");
|
||||
return true;
|
||||
|
||||
}
|
||||
});
|
||||
})
|
||||
|
||||
$("#loginBtnForTea").click(function () {
|
||||
var teacherJobNumber = $.trim($("#teacherJobNumber").val());
|
||||
var teaPwd = $.trim($("#teaPwd").val());
|
||||
var isRemPwdForTea = $("#isRemPwdForTea").prop("checked");
|
||||
|
||||
if (teacherJobNumber == "") {
|
||||
$("#msgForTea").text("用户名不能为空");
|
||||
return;
|
||||
}
|
||||
if (teaPwd == "") {
|
||||
$("#msgForTea").text("密码不能为空");
|
||||
return;
|
||||
}
|
||||
$.ajax({
|
||||
url: 'settings/qx/Login/LoginForTeacher.do',
|
||||
data: {
|
||||
teacherJobNumber: teacherJobNumber,
|
||||
loginPwd: teaPwd,
|
||||
isRemPwdForTea:isRemPwdForTea
|
||||
},
|
||||
type: 'post',
|
||||
dataType: 'json',
|
||||
success: function (data) {
|
||||
if (data.code == "1") {
|
||||
window.location.href = "settings/qx/Login/toTeaMain.do";
|
||||
} else {
|
||||
$("#msgForTea").text(data.message);
|
||||
//alert("登录失败,用户名或密码错误!");
|
||||
}
|
||||
},
|
||||
beforeSend: function () {
|
||||
$("#msgForTea").text("正在努力验证...");
|
||||
return true;
|
||||
}
|
||||
});
|
||||
})
|
||||
|
||||
|
||||
})
|
||||
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
<div class="container" id="container">
|
||||
<div class="form-container sign-up-container">
|
||||
<div style=" background-color: #fff;display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 0 1.8rem;
|
||||
height: 100%;">
|
||||
<h1>教师登录</h1>
|
||||
<span>尊敬的老师 : ) </span>
|
||||
<input type="text" placeholder="工号" value="${cookie.teacherJobNumber.value}" class="input" id="teacherJobNumber">
|
||||
<input type="password" placeholder="密码" value="${cookie.loginPwdForTea.value}" class="input" id="teaPwd">
|
||||
<span style="margin-bottom: 8px;">记住密码</span>
|
||||
<c:if test="${not empty cookie.teacherJobNumber and not empty cookie.loginPwdForTea}">
|
||||
<input type="checkbox" id="isRemPwdForTea" checked="checked">
|
||||
</c:if>
|
||||
<c:if test="${empty cookie.teacherJobNumber and empty cookie.loginPwdForTea}">
|
||||
<input type="checkbox" id="isRemPwdForTea">
|
||||
</c:if>
|
||||
<%-- <input type="checkbox" id="isRemPwdForTea" placeholder="记住密码">--%>
|
||||
<span id="msgForTea" style="color:red"></span>
|
||||
<button id="loginBtnForTea">登录</button>
|
||||
<a href="settings/qx/Register/toTeaRegister.do" style="text-decoration: none;margin: 10px;">没有账号?立即注册!</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-container login-container">
|
||||
<div style=" background-color: #fff;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 0 1.8rem;
|
||||
height: 100%;">
|
||||
<h1>学生登录</h1>
|
||||
<span>亲爱的同学(●'◡'●)</span>
|
||||
<input type="text" placeholder="学号" value="${cookie.studentNumber.value}" class="input" id="studentNumber">
|
||||
<input type="password" placeholder="密码" value="${cookie.loginPwdForStu.value}" class="input" id="stuPwd">
|
||||
<span style="margin-bottom: 8px;">记住密码</span>
|
||||
<c:if test="${not empty cookie.studentNumber and not empty cookie.loginPwdForStu}">
|
||||
<input type="checkbox" id="isRemPwdForStu" checked="checked">
|
||||
</c:if>
|
||||
<c:if test="${empty cookie.studentNumber and empty cookie.loginPwdForStu}">
|
||||
<input type="checkbox" id="isRemPwdForStu">
|
||||
</c:if>
|
||||
<%--<input type="checkbox" id="isRemPwdForStu" placeholder="记住密码">--%>
|
||||
<span id="msgForStu" style="color:red"></span>
|
||||
<button id="loginBtnForStu">登录</button>
|
||||
<a href="settings/qx/Register/toRegister.do" style="text-decoration: none;margin: 10px;">没有账号?立即注册!</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 滑动侧边栏 -->
|
||||
<div class="overlay-container">
|
||||
<div class="overlay">
|
||||
<div class="overlay-panel overlay-left">
|
||||
<h1>您是学生?</h1>
|
||||
<p>那就来这边!</p>
|
||||
<button class="dash" id="logIn">←</button>
|
||||
<a href="" style="margin-top: 20px; color: white;">返回主页</a>
|
||||
</div>
|
||||
<div class="overlay-panel overlay-right">
|
||||
<h1>您是教师?</h1>
|
||||
<p>请往这边~~~</p>
|
||||
<button class="dash" id="signUp">→</button>
|
||||
<a href="" style="margin-top: 20px; color: white;">返回主页</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
<script src="js/login.js"></script>
|
||||
</html>
|
@ -0,0 +1,16 @@
|
||||
<%--
|
||||
Created by IntelliJ IDEA.
|
||||
User: 31040
|
||||
Date: 2023/4/4
|
||||
Time: 8:28
|
||||
To change this template use File | Settings | File Templates.
|
||||
--%>
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<html>
|
||||
<head>
|
||||
<title>Title</title>
|
||||
</head>
|
||||
<body>
|
||||
<!--这是主页面 -->
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,123 @@
|
||||
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%
|
||||
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath() + "/";
|
||||
%>
|
||||
<html>
|
||||
<head>
|
||||
<base href="<%=basePath%>">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<link href="jquery/bootstrap_3.3.0/css/bootstrap.min.css" type="text/css" rel="stylesheet"/>
|
||||
<script type="text/javascript" src="jquery/jquery-1.11.1-min.js"></script>
|
||||
<script type="text/javascript" src="jquery/bootstrap_3.3.0/js/bootstrap.min.js"></script>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>学生个人信息</title>
|
||||
<link rel="stylesheet" href="css/reset.css">
|
||||
<link rel="stylesheet" href="css/styleForTeaInfo.css">
|
||||
<link rel="stylesheet" href="Font/css/all.css">
|
||||
<link rel="icon" href="Font/favicon.ico">
|
||||
|
||||
<style>
|
||||
.right:hover .downlist{
|
||||
height: 60px;
|
||||
}
|
||||
.downlist{
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
right: 0;
|
||||
width: 100px;
|
||||
height: 0px;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, .2);
|
||||
background-color: white;
|
||||
transition: height 0.3s;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
}
|
||||
.downlist a:hover{
|
||||
color: #859fd9;
|
||||
}
|
||||
.downlist a:active{
|
||||
color: crimson;
|
||||
font-size: large;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="topbar-wapper">
|
||||
<div class="topbar w clearfix">
|
||||
<ul class="left">
|
||||
<li class="cmms">
|
||||
<i class="fas fa-school"></i>
|
||||
教室管理系统
|
||||
</li>
|
||||
<li>
|
||||
<a href="workbench/ShowInfo/toCourseFormForStu.do">课程管理</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="workbench/ShowInfo/toClassRoomInfoForStu.do">教室信息</a>
|
||||
</li>
|
||||
<li class="stuDetails">
|
||||
<a href="workbench/ShowInfo/toStuInfo.do">学生个人信息</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="workbench/ShowInfo/toTeaInfoForStu.do">教师信息</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="settings/qx/Login/toStuMain.do">主页</a>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="right" style="position: relative;">
|
||||
<li class="downlist">
|
||||
<a href="workbench/ShowInfo/logOutMainForStu.do">退出登录</a>
|
||||
</li>
|
||||
<li>
|
||||
<div class="portrait">
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
${sessionScope.sessionStudent.fullName}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="head-wrapper w">
|
||||
<div class="head w">
|
||||
<h1>欢迎来到教室管理系统!</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="main-wrapper">
|
||||
<div class="main">
|
||||
<div class="myDetails">
|
||||
我的信息
|
||||
</div>
|
||||
<ul>
|
||||
<li>姓名:
|
||||
<div id="stuName">${sessionScope.sessionStudent.fullName}</div>
|
||||
</li>
|
||||
<li>学号:
|
||||
<div id="stuNum">${sessionScope.sessionStudent.studentNumber}</div>
|
||||
</li>
|
||||
<li>性别:
|
||||
<div id="stuGender">${sessionScope.sessionStudent.gender}</div>
|
||||
</li>
|
||||
<li>年龄:
|
||||
<div id="stuAge">${sessionScope.sessionStudent.age}</div>
|
||||
</li>
|
||||
<li>创建信息时间:
|
||||
<div id="stuCreateDate">${sessionScope.sessionStudent.createTime}</div>
|
||||
</li>
|
||||
<li>更新信息时间:
|
||||
<div id="stuUpdateDate">${sessionScope.sessionStudent.updateTime}</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,129 @@
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%
|
||||
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath() + "/";
|
||||
%>
|
||||
<html>
|
||||
<head>
|
||||
<base href="<%=basePath%>">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<link href="jquery/bootstrap_3.3.0/css/bootstrap.min.css" type="text/css" rel="stylesheet"/>
|
||||
<script type="text/javascript" src="jquery/jquery-1.11.1-min.js"></script>
|
||||
<script type="text/javascript" src="jquery/bootstrap_3.3.0/js/bootstrap.min.js"></script>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<title>教师个人信息</title>
|
||||
<link rel="stylesheet" href="css/reset.css">
|
||||
<link rel="stylesheet" href="css/styleForTeaInfo.css">
|
||||
<link rel="stylesheet" href="Font/css/all.css">
|
||||
<link rel="icon" href="Font/favicon.ico">
|
||||
|
||||
<style>
|
||||
.right:hover .downlist{
|
||||
height: 60px;
|
||||
}
|
||||
.downlist{
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
right: 0;
|
||||
width: 100px;
|
||||
height: 0px;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, .2);
|
||||
background-color: white;
|
||||
transition: height 0.3s;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
}
|
||||
.downlist a:hover{
|
||||
color: #859fd9;
|
||||
}
|
||||
.downlist a:active{
|
||||
color: crimson;
|
||||
font-size: large;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
$(function (){
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
})
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="topbar-wapper">
|
||||
<div class="topbar w clearfix">
|
||||
<ul class="left">
|
||||
<li class="cmms">
|
||||
<i class="fas fa-school"></i>
|
||||
教室管理系统
|
||||
</li>
|
||||
<li>
|
||||
<a href="workbench/ShowInfo/toCourseInfoForTea.do">课程管理</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="workbench/ShowInfo/toClassRoomInfoForTea.do">教室信息</a>
|
||||
</li>
|
||||
<li class="stuDetails">
|
||||
<a href="workbench/ShowInfo/toTeaInfo.do">教师个人信息</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="workbench/ShowInfo/toStuInfoForTea.do">学生信息</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="settings/qx/Login/toTeaMain.do">主页</a>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="right" style="position: relative;">
|
||||
<li class="downlist">
|
||||
<a href="workbench/ShowInfo/logOutMainForTea.do">退出登录</a>
|
||||
</li>
|
||||
<li>
|
||||
<div class="portrait">
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
${sessionScope.sessionTeacher.fullName}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="head-wrapper">
|
||||
<div class="head w">
|
||||
<h1>欢迎来到教室管理系统!</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="main-wrapper">
|
||||
<div class="main">
|
||||
<div class="myDetails">
|
||||
我的信息
|
||||
</div>
|
||||
<ul>
|
||||
<li>姓名:
|
||||
<div >${sessionScope.sessionTeacher.fullName}</div>
|
||||
</li>
|
||||
<li>工号:
|
||||
<div >${sessionScope.sessionTeacher.teacherJobNumber}</div>
|
||||
</li>
|
||||
<li>性别:
|
||||
<div >${sessionScope.sessionTeacher.gender}</div>
|
||||
</li>
|
||||
<li>职位:
|
||||
<div >${sessionScope.sessionTeacher.position}</div>
|
||||
</li>
|
||||
<li>创建信息时间:
|
||||
<div >${sessionScope.sessionTeacher.createTime}</div>
|
||||
</li>
|
||||
<li>更新信息时间:
|
||||
<div >${sessionScope.sessionTeacher.updateTime}</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,16 @@
|
||||
<%--
|
||||
Created by IntelliJ IDEA.
|
||||
User: 31040
|
||||
Date: 2023/4/4
|
||||
Time: 8:52
|
||||
To change this template use File | Settings | File Templates.
|
||||
--%>
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<html>
|
||||
<head>
|
||||
<title>Title</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,170 @@
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%
|
||||
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath() + "/";
|
||||
%>
|
||||
<html>
|
||||
<head>
|
||||
<base href="<%=basePath%>">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>学生主页</title>
|
||||
<link href="jquery/bootstrap_3.3.0/css/bootstrap.min.css" type="text/css" rel="stylesheet"/>
|
||||
<link rel="stylesheet" type="text/css" href="jquery/bootstrap-datetimepicker-master/css/bootstrap-datetimepicker.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="jquery/bs_pagination-master/css/jquery.bs_pagination.min.css">
|
||||
<link rel="icon" href="Font/favicon.ico">
|
||||
<link rel="stylesheet" href="css/reset.css">
|
||||
<link rel="stylesheet" href="css/styleForStuMain.css">
|
||||
<link rel="stylesheet" href="Font/css/all.css">
|
||||
<style>
|
||||
.aaa{
|
||||
width: 758px;
|
||||
height: 424px;
|
||||
margin: 50px auto;
|
||||
position: relative;
|
||||
}
|
||||
.aaa .ddd{
|
||||
position: absolute;
|
||||
}
|
||||
.aaa li:nth-child(1){
|
||||
z-index: 1;
|
||||
}
|
||||
.bbb{
|
||||
position: absolute;
|
||||
z-index: 9999;
|
||||
bottom: 10px;
|
||||
left: 20px;
|
||||
|
||||
}
|
||||
.bbb li{
|
||||
float: left;
|
||||
margin-left: 2px;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
background-color: rgba(0, 0, 0, .4);
|
||||
background-clip: content-box;
|
||||
border: 2px solid transparent;
|
||||
}
|
||||
.right:hover .downlist{
|
||||
height: 60px;
|
||||
}
|
||||
.downlist{
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
right: 0;
|
||||
width: 100px;
|
||||
height: 0px;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, .2);
|
||||
background-color: white;
|
||||
transition: height 0.3s;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
}
|
||||
.downlist a:hover{
|
||||
color: #859fd9;
|
||||
}
|
||||
.downlist a:active{
|
||||
color: crimson;
|
||||
font-size: large;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript" src="jquery/jquery-1.11.1-min.js"></script>
|
||||
<script type="text/javascript" src="jquery/bootstrap_3.3.0/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/bootstrap-datetimepicker-master/js/bootstrap-datetimepicker.js"></script>
|
||||
<script type="text/javascript" src="jquery/bootstrap-datetimepicker-master/locale/bootstrap-datetimepicker.zh-CN.js"></script>
|
||||
<script type="text/javascript" src="jquery/bs_pagination-master/js/jquery.bs_pagination.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/bs_pagination-master/localization/en.js"></script>
|
||||
<script type="text/javascript">
|
||||
window.onload=function(){
|
||||
let img1=document.getElementById("img1");
|
||||
let imgArr=["image/1.png","image/2.png","image/3.png","image/4.png"];
|
||||
var index=0;
|
||||
let allA=document.getElementsByClassName("cd");
|
||||
setInterval(function(){
|
||||
index++;
|
||||
if(index>=allA.length){
|
||||
allA[index-1].style.backgroundColor=" rgba(0, 0, 0, .4)";
|
||||
index=0;
|
||||
}
|
||||
img1.src=imgArr[index];
|
||||
allA[index].style.backgroundColor="#3b79ff";
|
||||
allA[index-1].style.backgroundColor=" rgba(0, 0, 0, .4)";
|
||||
},2800);
|
||||
}
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="topbar-wapper">
|
||||
<div class="topbar w clearfix">
|
||||
<ul class="left">
|
||||
<li class="cmms">
|
||||
<i class="fas fa-school"></i>
|
||||
教室管理系统
|
||||
</li>
|
||||
<li>
|
||||
<a href="workbench/ShowInfo/toCourseFormForStu.do">课程管理</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="workbench/ShowInfo/toClassRoomInfoForStu.do">教室信息</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="workbench/ShowInfo/toStuInfo.do" >学生个人信息</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="workbench/ShowInfo/toTeaInfoForStu.do">教师信息</a>
|
||||
</li>
|
||||
<li class="stuDetails">
|
||||
<a href="settings/qx/Login/toStuMain.do">主页</a>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="right" style="position: relative;">
|
||||
<li class="downlist">
|
||||
<a href="workbench/ShowInfo/logOutMainForStu.do">退出登录</a>
|
||||
</li>
|
||||
<li>
|
||||
<div class="portrait">
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
${sessionScope.sessionStudent.fullName}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="main-wrapper w clearfix">
|
||||
<div class="main"style="position: relative;">
|
||||
<div style="left: 0;right: 0;margin: 5px auto;padding:5px;padding-left:5%;color:rgb(76, 76, 215);line-height: 30px;height: 30px;font-size: 20px;letter-spacing: 4px;">欢迎来到教室管理系统!</div>
|
||||
<div style="left: 0;right: 0;margin: 5px auto;padding:5px;padding-left:5%;letter-spacing: 2px; ">本系统界面简洁,易于操作:)欢迎您的使用~</div>
|
||||
<div class="myDetails" style="
|
||||
padding: 10px;
|
||||
width: fit-content;
|
||||
border-radius: 3px;
|
||||
border: #859fd9 2px dotted;
|
||||
background-color: #c2c9d8;
|
||||
letter-spacing: 2px;
|
||||
margin-left:5%;
|
||||
margin-top:10px">
|
||||
界面展示
|
||||
</div>
|
||||
<ul class="aaa">
|
||||
<li class="ddd"><a href="#"><img src="image/1.png" id="img1" ></a></li>
|
||||
<ul class="bbb">
|
||||
<li class="active cd"><a href="#"></a></li>
|
||||
<li class="cd"><a href="#"></a></li>
|
||||
<li class="cd"><a href="#"></a></li>
|
||||
<li class="cd"><a href="#"></a></li>
|
||||
</ul>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
@ -0,0 +1,168 @@
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%
|
||||
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath() + "/";
|
||||
%>
|
||||
<html>
|
||||
<head>
|
||||
<base href="<%=basePath%>">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>教师主页</title>
|
||||
<link href="jquery/bootstrap_3.3.0/css/bootstrap.min.css" type="text/css" rel="stylesheet"/>
|
||||
<link rel="stylesheet" type="text/css" href="jquery/bootstrap-datetimepicker-master/css/bootstrap-datetimepicker.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="jquery/bs_pagination-master/css/jquery.bs_pagination.min.css">
|
||||
<link rel="icon" href="Font/favicon.ico">
|
||||
<link rel="stylesheet" href="css/reset.css">
|
||||
<link rel="stylesheet" href="css/styleForStuMain.css">
|
||||
<link rel="stylesheet" href="Font/css/all.css">
|
||||
<style>
|
||||
.aaa{
|
||||
width: 758px;
|
||||
height: 424px;
|
||||
margin: 50px auto;
|
||||
position: relative;
|
||||
}
|
||||
.aaa .ddd{
|
||||
position: absolute;
|
||||
}
|
||||
.aaa li:nth-child(1){
|
||||
z-index: 1;
|
||||
}
|
||||
.bbb{
|
||||
position: absolute;
|
||||
z-index: 9999;
|
||||
bottom: 10px;
|
||||
left: 20px;
|
||||
|
||||
}
|
||||
.bbb li{
|
||||
float: left;
|
||||
margin-left: 2px;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
background-color: rgba(0, 0, 0, .4);
|
||||
background-clip: content-box;
|
||||
border: 2px solid transparent;
|
||||
}
|
||||
.right:hover .downlist{
|
||||
height: 60px;
|
||||
}
|
||||
.downlist{
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
right: 0;
|
||||
width: 100px;
|
||||
height: 0px;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, .2);
|
||||
background-color: white;
|
||||
transition: height 0.3s;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
}
|
||||
.downlist a:hover{
|
||||
color: #859fd9;
|
||||
}
|
||||
.downlist a:active{
|
||||
color: crimson;
|
||||
font-size: large;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript" src="jquery/jquery-1.11.1-min.js"></script>
|
||||
<script type="text/javascript" src="jquery/bootstrap_3.3.0/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/bootstrap-datetimepicker-master/js/bootstrap-datetimepicker.js"></script>
|
||||
<script type="text/javascript" src="jquery/bootstrap-datetimepicker-master/locale/bootstrap-datetimepicker.zh-CN.js"></script>
|
||||
<script type="text/javascript" src="jquery/bs_pagination-master/js/jquery.bs_pagination.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/bs_pagination-master/localization/en.js"></script>
|
||||
<script type="text/javascript">
|
||||
window.onload=function(){
|
||||
let img1=document.getElementById("img1");
|
||||
let imgArr=["image/1.png","image/2.png","image/3.png","image/4.png"];
|
||||
var index=0;
|
||||
let allA=document.getElementsByClassName("cd");
|
||||
setInterval(function(){
|
||||
index++;
|
||||
if(index>=allA.length){
|
||||
allA[index-1].style.backgroundColor=" rgba(0, 0, 0, .4)";
|
||||
index=0;
|
||||
}
|
||||
img1.src=imgArr[index];
|
||||
allA[index].style.backgroundColor="#3b79ff";
|
||||
allA[index-1].style.backgroundColor=" rgba(0, 0, 0, .4)";
|
||||
},2800);
|
||||
}
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="topbar-wapper">
|
||||
<div class="topbar w clearfix">
|
||||
<ul class="left">
|
||||
<li class="cmms">
|
||||
<i class="fas fa-school"></i>
|
||||
教室管理系统
|
||||
</li>
|
||||
<li>
|
||||
<a href="workbench/ShowInfo/toCourseInfoForTea.do">课程预约</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="workbench/ShowInfo/toClassRoomInfoForTea.do">教室信息</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="workbench/ShowInfo/toTeaInfo.do" >教师个人信息</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="workbench/ShowInfo/toStuInfoForTea.do">学生信息</a>
|
||||
</li>
|
||||
<li class="stuDetails">
|
||||
<a href="settings/qx/Login/toTeaMain.do">主页</a>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="right" style="position: relative;">
|
||||
<li class="downlist">
|
||||
<a href="workbench/ShowInfo/logOutMainForTea.do">退出登录</a>
|
||||
</li>
|
||||
<li>
|
||||
<div class="portrait">
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
${sessionScope.sessionTeacher.fullName}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="main-wrapper w clearfix">
|
||||
<div class="main"style="position: relative;">
|
||||
<div style="left: 0;right: 0;margin: 5px auto;padding:5px;padding-left:5%;color:rgb(76, 76, 215);line-height: 30px;height: 30px;font-size: 20px;letter-spacing: 4px;">欢迎来到教室管理系统!</div>
|
||||
<div style="left: 0;right: 0;margin: 5px auto;padding:5px;padding-left:5%;letter-spacing: 2px; ">本系统界面简洁,易于操作:)欢迎您的使用~</div>
|
||||
<div class="myDetails" style="
|
||||
padding: 10px;
|
||||
width: fit-content;
|
||||
border-radius: 3px;
|
||||
border: #859fd9 2px dotted;
|
||||
background-color: #c2c9d8;
|
||||
letter-spacing: 2px;
|
||||
margin-left:5%;
|
||||
margin-top:10px">
|
||||
界面展示
|
||||
</div>
|
||||
<ul class="aaa">
|
||||
<li class="ddd"><a href="#"><img src="image/1.png" id="img1" ></a></li>
|
||||
<ul class="bbb">
|
||||
<li class="active cd"><a href="#"></a></li>
|
||||
<li class="cd"><a href="#"></a></li>
|
||||
<li class="cd"><a href="#"></a></li>
|
||||
<li class="cd"><a href="#"></a></li>
|
||||
</ul>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,48 @@
|
||||
/* http://meyerweb.com/eric/tools/css/reset/
|
||||
v2.0 | 20110126
|
||||
License: none (public domain)
|
||||
*/
|
||||
|
||||
html, body, div, span, applet, object, iframe,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, acronym, address, big, cite, code,
|
||||
del, dfn, em, img, ins, kbd, q, s, samp,
|
||||
small, strike, strong, sub, sup, tt, var,
|
||||
b, u, i, center,
|
||||
dl, dt, dd, ol, ul, li,
|
||||
fieldset, form, label, legend,
|
||||
table, caption, tbody, tfoot, thead, tr, th, td,
|
||||
article, aside, canvas, details, embed,
|
||||
figure, figcaption, footer, header, hgroup,
|
||||
menu, nav, output, ruby, section, summary,
|
||||
time, mark, audio, video {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font: inherit;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
/* HTML5 display-role reset for older browsers */
|
||||
article, aside, details, figcaption, figure,
|
||||
footer, header, hgroup, menu, nav, section {
|
||||
display: block;
|
||||
}
|
||||
body {
|
||||
line-height: 1;
|
||||
}
|
||||
ol, ul {
|
||||
list-style: none;
|
||||
}
|
||||
blockquote, q {
|
||||
quotes: none;
|
||||
}
|
||||
blockquote:before, blockquote:after,
|
||||
q:before, q:after {
|
||||
content: '';
|
||||
content: none;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
@ -0,0 +1,183 @@
|
||||
body{
|
||||
background-image: url(../image/0.jpg);
|
||||
background-size: cover;
|
||||
background-attachment: fixed;
|
||||
min-width: 1264px;
|
||||
color: #333;
|
||||
font-size: 16px;
|
||||
background-color: rgb(220, 220, 234);
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.w{
|
||||
width: 1226px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.clearfix::before,
|
||||
.clearfix::after{
|
||||
content: '';
|
||||
display: table;
|
||||
clear:both;
|
||||
}
|
||||
|
||||
|
||||
.topbar-wapper{
|
||||
position: fixed;
|
||||
top:0;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
line-height: 50px;
|
||||
border-bottom: 1px rgba(0, 0, 0, .2) solid;
|
||||
box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
|
||||
background-color: #c2c9d8;
|
||||
z-index: 999;
|
||||
|
||||
}
|
||||
.topbar .left,.right li{
|
||||
float: left;
|
||||
}
|
||||
.left .cmms{
|
||||
width: 200px;
|
||||
font-size: 20px;
|
||||
}
|
||||
.left i{
|
||||
color: #0d358d;
|
||||
font-size: 28px;
|
||||
}
|
||||
.left li{
|
||||
float: left;
|
||||
color: #0b2983;
|
||||
width: 140px;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
.left li:not(:first-of-type):hover {
|
||||
background-color: #859fd9;
|
||||
}
|
||||
.left li a:active{
|
||||
color:#e0d5d3;
|
||||
}
|
||||
|
||||
.topbar .right{
|
||||
float: right;
|
||||
}
|
||||
.right li{
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
.right li .portrait{
|
||||
margin: 5px 6px;
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
background-image: url(../image/portrait.png);
|
||||
background-size: cover;
|
||||
border-radius: 50%;
|
||||
transition: 0.2s;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
|
||||
}
|
||||
|
||||
.right li .portrait:hover{
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
|
||||
.stuDetails{
|
||||
background-color: #5a7dc7;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
|
||||
}
|
||||
.stuDetails a{
|
||||
color:#e0d5d3;
|
||||
}
|
||||
|
||||
.head-wrapper{
|
||||
position: fixed;
|
||||
top: 50px;
|
||||
width: 100%;
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
border-bottom: 1px solid #859fd9;
|
||||
background-color: rgba(241, 241, 249,.5);
|
||||
padding-left: 10%;
|
||||
z-index: 888;
|
||||
}
|
||||
.head{
|
||||
font-size: 20px;
|
||||
}
|
||||
.head h1{
|
||||
letter-spacing: 3px;
|
||||
}
|
||||
|
||||
.main-wrapper{
|
||||
position: relative;
|
||||
top: 120px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: 30px auto;
|
||||
height: auto;
|
||||
|
||||
}
|
||||
.main{
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
width: 100%;
|
||||
box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
border-radius: 10px;
|
||||
}
|
||||
.main .myDetails{
|
||||
padding: 10px;
|
||||
font-size: 18px;
|
||||
width: fit-content;
|
||||
border-radius: 3px;
|
||||
border: #859fd9 2px dotted;
|
||||
background-color: #c2c9d8;
|
||||
letter-spacing: 2px;
|
||||
margin:20px 3%;
|
||||
}
|
||||
table{
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: 0 auto;
|
||||
width: 90%;
|
||||
border: 1px solid #333;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table .first{
|
||||
color: #0b2983;
|
||||
}
|
||||
|
||||
td{
|
||||
text-align: center;
|
||||
padding: 14px 0;
|
||||
border-bottom: rgba(98, 98, 101, 0.7) 1px solid;
|
||||
border-top:none;
|
||||
border-right:none;
|
||||
border-left:none;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
tr:hover{
|
||||
color:#409effff;
|
||||
background-color: rgba(236, 245, 255, 0.3);
|
||||
}
|
||||
.first:hover{
|
||||
color: #0b2983;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
button{
|
||||
padding: 4px 2px;
|
||||
background-color: #859fd9;
|
||||
border: #0b2983 1px solid;
|
||||
border-radius: 4px;
|
||||
outline: none;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
button:active{
|
||||
background-color: #3a6edc;
|
||||
color:#e0d5d3;
|
||||
}
|
@ -0,0 +1,171 @@
|
||||
body{
|
||||
background-image: url(../image/0.jpg);
|
||||
background-size: cover;
|
||||
background-attachment: fixed;
|
||||
min-width: 1264px;
|
||||
color: #333;
|
||||
font-size: 16px;
|
||||
background-color: rgb(220, 220, 234);
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.w{
|
||||
width: 1226px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.clearfix::before,
|
||||
.clearfix::after{
|
||||
content: '';
|
||||
display: table;
|
||||
clear:both;
|
||||
}
|
||||
|
||||
|
||||
.topbar-wapper{
|
||||
position: fixed;
|
||||
top:0;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
line-height: 50px;
|
||||
border-bottom: 1px rgba(0, 0, 0, .2) solid;
|
||||
box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
|
||||
background-color: #c2c9d8;
|
||||
z-index: 999;
|
||||
|
||||
}
|
||||
.topbar .left,.right li{
|
||||
float: left;
|
||||
}
|
||||
.left .cmms{
|
||||
width: 200px;
|
||||
font-size: 20px;
|
||||
}
|
||||
.left i{
|
||||
color: #0d358d;
|
||||
font-size: 28px;
|
||||
}
|
||||
.left li{
|
||||
float: left;
|
||||
color: #0b2983;
|
||||
width: 140px;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
.left li:not(:first-of-type):hover {
|
||||
background-color: #859fd9;
|
||||
}
|
||||
.left li a:active{
|
||||
color:#e0d5d3;
|
||||
}
|
||||
|
||||
.topbar .right{
|
||||
float: right;
|
||||
}
|
||||
.right li{
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
.right li .portrait{
|
||||
margin: 5px 6px;
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
background-image: url(../image/portrait.png);
|
||||
background-size: cover;
|
||||
border-radius: 50%;
|
||||
transition: 0.2s;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
|
||||
}
|
||||
|
||||
.right li .portrait:hover{
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
|
||||
.stuDetails{
|
||||
background-color: #5a7dc7;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
|
||||
}
|
||||
.stuDetails a{
|
||||
color:#e0d5d3;
|
||||
}
|
||||
|
||||
.head-wrapper{
|
||||
position: fixed;
|
||||
top: 50px;
|
||||
width: 100%;
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
border-bottom: 1px solid #859fd9;
|
||||
background-color: rgba(241, 241, 249,.5);
|
||||
padding-left: 10%;
|
||||
z-index: 888;
|
||||
}
|
||||
.head{
|
||||
font-size: 20px;
|
||||
}
|
||||
.head h1{
|
||||
letter-spacing: 3px;
|
||||
}
|
||||
|
||||
.main-wrapper{
|
||||
position: relative;
|
||||
top: 120px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: 30px auto;
|
||||
height: auto;
|
||||
|
||||
}
|
||||
.main{
|
||||
padding-top: 10px;
|
||||
padding-bottom: 30px;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
border-radius: 10px;
|
||||
}
|
||||
.main .myDetails{
|
||||
padding: 10px;
|
||||
font-size: 18px;
|
||||
width: fit-content;
|
||||
border-radius: 3px;
|
||||
border: #859fd9 2px dotted;
|
||||
background-color: #c2c9d8;
|
||||
letter-spacing: 2px;
|
||||
margin:20px 3%;
|
||||
}
|
||||
table{
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: 0 auto;
|
||||
width: 90%;
|
||||
border: 1px solid #333;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table .first{
|
||||
color: #0b2983;
|
||||
}
|
||||
|
||||
td{
|
||||
text-align: center;
|
||||
padding: 14px 0;
|
||||
border-bottom: rgba(98, 98, 101, 0.7) 1px solid;
|
||||
border-top:none;
|
||||
border-right:none;
|
||||
border-left:none;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
tr:hover{
|
||||
color:#409effff;
|
||||
background-color: rgba(236, 245, 255, 0.3);
|
||||
}
|
||||
.first:hover{
|
||||
color: #0b2983;
|
||||
background-color: transparent;
|
||||
}
|
@ -0,0 +1,172 @@
|
||||
body{
|
||||
background-image: url(../image/0.jpg);
|
||||
background-size: cover;
|
||||
background-attachment: fixed;
|
||||
min-width: 1264px;
|
||||
color: #333;
|
||||
font-size: 16px;
|
||||
background-color: rgb(220, 220, 234);
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.w{
|
||||
width: 1226px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.clearfix::before,
|
||||
.clearfix::after{
|
||||
content: '';
|
||||
display: table;
|
||||
clear:both;
|
||||
}
|
||||
|
||||
|
||||
.topbar-wapper{
|
||||
position: fixed;
|
||||
top:0;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
line-height: 50px;
|
||||
border-bottom: 1px rgba(0, 0, 0, .2) solid;
|
||||
box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
|
||||
background-color: #c2c9d8;
|
||||
z-index: 999;
|
||||
|
||||
}
|
||||
.topbar .left,.right li{
|
||||
float: left;
|
||||
}
|
||||
.left .cmms{
|
||||
width: 200px;
|
||||
font-size: 20px;
|
||||
}
|
||||
.left i{
|
||||
color: #0d358d;
|
||||
font-size: 28px;
|
||||
}
|
||||
.left li{
|
||||
float: left;
|
||||
color: #0b2983;
|
||||
width: 140px;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
.left li:not(:first-of-type):hover {
|
||||
background-color: #859fd9;
|
||||
}
|
||||
.left li a:active{
|
||||
color:#e0d5d3;
|
||||
}
|
||||
|
||||
.topbar .right{
|
||||
float: right;
|
||||
}
|
||||
.right li{
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
.right li .portrait{
|
||||
margin: 5px 6px;
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
background-image: url(../image/portrait.png);
|
||||
background-size: cover;
|
||||
border-radius: 50%;
|
||||
transition: 0.2s;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
|
||||
}
|
||||
|
||||
.right li .portrait:hover{
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
|
||||
.stuDetails{
|
||||
background-color: #5a7dc7;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
|
||||
}
|
||||
.stuDetails a{
|
||||
color:#e0d5d3;
|
||||
}
|
||||
|
||||
.head-wrapper{
|
||||
position: fixed;
|
||||
top: 50px;
|
||||
width: 100%;
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
border-bottom: 1px solid #859fd9;
|
||||
background-color: rgba(241, 241, 249,.5);
|
||||
padding-left: 10%;
|
||||
z-index: 888;
|
||||
}
|
||||
.head{
|
||||
font-size: 20px;
|
||||
}
|
||||
.head h1{
|
||||
letter-spacing: 3px;
|
||||
}
|
||||
|
||||
.main-wrapper{
|
||||
position: relative;
|
||||
top: 120px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: 30px auto;
|
||||
height: auto;
|
||||
|
||||
}
|
||||
.main{
|
||||
padding-top: 10px;
|
||||
padding-bottom: 30px;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
border-radius: 10px;
|
||||
}
|
||||
.main .myDetails{
|
||||
padding: 10px;
|
||||
font-size: 18px;
|
||||
width: fit-content;
|
||||
border-radius: 3px;
|
||||
border: #859fd9 2px dotted;
|
||||
background-color: #c2c9d8;
|
||||
letter-spacing: 2px;
|
||||
margin:20px 3%;
|
||||
}
|
||||
table{
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: 0 auto;
|
||||
width: 90%;
|
||||
border: 1px solid #333;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table .first{
|
||||
color: #0b2983;
|
||||
}
|
||||
|
||||
td{
|
||||
text-align: center;
|
||||
padding: 14px 0;
|
||||
border-bottom: rgba(98, 98, 101, 0.7) 1px solid;
|
||||
border-top:none;
|
||||
border-right:none;
|
||||
border-left:none;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
tr:hover{
|
||||
color:#409effff;
|
||||
background-color: rgba(236, 245, 255, 0.3);
|
||||
}
|
||||
.first:hover{
|
||||
color: #0b2983;
|
||||
background-color: transparent;
|
||||
}
|
@ -0,0 +1,133 @@
|
||||
body{
|
||||
background-image: url(../image/0.jpg);
|
||||
background-size: cover;
|
||||
background-attachment: fixed;
|
||||
min-width: 1226px;
|
||||
color: #333;
|
||||
font-size: 16px;
|
||||
background-color: rgb(241, 241, 249);
|
||||
}
|
||||
.w{
|
||||
width: 1226px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.clearfix::before,
|
||||
.clearfix::after{
|
||||
content: '';
|
||||
display: table;
|
||||
clear:both;
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.topbar-wrapper{
|
||||
position: fixed;
|
||||
top:0;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
line-height: 50px;
|
||||
border-bottom: 1px rgba(0, 0, 0, .2) solid;
|
||||
box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
|
||||
background-color: #c2c9d8;
|
||||
z-index: 9999;
|
||||
}
|
||||
.topbar .left,.right li{
|
||||
float: left;
|
||||
}
|
||||
.left i{
|
||||
color: #0d358d;
|
||||
font-size: 28px;
|
||||
}
|
||||
.left li{
|
||||
color: #0b2983;
|
||||
font-size: 20px;
|
||||
}
|
||||
.topbar .right{
|
||||
float: right;
|
||||
}
|
||||
.right li{
|
||||
width: 80px;
|
||||
text-align: center;
|
||||
}
|
||||
.right .li1,.right .li2{
|
||||
width: 100px;
|
||||
}
|
||||
.right .li2{
|
||||
margin-right: 26px;
|
||||
}
|
||||
.right li:hover {
|
||||
color: #3b79ff;
|
||||
}
|
||||
.right .li1:hover .box1{
|
||||
height: 120px;
|
||||
}
|
||||
.right .li2:hover .box2{
|
||||
height: 120px;
|
||||
}
|
||||
.right li{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.right .box1{
|
||||
position: absolute;
|
||||
top: 40px;
|
||||
width: 100px;
|
||||
height: 0px;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, .2);
|
||||
background-color: white;
|
||||
transition: height 0.3s;
|
||||
}
|
||||
.right .box2{
|
||||
position: absolute;
|
||||
top: 40px;
|
||||
width: 100px;
|
||||
height: 0px;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, .2);
|
||||
background-color: white;
|
||||
transition: height 0.3s;
|
||||
}
|
||||
.make li{
|
||||
font-size: 10px;
|
||||
}
|
||||
.right .login:hover a{
|
||||
color: #3b79ff;
|
||||
}
|
||||
.right .signup:hover a{
|
||||
color: #0b2983;
|
||||
}
|
||||
.right .signup a{
|
||||
color: #859fd9;
|
||||
}
|
||||
.right .signup:hover{
|
||||
background-color: #e6edfa;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.main-wrapper{
|
||||
position: relative;
|
||||
top: 50px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: 30px auto;
|
||||
height: auto;
|
||||
z-index: 888;
|
||||
}
|
||||
.main{
|
||||
position: absolute;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 30px;
|
||||
margin: 0 auto;
|
||||
height: 90%;
|
||||
width: 80%;
|
||||
box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
border-radius: 10px;
|
||||
}
|
@ -0,0 +1,173 @@
|
||||
*{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing:border-box;
|
||||
}
|
||||
body,html{
|
||||
background-image: url("../image/5555.jpg");
|
||||
background-size: cover;
|
||||
background-color: #e0d5d3;
|
||||
/* 锁定背景 */
|
||||
background-attachment: fixed;
|
||||
/* 弹性布局 */
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
h1{
|
||||
margin: 0.2rem;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
p{
|
||||
font-size: 1rem;
|
||||
line-height: 1.5rem;
|
||||
font-weight: 100;
|
||||
margin: 1.2rem 0;
|
||||
letter-spacing: 0.1rem;
|
||||
}
|
||||
span{
|
||||
font-size: 0.8rem;
|
||||
margin: 1.2rem 0;
|
||||
}
|
||||
|
||||
.container{
|
||||
position: relative;
|
||||
background-color: white;
|
||||
border-radius: 10px;
|
||||
padding: 0.6rem;
|
||||
width: 44rem;
|
||||
height: 30rem;
|
||||
box-shadow: 5px 10px 20px rgba(0, 0, 0, .3);
|
||||
overflow: hidden;
|
||||
margin: 1.2rem 0;
|
||||
max-width: 100vw;
|
||||
min-height: 70vh;
|
||||
}
|
||||
.form-container .input{
|
||||
width: 100%;
|
||||
height: 2.2rem;
|
||||
text-indent: 1rem;
|
||||
border-top: none;
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
border-bottom: 1px solid #0b2983;
|
||||
outline: none;
|
||||
}
|
||||
.form-container input:focus{
|
||||
background-color: #e0d5d3;
|
||||
color: #1137a9;
|
||||
}
|
||||
/*.form-container button:active{*/
|
||||
/* transform: scale(0.95,0.95);*/
|
||||
/* background-color: #1137a9;*/
|
||||
/* color: rgb(225, 213, 213);*/
|
||||
/* */
|
||||
/*}*/
|
||||
/*.form-container button{*/
|
||||
/* margin-top: 1.4rem;*/
|
||||
/* padding:0.4rem 1rem;*/
|
||||
/* background-color: #42507a;*/
|
||||
/* color: white;*/
|
||||
/* border-radius: 7px;*/
|
||||
/* border: 1px solid #fff;*/
|
||||
/* outline: none;*/
|
||||
/* cursor: pointer;*/
|
||||
/* transition: all 150ms ease-in;*/
|
||||
/*}*/
|
||||
.form-container button{
|
||||
padding:0.4rem 1rem;
|
||||
background-color: white;
|
||||
color: #333;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #818181;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.form-container button:hover{
|
||||
background-color: #ECF5FF;
|
||||
color: #409eff;
|
||||
border: 1px solid #409eff;
|
||||
}
|
||||
|
||||
.form-container button:active{
|
||||
border: 1px solid rgba(33, 143, 206, 0.5);
|
||||
color: rgba(33, 143, 206, 0.5);
|
||||
transform: none;
|
||||
}
|
||||
.overlay-container button:active{
|
||||
transform: scale(0.95,0.95);
|
||||
}
|
||||
.overlay-container button{
|
||||
padding:0.4rem 1rem;
|
||||
background-color: transparent;
|
||||
border: 1px solid ;
|
||||
border-radius: 5px;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
transition: all 150ms ease-in;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.form-container{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
height:100%;
|
||||
transition: all 500ms ease-in;
|
||||
}
|
||||
|
||||
.login-container{
|
||||
left:0;
|
||||
width: 50%;
|
||||
z-index: 2;
|
||||
}
|
||||
.sign-up-container{
|
||||
left: 0;
|
||||
width: 50%;
|
||||
opacity: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
.overlay{
|
||||
background-color: #42507a;
|
||||
width: 200%;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
left: -100%;
|
||||
transition: all 500ms ease-in-out;
|
||||
color: #fff;
|
||||
}
|
||||
.overlay-container{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
transition: all 500ms ease-in;
|
||||
}
|
||||
.overlay-panel{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
padding: 0 2.2em;
|
||||
}
|
||||
.overlay-right{
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.container.right-panel-active .login-container{
|
||||
transform: translateX(100%);
|
||||
}
|
||||
.container.right-panel-active .sign-up-container{
|
||||
transform: translateX(100%);
|
||||
opacity: 1;
|
||||
z-index: 5;
|
||||
transition: all 600ms ease-in-out;
|
||||
}
|
@ -0,0 +1,71 @@
|
||||
body{
|
||||
background-image: url("../image/5555.jpg");
|
||||
background-size:cover;
|
||||
background-attachment: fixed;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: #e0d5d3;
|
||||
margin: 10% 40%;
|
||||
overflow: hidden;
|
||||
}
|
||||
h1{
|
||||
margin-bottom: 40px;
|
||||
font-size:26px;
|
||||
text-align: center;
|
||||
color: rgb(87, 82, 82);
|
||||
}
|
||||
.container{
|
||||
height:450px;
|
||||
}
|
||||
.form-container input{
|
||||
border: transparent;
|
||||
border-bottom: #6578b0 1px solid;
|
||||
outline: none;
|
||||
color: #0b2983;
|
||||
}
|
||||
.form-container span{
|
||||
margin-right: 10px;
|
||||
color: #6578b0;
|
||||
}
|
||||
|
||||
.form-container{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 380px;
|
||||
height: 480px;
|
||||
background-color: rgb(255, 255, 255);
|
||||
overflow: hidden;
|
||||
border: 2px solid #6578b0;
|
||||
border-radius: 5%;
|
||||
box-shadow: 5px 10px 20px rgba(0, 0, 0, .3);
|
||||
}
|
||||
button{
|
||||
display:block;
|
||||
margin-top: 1.4rem;
|
||||
margin-left: 7.8rem;
|
||||
padding:0.4rem 1rem;
|
||||
background-color: #42507a;
|
||||
color: white;
|
||||
border-radius: 7px;
|
||||
border: 1px solid #fff;
|
||||
outline: none;
|
||||
cursor: pointer;
|
||||
transition: all 150ms ease-in;
|
||||
}
|
||||
button:active{
|
||||
transform: scale(0.95,0.95);
|
||||
background-color: rgba(53, 147, 131, 0.3);
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
margin: 0 78px;
|
||||
color: #6578b0;
|
||||
}
|
||||
a:active{
|
||||
color: pink;
|
||||
}
|
@ -0,0 +1,171 @@
|
||||
body{
|
||||
background-image: url(../image/0.jpg);
|
||||
background-size: cover;
|
||||
background-attachment: fixed;
|
||||
min-width: 1264px;
|
||||
color: #333;
|
||||
font-size: 16px;
|
||||
background-color: rgb(220, 220, 234);
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.w{
|
||||
width: 1226px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.clearfix::before,
|
||||
.clearfix::after{
|
||||
content: '';
|
||||
display: table;
|
||||
clear:both;
|
||||
}
|
||||
|
||||
|
||||
.topbar-wapper{
|
||||
position: fixed;
|
||||
top:0;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
line-height: 50px;
|
||||
border-bottom: 1px rgba(0, 0, 0, .2) solid;
|
||||
box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
|
||||
background-color: #c2c9d8;
|
||||
z-index: 999;
|
||||
|
||||
}
|
||||
.topbar .left,.right li{
|
||||
float: left;
|
||||
}
|
||||
.left .cmms{
|
||||
width: 200px;
|
||||
font-size: 20px;
|
||||
}
|
||||
.left i{
|
||||
color: #0d358d;
|
||||
font-size: 28px;
|
||||
}
|
||||
.left li{
|
||||
float: left;
|
||||
color: #0b2983;
|
||||
width: 140px;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
.left li:not(:first-of-type):hover {
|
||||
background-color: #859fd9;
|
||||
}
|
||||
.left li a:active{
|
||||
color:#e0d5d3;
|
||||
}
|
||||
|
||||
.topbar .right{
|
||||
float: right;
|
||||
}
|
||||
.right li{
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
.right li .portrait{
|
||||
margin: 5px 6px;
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
background-image: url(../image/portrait.png);
|
||||
background-size: cover;
|
||||
border-radius: 50%;
|
||||
transition: 0.2s;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
|
||||
}
|
||||
|
||||
.right li .portrait:hover{
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
|
||||
.stuDetails{
|
||||
background-color: #5a7dc7;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
|
||||
}
|
||||
.stuDetails a{
|
||||
color:#e0d5d3;
|
||||
}
|
||||
|
||||
.head-wrapper{
|
||||
position: fixed;
|
||||
top: 50px;
|
||||
width: 100%;
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
border-bottom: 1px solid #859fd9;
|
||||
background-color: rgba(241, 241, 249,.5);
|
||||
padding-left: 10%;
|
||||
z-index: 888;
|
||||
}
|
||||
.head{
|
||||
font-size: 20px;
|
||||
}
|
||||
.head h1{
|
||||
letter-spacing: 3px;
|
||||
}
|
||||
|
||||
.main-wrapper{
|
||||
position: relative;
|
||||
top: 120px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: 30px auto;
|
||||
height: auto;
|
||||
|
||||
}
|
||||
.main{
|
||||
padding-top: 10px;
|
||||
padding-bottom: 30px;
|
||||
height: auto;
|
||||
width: 80%;
|
||||
box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
border-radius: 10px;
|
||||
}
|
||||
.main .myDetails{
|
||||
padding: 10px;
|
||||
font-size: 18px;
|
||||
width: fit-content;
|
||||
border-radius: 3px;
|
||||
border: #859fd9 2px dotted;
|
||||
background-color: #c2c9d8;
|
||||
letter-spacing: 2px;
|
||||
margin:20px 3%;
|
||||
}
|
||||
table{
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: 0 auto;
|
||||
width: 90%;
|
||||
border: 1px solid #333;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table .first{
|
||||
color: #0b2983;
|
||||
}
|
||||
|
||||
td{
|
||||
text-align: center;
|
||||
padding: 14px 0;
|
||||
border-bottom: rgba(98, 98, 101, 0.7) 1px solid;
|
||||
border-top:none;
|
||||
border-right:none;
|
||||
border-left:none;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
tr:hover{
|
||||
color:#409effff;
|
||||
background-color: rgba(236, 245, 255, 0.3);
|
||||
}
|
||||
.first:hover{
|
||||
color: #0b2983;
|
||||
background-color: transparent;
|
||||
}
|
@ -0,0 +1,120 @@
|
||||
body{
|
||||
|
||||
background-image: url(../image/0.jpg);
|
||||
background-size: cover;
|
||||
background-attachment: fixed;
|
||||
min-width: 1226px;
|
||||
color: #333;
|
||||
font-size: 16px;
|
||||
background-color: rgb(220, 220, 234);
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.w{
|
||||
width: 1226px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.clearfix::before,
|
||||
.clearfix::after{
|
||||
content: '';
|
||||
display: table;
|
||||
clear:both;
|
||||
}
|
||||
|
||||
|
||||
.topbar-wapper{
|
||||
position: fixed;
|
||||
top:0;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
line-height: 50px;
|
||||
border-bottom: 1px rgba(0, 0, 0, .2) solid;
|
||||
box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
|
||||
background-color: #c2c9d8;
|
||||
z-index: 999;
|
||||
|
||||
}
|
||||
.topbar .left,.right li{
|
||||
float: left;
|
||||
}
|
||||
.left .cmms{
|
||||
width: 200px;
|
||||
font-size: 20px;
|
||||
}
|
||||
.left i{
|
||||
color: #0d358d;
|
||||
font-size: 28px;
|
||||
}
|
||||
.left li{
|
||||
float: left;
|
||||
color: #0b2983;
|
||||
width: 140px;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
.left li:not(:first-of-type):hover {
|
||||
background-color: #859fd9;
|
||||
}
|
||||
.left li a:active{
|
||||
color:#e0d5d3;
|
||||
}
|
||||
|
||||
.topbar .right{
|
||||
float: right;
|
||||
}
|
||||
.right li{
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
.right li .portrait{
|
||||
margin: 5px 6px;
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
background-image: url(../image/portrait.png);
|
||||
background-size: cover;
|
||||
border-radius: 50%;
|
||||
transition: 0.2s;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
|
||||
}
|
||||
|
||||
.right li .portrait:hover{
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
|
||||
.stuDetails{
|
||||
background-color: #5a7dc7;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
|
||||
}
|
||||
.stuDetails a{
|
||||
color:#e0d5d3;
|
||||
}
|
||||
|
||||
.main-wrapper{
|
||||
position: relative;
|
||||
top: 50px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: 30px auto;
|
||||
height: auto;
|
||||
z-index: 888;
|
||||
}
|
||||
.main{
|
||||
position: absolute;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 30px;
|
||||
margin: 0 auto;
|
||||
height: 90%;
|
||||
width: 80%;
|
||||
box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,150 @@
|
||||
body{
|
||||
background-image: url(../image/0.jpg);
|
||||
background-size: cover;
|
||||
background-attachment: fixed;
|
||||
min-width: 1226px;
|
||||
color: #333;
|
||||
font-size: 16px;
|
||||
background-color: rgb(220, 220, 234);
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.w{
|
||||
width: 1226px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.clearfix::before,
|
||||
.clearfix::after{
|
||||
content: '';
|
||||
display: table;
|
||||
clear:both;
|
||||
}
|
||||
|
||||
|
||||
.topbar-wapper{
|
||||
position: fixed;
|
||||
top:0;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
line-height: 50px;
|
||||
border-bottom: 1px rgba(0, 0, 0, .2) solid;
|
||||
box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
|
||||
background-color: #c2c9d8;
|
||||
z-index: 999;
|
||||
|
||||
}
|
||||
.topbar .left,.right li{
|
||||
float: left;
|
||||
}
|
||||
.left .cmms{
|
||||
width: 200px;
|
||||
font-size: 20px;
|
||||
}
|
||||
.left i{
|
||||
color: #0d358d;
|
||||
font-size: 28px;
|
||||
}
|
||||
.left li{
|
||||
float: left;
|
||||
color: #0b2983;
|
||||
width: 140px;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
.left li:not(:first-of-type):hover {
|
||||
background-color: #859fd9;
|
||||
}
|
||||
.left li a:active{
|
||||
color:#e0d5d3;
|
||||
}
|
||||
|
||||
.topbar .right{
|
||||
float: right;
|
||||
}
|
||||
.right li{
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
.right li .portrait{
|
||||
margin: 5px 6px;
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
background-image: url(../image/portrait.png);
|
||||
background-size: cover;
|
||||
border-radius: 50%;
|
||||
transition: 0.2s;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
|
||||
}
|
||||
|
||||
.right li .portrait:hover{
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
|
||||
.stuDetails{
|
||||
background-color: #5a7dc7;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
|
||||
}
|
||||
.stuDetails a{
|
||||
color:#e0d5d3;
|
||||
}
|
||||
|
||||
.head-wrapper{
|
||||
position: fixed;
|
||||
top: 50px;
|
||||
width: 100%;
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
border-bottom: 1px solid #859fd9;
|
||||
background-color: rgba(241, 241, 249,.5);
|
||||
padding-left: 10%;
|
||||
}
|
||||
.head{
|
||||
font-size: 20px;
|
||||
}
|
||||
.head h1{
|
||||
letter-spacing: 3px;
|
||||
}
|
||||
|
||||
.main-wrapper{
|
||||
position: absolute;
|
||||
top: 160px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: 0 auto;
|
||||
height: 480px;
|
||||
width: 1000px;
|
||||
background-color: rgba(255, 255, 255, .9);
|
||||
box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.main{
|
||||
padding: 20px;
|
||||
}
|
||||
.main .myDetails{
|
||||
padding: 10px;
|
||||
font-size: 18px;
|
||||
width: fit-content;
|
||||
border-radius: 3px;
|
||||
border: #859fd9 2px dotted;
|
||||
background-color: #c2c9d8;
|
||||
margin-bottom: 10px;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
.main ul{
|
||||
padding: 30px 20px;
|
||||
border-top: #859fd9 1px solid;
|
||||
}
|
||||
.main li{
|
||||
margin-bottom: 20px;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
.main li div{
|
||||
display:inline;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, .4);
|
||||
}
|
@ -0,0 +1,171 @@
|
||||
body{
|
||||
background-image: url(../image/0.jpg);
|
||||
background-size: cover;
|
||||
background-attachment: fixed;
|
||||
min-width: 1264px;
|
||||
color: #333;
|
||||
font-size: 16px;
|
||||
background-color: rgb(220, 220, 234);
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.w{
|
||||
width: 1226px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.clearfix::before,
|
||||
.clearfix::after{
|
||||
content: '';
|
||||
display: table;
|
||||
clear:both;
|
||||
}
|
||||
|
||||
|
||||
.topbar-wapper{
|
||||
position: fixed;
|
||||
top:0;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
line-height: 50px;
|
||||
border-bottom: 1px rgba(0, 0, 0, .2) solid;
|
||||
box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
|
||||
background-color: #c2c9d8;
|
||||
z-index: 999;
|
||||
|
||||
}
|
||||
.topbar .left,.right li{
|
||||
float: left;
|
||||
}
|
||||
.left .cmms{
|
||||
width: 200px;
|
||||
font-size: 20px;
|
||||
}
|
||||
.left i{
|
||||
color: #0d358d;
|
||||
font-size: 28px;
|
||||
}
|
||||
.left li{
|
||||
float: left;
|
||||
color: #0b2983;
|
||||
width: 140px;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
.left li:not(:first-of-type):hover {
|
||||
background-color: #859fd9;
|
||||
}
|
||||
.left li a:active{
|
||||
color:#e0d5d3;
|
||||
}
|
||||
|
||||
.topbar .right{
|
||||
float: right;
|
||||
}
|
||||
.right li{
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
.right li .portrait{
|
||||
margin: 5px 6px;
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
background-image: url(../image/portrait.png);
|
||||
background-size: cover;
|
||||
border-radius: 50%;
|
||||
transition: 0.2s;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
|
||||
}
|
||||
|
||||
.right li .portrait:hover{
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
|
||||
.stuDetails{
|
||||
background-color: #5a7dc7;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
|
||||
}
|
||||
.stuDetails a{
|
||||
color:#e0d5d3;
|
||||
}
|
||||
|
||||
.head-wrapper{
|
||||
position: fixed;
|
||||
top: 50px;
|
||||
width: 100%;
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
border-bottom: 1px solid #859fd9;
|
||||
background-color: rgba(241, 241, 249,.5);
|
||||
padding-left: 10%;
|
||||
z-index: 888;
|
||||
}
|
||||
.head{
|
||||
font-size: 20px;
|
||||
}
|
||||
.head h1{
|
||||
letter-spacing: 3px;
|
||||
}
|
||||
|
||||
.main-wrapper{
|
||||
position: relative;
|
||||
top: 120px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: 30px auto;
|
||||
height: auto;
|
||||
|
||||
}
|
||||
.main{
|
||||
padding-top: 10px;
|
||||
padding-bottom: 30px;
|
||||
height: auto;
|
||||
width: 80%;
|
||||
box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
border-radius: 10px;
|
||||
}
|
||||
.main .myDetails{
|
||||
padding: 10px;
|
||||
font-size: 18px;
|
||||
width: fit-content;
|
||||
border-radius: 3px;
|
||||
border: #859fd9 2px dotted;
|
||||
background-color: #c2c9d8;
|
||||
letter-spacing: 2px;
|
||||
margin:20px 3%;
|
||||
}
|
||||
table{
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: 0 auto;
|
||||
width: 90%;
|
||||
border: 1px solid #333;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table .first{
|
||||
color: #0b2983;
|
||||
}
|
||||
|
||||
td{
|
||||
text-align: center;
|
||||
padding: 14px 0;
|
||||
border-bottom: rgba(98, 98, 101, 0.7) 1px solid;
|
||||
border-top:none;
|
||||
border-right:none;
|
||||
border-left:none;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
tr:hover{
|
||||
color:#409effff;
|
||||
background-color: rgba(236, 245, 255, 0.3);
|
||||
}
|
||||
.first:hover{
|
||||
color: #0b2983;
|
||||
background-color: transparent;
|
||||
}
|
After Width: | Height: | Size: 763 KiB |
After Width: | Height: | Size: 134 KiB |
After Width: | Height: | Size: 15 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 3.1 MiB |
After Width: | Height: | Size: 1.4 MiB |
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Simplified Chinese translation for bootstrap-datetimepicker
|
||||
* Yuan Cheung <advanimal@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['zh-CN'] = {
|
||||
days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"],
|
||||
daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"],
|
||||
daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"],
|
||||
months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
|
||||
monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
|
||||
today: "今天",
|
||||
suffix: [],
|
||||
meridiem: ["上午", "下午"]
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Simplified Chinese translation for bootstrap-datetimepicker
|
||||
* Yuan Cheung <advanimal@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['zh-CN'] = {
|
||||
days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"],
|
||||
daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"],
|
||||
daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"],
|
||||
months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
|
||||
monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
|
||||
today: "今天",
|
||||
suffix: [],
|
||||
meridiem: ["上午", "下午"]
|
||||
};
|
||||
}(jQuery));
|
After Width: | Height: | Size: 62 KiB |
@ -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')
|
After Width: | Height: | Size: 62 KiB |
@ -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 @@
|
||||
.row-space{margin-top:15px !important}.pagination_custom{margin:0}.small-input{width:50px !important}@media(min-width:768px){.row-space{margin-top:15px !important}}@media(min-width:992px){.row-space{margin-top:0 !important}}@media(min-width:1200px){.row-space{margin-top:0 !important}}
|
@ -0,0 +1,21 @@
|
||||
/**
|
||||
* bs_pagination simple localization - GREEK
|
||||
*
|
||||
* DO NOT CHANGE this file, as it will be overwritten in next update.
|
||||
* To use different values, write and use a similar structure js file.
|
||||
*
|
||||
*/
|
||||
var rsc_bs_pag = {
|
||||
go_to_page_title: 'Μετακίνηση στη σελίδα',
|
||||
rows_per_page_title: 'Σειρές ανά σελίδα',
|
||||
current_page_label: 'Σελίδα',
|
||||
current_page_abbr_label: 'σελ.',
|
||||
total_pages_label: 'από',
|
||||
total_pages_abbr_label: '/',
|
||||
total_rows_label: 'από',
|
||||
rows_info_records: 'εγγραφές',
|
||||
go_top_text: '«',
|
||||
go_prev_text: '‹',
|
||||
go_next_text: '›',
|
||||
go_last_text: '»'
|
||||
};
|
@ -0,0 +1 @@
|
||||
var rsc_bs_pag={go_to_page_title:"Μετακίνηση στη σελίδα",rows_per_page_title:"Σειρές ανά σελίδα",current_page_label:"Σελίδα",current_page_abbr_label:"σελ.",total_pages_label:"από",total_pages_abbr_label:"/",total_rows_label:"από",rows_info_records:"εγγραφές",go_top_text:"«",go_prev_text:"‹",go_next_text:"›",go_last_text:"»"};
|
@ -0,0 +1,21 @@
|
||||
/**
|
||||
* bs_pagination simple localization - ENGLISH
|
||||
*
|
||||
* DO NOT CHANGE this file, as it will be overwritten in next update.
|
||||
* To use different values, write and use a similar structure js file.
|
||||
*
|
||||
*/
|
||||
var rsc_bs_pag = {
|
||||
go_to_page_title: '跳转到',
|
||||
rows_per_page_title: '每页显示',
|
||||
current_page_label: '页',
|
||||
current_page_abbr_label: 'p.',
|
||||
total_pages_label: 'of',
|
||||
total_pages_abbr_label: '/',
|
||||
total_rows_label: 'of',
|
||||
rows_info_records: '记录',
|
||||
go_top_text: '首页',
|
||||
go_prev_text: '上一页',
|
||||
go_next_text: '下一页',
|
||||
go_last_text: '尾页'
|
||||
};
|
@ -0,0 +1 @@
|
||||
var rsc_bs_pag={go_to_page_title:"Go to page",rows_per_page_title:"Rows per page",current_page_label:"Page",current_page_abbr_label:"p.",total_pages_label:"of",total_pages_abbr_label:"/",total_rows_label:"of",rows_info_records:"records",go_top_text:"«",go_prev_text:"←",go_next_text:"→",go_last_text:"»"};
|
After Width: | Height: | Size: 601 B |
After Width: | Height: | Size: 580 B |
After Width: | Height: | Size: 570 B |
After Width: | Height: | Size: 762 B |
After Width: | Height: | Size: 399 B |