Add bootstrap.min.css to local, replace cdn

0.4-beta
mkk 2015-06-20 14:50:58 +08:00
parent 45e7a0a1bc
commit f049c72012
3 changed files with 75 additions and 69 deletions

View File

@ -1,38 +1,38 @@
<%-- <%--
* *
* @author Shengzhao Li * @author Shengzhao Li
--%> --%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %> <%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML> <!DOCTYPE HTML>
<html> <html>
<head> <head>
<meta charset="utf-8"/> <meta charset="utf-8"/>
<c:set var="contextPath" value="${pageContext.request.contextPath}" scope="application"/> <c:set var="contextPath" value="${pageContext.request.contextPath}" scope="application"/>
<meta name="viewport" content="width=device-width,user-scalable=no"/> <meta name="viewport" content="width=device-width,user-scalable=no"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<title><decorator:title default=""/> - Spring Security&Oauth2</title> <title><decorator:title default=""/> - Spring Security&Oauth2</title>
<link href="http://cdn.bootcss.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet"/> <link href="${contextPath}/resources/bootstrap.min.css" rel="stylesheet"/>
<decorator:head/> <decorator:head/>
</head> </head>
<body class="container"> <body class="container">
<div> <div>
<div> <div>
<decorator:body/> <decorator:body/>
</div> </div>
<div> <div>
<hr/> <hr/>
<p> <p>
<a href="mailto:monkeyk1987@gmail.com">monkeyk1987@gmail.com</a>, from <a <a href="mailto:monkeyk1987@gmail.com">monkeyk1987@gmail.com</a>, from <a
href="http://git.oschina.net/shengzhao/spring-oauth-server" target="_blank">spring-oauth-server</a> href="http://git.oschina.net/shengzhao/spring-oauth-server" target="_blank">spring-oauth-server</a>
</p> </p>
</div> </div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -1,33 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" <beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context" xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd"> http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd">
<!--<import resource="security.xml"/>--> <!--<import resource="security.xml"/>-->
<!--annotation configuration --> <!--annotation configuration -->
<context:annotation-config/> <context:annotation-config/>
<context:component-scan base-package="cc.wdcy.web"/> <context:component-scan base-package="cc.wdcy.web"/>
<!--static resource--> <!--static resource-->
<mvc:resources mapping="/index.jsp*" location="/index.jsp"/> <mvc:resources mapping="/index.jsp*" location="/index.jsp"/>
<mvc:resources mapping="/resources/**" location="/resources/"/>
<bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping">
<property name="order" value="2"/> <bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping">
</bean> <property name="order" value="2"/>
<bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter"> </bean>
</bean> <bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter">
</bean>
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/> <bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="prefix" value="/WEB-INF/jsp/"/> <property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/>
<property name="suffix" value=".jsp"/> <property name="prefix" value="/WEB-INF/jsp/"/>
</bean> <property name="suffix" value=".jsp"/>
</bean>
</beans> </beans>

File diff suppressed because one or more lines are too long