Commit 82279337 by 丁伟

1、迁移初始提交

parent 1f1e3660
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.base.controller; package org.ccpit.base.controller;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;
...@@ -33,8 +33,8 @@ import org.apache.commons.fileupload.ProgressListener; ...@@ -33,8 +33,8 @@ import org.apache.commons.fileupload.ProgressListener;
import org.apache.commons.fileupload.disk.DiskFileItemFactory; import org.apache.commons.fileupload.disk.DiskFileItemFactory;
import org.apache.commons.fileupload.servlet.ServletFileUpload; import org.apache.commons.fileupload.servlet.ServletFileUpload;
import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.StringUtils;
import ccpit.base.utils.OSinfoUtil; import org.ccpit.base.utils.OSinfoUtil;
import ccpit.base.utils.ReadConfigUtil; import org.ccpit.base.utils.ReadConfigUtil;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.ResponseBody;
......
package ccpit.base.controller; package org.ccpit.base.controller;
import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.StringUtils;
import ccpit.base.utils.ValidateCode; import org.ccpit.base.utils.ValidateCode;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
......
package ccpit.base.user; package org.ccpit.base.user;
import java.io.Serializable; import java.io.Serializable;
import java.util.ArrayList; import java.util.ArrayList;
...@@ -18,9 +18,9 @@ import javax.persistence.JoinTable; ...@@ -18,9 +18,9 @@ import javax.persistence.JoinTable;
import javax.persistence.ManyToMany; import javax.persistence.ManyToMany;
import javax.persistence.OneToOne; import javax.persistence.OneToOne;
import ccpit.base.modol.BaseEntity; import org.ccpit.base.modol.BaseEntity;
import ccpit.base.orgManage.OrgInfo; import org.ccpit.base.orgManage.OrgInfo;
import ccpit.base.role.Role; import org.ccpit.base.role.Role;
import org.hibernate.annotations.Cache; import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy; import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.annotations.Where; import org.hibernate.annotations.Where;
......
package ccpit.base.user; package org.ccpit.base.user;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList; import java.util.ArrayList;
...@@ -15,17 +15,17 @@ import javax.servlet.http.HttpSession; ...@@ -15,17 +15,17 @@ import javax.servlet.http.HttpSession;
import net.sf.json.JSONArray; import net.sf.json.JSONArray;
import ccpit.base.controller.BaseController; import org.ccpit.base.controller.BaseController;
import ccpit.base.controller.Page; import org.ccpit.base.controller.Page;
import ccpit.base.controller.PageRequest; import org.ccpit.base.controller.PageRequest;
import ccpit.base.orgManage.OrgInfo; import org.ccpit.base.orgManage.OrgInfo;
import ccpit.base.orgManage.OrgService; import org.ccpit.base.orgManage.OrgService;
import ccpit.base.role.RoleDao; import org.ccpit.base.role.RoleDao;
import ccpit.base.usergroup.UserGroupDao; import org.ccpit.base.usergroup.UserGroupDao;
import ccpit.base.utils.PasswordHash; import org.ccpit.base.utils.PasswordHash;
import ccpit.base.utils.StringUtil; import org.ccpit.base.utils.StringUtil;
import ccpit.base.utils.mailUtil.Mail; import org.ccpit.base.utils.mailUtil.Mail;
import ccpit.base.utils.mailUtil.MailUtil; import org.ccpit.base.utils.mailUtil.MailUtil;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
......
package ccpit.base.user; package org.ccpit.base.user;
import java.util.Set; import java.util.Set;
import ccpit.base.dao.BaseDao; import org.ccpit.base.dao.BaseDao;
import ccpit.base.role.Role; import org.ccpit.base.role.Role;
import ccpit.base.usergroup.UserGroupDao; import org.ccpit.base.usergroup.UserGroupDao;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
...@@ -13,7 +13,7 @@ import org.springframework.stereotype.Repository; ...@@ -13,7 +13,7 @@ import org.springframework.stereotype.Repository;
* Created by sqp on 2015/9/5. * Created by sqp on 2015/9/5.
*/ */
@Repository @Repository
public class UserDao extends BaseDao<User>{ public class UserDao extends BaseDao<User> {
@Autowired @Autowired
private UserGroupDao userGroupDao; private UserGroupDao userGroupDao;
...@@ -43,7 +43,7 @@ public class UserDao extends BaseDao<User>{ ...@@ -43,7 +43,7 @@ public class UserDao extends BaseDao<User>{
* @param role * @param role
* @return * @return
*/ */
public boolean canUserOrInGroup(User user,Role role){ public boolean canUserOrInGroup(User user, Role role){
boolean can = canUser(user, role); boolean can = canUser(user, role);
if (!can){ if (!can){
can = userGroupDao.canUserInGroup(user,role); can = userGroupDao.canUserInGroup(user,role);
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.base.user; package org.ccpit.base.user;
import java.io.Serializable; import java.io.Serializable;
import java.util.Date; import java.util.Date;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.base.user; package org.ccpit.base.user;
import java.io.IOException; import java.io.IOException;
import java.util.Date; import java.util.Date;
...@@ -21,10 +21,10 @@ import javax.servlet.http.HttpServletResponse; ...@@ -21,10 +21,10 @@ import javax.servlet.http.HttpServletResponse;
import net.sf.json.JSONArray; import net.sf.json.JSONArray;
import ccpit.base.controller.BaseController; import org.ccpit.base.controller.BaseController;
import ccpit.base.controller.Page; import org.ccpit.base.controller.Page;
import ccpit.base.controller.PageRequest; import org.ccpit.base.controller.PageRequest;
import ccpit.base.logManage.LogInfoService; import org.ccpit.base.logManage.LogInfoService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
......
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
* *
*/ */
package ccpit.base.user; package org.ccpit.base.user;
import ccpit.base.dao.BaseDao; import org.ccpit.base.dao.BaseDao;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
/** /**
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.base.user; package org.ccpit.base.user;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.HashMap; import java.util.HashMap;
...@@ -17,10 +17,10 @@ import java.util.Map; ...@@ -17,10 +17,10 @@ import java.util.Map;
import javax.transaction.Transactional; import javax.transaction.Transactional;
import ccpit.base.controller.Convert; import org.ccpit.base.controller.Convert;
import ccpit.base.controller.Page; import org.ccpit.base.controller.Page;
import ccpit.base.controller.PageBo; import org.ccpit.base.controller.PageBo;
import ccpit.base.controller.PageRequest; import org.ccpit.base.controller.PageRequest;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
...@@ -58,7 +58,7 @@ public class UserEmailService { ...@@ -58,7 +58,7 @@ public class UserEmailService {
return userEmailDao.query(hql, null); return userEmailDao.query(hql, null);
} }
public Page<UserEmail> queryPage(PageRequest pr,String hql){ public Page<UserEmail> queryPage(PageRequest pr, String hql){
Page<UserEmail> page = userEmailDao.findPage(pr, hql, new String[]{}); Page<UserEmail> page = userEmailDao.findPage(pr, hql, new String[]{});
return page; return page;
} }
......
package ccpit.base.user; package org.ccpit.base.user;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.HashMap; import java.util.HashMap;
...@@ -9,12 +9,12 @@ import java.util.Set; ...@@ -9,12 +9,12 @@ import java.util.Set;
import javax.transaction.Transactional; import javax.transaction.Transactional;
import ccpit.base.controller.Convert; import org.ccpit.base.controller.Convert;
import ccpit.base.controller.Page; import org.ccpit.base.controller.Page;
import ccpit.base.controller.PageBo; import org.ccpit.base.controller.PageBo;
import ccpit.base.controller.PageRequest; import org.ccpit.base.controller.PageRequest;
import ccpit.base.role.Role; import org.ccpit.base.role.Role;
import ccpit.base.role.RoleDao; import org.ccpit.base.role.RoleDao;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
...@@ -75,7 +75,7 @@ public class UserService { ...@@ -75,7 +75,7 @@ public class UserService {
* @param role * @param role
* @return * @return
*/ */
public boolean canUserOrInGroup(User user,Role role){ public boolean canUserOrInGroup(User user, Role role){
return userDao.canUserOrInGroup(user, role); return userDao.canUserOrInGroup(user, role);
} }
......
package ccpit.base.usergroup; package org.ccpit.base.usergroup;
import ccpit.base.modol.BaseEntity; import org.ccpit.base.modol.BaseEntity;
import ccpit.base.role.Role; import org.ccpit.base.role.Role;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import org.hibernate.annotations.*; import org.hibernate.annotations.*;
import org.hibernate.annotations.Cache; import org.hibernate.annotations.Cache;
......
package ccpit.base.usergroup; package org.ccpit.base.usergroup;
import ccpit.base.dao.BaseDao; import org.ccpit.base.dao.BaseDao;
import ccpit.base.role.Role; import org.ccpit.base.role.Role;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
import java.util.HashSet; import java.util.HashSet;
......
package ccpit.base.usergroup; package org.ccpit.base.usergroup;
import ccpit.base.role.Role; import org.ccpit.base.role.Role;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
......
package ccpit.base.utils; package org.ccpit.base.utils;
import java.util.Collections; import java.util.Collections;
import java.util.HashMap; import java.util.HashMap;
...@@ -7,9 +7,9 @@ import java.util.List; ...@@ -7,9 +7,9 @@ import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Set; import java.util.Set;
import ccpit.base.role.Role; import org.ccpit.base.role.Role;
import ccpit.base.role.RoleService; import org.ccpit.base.role.RoleService;
import ccpit.base.role.RoleUrl; import org.ccpit.base.role.RoleUrl;
import org.springframework.beans.BeansException; import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware; import org.springframework.context.ApplicationContextAware;
......
package ccpit.base.utils; package org.ccpit.base.utils;
import java.util.HashSet; import java.util.HashSet;
import java.util.Set; import java.util.Set;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import ccpit.base.controller.BaseController; import org.ccpit.base.controller.BaseController;
import ccpit.base.orgManage.OrgService; import org.ccpit.base.orgManage.OrgService;
import ccpit.base.role.Role; import org.ccpit.base.role.Role;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import ccpit.base.user.UserService; import org.ccpit.base.user.UserService;
import org.springframework.beans.BeansException; import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware; import org.springframework.context.ApplicationContextAware;
......
package ccpit.base.utils; package org.ccpit.base.utils;
import java.awt.Color; import java.awt.Color;
import java.awt.Font; import java.awt.Font;
import java.awt.Graphics2D; import java.awt.Graphics2D;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.base.utils; package org.ccpit.base.utils;
import java.io.IOException; import java.io.IOException;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Copyright (c) 2016, liyang@ccpit.org All Rights Reserved. * Copyright (c) 2016, liyang@ccpit.org All Rights Reserved.
* *
*/ */
package ccpit.base.utils; package org.ccpit.base.utils;
import java.io.IOException; import java.io.IOException;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.base.utils; package org.ccpit.base.utils;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequestWrapper; import javax.servlet.http.HttpServletRequestWrapper;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Copyright (c) 2016, liyang@ccpit.org All Rights Reserved. * Copyright (c) 2016, liyang@ccpit.org All Rights Reserved.
* *
*/ */
package ccpit.base.utils; package org.ccpit.base.utils;
import java.util.Iterator; import java.util.Iterator;
import java.util.Map; import java.util.Map;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
*/ */
package ccpit.business.visaAgencyManage; package org.ccpit.business.visaAgencyManage;
import java.util.Date; import java.util.Date;
...@@ -19,7 +19,7 @@ import javax.persistence.Id; ...@@ -19,7 +19,7 @@ import javax.persistence.Id;
import javax.persistence.OneToOne; import javax.persistence.OneToOne;
import javax.persistence.Table; import javax.persistence.Table;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import org.hibernate.annotations.Where; import org.hibernate.annotations.Where;
/** /**
......
package ccpit.business.visaAgencyManage; package org.ccpit.business.visaAgencyManage;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
...@@ -6,11 +6,11 @@ import java.util.Map; ...@@ -6,11 +6,11 @@ import java.util.Map;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import ccpit.base.controller.BaseController; import org.ccpit.base.controller.BaseController;
import ccpit.base.controller.Page; import org.ccpit.base.controller.Page;
import ccpit.base.controller.PageRequest; import org.ccpit.base.controller.PageRequest;
import ccpit.base.logManage.LogInfoService; import org.ccpit.base.logManage.LogInfoService;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
...@@ -23,7 +23,7 @@ import org.springframework.web.servlet.ModelAndView; ...@@ -23,7 +23,7 @@ import org.springframework.web.servlet.ModelAndView;
*/ */
@RestController @RestController
@RequestMapping(value="/business/visaAgencyManage") @RequestMapping(value="/business/visaAgencyManage")
public class VisaAgencyController extends BaseController{ public class VisaAgencyController extends BaseController {
@Autowired @Autowired
private VisaAgencyService visaAgencyService; private VisaAgencyService visaAgencyService;
@Autowired @Autowired
......
package ccpit.business.visaAgencyManage; package org.ccpit.business.visaAgencyManage;
import ccpit.base.dao.BaseDao; import org.ccpit.base.dao.BaseDao;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
@Repository @Repository
public class VisaAgencyDao extends BaseDao<VisaAgency>{ public class VisaAgencyDao extends BaseDao<VisaAgency> {
} }
package ccpit.business.visaAgencyManage; package org.ccpit.business.visaAgencyManage;
...@@ -17,15 +17,15 @@ import net.sf.json.JSONArray; ...@@ -17,15 +17,15 @@ import net.sf.json.JSONArray;
import org.apache.lucene.document.Field; import org.apache.lucene.document.Field;
import org.apache.lucene.document.Field.Index; import org.apache.lucene.document.Field.Index;
import org.apache.lucene.document.Field.Store; import org.apache.lucene.document.Field.Store;
import ccpit.base.controller.Convert; import org.ccpit.base.controller.Convert;
import ccpit.base.controller.Page; import org.ccpit.base.controller.Page;
import ccpit.base.controller.PageBo; import org.ccpit.base.controller.PageBo;
import ccpit.base.controller.PageRequest; import org.ccpit.base.controller.PageRequest;
import ccpit.base.logManage.LogInfoService; import org.ccpit.base.logManage.LogInfoService;
import ccpit.base.user.User; import org.ccpit.base.user.User;
import ccpit.base.utils.DateConvert; import org.ccpit.base.utils.DateConvert;
import ccpit.base.utils.StringUtil; import org.ccpit.base.utils.StringUtil;
import ccpit.base.utils.page.PageUtil; import org.ccpit.base.utils.page.PageUtil;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
@Transactional @Transactional
......
package ccpit.ueditor.upload; package org.ccpit.ueditor.upload;
import java.util.Map; import java.util.Map;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import ccpit.ueditor.define.State; import org.ccpit.ueditor.define.State;
public class Uploader { public class Uploader {
private HttpServletRequest request = null; private HttpServletRequest request = null;
......
<%@ page language="java" contentType="text/html; charset=UTF-8" <%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%> pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="security" uri="http://www.ccpit.org/" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<head> <head>
......
<!DOCTYPE urlrewrite
PUBLIC "-//tuckey.org//DTD UrlRewrite 3.0//EN"
"http://tuckey.org/res/dtds/urlrewrite3.0.dtd">
<urlrewrite>
<rule>
<from>/front/*.html</from>
<to type="redirect">/front/*.do</to>
</rule>
<rule>
<from>^/front/invest/([0-9]+)</from>
<to type="forward">/front/query*.do/$1</to>
</rule>
<rule>
<from>/front/service/serviceSource/([0-9]+).html</from>
<to type="forward">/front/(w+)?type=$1</to>
</rule>
</urlrewrite>
\ No newline at end of file
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<filter> <filter>
<filter-name>loginFilter</filter-name> <filter-name>loginFilter</filter-name>
<filter-class>ccpit.base.security.LoginFilter</filter-class> <filter-class>org.ccpit.base.security.LoginFilter</filter-class>
<init-param> <init-param>
<param-name>exceptPaths</param-name> <param-name>exceptPaths</param-name>
<param-value>/admin/login,/admin/metadataManage/getMetadatasList_front,/admin/metadataManage/getMetadatasList</param-value> <param-value>/admin/login,/admin/metadataManage/getMetadatasList_front,/admin/metadataManage/getMetadatasList</param-value>
......
...@@ -136,7 +136,7 @@ span.view{display: inline-block;width: 30px;float: right;cursor: pointer;color: ...@@ -136,7 +136,7 @@ span.view{display: inline-block;width: 30px;float: right;cursor: pointer;color:
text-align: center; text-align: center;
width: 97%; width: 97%;
float: left; float: left;
background: url(images/image.png) center 70px no-repeat; background: url(./images/image.png) center 70px no-repeat;
color: #cccccc; color: #cccccc;
font-size: 18px; font-size: 18px;
position: relative; position: relative;
...@@ -212,7 +212,7 @@ span.view{display: inline-block;width: 30px;float: right;cursor: pointer;color: ...@@ -212,7 +212,7 @@ span.view{display: inline-block;width: 30px;float: right;cursor: pointer;color:
#upload .filelist li { #upload .filelist li {
width: 113px; width: 113px;
height: 113px; height: 113px;
background: url(images/bg.png); background: url(./images/bg.png);
text-align: center; text-align: center;
margin: 15px 0 0 20px; margin: 15px 0 0 20px;
*margin: 15px 0 0 15px; *margin: 15px 0 0 15px;
...@@ -260,7 +260,7 @@ span.view{display: inline-block;width: 30px;float: right;cursor: pointer;color: ...@@ -260,7 +260,7 @@ span.view{display: inline-block;width: 30px;float: right;cursor: pointer;color:
overflow: hidden; overflow: hidden;
width: 0; width: 0;
height: 100%; height: 100%;
background: #1483d8 url(images/progress.png) repeat-x; background: #1483d8 url(./images/progress.png) repeat-x;
-webit-transition: width 200ms linear; -webit-transition: width 200ms linear;
-moz-transition: width 200ms linear; -moz-transition: width 200ms linear;
...@@ -360,14 +360,14 @@ span.view{display: inline-block;width: 30px;float: right;cursor: pointer;color: ...@@ -360,14 +360,14 @@ span.view{display: inline-block;width: 30px;float: right;cursor: pointer;color:
height: 40px; height: 40px;
width: 100%; width: 100%;
z-index: 200; z-index: 200;
background: url(images/success.png) no-repeat right bottom; background: url(./images/success.png) no-repeat right bottom;
background-image: url(images/success.gif) \9; background-image: url(./images/success.gif) \9;
} }
#upload .filelist li.filePickerBlock { #upload .filelist li.filePickerBlock {
width: 113px; width: 113px;
height: 113px; height: 113px;
background: url(images/image.png) no-repeat center 12px; background: url(./images/image.png) no-repeat center 12px;
border: 1px solid #eeeeee; border: 1px solid #eeeeee;
border-radius: 0; border-radius: 0;
} }
...@@ -400,8 +400,8 @@ span.view{display: inline-block;width: 30px;float: right;cursor: pointer;color: ...@@ -400,8 +400,8 @@ span.view{display: inline-block;width: 30px;float: right;cursor: pointer;color:
float: right; float: right;
text-indent: -9999px; text-indent: -9999px;
overflow: hidden; overflow: hidden;
background: url(images/icons.png) no-repeat; background: url(./images/icons.png) no-repeat;
background: url(images/icons.gif) no-repeat \9; background: url(./images/icons.gif) no-repeat \9;
margin: 5px 1px 1px; margin: 5px 1px 1px;
cursor: pointer; cursor: pointer;
-webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-tap-highlight-color: rgba(0,0,0,0);
...@@ -542,8 +542,8 @@ i.file-preview { ...@@ -542,8 +542,8 @@ i.file-preview {
margin: 10px auto; margin: 10px auto;
width: 70px; width: 70px;
height: 70px; height: 70px;
background-image: url("images/file-icons.png"); background-image: url("./images/file-icons.png");
background-image: url("images/file-icons.gif") \9; background-image: url("./images/file-icons.gif") \9;
background-position: -140px center; background-position: -140px center;
background-repeat: no-repeat; background-repeat: no-repeat;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment