Compare commits
No commits in common. '8a5ccb757e3e9ee8fb817644fe28db5ee417ee14' and '860127edf358d4d0ba71627599035188eb348aba' have entirely different histories.
8a5ccb757e
...
860127edf3
@ -1,51 +0,0 @@
|
||||
/*
|
||||
Navicat MySQL Data Transfer
|
||||
|
||||
Source Server : he
|
||||
Source Server Version : 50636
|
||||
Source Host : localhost:3306
|
||||
Source Database : hlb
|
||||
|
||||
Target Server Type : MYSQL
|
||||
Target Server Version : 50636
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 2024-06-28 13:13:00
|
||||
*/
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for adoptanimal
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `adoptanimal`;
|
||||
CREATE TABLE `adoptanimal` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`userId` int(11) NOT NULL COMMENT '用户表id的外键',
|
||||
`petId` int(11) NOT NULL COMMENT '宠物表id的外键',
|
||||
`adoptTime` date NOT NULL,
|
||||
`state` int(11) DEFAULT '1' COMMENT '是否同意被领养 0 是不同意 1 还在审核 2 是同意',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
KEY `fk3` (`userId`) USING BTREE,
|
||||
KEY `fk4` (`petId`) USING BTREE,
|
||||
CONSTRAINT `fk3` FOREIGN KEY (`userId`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
|
||||
CONSTRAINT `fk4` FOREIGN KEY (`petId`) REFERENCES `pet` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of adoptanimal
|
||||
-- ----------------------------
|
||||
INSERT INTO `adoptanimal` VALUES ('1', '1', '1', '2019-08-21', '2');
|
||||
INSERT INTO `adoptanimal` VALUES ('2', '5', '2', '2019-08-20', '0');
|
||||
INSERT INTO `adoptanimal` VALUES ('3', '3', '3', '2019-08-19', '1');
|
||||
INSERT INTO `adoptanimal` VALUES ('4', '4', '4', '2019-08-18', '0');
|
||||
INSERT INTO `adoptanimal` VALUES ('5', '2', '5', '2019-08-17', '0');
|
||||
INSERT INTO `adoptanimal` VALUES ('6', '6', '6', '2019-08-16', '1');
|
||||
INSERT INTO `adoptanimal` VALUES ('7', '1', '5', '2019-09-01', '0');
|
||||
INSERT INTO `adoptanimal` VALUES ('8', '4', '5', '2019-09-09', '0');
|
||||
INSERT INTO `adoptanimal` VALUES ('9', '4', '2', '2019-09-09', '0');
|
||||
INSERT INTO `adoptanimal` VALUES ('10', '5', '2', '2019-09-09', '0');
|
||||
INSERT INTO `adoptanimal` VALUES ('11', '8', '1', '2023-12-14', '2');
|
||||
INSERT INTO `adoptanimal` VALUES ('12', '3', '2', '2024-01-04', '2');
|
||||
INSERT INTO `adoptanimal` VALUES ('13', '5', '2', '2024-01-04', '2');
|
||||
INSERT INTO `adoptanimal` VALUES ('21', '37', '3', '2024-01-04', '1');
|
@ -1,42 +0,0 @@
|
||||
/*
|
||||
Navicat MySQL Data Transfer
|
||||
|
||||
Source Server : he
|
||||
Source Server Version : 50636
|
||||
Source Host : localhost:3306
|
||||
Source Database : hlb
|
||||
|
||||
Target Server Type : MYSQL
|
||||
Target Server Version : 50636
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 2024-06-28 13:13:20
|
||||
*/
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for apply
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `apply`;
|
||||
CREATE TABLE `apply` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(10) NOT NULL,
|
||||
`email` varchar(20) NOT NULL,
|
||||
`age` int(11) NOT NULL,
|
||||
`telephone` varchar(12) NOT NULL,
|
||||
`message` varchar(100) NOT NULL,
|
||||
`applyTime` date NOT NULL,
|
||||
`state` int(11) DEFAULT '2',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of apply
|
||||
-- ----------------------------
|
||||
INSERT INTO `apply` VALUES ('2', 'zeh', '242523481@qq.com', '21', '87675475465', '市场', '2019-09-04', '3');
|
||||
INSERT INTO `apply` VALUES ('3', 'jg', '32432549281@qq.com', '41', '45654656', '434343', '2019-09-05', '2');
|
||||
INSERT INTO `apply` VALUES ('4', 'xyf', '32423549281@qq.com', '45', '15797959509', '四川', '2019-09-05', '2');
|
||||
INSERT INTO `apply` VALUES ('5', 'lwj', '3213432432@qq.com', '23', '123211432432', 'sc', '2023-11-02', '2');
|
||||
INSERT INTO `apply` VALUES ('6', '唐智鹏', 'tzp15281210084', '18', '15281210084', '我想了解这次仓库的衣服给我放在哪里的', '2024-06-15', '2');
|
||||
INSERT INTO `apply` VALUES ('7', 'yx', 'q', '2', 'q', '', '2024-06-19', '2');
|
@ -1,39 +0,0 @@
|
||||
/*
|
||||
Navicat MySQL Data Transfer
|
||||
|
||||
Source Server : he
|
||||
Source Server Version : 50636
|
||||
Source Host : localhost:3306
|
||||
Source Database : hlb
|
||||
|
||||
Target Server Type : MYSQL
|
||||
Target Server Version : 50636
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 2024-06-28 13:13:29
|
||||
*/
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for blog
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `blog`;
|
||||
CREATE TABLE `blog` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`actionTime` date NOT NULL,
|
||||
`address` varchar(100) NOT NULL,
|
||||
`peoples` varchar(100) NOT NULL,
|
||||
`event` varchar(100) NOT NULL,
|
||||
`title` varchar(20) NOT NULL,
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of blog
|
||||
-- ----------------------------
|
||||
INSERT INTO `blog` VALUES ('2', '2015-06-12', '成都', '衣服', '入库成功', '成功');
|
||||
INSERT INTO `blog` VALUES ('3', '2011-02-09', '成都', '大床', '入库成功', '成功');
|
||||
INSERT INTO `blog` VALUES ('4', '2012-03-15', '成都', '名包', '入库失败', '失败');
|
||||
INSERT INTO `blog` VALUES ('5', '2014-03-10', '简阳', '鞋子', '入库失败', '失败');
|
||||
INSERT INTO `blog` VALUES ('6', '2024-01-03', 'asd', 'dsa', '入库失败', '失败');
|
@ -1,47 +0,0 @@
|
||||
/*
|
||||
Navicat MySQL Data Transfer
|
||||
|
||||
Source Server : he
|
||||
Source Server Version : 50636
|
||||
Source Host : localhost:3306
|
||||
Source Database : hlb
|
||||
|
||||
Target Server Type : MYSQL
|
||||
Target Server Version : 50636
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 2024-06-28 13:13:36
|
||||
*/
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for comment
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `comment`;
|
||||
CREATE TABLE `comment` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`userId` int(11) DEFAULT NULL,
|
||||
`adminsId` int(11) DEFAULT NULL,
|
||||
`petId` int(11) DEFAULT NULL,
|
||||
`commentTime` date NOT NULL,
|
||||
`content` varchar(200) NOT NULL COMMENT '评论的内容',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
KEY `fk1` (`userId`) USING BTREE,
|
||||
KEY `fk2` (`petId`) USING BTREE,
|
||||
KEY `fk5` (`adminsId`) USING BTREE,
|
||||
CONSTRAINT `fk1` FOREIGN KEY (`userId`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
|
||||
CONSTRAINT `fk2` FOREIGN KEY (`petId`) REFERENCES `pet` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
|
||||
CONSTRAINT `fk5` FOREIGN KEY (`adminsId`) REFERENCES `admins` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of comment
|
||||
-- ----------------------------
|
||||
INSERT INTO `comment` VALUES ('3', '3', null, '1', '2018-08-21', '这不错!');
|
||||
INSERT INTO `comment` VALUES ('4', '4', null, '2', '2019-08-21', '这不错!');
|
||||
INSERT INTO `comment` VALUES ('5', '5', null, '2', '2018-08-23', '这不错');
|
||||
INSERT INTO `comment` VALUES ('6', '6', null, '3', '2019-08-24', '这好看');
|
||||
INSERT INTO `comment` VALUES ('8', '8', null, '5', '2019-08-25', '这好看');
|
||||
INSERT INTO `comment` VALUES ('11', '1', null, '5', '2019-08-30', '这好看');
|
||||
INSERT INTO `comment` VALUES ('12', '1', null, '5', '2019-08-30', '这好看');
|
@ -1,89 +0,0 @@
|
||||
package club.controller;
|
||||
|
||||
import club.pojo.AdoptAnimal;
|
||||
import club.pojo.Pet;
|
||||
import club.pojo.User;
|
||||
import club.service.AdoptAnimalService;
|
||||
import club.util.Message;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import club.pojo.AdoptAnimal;
|
||||
import club.service.AdoptAnimalService;
|
||||
import club.util.Message;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.ResponseBody;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpSession;
|
||||
import java.util.Date;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.ResponseBody;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
@Controller
|
||||
@RequestMapping("/adopt")
|
||||
public class AdoptAnimalController {
|
||||
@Resource
|
||||
private AdoptAnimalService adoptAnimalService;
|
||||
|
||||
@RequestMapping("/apply")
|
||||
@ResponseBody
|
||||
public Message agree(String userName,@RequestParam("pn") Integer pageNum,Integer state){
|
||||
Integer pageSize = 5;
|
||||
if(pageNum == 0){
|
||||
pageNum = 1;
|
||||
}
|
||||
PageInfo<AdoptAnimal> pageInfo = adoptAnimalService.allAdoptAnimal(userName, pageNum, pageSize, state);
|
||||
return Message.success().add("pageInfo",pageInfo);
|
||||
}
|
||||
|
||||
@RequestMapping("/create")
|
||||
@ResponseBody
|
||||
public Message create(HttpSession session){
|
||||
User user = (User) session.getAttribute("user");
|
||||
Pet pet = (Pet) session.getAttribute("pet");
|
||||
pet.setState(1);
|
||||
AdoptAnimal adoptAnimal = new AdoptAnimal();
|
||||
adoptAnimal.setUserId(user.getId());
|
||||
adoptAnimal.setPetId(pet.getId());
|
||||
adoptAnimal.setAdoptTime(new Date());
|
||||
adoptAnimal.setState(1);
|
||||
adoptAnimalService.create(adoptAnimal);
|
||||
return Message.success();
|
||||
}
|
||||
|
||||
@RequestMapping("/adopts")
|
||||
@ResponseBody
|
||||
public Message adopts(@RequestParam(required = false) String adoptTime,@RequestParam(required = false,value = "pn") Integer pageNum){
|
||||
int pageSize = 3 ;
|
||||
if(pageNum == null){
|
||||
pageNum = 1;
|
||||
}
|
||||
PageInfo<AdoptAnimal> pageInfo = adoptAnimalService.all(adoptTime, pageNum, pageSize);
|
||||
return Message.success().add("pageInfo",pageInfo);
|
||||
}
|
||||
|
||||
@RequestMapping("/disAgree")
|
||||
@ResponseBody
|
||||
public Message disAgree(Integer id){
|
||||
int update = adoptAnimalService.update(id, 0);
|
||||
if(update>0){
|
||||
return Message.success();
|
||||
}
|
||||
return Message.fail();
|
||||
}
|
||||
|
||||
@RequestMapping("/agree")
|
||||
@ResponseBody
|
||||
public Message agree(Integer id){
|
||||
System.out.println(id);
|
||||
int update = adoptAnimalService.update(id, 2);
|
||||
if(update>0){
|
||||
return Message.success();
|
||||
}
|
||||
return Message.fail();
|
||||
}
|
||||
}
|
@ -1,69 +0,0 @@
|
||||
package club.controller;
|
||||
|
||||
import club.pojo.Apply;
|
||||
import club.service.ApplyService;
|
||||
import club.util.Message;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.ResponseBody;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.Date;
|
||||
|
||||
@Controller
|
||||
@RequestMapping("/apply")
|
||||
public class ApplyController {
|
||||
@Resource
|
||||
private ApplyService applyService;
|
||||
|
||||
@RequestMapping("/applys")
|
||||
@ResponseBody
|
||||
public Message apply(@RequestParam(required = false)Integer state, @RequestParam("pn") Integer pageNum){
|
||||
Integer pageSize = 3;
|
||||
if(pageNum == 0){
|
||||
pageNum = 1;
|
||||
}
|
||||
PageInfo<Apply> apply = applyService.allApply(state,pageNum,pageSize);
|
||||
return Message.success().add("pageInfo",apply);
|
||||
}
|
||||
|
||||
@RequestMapping("/findById")
|
||||
@ResponseBody
|
||||
public Message findByid(Integer id){
|
||||
Apply byid = applyService.findByid(id);
|
||||
return Message.success().add("apply",byid);
|
||||
}
|
||||
@RequestMapping("/update")
|
||||
@ResponseBody
|
||||
public Message update(Apply apply){
|
||||
int i = applyService.updateApply(apply);
|
||||
if(i > 0){
|
||||
return Message.success();
|
||||
}
|
||||
return Message.fail();
|
||||
}
|
||||
@RequestMapping("/delete")
|
||||
@ResponseBody
|
||||
public Message delete(Integer id){
|
||||
int i = applyService.del(id);
|
||||
if(i > 0){
|
||||
return Message.success();
|
||||
}else {
|
||||
return Message.fail();
|
||||
}
|
||||
}
|
||||
@RequestMapping("/create")
|
||||
@ResponseBody
|
||||
public Message create(Apply apply){
|
||||
apply.setApplyTime(new Date());
|
||||
apply.setState(2);
|
||||
Integer integer = applyService.create(apply);
|
||||
if(integer > 0){
|
||||
return Message.success();
|
||||
}else {
|
||||
return Message.fail();
|
||||
}
|
||||
}
|
||||
}
|
@ -1,65 +0,0 @@
|
||||
package club.controller;
|
||||
|
||||
import club.pojo.Blog;
|
||||
import club.service.BlogService;
|
||||
import club.util.Message;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.ResponseBody;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
@Controller
|
||||
@RequestMapping("/blog")
|
||||
public class BlogController {
|
||||
@Resource
|
||||
private BlogService blogService;
|
||||
@RequestMapping("/blogs")
|
||||
@ResponseBody
|
||||
public Message blogs(String actionTime, @RequestParam("pn") Integer pageNum){
|
||||
if(pageNum == null){
|
||||
pageNum = 1;
|
||||
}
|
||||
System.out.println(actionTime);
|
||||
PageInfo<Blog> allBlog = blogService.findAllBlog(actionTime, pageNum, 3);
|
||||
return Message.success().add("pageInfo",allBlog);
|
||||
}
|
||||
@RequestMapping("/create")
|
||||
@ResponseBody
|
||||
public Message creat(Blog blog){
|
||||
int i = blogService.add(blog);
|
||||
if(i > 0){
|
||||
return Message.success();
|
||||
}else {
|
||||
return Message.fail();
|
||||
}
|
||||
}
|
||||
@RequestMapping("/update")
|
||||
@ResponseBody
|
||||
public Message update(Blog blog){
|
||||
int i = blogService.updateBlog(blog);
|
||||
if(i > 0){
|
||||
return Message.success();
|
||||
}else {
|
||||
return Message.fail();
|
||||
}
|
||||
}
|
||||
@RequestMapping("/delete")
|
||||
@ResponseBody
|
||||
public Message delete(Integer id){
|
||||
int i = blogService.del(id);
|
||||
if(i > 0){
|
||||
return Message.success();
|
||||
}else {
|
||||
return Message.fail();
|
||||
}
|
||||
}
|
||||
|
||||
@RequestMapping("/findById")
|
||||
@ResponseBody
|
||||
public Message findById(Integer id){
|
||||
Blog blog = blogService.findById(id);
|
||||
return Message.success().add("blog", blog);
|
||||
}
|
||||
}
|
@ -1,97 +0,0 @@
|
||||
package club.controller;
|
||||
|
||||
import club.pojo.Answer;
|
||||
import club.pojo.Comment;
|
||||
import club.service.CommentService;
|
||||
import club.util.Message;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import club.pojo.Pet;
|
||||
import club.pojo.User;
|
||||
import club.service.AnswerService;
|
||||
import club.service.UserService;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.ResponseBody;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpSession;
|
||||
import java.util.List;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
@Controller
|
||||
@RequestMapping("/comment")
|
||||
public class CommentController {
|
||||
|
||||
@Resource
|
||||
private CommentService commentService;
|
||||
|
||||
@Resource
|
||||
private AnswerService answerService;
|
||||
|
||||
@Resource
|
||||
private UserService userService;
|
||||
|
||||
@RequestMapping("/comments")
|
||||
@ResponseBody
|
||||
public Message comments(@RequestParam(required = false) String userName, Integer pn){
|
||||
Integer pageSize = 5;
|
||||
PageInfo<Comment> pageInfo = commentService.allComment(userName, pn, pageSize);
|
||||
return Message.success().add("pageInfo", pageInfo);
|
||||
}
|
||||
|
||||
@RequestMapping("/petComments")
|
||||
@ResponseBody
|
||||
public Message petComments(Integer petId){
|
||||
List<Comment> comments = commentService.petComments(petId);
|
||||
for (Comment comment : comments){
|
||||
List<Answer> answers = answerService.answersAboutOneComment(comment.getId());
|
||||
comment.setAnswer(answers);
|
||||
User user = userService.findById(comment.getUserId());
|
||||
comment.setUser(user);
|
||||
}
|
||||
return Message.success().add("comment", comments);
|
||||
}
|
||||
|
||||
@RequestMapping("/create")
|
||||
@ResponseBody
|
||||
public Message create(HttpSession session, String content){
|
||||
User user = (User) session.getAttribute("user");
|
||||
Pet pet = (Pet) session.getAttribute("pet");
|
||||
Integer integer = commentService.create(user.getId(), pet.getId(), content);
|
||||
if (integer > 0){
|
||||
return Message.success();
|
||||
}else {
|
||||
return Message.fail();
|
||||
}
|
||||
}
|
||||
|
||||
@RequestMapping("/findById")
|
||||
@ResponseBody
|
||||
public Message findById(HttpSession session, Integer id){
|
||||
Comment comment = commentService.findById(id);
|
||||
session.setAttribute("comment", comment);
|
||||
return Message.success().add("comment", comment);
|
||||
}
|
||||
|
||||
@RequestMapping("/update")
|
||||
@ResponseBody
|
||||
public Message update(Comment comment){
|
||||
int update = commentService.update(comment);
|
||||
if(update>0){
|
||||
return Message.success();
|
||||
}else{
|
||||
return Message.fail();
|
||||
}
|
||||
}
|
||||
|
||||
@RequestMapping("/delete")
|
||||
@ResponseBody
|
||||
public Message delete(Integer id){
|
||||
int delete = commentService.delete(id);
|
||||
if(delete>0){
|
||||
return Message.success();
|
||||
}else{
|
||||
return Message.fail();
|
||||
}
|
||||
}
|
||||
}
|
@ -1,84 +0,0 @@
|
||||
package club.controller;
|
||||
|
||||
import club.pojo.Pet;
|
||||
import club.service.PetService;
|
||||
import club.util.Message;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.ResponseBody;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpSession;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
@Controller
|
||||
@RequestMapping("/pet")
|
||||
public class PetController {
|
||||
|
||||
@Resource
|
||||
private PetService petService;
|
||||
|
||||
@RequestMapping("/pets")
|
||||
@ResponseBody
|
||||
public Message pet(@RequestParam(required = false) String petType, @RequestParam("pn")Integer pageNum){
|
||||
Integer pageSize = 3;
|
||||
if(pageNum == null){
|
||||
pageNum = 1;
|
||||
}
|
||||
PageInfo<Pet> pets = petService.allPet(petType, pageNum, pageSize);
|
||||
return Message.success().add("pageInfo",pets );
|
||||
}
|
||||
|
||||
@RequestMapping("/findById")
|
||||
@ResponseBody
|
||||
public Message findPetById(HttpSession session, Integer id){
|
||||
Pet pet = petService.findById(id);
|
||||
String pics = pet.getPic();
|
||||
session.setAttribute("pet", pet);
|
||||
session.setAttribute("pics", pics);
|
||||
return Message.success().add("pet", pet);
|
||||
}
|
||||
|
||||
@RequestMapping("/create")
|
||||
@ResponseBody
|
||||
public Message add(Pet pet, MultipartFile file){
|
||||
String pic = FileLoad.uploadPetPic(file);
|
||||
pet.setPic(pic);
|
||||
int add = petService.add(pet);
|
||||
if(add>0){
|
||||
return Message.success();
|
||||
}else{
|
||||
return Message.fail();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@RequestMapping("/update")
|
||||
@ResponseBody
|
||||
public Message update(Pet pet, MultipartFile file){
|
||||
if (file != null && file.getSize() > 0){
|
||||
String pic = FileLoad.uploadPetPic(file);
|
||||
pet.setPic(pic);
|
||||
}
|
||||
int update = petService.update(pet);
|
||||
if(update>0){
|
||||
return Message.success();
|
||||
}else{
|
||||
return Message.fail();
|
||||
}
|
||||
}
|
||||
|
||||
@RequestMapping("/delete")
|
||||
@ResponseBody
|
||||
public Message del(Integer id){
|
||||
int del = petService.del(id);
|
||||
if(del>0){
|
||||
return Message.success();
|
||||
}else {
|
||||
return Message.fail();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
package club.dao;
|
||||
|
||||
import club.pojo.AdoptAnimal;
|
||||
import com.baomidou.mybatisplus.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import java.util.List;
|
||||
|
||||
public interface AdoptAnimalMapper extends BaseMapper<AdoptAnimal> {
|
||||
List<AdoptAnimal> all(@Param("adoptTime")String adoptTime);
|
||||
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
package club.dao;
|
||||
|
||||
import club.pojo.Apply;
|
||||
import com.baomidou.mybatisplus.mapper.BaseMapper;
|
||||
|
||||
public interface ApplyMapper extends BaseMapper<Apply> {
|
||||
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
package club.dao;
|
||||
|
||||
import club.pojo.Blog;
|
||||
import com.baomidou.mybatisplus.mapper.BaseMapper;
|
||||
|
||||
public interface BlogMapper extends BaseMapper<Blog> {
|
||||
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
package club.dao;
|
||||
|
||||
import club.pojo.Comment;
|
||||
import com.baomidou.mybatisplus.mapper.BaseMapper;
|
||||
|
||||
public interface CommentMapper extends BaseMapper<Comment> {
|
||||
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
package club.dao;
|
||||
|
||||
import club.pojo.Pet;
|
||||
import com.baomidou.mybatisplus.mapper.BaseMapper;
|
||||
|
||||
public interface PetMapper extends BaseMapper<Pet> {
|
||||
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
/*
|
||||
Navicat MySQL Data Transfer
|
||||
|
||||
Source Server : he
|
||||
Source Server Version : 50636
|
||||
Source Host : localhost:3306
|
||||
Source Database : hlb
|
||||
|
||||
Target Server Type : MYSQL
|
||||
Target Server Version : 50636
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 2024-06-28 13:13:43
|
||||
*/
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for pet
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `pet`;
|
||||
CREATE TABLE `pet` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`petName` varchar(20) NOT NULL,
|
||||
`petType` varchar(20) NOT NULL COMMENT '宠物类型',
|
||||
`sex` varchar(3) NOT NULL COMMENT '性别',
|
||||
`birthday` date NOT NULL,
|
||||
`pic` varchar(100) NOT NULL COMMENT '头像',
|
||||
`state` int(11) NOT NULL DEFAULT '1' COMMENT '现在的状态 0 没有申请领养 1 被申请领养 2 已经被领养',
|
||||
`remark` varchar(100) DEFAULT NULL COMMENT '备注',
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of pet
|
||||
-- ----------------------------
|
||||
INSERT INTO `pet` VALUES ('1', '衣服', '400', '轻', '2018-09-10', 'aa.jpg,ac.jpg,ae.jpg,ao.jpg', '1', ':积压库存,全新未售,多样款式,实惠选择。');
|
||||
INSERT INTO `pet` VALUES ('2', '冰箱', '5000', '重', '2018-09-21', 'ba.jpg,bc.jpg,be.jpg,bo.jpg', '1', ':保鲜冷藏,节能高效,家庭必备,静音运行。');
|
||||
INSERT INTO `pet` VALUES ('3', '大床', '8000', '重', '2018-01-21', 'ca.jpg,cc.jpg,ce.jpg,co.jpg', '1', ':宽敞舒适,储物实用,品质之选,睡梦港湾。');
|
||||
INSERT INTO `pet` VALUES ('4', '电视', '12000', '重', '2018-11-21', 'da.jpg,dc.jpg,de.jpg,do.jpg', '1', ':高清大屏,智能互联,视听盛宴,家庭娱乐中心。');
|
||||
INSERT INTO `pet` VALUES ('5', '洗衣机', '4000', '重', '2018-11-21', 'ea.jpg,ec.jpg,ee.jpg,eo.jpg', '2', ':高效洁净,节能节水,智能操作,家庭好帮手。');
|
||||
INSERT INTO `pet` VALUES ('6', '裤子', '200', '轻', '2019-01-21', 'fa.jpg,fc.jpg,fe.jpg,fo.jpg', '1', ':舒适透气,时尚百搭,优质面料,展现个性风采。');
|
||||
INSERT INTO `pet` VALUES ('7', '剃须刀', '200', '轻', '2023-12-14', 'ga.jpg,gc.jpg,ge.jpg,go.jpg', '0', ':锋利耐用,快速剃须,舒适贴面,男士首选。');
|
||||
INSERT INTO `pet` VALUES ('8', '名包', '30000', '轻', '2024-01-04', 'ha.jpg,hc.jpg,he.jpg,ho.jpg', '2', ':经典设计,精湛工艺,奢华材质,时尚必备');
|
||||
INSERT INTO `pet` VALUES ('9', '鞋子', '600', '轻', '2023-12-05', 'ka.jpg,kc.jpg,ke.jpg,ko.jpg', '2', ':轻盈舒适,防滑耐磨,时尚设计,彰显个性品味。');
|
@ -1,26 +0,0 @@
|
||||
package club.pojo;
|
||||
|
||||
import com.baomidou.mybatisplus.annotations.TableField;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
@Data
|
||||
public class AdoptAnimal {
|
||||
private Integer id;
|
||||
private Integer userId;
|
||||
private Integer petId;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date adoptTime;
|
||||
private Integer state;
|
||||
|
||||
@TableField(exist = false)
|
||||
private Pet pet;
|
||||
@TableField(exist = false)
|
||||
private User user;
|
||||
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
package club.pojo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
@Data
|
||||
public class Apply {
|
||||
private Integer id;
|
||||
private String name;
|
||||
private String email;
|
||||
private Integer age;
|
||||
private String telephone;
|
||||
private String message;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date applyTime;
|
||||
private Integer state;
|
||||
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
package club.pojo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
@Data
|
||||
public class Blog {
|
||||
private Integer id;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date actionTime;
|
||||
private String address;
|
||||
private String peoples;
|
||||
private String event;
|
||||
private String title;
|
||||
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
package club.pojo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import com.baomidou.mybatisplus.annotations.TableField;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Mr Wu
|
||||
* @create: 2019-08-20 14:23
|
||||
*/
|
||||
@Data
|
||||
public class Comment {
|
||||
private Integer id;
|
||||
private Integer userId;
|
||||
private Integer adminsId;
|
||||
private Integer petId;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date commentTime;
|
||||
private String content;
|
||||
@TableField(exist = false)
|
||||
private User user;
|
||||
@TableField(exist = false)
|
||||
private Admins admin;
|
||||
@TableField(exist = false)
|
||||
private Pet pet;
|
||||
@TableField(exist = false)
|
||||
private List<Answer> answer;
|
||||
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
package club.pojo;
|
||||
|
||||
import com.baomidou.mybatisplus.annotations.TableField;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@Data
|
||||
public class Pet {
|
||||
private Integer id;
|
||||
private String petName;
|
||||
private String petType;
|
||||
private String sex;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date birthday;
|
||||
private String pic;
|
||||
private Integer state;
|
||||
private String remark;
|
||||
|
||||
@TableField(exist = false)
|
||||
private List<AdoptAnimal> adoptAnimalList=new ArrayList<>();
|
||||
@TableField(exist = false)
|
||||
private List<Comment> commentList=new ArrayList<>();
|
||||
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="club.dao.AdminMapper">
|
||||
<sql id="allFields">id, adminName, adminPwd, realName, telephone, Email, birthday, sex, pic, remark</sql>
|
||||
</mapper>
|
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="club.dao.AdoptAnimalMapper">
|
||||
<sql id="allFields">id, user_id, pet_id, adoptTime, state</sql>
|
||||
|
||||
</mapper>
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="club.dao.AnswerMapper">
|
||||
<sql id="allFields">id, user_id, replay_id, comment_id, answerTime, content</sql>
|
||||
</mapper>
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="club.dao.ApplyMapper">
|
||||
<sql id="allFields">id, name, email, age, telephone, message, applyTime, state</sql>
|
||||
</mapper>
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="club.dao.BlogMapper">
|
||||
<sql id="allFields">id, actionTime, address, peoples, event, title</sql>
|
||||
</mapper>
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="club.dao.CommentMapper">
|
||||
<sql id="allFields">id, user_id, admin_id, pet_id, commentTime, content</sql>
|
||||
</mapper>
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="club.dao.PetMapper">
|
||||
<sql id="allFields">id, petName, petType, sex, birthday, pic, state, remark</sql>
|
||||
</mapper>
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="club.dao.UserMapper">
|
||||
<sql id="allFields">id, userName, password, sex, age, telephone, Email, address, pic, state</sql>
|
||||
</mapper>
|
@ -1,11 +0,0 @@
|
||||
package club.service;
|
||||
|
||||
import club.pojo.AdoptAnimal;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
|
||||
public interface AdoptAnimalService {
|
||||
Integer create(AdoptAnimal adoptAnimal);
|
||||
PageInfo<AdoptAnimal> all(String adoptTime,Integer pageNum, Integer pageSize);
|
||||
int update(Integer id, Integer state);
|
||||
PageInfo<AdoptAnimal> allAdoptAnimal(String userName,Integer pageNum,Integer pageSize, Integer state);
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
package club.service;
|
||||
|
||||
import club.pojo.Apply;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
|
||||
public interface ApplyService {
|
||||
PageInfo<Apply> allApply(Integer state, Integer pageNum, Integer pageSize);
|
||||
Apply findByid(Integer id);
|
||||
int updateApply(Apply apply);
|
||||
int del(Integer id);
|
||||
Integer create(Apply apply);
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
package club.service;
|
||||
|
||||
import club.pojo.Blog;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
|
||||
public interface BlogService {
|
||||
PageInfo<Blog> findAllBlog(String actionTime,Integer pageNum,Integer pageSize);
|
||||
int add(Blog blog);
|
||||
Blog findById(Integer id);
|
||||
int updateBlog(Blog blog);
|
||||
int del(Integer id);
|
||||
PageInfo<Blog> blogs(Integer pageNum, Integer pageSize);
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
package club.service;
|
||||
|
||||
import club.pojo.Comment;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import club.pojo.Comment;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
|
||||
public interface CommentService {
|
||||
PageInfo<Comment> allComment(String userName,Integer pn,Integer pageSize);
|
||||
List<Comment> petComments(Integer petId);
|
||||
Integer create(Integer userId, Integer petId, String content);
|
||||
Comment findById(Integer id);
|
||||
PageInfo<Comment> all(String userName, Integer pageNum, Integer pageSize);
|
||||
int update(Comment adoptAnimal);
|
||||
int delete(Integer id);
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
package club.service;
|
||||
|
||||
import club.pojo.Pet;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
|
||||
public interface PetService {
|
||||
PageInfo<Pet> pets(Integer pageNum, Integer pagesize);
|
||||
Pet findById(Integer id);
|
||||
Integer create(Pet pet);
|
||||
PageInfo<Pet> allPet(String petType, Integer pageNum, Integer pageSize);
|
||||
int add(Pet pet);
|
||||
int update(Pet pet);
|
||||
int del(Integer id);
|
||||
}
|
@ -1,96 +0,0 @@
|
||||
package club.service.impl;
|
||||
|
||||
import club.dao.AdoptAnimalMapper;
|
||||
import club.pojo.AdoptAnimal;
|
||||
import club.dao.PetMapper;
|
||||
import club.dao.UserMapper;
|
||||
import club.pojo.Pet;
|
||||
import club.pojo.User;
|
||||
import club.service.AdoptAnimalService;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import club.service.UserService;
|
||||
import com.baomidou.mybatisplus.mapper.EntityWrapper;
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import com.baomidou.mybatisplus.mapper.EntityWrapper;
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
@Service
|
||||
@Transactional
|
||||
public class AdoptAnimalServiceImpl implements AdoptAnimalService {
|
||||
@Resource
|
||||
private AdoptAnimalMapper adoptAnimalMapper;
|
||||
|
||||
@Resource
|
||||
private UserMapper userMapper;
|
||||
@Resource
|
||||
private PetMapper petMapper;
|
||||
@Resource
|
||||
private UserService userService;
|
||||
@Override
|
||||
public PageInfo<AdoptAnimal> allAdoptAnimal(String userName, Integer pageNum, Integer pageSize, Integer state) {
|
||||
List<User> users = userService.findByName(userName, state);
|
||||
List<Integer> userIds = new ArrayList<>();
|
||||
for (User user : users){
|
||||
userIds.add(user.getId());
|
||||
}
|
||||
PageHelper.startPage(pageNum,pageSize);
|
||||
EntityWrapper wrapper = new EntityWrapper();
|
||||
if (state != null){
|
||||
wrapper.eq("state", state);
|
||||
}
|
||||
if (users != null){
|
||||
wrapper.in("userId", userIds);
|
||||
}
|
||||
List<AdoptAnimal> list = adoptAnimalMapper.selectList(wrapper);
|
||||
for(AdoptAnimal a : list){
|
||||
User u = userMapper.selectById(a.getUserId());
|
||||
a.setUser(u);
|
||||
Pet pet = petMapper.selectById(a.getPetId());
|
||||
a.setPet(pet);
|
||||
}
|
||||
PageInfo<AdoptAnimal> pageInfo = new PageInfo<>(list);
|
||||
return pageInfo;
|
||||
}
|
||||
@Override
|
||||
public Integer create(AdoptAnimal adoptAnimal) {
|
||||
return adoptAnimalMapper.insert(adoptAnimal);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PageInfo<AdoptAnimal> all(String adoptTime,Integer pageNum,Integer pageSize) {
|
||||
PageHelper.startPage(pageNum,pageSize);
|
||||
EntityWrapper<AdoptAnimal> wrapper = new EntityWrapper<>();
|
||||
if(adoptTime!=null && !"".equals(adoptTime)){
|
||||
wrapper.like("adoptTime",adoptTime);
|
||||
}
|
||||
List<AdoptAnimal> list = adoptAnimalMapper.selectList(wrapper.eq("state",1));
|
||||
for(AdoptAnimal a : list){
|
||||
Pet pet = petMapper.selectById(a.getPetId());
|
||||
a.setPet(pet);
|
||||
User user = userMapper.selectById(a.getUserId());
|
||||
a.setUser(user);
|
||||
}
|
||||
PageInfo<AdoptAnimal> pageInfo = new PageInfo<>(list);
|
||||
return pageInfo;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int update(Integer id, Integer state) {
|
||||
AdoptAnimal adoptAnimal = adoptAnimalMapper.selectById(id);
|
||||
adoptAnimal.setState(state);
|
||||
Integer integer = adoptAnimalMapper.updateById(adoptAnimal);
|
||||
return integer;
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -1,51 +0,0 @@
|
||||
package club.service.impl;
|
||||
|
||||
import club.dao.ApplyMapper;
|
||||
import club.pojo.Apply;
|
||||
import club.service.ApplyService;
|
||||
import com.baomidou.mybatisplus.mapper.EntityWrapper;
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
@Transactional
|
||||
public class ApplyServiceImpl implements ApplyService {
|
||||
@Resource
|
||||
private ApplyMapper applyMapper;
|
||||
@Override
|
||||
public PageInfo<Apply> allApply(Integer state, Integer pageNum, Integer pageSize) {
|
||||
PageHelper.startPage(pageNum,pageSize);
|
||||
EntityWrapper wrapper = new EntityWrapper();
|
||||
if(state != null && state != 0){
|
||||
wrapper.eq("state",state);
|
||||
}
|
||||
List list = applyMapper.selectList(wrapper);
|
||||
PageInfo<Apply> pageInfo = new PageInfo<>(list);
|
||||
return pageInfo;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Apply findByid(Integer id) {
|
||||
return applyMapper.selectById(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateApply(Apply apply) {
|
||||
return applyMapper.updateById(apply);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int del(Integer id) {
|
||||
return applyMapper.deleteById(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer create(Apply apply) {
|
||||
return applyMapper.insert(apply);
|
||||
}
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
package club.service.impl;
|
||||
|
||||
import club.dao.BlogMapper;
|
||||
import club.pojo.Blog;
|
||||
import club.service.BlogService;
|
||||
import com.baomidou.mybatisplus.mapper.EntityWrapper;
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
@Transactional
|
||||
public class BlogServiceImpl implements BlogService {
|
||||
@Resource
|
||||
private BlogMapper blogMapper;
|
||||
|
||||
@Override
|
||||
public PageInfo<Blog> findAllBlog(String actionTime, Integer pageNum, Integer pageSize) {
|
||||
PageHelper.startPage(pageNum,pageSize);
|
||||
EntityWrapper wrapper = new EntityWrapper();
|
||||
if(actionTime != null && !"".equals(actionTime)){
|
||||
wrapper.eq("actionTime",actionTime);
|
||||
}
|
||||
List list = blogMapper.selectList(wrapper);
|
||||
PageInfo<Blog> pageInfo = new PageInfo<>(list);
|
||||
return pageInfo;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int add(Blog blog) {
|
||||
return blogMapper.insert(blog);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Blog findById(Integer id) {
|
||||
return blogMapper.selectById(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int updateBlog(Blog blog) {
|
||||
return blogMapper.updateById(blog);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int del(Integer id) {
|
||||
return blogMapper.deleteById(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PageInfo<Blog> blogs(Integer pageNum, Integer pageSize) {
|
||||
PageHelper.startPage(pageNum, pageSize);
|
||||
List<Blog> blogs = blogMapper.selectList(null);
|
||||
PageInfo<Blog> pageInfo = new PageInfo<Blog>(blogs, 3);
|
||||
return pageInfo;
|
||||
}
|
||||
}
|
@ -1,136 +0,0 @@
|
||||
package club.service.impl;
|
||||
|
||||
import club.dao.CommentMapper;
|
||||
import club.pojo.Answer;
|
||||
import club.dao.PetMapper;
|
||||
import club.dao.UserMapper;
|
||||
import club.pojo.Comment;
|
||||
import club.pojo.Pet;
|
||||
import club.pojo.User;
|
||||
import club.service.AnswerService;
|
||||
import club.pojo.Pet;
|
||||
import club.pojo.User;
|
||||
import club.dao.AdminMapper;
|
||||
import club.pojo.*;
|
||||
import club.service.CommentService;
|
||||
import club.service.PetService;
|
||||
import club.service.UserService;
|
||||
import club.service.UserService;
|
||||
import com.baomidou.mybatisplus.mapper.EntityWrapper;
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
@Transactional
|
||||
public class CommentServiceImpl implements CommentService {
|
||||
|
||||
@Resource
|
||||
private CommentMapper commentMapper;
|
||||
@Resource
|
||||
private UserMapper userMapper;
|
||||
@Resource
|
||||
private PetMapper petMapper;
|
||||
@Resource
|
||||
private AdminMapper adminMapper;
|
||||
@Resource
|
||||
private UserService userService;
|
||||
@Resource
|
||||
private PetService petService;
|
||||
@Resource
|
||||
private AnswerService answerService;
|
||||
@Override
|
||||
public PageInfo<Comment> allComment(String userName, Integer pn, Integer pageSize) {
|
||||
List<User> users = userService.showName(userName);
|
||||
List<Integer> userIds = new ArrayList<>();
|
||||
for (User user : users){
|
||||
userIds.add(user.getId());
|
||||
}
|
||||
PageHelper.startPage(pn,pageSize);
|
||||
EntityWrapper wrapper = new EntityWrapper();
|
||||
if (users != null){
|
||||
wrapper.in("userId", userIds);
|
||||
}
|
||||
List<Comment> list = commentMapper.selectList(wrapper);
|
||||
for (Comment comment: list) {
|
||||
User u = userMapper.selectById(comment.getUserId());
|
||||
comment.setUser(u);
|
||||
Pet pet = petMapper.selectById(comment.getPetId());
|
||||
comment.setPet(pet);
|
||||
}
|
||||
PageInfo<Comment> pageInfo = new PageInfo<>(list);
|
||||
return pageInfo;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Comment> petComments(Integer petId) {
|
||||
EntityWrapper wrapper = new EntityWrapper();
|
||||
if (petId != null) {
|
||||
wrapper.eq("petId", petId);
|
||||
}
|
||||
List<Comment> comments = commentMapper.selectList(wrapper);
|
||||
for (Comment comment : comments){
|
||||
User user = userService.findById(comment.getUserId());
|
||||
comment.setUser(user);
|
||||
Pet pet = petService.findById(comment.getPetId());
|
||||
comment.setPet(pet);
|
||||
List<Answer> answers = answerService.answersAboutOneComment(comment.getId());
|
||||
comment.setAnswer(answers);
|
||||
}
|
||||
return comments;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer create(Integer userId, Integer petId, String content) {
|
||||
Comment comment = new Comment();
|
||||
comment.setUserId(userId);
|
||||
comment.setPetId(petId);
|
||||
comment.setCommentTime(new Date());
|
||||
comment.setContent(content);
|
||||
return commentMapper.insert(comment);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Comment findById(Integer id) {
|
||||
return commentMapper.selectById(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PageInfo<Comment> all(String userName, Integer pageNum, Integer pageSize) {
|
||||
PageHelper.startPage(pageNum,pageSize);
|
||||
EntityWrapper<Comment> wrapper = new EntityWrapper<>();
|
||||
if(userName!=null&&!"".equals(userName)){
|
||||
wrapper.like("userName",userName);
|
||||
|
||||
}
|
||||
List<Comment> list = commentMapper.selectList(wrapper);
|
||||
for(Comment a : list){
|
||||
Pet pet = petMapper.selectById(a.getPetId());
|
||||
a.setPet(pet);
|
||||
User user = userMapper.selectById(a.getUserId());
|
||||
a.setUser(user);
|
||||
Admins admins = adminMapper.selectById(a.getAdminsId());
|
||||
a.setAdmin(admins);
|
||||
}
|
||||
PageInfo<Comment> pageInfo = new PageInfo<>(list);
|
||||
return pageInfo;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int update(Comment adoptAnimal) {
|
||||
return commentMapper.updateById(adoptAnimal);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int delete(Integer id) {
|
||||
return commentMapper.deleteById(id);
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
package club.service.impl;
|
||||
|
||||
import club.dao.PetMapper;
|
||||
import club.pojo.Pet;
|
||||
import club.service.PetService;
|
||||
import com.github.pagehelper.PageHelper;
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import com.baomidou.mybatisplus.mapper.EntityWrapper;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
@Transactional
|
||||
public class PetServiceImpl implements PetService {
|
||||
|
||||
@Resource
|
||||
private PetMapper petMapper;
|
||||
|
||||
@Override
|
||||
public PageInfo<Pet> pets(Integer pageNum, Integer pagesize) {
|
||||
PageHelper.startPage(pageNum, pagesize);
|
||||
List<Pet> pets = petMapper.selectList(null);
|
||||
PageInfo<Pet> pageInfo = new PageInfo<Pet>(pets, 3);
|
||||
return pageInfo;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Pet findById(Integer id) {
|
||||
return petMapper.selectById(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer create(Pet pet) {
|
||||
return petMapper.insert(pet);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PageInfo<Pet> allPet(String petType, Integer pageNum, Integer pageSize) {
|
||||
PageHelper.startPage(pageNum,pageSize);
|
||||
EntityWrapper<Pet> wrapper = new EntityWrapper<>();
|
||||
if(petType != null && !"".equals(petType)){
|
||||
wrapper.like("petType",petType);
|
||||
}
|
||||
List<Pet> pets = petMapper.selectList(wrapper);
|
||||
PageInfo<Pet> pageInfo = new PageInfo<>(pets,3);
|
||||
return pageInfo;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int add(Pet pet) {
|
||||
return petMapper.insert(pet);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int update(Pet pet) {
|
||||
return petMapper.updateById(pet);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int del(Integer id) {
|
||||
return petMapper.deleteById(id);
|
||||
}
|
||||
}
|
@ -1,68 +0,0 @@
|
||||
package club.util;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
|
||||
//
|
||||
//工具包
|
||||
public class Message {
|
||||
|
||||
/**
|
||||
* 状态码 100-成功 200-失败
|
||||
* */
|
||||
private int code;
|
||||
|
||||
/**
|
||||
* 提示信息
|
||||
* */
|
||||
private String message;
|
||||
|
||||
/**
|
||||
* 用户要返回给浏览器的数据
|
||||
* */
|
||||
private Map<String, Object> extend = new HashMap<String, Object>();
|
||||
|
||||
public static Message success(){
|
||||
Message result = new Message();
|
||||
result.setCode(100);
|
||||
result.setMessage("处理成功!");
|
||||
return result;
|
||||
}
|
||||
|
||||
public static Message fail(){
|
||||
Message result = new Message();
|
||||
result.setCode(200);
|
||||
result.setMessage("处理失败!");
|
||||
return result;
|
||||
}
|
||||
|
||||
public Message add(String key,Object value){
|
||||
this.getExtend().put(key, value);
|
||||
return this;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public Map<String, Object> getExtend() {
|
||||
return extend;
|
||||
}
|
||||
|
||||
public void setExtend(Map<String, Object> extend) {
|
||||
this.extend = extend;
|
||||
}
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
<%--
|
||||
Created by IntelliJ IDEA.
|
||||
User: 1
|
||||
Date: 2020/1/31
|
||||
Time: 19:14
|
||||
To change this template use File | Settings | File Templates.
|
||||
--%>
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<%
|
||||
if (session.getAttribute("admin") == null){
|
||||
response.sendRedirect("/admin/logout");
|
||||
}
|
||||
%>
|
||||
<html>
|
||||
<head>
|
||||
<title>开发中</title>
|
||||
</head>
|
||||
<body>
|
||||
该功能正在开发中,敬请期待。。。
|
||||
<p><span id = "time">3</span>秒后跳转至上一页</p>
|
||||
<script>
|
||||
var t = setInterval("jump()", 1000);
|
||||
var second = 3;
|
||||
function jump() {
|
||||
second --;
|
||||
document.getElementById("time").innerText = second;
|
||||
if(second == 0){
|
||||
clearInterval(t);
|
||||
window.history.back();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
@ -1,82 +0,0 @@
|
||||
<%--
|
||||
Created by IntelliJ IDEA.
|
||||
User: 24255
|
||||
Date: 2019/8/22
|
||||
Time: 14:34
|
||||
To change this template use File | Settings | File Templates.
|
||||
--%>
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<c:set var="path" value="${pageContext.request.contextPath}"></c:set>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<meta name="renderer" content="webkit">
|
||||
<title>登录页面</title>
|
||||
<link rel="stylesheet" href="${path}/static/css/user/base.css">
|
||||
<link rel="stylesheet" href="${path}/static/css/user/login.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="bg"></div>
|
||||
<div class="container">
|
||||
<div class="line bouncein">
|
||||
<div class="xs6 xm4 xs3-move xm4-move">
|
||||
<div style="height:150px;"></div>
|
||||
<div class="media media-y margin-big-bottom">
|
||||
</div>
|
||||
<form action="${path}/admin/dologin" method="post">
|
||||
<div class="panel loginbox">
|
||||
<div class="text-center margin-big padding-big-top">
|
||||
<h1>智能仓库寄存管理系统</h1>
|
||||
</div>
|
||||
${msg}
|
||||
<div class="panel-body"style="padding:30px; padding-bottom:10px; padding-top:10px;">
|
||||
<div class="form-group">
|
||||
<div class="field field-icon-right">
|
||||
<input type="text" class="input input-big" name="adminName" id="name" placeholder="账号" />
|
||||
<span class="icon icon-user margin-small"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="field field-icon-right">
|
||||
<input type="password" class="input input-big" name="adminPwd" id="password" placeholder="密码" />
|
||||
<span class="icon icon-key margin-small"></span>
|
||||
</div>
|
||||
</div>
|
||||
<%-- <div class="form-group v_container">--%>
|
||||
<%-- <div class="field">--%>
|
||||
<%-- <input type="text" class="input input-big" id="code_input" name="code" placeholder="验证码" />--%>
|
||||
<%-- <div id="v_container" style="width: 100px;height: 45px;" class="passcode"></div>--%>
|
||||
<%-- </div>--%>
|
||||
<%-- </div>--%>
|
||||
<div style="padding:30px;">
|
||||
<input type="submit" id="button" class="button button-block bg-main text-big input-big" value="登录">
|
||||
</div>
|
||||
<div style="padding:30px;">
|
||||
<input type="button" class="button button-block bg-main text-big input-big" value="客户页面">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
<script src="${path}/static/js/user/gVerify.js"></script>
|
||||
<%--<script>--%>
|
||||
|
||||
<%-- var verifyCode = new GVerify("v_container");--%>
|
||||
|
||||
<%-- document.getElementById("button").onclick = function(){--%>
|
||||
<%-- /*获取inputi面的值*/--%>
|
||||
<%-- var res = verifyCode.validate(document.getElementById("code_input").value);--%>
|
||||
<%-- if(res){--%>
|
||||
<%-- return;--%>
|
||||
<%-- }else{--%>
|
||||
<%-- alert("验证码错误");--%>
|
||||
<%-- return false;--%>
|
||||
<%-- }--%>
|
||||
<%-- }--%>
|
||||
<%--</script>--%>
|
||||
</html>
|
@ -1,41 +0,0 @@
|
||||
<%--
|
||||
Created by IntelliJ IDEA.
|
||||
User: 24255
|
||||
Date: 2019/8/22
|
||||
Time: 23:52
|
||||
To change this template use File | Settings | File Templates.
|
||||
--%>
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<c:set var="path" value="${pageContext.request.contextPath}"></c:set>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>未知错误</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="keywords" content="" />
|
||||
<script type="application/x-javascript">
|
||||
addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
|
||||
function hideURLbar(){ window.scrollTo(0,1); }
|
||||
</script>
|
||||
<link href="${path}/static/css/user/error.css" rel="stylesheet" type="text/css" media="all" />
|
||||
|
||||
<body>
|
||||
|
||||
<div class="w3layouts-bg">
|
||||
<div class="agileits-content">
|
||||
<h2><span>出错啦!</span></h2>
|
||||
</div>
|
||||
<div class="w3layouts-right">
|
||||
<div class="w3ls-text">
|
||||
<h3>我们很抱歉!</h3>
|
||||
<h4 class="w3-agileits2">您需要的页面无法找到。</h4>
|
||||
<p>请 <a href="#">返回首页</a> 或发送邮件 <a href="2972794636@qq.com">2972794636@qq.com</a> 联系我们</p>
|
||||
<p class="copyright">Copyright © 2023.Company name All rights reserved.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,188 +0,0 @@
|
||||
<%--
|
||||
Created by IntelliJ IDEA.
|
||||
User: 24255
|
||||
Date: 2019/9/3
|
||||
Time: 15:11
|
||||
To change this template use File | Settings | File Templates.
|
||||
--%>
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<c:set var="path" value="${pageContext.request.contextPath}"></c:set>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta content="multipart/form-data; charset=utf-8"/>
|
||||
|
||||
<title>个人信息修改</title>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
|
||||
<!-- bootstrap -->
|
||||
<!-- bootstrap -->
|
||||
<link href="${path}/static/bootstrap/bootstrap/bootstrap.css" rel="stylesheet"/>
|
||||
<link href="${path}/static/bootstrap/bootstrap/bootstrap-responsive.css" rel="stylesheet"/>
|
||||
<link href="${path}/static/bootstrap/bootstrap/bootstrap-overrides.css" type="text/css" rel="stylesheet"/>
|
||||
|
||||
|
||||
<!-- global styles -->
|
||||
<link rel="stylesheet" type="text/css" href="${path}/static/css/user/layout.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="${path}/static/css/user/elements.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="${path}/static/css/user/icons.css"/>
|
||||
|
||||
|
||||
<!-- this page specific styles 游泳-->
|
||||
<link rel="stylesheet" href="${path}/static/css/user/personal-info.css" type="text/css" media="screen"/>
|
||||
|
||||
<!-- open sans font -->
|
||||
<%--<link href='http://fonts.useso.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800'
|
||||
rel='stylesheet' type='text/css'/>--%>
|
||||
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
</head>
|
||||
<body>
|
||||
<!-- end navbar -->
|
||||
|
||||
<!-- main container .wide-content is used for this layout without sidebar :) -->
|
||||
<div class="content wide-content">
|
||||
<div class="container-fluid">
|
||||
<div class="settings-wrapper" id="pad-wrapper">
|
||||
|
||||
|
||||
<!-- avatar column -->
|
||||
<div class="span3 avatar-box">
|
||||
<div class="personal-image">
|
||||
<img src="/static/images/user/${user.pic}" alt="" class="avatar img-circle" id="user_pic_modal_btn"/>
|
||||
<form id="update_file" style="display: none" enctype="multipart/form-data">
|
||||
<input type="file" name="file" id="myFile"/>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- edit form column -->
|
||||
<div class="span7 personal-info">
|
||||
<h5 class="personal-title">个人信息修改</h5>
|
||||
<form id="user_edit_form">
|
||||
<input type="hidden" id="edit_id" name="id" value="${user.id}">
|
||||
<div class="field-box">
|
||||
<label>用户名:</label>
|
||||
<input type="text" class="span5 inline-input" id="edit_userName" placeholder="用户名"
|
||||
name="userName" value="${user.userName}"/>
|
||||
</div>
|
||||
<div class="field-box">
|
||||
<label>密码:</label>
|
||||
<input type="password" class="span5 inline-input" id="edit_password" placeholder="用户密码"
|
||||
name="password" value="${user.password}"/>
|
||||
</div>
|
||||
<div class="field-box">
|
||||
<label>年龄:</label>
|
||||
<input type="text" class="span5 inline-input" id="edit_age" placeholder="年龄" name="age"
|
||||
value="${user.age}"/>
|
||||
</div>
|
||||
<div class="field-box">
|
||||
<label>性别:</label>
|
||||
<div class="ui-select">
|
||||
<%--<select id="edit_sex" name="sex" value="${user.sex}">
|
||||
<option value="男">男</option>
|
||||
<option value="女">女</option>
|
||||
</select>--%>
|
||||
<select name="sex" id="edit_sex">
|
||||
<c:choose>
|
||||
<c:when test="${user.sex == '男' }">
|
||||
<option value="1" selected="selected">男</option>
|
||||
<option value="2">女</option>
|
||||
</c:when>
|
||||
<%-- <c:otherwise>--%>
|
||||
<%-- <option value="1">男</option>--%>
|
||||
<%-- <option value="2" selected="selected">女</option>--%>
|
||||
<%-- </c:otherwise>--%>
|
||||
</c:choose>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field-box">
|
||||
<label>电话密码:</label>
|
||||
<input type="text" class="span5 inline-input" id="edit_telephone" placeholder="电话"
|
||||
name="telephone" value="${user.telephone}"/>
|
||||
</div>
|
||||
<div class="field-box">
|
||||
<label>Email:</label>
|
||||
<input type="text" class="span5 inline-input" id="edit_Email" placeholder="Email" name="Email"
|
||||
value="${user.email}"/>
|
||||
</div>
|
||||
|
||||
<div class="field-box">
|
||||
<label>地址:</label>
|
||||
<input type="text" class="span5 inline-input" id="edit_address" placeholder="地址" name="address"
|
||||
value="${user.address}"/>
|
||||
</div>
|
||||
<div class="field-box">
|
||||
<label>有无寄存经历:</label>
|
||||
<div class="ui-select">
|
||||
<select id="edit_state" name="state" value="${user.state}">
|
||||
<option value="0">有寄存经历</option>
|
||||
<option value="1">无寄存经历</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span6 field-box actions">
|
||||
<input type="button" class="btn-glow primary" value="提交修改" id="user_update_btn"/>
|
||||
<input type="button" class="btn-glow primary" value="返回主页" id="return_btn"/>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="${path}/static/js/user/jquery-2.2.3.min.js"></script>
|
||||
<script src="${path}/static/bootstrap/js/bootstrap.min.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
//点击更新按钮弹出模态框。
|
||||
$("#user_update_btn").click(function () {
|
||||
$.ajax({
|
||||
url: "${path}/user/update",
|
||||
type: "POST",
|
||||
async: "false",
|
||||
data: $("#user_edit_form").serialize(),
|
||||
success: function (result) {
|
||||
alert("用户信息更新成功!");
|
||||
},
|
||||
error: function (result) {
|
||||
alert("用户信息更新失败!");
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$("#return_btn").click(function () {
|
||||
window.location.href = "${path}/user/index";
|
||||
});
|
||||
|
||||
|
||||
$("#user_pic_modal_btn").click(function () {
|
||||
var file = $("#myFile");
|
||||
file.click();
|
||||
file.change(function () {
|
||||
var form = new FormData(document.getElementById("update_file"));
|
||||
console.log(form);
|
||||
$.ajax({
|
||||
url: "${path}/user/updatePic",
|
||||
type: "POST",
|
||||
data: form,
|
||||
async: false,
|
||||
processData: false, // 使数据不做处理
|
||||
contentType: false, // 不要设置Content-Type请求头
|
||||
success: function (result) {
|
||||
alert("头像修改成功");
|
||||
window.location.reload();
|
||||
},
|
||||
error: function (result) {
|
||||
alert("头像修改失败");
|
||||
}
|
||||
});
|
||||
});
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Before Width: | Height: | Size: 1.1 KiB |
@ -1,369 +0,0 @@
|
||||
/* Some overrides from default bootstrap styles */
|
||||
|
||||
h1,h2,h3,h4,h5,h6{
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
/* COMPONENTS */
|
||||
|
||||
|
||||
/* labels */
|
||||
.label, .badge {font-weight: lighter;}
|
||||
.label-success, .badge-success {
|
||||
background-color: rgb(129, 189, 130);
|
||||
}
|
||||
.label-info, .badge-info {
|
||||
background-color: rgb(104, 163, 213);
|
||||
}
|
||||
|
||||
/* alerts */
|
||||
.alert [class^="icon-"],
|
||||
.alert [class*=" icon-"] {
|
||||
font-size: 27px;
|
||||
position: relative;
|
||||
top: 4px;
|
||||
margin-bottom: 8px;
|
||||
margin-right: 17px;
|
||||
display: inline-block;
|
||||
color: #f1c359;
|
||||
}
|
||||
.alert-success [class^="icon-"],
|
||||
.alert-success [class*=" icon-"] {
|
||||
color: #81ad53;
|
||||
}
|
||||
.alert-info [class^="icon-"],
|
||||
.alert-info [class*=" icon-"] {
|
||||
color: #4993c6;
|
||||
}
|
||||
.alert-error [class^="icon-"],
|
||||
.alert-error [class*=" icon-"] {
|
||||
color: #d5393e;
|
||||
}
|
||||
|
||||
|
||||
/* code*/
|
||||
code {
|
||||
color: rgb(78, 153, 223);
|
||||
}
|
||||
|
||||
|
||||
/* HTML ELEMENTS */
|
||||
input,
|
||||
button,
|
||||
select,
|
||||
textarea {
|
||||
font-family: "Open Sans", Arial;
|
||||
}
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
textarea {
|
||||
font-size: 13px;
|
||||
-webkit-box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075);
|
||||
-moz-box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075);
|
||||
box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075);
|
||||
|
||||
/*border: none;
|
||||
-webkit-box-shadow: inset rgba(112, 112, 112, 0.3) 0 1px 1px,inset rgba(0,0,0,0.3) 0 0 1px,rgba(255,255,255,0.4) 0 1px 0;
|
||||
-moz-box-shadow: inset rgba(112, 112, 112, 0.3) 0 1px 1px,inset rgba(0,0,0,0.3) 0 0 1px,rgba(255,255,255,0.4) 0 1px 0;
|
||||
box-shadow: inset rgba(112, 112, 112, 0.3) 0 1px 1px,inset rgba(0,0,0,0.3) 0 0 1px,rgba(255,255,255,0.4) 0 1px 0;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
-ms-border-radius: 4px;
|
||||
-o-border-radius: 4px;
|
||||
border-radius: 4px;*/
|
||||
}
|
||||
.inline-input input[type="text"],
|
||||
.inline-input input[type="password"],
|
||||
input[type="text"].inline-input,
|
||||
input[type="password"].inline-input {
|
||||
background: #fff;
|
||||
border-top: 0 none;
|
||||
border-left: 0 none;
|
||||
border-right: 0 none;
|
||||
border-bottom: 1px solid #d0dde9;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
border-color: #dee3ea;
|
||||
}
|
||||
.inline-input input[type="text"]:focus,
|
||||
.inline-input input[type="password"]:focus,
|
||||
input[type="text"].inline-input:focus,
|
||||
input[type="password"].inline-input:focus {
|
||||
box-shadow: none;
|
||||
border-color: #5d6a80;
|
||||
}
|
||||
.inline-input input[type="text"]:hover,
|
||||
.inline-input input[type="password"]:hover,
|
||||
input[type="text"].inline-input:hover,
|
||||
input[type="password"].inline-input:hover {
|
||||
border-color: #959fb0;
|
||||
}
|
||||
|
||||
input[type="text"]:focus,
|
||||
input[type="password"]:focus,
|
||||
textarea:focus{
|
||||
border-color: #A2CEF0;
|
||||
-webkit-box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.6);
|
||||
-moz-box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.6);
|
||||
box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.6);
|
||||
|
||||
/*-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.6);
|
||||
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.6);
|
||||
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(82, 168, 236, 0.6);*/
|
||||
}
|
||||
input[type="reset"]{
|
||||
text-transform: uppercase;
|
||||
border:0 none;
|
||||
background: none;
|
||||
text-decoration: underline;
|
||||
font-size: 12px;
|
||||
}
|
||||
input[type="password"]{
|
||||
font-size: 16px;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
textarea{
|
||||
background: #fff;
|
||||
border-color: #dee3ea;
|
||||
}
|
||||
select{
|
||||
margin: 0;
|
||||
height: 24px;
|
||||
border-color: #d0dde9;
|
||||
border-radius: 2px;
|
||||
font-size: 13px;
|
||||
}
|
||||
input[type="file"] {
|
||||
font-size: 12px;
|
||||
line-height: 12px;
|
||||
}
|
||||
|
||||
input[disabled], textarea[disabled], input[readonly], textarea[readonly] {
|
||||
color: rgb(177, 177, 177);
|
||||
}
|
||||
/* native placeholders */
|
||||
input:-moz-placeholder,
|
||||
textarea:-moz-placeholder {
|
||||
color: #9ba0a5;
|
||||
font-family: "Open Sans", Arial;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
input:-ms-input-placeholder,
|
||||
textarea:-ms-input-placeholder {
|
||||
color: #9ba0a5;
|
||||
font-family: "Open Sans", Arial;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
input::-webkit-input-placeholder,
|
||||
textarea::-webkit-input-placeholder {
|
||||
color: #9ba0a5;
|
||||
font-family: "Open Sans", Arial;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
|
||||
/* PREPEND & APPEND INPUT */
|
||||
.input-append input,
|
||||
.input-prepend input,
|
||||
.input-append .uneditable-input,
|
||||
.input-prepend .uneditable-input {
|
||||
border: 1px solid #d6e2eb;
|
||||
}
|
||||
.input-append .add-on,
|
||||
.input-prepend .add-on {
|
||||
background-color: #f2f5f9;
|
||||
border: 1px solid #d6e2eb;
|
||||
padding: 4px 8px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
/* NAVBAR */
|
||||
|
||||
.navbar-inverse {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
.navbar-inverse .navbar-inner {
|
||||
border-radius: 0px;
|
||||
border-bottom: 1px solid #191e23;
|
||||
|
||||
background: #2c3742; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #2c3742 0%, #28303a 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2c3742), color-stop(100%,#28303a)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #2c3742 0%,#28303a 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #2c3742 0%,#28303a 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #2c3742 0%,#28303a 100%); /* IE10+ */
|
||||
background: linear-gradient(to bottom, #2c3742 0%,#28303a 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2c3742', endColorstr='#28303a',GradientType=0 ); /* IE6-9 */
|
||||
}
|
||||
.navbar-inverse .btn-navbar {
|
||||
float: left;
|
||||
margin-top: 10px;
|
||||
}
|
||||
.navbar-inverse .brand {
|
||||
color: #ffffff;
|
||||
text-transform: uppercase;
|
||||
font-weight: lighter;
|
||||
padding: 12px 20px 12px;
|
||||
}
|
||||
.navbar-inverse .brand strong {
|
||||
font-weight: normal;
|
||||
}
|
||||
.navbar-inverse .nav > li > a {
|
||||
padding: 13px 15px 8px;
|
||||
border-left: 1px solid #101417;
|
||||
color: rgb(214, 214, 214);
|
||||
outline: 0px;
|
||||
height: 25px;
|
||||
transition: background .1s linear;
|
||||
-moz-transition: background .1s linear; /* Firefox 4 */
|
||||
-webkit-transition: background .1s linear; /* Safari and Chrome */
|
||||
-o-transition: background .1s linear; /* Opera */
|
||||
}
|
||||
.navbar-inverse .nav > li > a:hover {
|
||||
background: rgba(25, 31, 36,0.6);
|
||||
}
|
||||
/* TODO: deprecated mobile-menu, ya no se usa, remover despues de migrar todos los htmls al nuevo diseno */
|
||||
.navbar-inverse .mobile-menu .nav > li > a {
|
||||
color: #fff;
|
||||
border-left: 0px;
|
||||
}
|
||||
.dropdown-menu > li > a:hover,
|
||||
.dropdown-menu > li > a:focus,
|
||||
.dropdown-submenu:hover > a,
|
||||
.dropdown-submenu:focus > a {
|
||||
background: rgb(60, 91, 121) !important;
|
||||
}
|
||||
|
||||
|
||||
/* PAGINATION */
|
||||
|
||||
.pagination {
|
||||
margin: 8px 0;
|
||||
}
|
||||
.pagination ul > li:last-child > a,
|
||||
.pagination ul > li:last-child > span,
|
||||
.pagination ul > li:first-child > a,
|
||||
.pagination ul > li:first-child > span{
|
||||
font-size: 23px;
|
||||
color: #bcc6d3;
|
||||
padding: 1px 9px 3px 9px;
|
||||
}
|
||||
.pagination ul > li:last-child > a:hover,
|
||||
.pagination ul > li:last-child > span:hover,
|
||||
.pagination ul > li:first-child > a:hover,
|
||||
.pagination ul > li:first-child > span:hover{
|
||||
color: #4f4f4f;
|
||||
}
|
||||
.pagination ul > li > a, .pagination ul > li > span{
|
||||
border-color: #d0dde9;
|
||||
color: #4f4f4f;
|
||||
font-weight: 600;
|
||||
padding: 2px 12px;
|
||||
box-shadow: 0px 1px 0px 0px #efefef;
|
||||
transition: background-color .1s linear;
|
||||
-moz-transition: background-color .1s linear; /* Firefox 4 */
|
||||
-webkit-transition: background-color .1s linear; /* Safari and Chrome */
|
||||
-o-transition: background-color .1s linear; /* Opera */
|
||||
}
|
||||
.pagination ul > li > a.active{
|
||||
color: #3b9ff3;
|
||||
}
|
||||
.pagination ul > li > a:hover,
|
||||
.pagination ul > li > a:focus,
|
||||
.pagination ul > .active > a,
|
||||
.pagination ul > .active > span {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
/* pagination inverse */
|
||||
|
||||
.pagination.inverse ul > li:last-child > a,
|
||||
.pagination.inverse ul > li:last-child > span,
|
||||
.pagination.inverse ul > li:first-child > a,
|
||||
.pagination.inverse ul > li:first-child > span{
|
||||
font-size: 23px;
|
||||
color: #fff;
|
||||
padding: 1px 9px 3px 9px;
|
||||
}
|
||||
.pagination.inverse ul > li:last-child > a:hover,
|
||||
.pagination.inverse ul > li:last-child > span:hover,
|
||||
.pagination.inverse ul > li:first-child > a:hover,
|
||||
.pagination.inverse ul > li:first-child > span:hover{
|
||||
color: #fff;
|
||||
}
|
||||
.pagination.inverse ul > li > a, .pagination.inverse ul > li > span{
|
||||
border-top-color: #333e4a;
|
||||
border-bottom-color: #333e4a;
|
||||
border-right-color: #566676;
|
||||
border-left: 0px;
|
||||
color: rgb(241, 241, 241);
|
||||
font-weight: 600;
|
||||
padding: 2px 12px;
|
||||
background: #333e4a;
|
||||
transition: background-color .1s linear;
|
||||
-moz-transition: background-color .1s linear; /* Firefox 4 */
|
||||
-webkit-transition: background-color .1s linear; /* Safari and Chrome */
|
||||
-o-transition: background-color .1s linear; /* Opera */
|
||||
}
|
||||
.pagination.inverse ul > li > a.active{
|
||||
color: #3b9ff3;
|
||||
background-color: #212b36;
|
||||
border-right-color: #212b36;
|
||||
margin-left: -1px;
|
||||
}
|
||||
.pagination.inverse ul > li > a:hover,
|
||||
.pagination.inverse ul > li > a:focus,
|
||||
.pagination.inverse ul > .active > a,
|
||||
.pagination.inverse ul > .active > span {
|
||||
background-color: #212b36;
|
||||
}
|
||||
|
||||
|
||||
/* TABLES*/
|
||||
|
||||
.table thead{
|
||||
border-top:1px solid #dee3ea;
|
||||
}
|
||||
.table-hover tbody tr:hover > td,
|
||||
.table-hover tbody tr:hover > th {
|
||||
background-color: #f5fafc;
|
||||
}
|
||||
.table th.sortable {
|
||||
cursor: pointer;
|
||||
}
|
||||
.table th.sortable:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.table thead th{
|
||||
font-weight: bold;
|
||||
position: relative;
|
||||
padding-bottom: 20px;
|
||||
padding-top: 5px;
|
||||
text-transform: uppercase;
|
||||
font-size: 11px;
|
||||
vertical-align: top;
|
||||
}
|
||||
.table td{
|
||||
color: #526273;
|
||||
border-top-color: #edf2f7;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.table th.align-right,
|
||||
.table td.align-right {
|
||||
text-align: right;
|
||||
padding-right: 10px !important;
|
||||
}
|
||||
table tr.first td{
|
||||
border-top: 0 none;
|
||||
}
|
||||
table th span.line{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -8px;
|
||||
border-left: 1px solid #dee3ea;
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,587 +0,0 @@
|
||||
/*!
|
||||
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
*/
|
||||
.btn-default,
|
||||
.btn-primary,
|
||||
.btn-success,
|
||||
.btn-info,
|
||||
.btn-warning,
|
||||
.btn-danger {
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
|
||||
}
|
||||
.btn-default:active,
|
||||
.btn-primary:active,
|
||||
.btn-success:active,
|
||||
.btn-info:active,
|
||||
.btn-warning:active,
|
||||
.btn-danger:active,
|
||||
.btn-default.active,
|
||||
.btn-primary.active,
|
||||
.btn-success.active,
|
||||
.btn-info.active,
|
||||
.btn-warning.active,
|
||||
.btn-danger.active {
|
||||
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
|
||||
box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
|
||||
}
|
||||
.btn-default.disabled,
|
||||
.btn-primary.disabled,
|
||||
.btn-success.disabled,
|
||||
.btn-info.disabled,
|
||||
.btn-warning.disabled,
|
||||
.btn-danger.disabled,
|
||||
.btn-default[disabled],
|
||||
.btn-primary[disabled],
|
||||
.btn-success[disabled],
|
||||
.btn-info[disabled],
|
||||
.btn-warning[disabled],
|
||||
.btn-danger[disabled],
|
||||
fieldset[disabled] .btn-default,
|
||||
fieldset[disabled] .btn-primary,
|
||||
fieldset[disabled] .btn-success,
|
||||
fieldset[disabled] .btn-info,
|
||||
fieldset[disabled] .btn-warning,
|
||||
fieldset[disabled] .btn-danger {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.btn-default .badge,
|
||||
.btn-primary .badge,
|
||||
.btn-success .badge,
|
||||
.btn-info .badge,
|
||||
.btn-warning .badge,
|
||||
.btn-danger .badge {
|
||||
text-shadow: none;
|
||||
}
|
||||
.btn:active,
|
||||
.btn.active {
|
||||
background-image: none;
|
||||
}
|
||||
.btn-default {
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%);
|
||||
background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0));
|
||||
background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #dbdbdb;
|
||||
border-color: #ccc;
|
||||
}
|
||||
.btn-default:hover,
|
||||
.btn-default:focus {
|
||||
background-color: #e0e0e0;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-default:active,
|
||||
.btn-default.active {
|
||||
background-color: #e0e0e0;
|
||||
border-color: #dbdbdb;
|
||||
}
|
||||
.btn-default.disabled,
|
||||
.btn-default[disabled],
|
||||
fieldset[disabled] .btn-default,
|
||||
.btn-default.disabled:hover,
|
||||
.btn-default[disabled]:hover,
|
||||
fieldset[disabled] .btn-default:hover,
|
||||
.btn-default.disabled:focus,
|
||||
.btn-default[disabled]:focus,
|
||||
fieldset[disabled] .btn-default:focus,
|
||||
.btn-default.disabled.focus,
|
||||
.btn-default[disabled].focus,
|
||||
fieldset[disabled] .btn-default.focus,
|
||||
.btn-default.disabled:active,
|
||||
.btn-default[disabled]:active,
|
||||
fieldset[disabled] .btn-default:active,
|
||||
.btn-default.disabled.active,
|
||||
.btn-default[disabled].active,
|
||||
fieldset[disabled] .btn-default.active {
|
||||
background-color: #e0e0e0;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-primary {
|
||||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #265a88 100%);
|
||||
background-image: -o-linear-gradient(top, #337ab7 0%, #265a88 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#265a88));
|
||||
background-image: linear-gradient(to bottom, #337ab7 0%, #265a88 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #245580;
|
||||
}
|
||||
.btn-primary:hover,
|
||||
.btn-primary:focus {
|
||||
background-color: #265a88;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-primary:active,
|
||||
.btn-primary.active {
|
||||
background-color: #265a88;
|
||||
border-color: #245580;
|
||||
}
|
||||
.btn-primary.disabled,
|
||||
.btn-primary[disabled],
|
||||
fieldset[disabled] .btn-primary,
|
||||
.btn-primary.disabled:hover,
|
||||
.btn-primary[disabled]:hover,
|
||||
fieldset[disabled] .btn-primary:hover,
|
||||
.btn-primary.disabled:focus,
|
||||
.btn-primary[disabled]:focus,
|
||||
fieldset[disabled] .btn-primary:focus,
|
||||
.btn-primary.disabled.focus,
|
||||
.btn-primary[disabled].focus,
|
||||
fieldset[disabled] .btn-primary.focus,
|
||||
.btn-primary.disabled:active,
|
||||
.btn-primary[disabled]:active,
|
||||
fieldset[disabled] .btn-primary:active,
|
||||
.btn-primary.disabled.active,
|
||||
.btn-primary[disabled].active,
|
||||
fieldset[disabled] .btn-primary.active {
|
||||
background-color: #265a88;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-success {
|
||||
background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);
|
||||
background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641));
|
||||
background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #3e8f3e;
|
||||
}
|
||||
.btn-success:hover,
|
||||
.btn-success:focus {
|
||||
background-color: #419641;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-success:active,
|
||||
.btn-success.active {
|
||||
background-color: #419641;
|
||||
border-color: #3e8f3e;
|
||||
}
|
||||
.btn-success.disabled,
|
||||
.btn-success[disabled],
|
||||
fieldset[disabled] .btn-success,
|
||||
.btn-success.disabled:hover,
|
||||
.btn-success[disabled]:hover,
|
||||
fieldset[disabled] .btn-success:hover,
|
||||
.btn-success.disabled:focus,
|
||||
.btn-success[disabled]:focus,
|
||||
fieldset[disabled] .btn-success:focus,
|
||||
.btn-success.disabled.focus,
|
||||
.btn-success[disabled].focus,
|
||||
fieldset[disabled] .btn-success.focus,
|
||||
.btn-success.disabled:active,
|
||||
.btn-success[disabled]:active,
|
||||
fieldset[disabled] .btn-success:active,
|
||||
.btn-success.disabled.active,
|
||||
.btn-success[disabled].active,
|
||||
fieldset[disabled] .btn-success.active {
|
||||
background-color: #419641;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-info {
|
||||
background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
|
||||
background-image: -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#2aabd2));
|
||||
background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #28a4c9;
|
||||
}
|
||||
.btn-info:hover,
|
||||
.btn-info:focus {
|
||||
background-color: #2aabd2;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-info:active,
|
||||
.btn-info.active {
|
||||
background-color: #2aabd2;
|
||||
border-color: #28a4c9;
|
||||
}
|
||||
.btn-info.disabled,
|
||||
.btn-info[disabled],
|
||||
fieldset[disabled] .btn-info,
|
||||
.btn-info.disabled:hover,
|
||||
.btn-info[disabled]:hover,
|
||||
fieldset[disabled] .btn-info:hover,
|
||||
.btn-info.disabled:focus,
|
||||
.btn-info[disabled]:focus,
|
||||
fieldset[disabled] .btn-info:focus,
|
||||
.btn-info.disabled.focus,
|
||||
.btn-info[disabled].focus,
|
||||
fieldset[disabled] .btn-info.focus,
|
||||
.btn-info.disabled:active,
|
||||
.btn-info[disabled]:active,
|
||||
fieldset[disabled] .btn-info:active,
|
||||
.btn-info.disabled.active,
|
||||
.btn-info[disabled].active,
|
||||
fieldset[disabled] .btn-info.active {
|
||||
background-color: #2aabd2;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-warning {
|
||||
background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
|
||||
background-image: -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#eb9316));
|
||||
background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #e38d13;
|
||||
}
|
||||
.btn-warning:hover,
|
||||
.btn-warning:focus {
|
||||
background-color: #eb9316;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-warning:active,
|
||||
.btn-warning.active {
|
||||
background-color: #eb9316;
|
||||
border-color: #e38d13;
|
||||
}
|
||||
.btn-warning.disabled,
|
||||
.btn-warning[disabled],
|
||||
fieldset[disabled] .btn-warning,
|
||||
.btn-warning.disabled:hover,
|
||||
.btn-warning[disabled]:hover,
|
||||
fieldset[disabled] .btn-warning:hover,
|
||||
.btn-warning.disabled:focus,
|
||||
.btn-warning[disabled]:focus,
|
||||
fieldset[disabled] .btn-warning:focus,
|
||||
.btn-warning.disabled.focus,
|
||||
.btn-warning[disabled].focus,
|
||||
fieldset[disabled] .btn-warning.focus,
|
||||
.btn-warning.disabled:active,
|
||||
.btn-warning[disabled]:active,
|
||||
fieldset[disabled] .btn-warning:active,
|
||||
.btn-warning.disabled.active,
|
||||
.btn-warning[disabled].active,
|
||||
fieldset[disabled] .btn-warning.active {
|
||||
background-color: #eb9316;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-danger {
|
||||
background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
|
||||
background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c12e2a));
|
||||
background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #b92c28;
|
||||
}
|
||||
.btn-danger:hover,
|
||||
.btn-danger:focus {
|
||||
background-color: #c12e2a;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-danger:active,
|
||||
.btn-danger.active {
|
||||
background-color: #c12e2a;
|
||||
border-color: #b92c28;
|
||||
}
|
||||
.btn-danger.disabled,
|
||||
.btn-danger[disabled],
|
||||
fieldset[disabled] .btn-danger,
|
||||
.btn-danger.disabled:hover,
|
||||
.btn-danger[disabled]:hover,
|
||||
fieldset[disabled] .btn-danger:hover,
|
||||
.btn-danger.disabled:focus,
|
||||
.btn-danger[disabled]:focus,
|
||||
fieldset[disabled] .btn-danger:focus,
|
||||
.btn-danger.disabled.focus,
|
||||
.btn-danger[disabled].focus,
|
||||
fieldset[disabled] .btn-danger.focus,
|
||||
.btn-danger.disabled:active,
|
||||
.btn-danger[disabled]:active,
|
||||
fieldset[disabled] .btn-danger:active,
|
||||
.btn-danger.disabled.active,
|
||||
.btn-danger[disabled].active,
|
||||
fieldset[disabled] .btn-danger.active {
|
||||
background-color: #c12e2a;
|
||||
background-image: none;
|
||||
}
|
||||
.thumbnail,
|
||||
.img-thumbnail {
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
|
||||
}
|
||||
.dropdown-menu > li > a:hover,
|
||||
.dropdown-menu > li > a:focus {
|
||||
background-color: #e8e8e8;
|
||||
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
|
||||
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.dropdown-menu > .active > a,
|
||||
.dropdown-menu > .active > a:hover,
|
||||
.dropdown-menu > .active > a:focus {
|
||||
background-color: #2e6da4;
|
||||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
||||
background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
|
||||
background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.navbar-default {
|
||||
background-image: -webkit-linear-gradient(top, #fff 0%, #f8f8f8 100%);
|
||||
background-image: -o-linear-gradient(top, #fff 0%, #f8f8f8 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f8f8f8));
|
||||
background-image: linear-gradient(to bottom, #fff 0%, #f8f8f8 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-radius: 4px;
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
|
||||
}
|
||||
.navbar-default .navbar-nav > .open > a,
|
||||
.navbar-default .navbar-nav > .active > a {
|
||||
background-image: -webkit-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);
|
||||
background-image: -o-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#dbdbdb), to(#e2e2e2));
|
||||
background-image: linear-gradient(to bottom, #dbdbdb 0%, #e2e2e2 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
|
||||
box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
|
||||
}
|
||||
.navbar-brand,
|
||||
.navbar-nav > li > a {
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
|
||||
}
|
||||
.navbar-inverse {
|
||||
background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222 100%);
|
||||
background-image: -o-linear-gradient(top, #3c3c3c 0%, #222 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#3c3c3c), to(#222));
|
||||
background-image: linear-gradient(to bottom, #3c3c3c 0%, #222 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.navbar-inverse .navbar-nav > .open > a,
|
||||
.navbar-inverse .navbar-nav > .active > a {
|
||||
background-image: -webkit-linear-gradient(top, #080808 0%, #0f0f0f 100%);
|
||||
background-image: -o-linear-gradient(top, #080808 0%, #0f0f0f 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#080808), to(#0f0f0f));
|
||||
background-image: linear-gradient(to bottom, #080808 0%, #0f0f0f 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
|
||||
box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
|
||||
}
|
||||
.navbar-inverse .navbar-brand,
|
||||
.navbar-inverse .navbar-nav > li > a {
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
|
||||
}
|
||||
.navbar-static-top,
|
||||
.navbar-fixed-top,
|
||||
.navbar-fixed-bottom {
|
||||
border-radius: 0;
|
||||
}
|
||||
@media (max-width: 767px) {
|
||||
.navbar .navbar-nav .open .dropdown-menu > .active > a,
|
||||
.navbar .navbar-nav .open .dropdown-menu > .active > a:hover,
|
||||
.navbar .navbar-nav .open .dropdown-menu > .active > a:focus {
|
||||
color: #fff;
|
||||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
||||
background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
|
||||
background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
}
|
||||
.alert {
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, .2);
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
|
||||
}
|
||||
.alert-success {
|
||||
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
|
||||
background-image: -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#c8e5bc));
|
||||
background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #b2dba1;
|
||||
}
|
||||
.alert-info {
|
||||
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
|
||||
background-image: -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#b9def0));
|
||||
background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #9acfea;
|
||||
}
|
||||
.alert-warning {
|
||||
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
|
||||
background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#f8efc0));
|
||||
background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #f5e79e;
|
||||
}
|
||||
.alert-danger {
|
||||
background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
|
||||
background-image: -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#e7c3c3));
|
||||
background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #dca7a7;
|
||||
}
|
||||
.progress {
|
||||
background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
|
||||
background-image: -o-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f5f5f5));
|
||||
background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar {
|
||||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #286090 100%);
|
||||
background-image: -o-linear-gradient(top, #337ab7 0%, #286090 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#286090));
|
||||
background-image: linear-gradient(to bottom, #337ab7 0%, #286090 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-success {
|
||||
background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%);
|
||||
background-image: -o-linear-gradient(top, #5cb85c 0%, #449d44 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#449d44));
|
||||
background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-info {
|
||||
background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
|
||||
background-image: -o-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#31b0d5));
|
||||
background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-warning {
|
||||
background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
|
||||
background-image: -o-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#ec971f));
|
||||
background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-danger {
|
||||
background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%);
|
||||
background-image: -o-linear-gradient(top, #d9534f 0%, #c9302c 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c9302c));
|
||||
background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-striped {
|
||||
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
|
||||
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
|
||||
background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
|
||||
}
|
||||
.list-group {
|
||||
border-radius: 4px;
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
|
||||
}
|
||||
.list-group-item.active,
|
||||
.list-group-item.active:hover,
|
||||
.list-group-item.active:focus {
|
||||
text-shadow: 0 -1px 0 #286090;
|
||||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2b669a 100%);
|
||||
background-image: -o-linear-gradient(top, #337ab7 0%, #2b669a 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2b669a));
|
||||
background-image: linear-gradient(to bottom, #337ab7 0%, #2b669a 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #2b669a;
|
||||
}
|
||||
.list-group-item.active .badge,
|
||||
.list-group-item.active:hover .badge,
|
||||
.list-group-item.active:focus .badge {
|
||||
text-shadow: none;
|
||||
}
|
||||
.panel {
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
|
||||
}
|
||||
.panel-default > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
|
||||
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-primary > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
||||
background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
|
||||
background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-success > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
|
||||
background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#d0e9c6));
|
||||
background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-info > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
|
||||
background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#c4e3f3));
|
||||
background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-warning > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
|
||||
background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#faf2cc));
|
||||
background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-danger > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
|
||||
background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#ebcccc));
|
||||
background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.well {
|
||||
background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
|
||||
background-image: -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#e8e8e8), to(#f5f5f5));
|
||||
background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #dcdcdc;
|
||||
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
|
||||
box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
|
||||
}
|
||||
/*# sourceMappingURL=bootstrap-theme.css.map */
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Binary file not shown.
Before Width: | Height: | Size: 106 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -1,13 +0,0 @@
|
||||
// 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')
|
@ -1,26 +0,0 @@
|
||||
.table th{
|
||||
text-align: center;
|
||||
height:38px;
|
||||
}
|
||||
.cla1 {
|
||||
FONT-SIZE: 12px;
|
||||
COLOR: #4b4b4b;
|
||||
LINE-HEIGHT: 18px;
|
||||
TEXT-DECORATION: none
|
||||
}
|
||||
|
||||
.login_msg {
|
||||
font-family: serif;
|
||||
}
|
||||
|
||||
.login_msg .msg {
|
||||
background-color: #acf;
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
.login_msg .btn {
|
||||
background-color: #9be;
|
||||
width: 150px;
|
||||
font-size: 15px;
|
||||
font-family: ΢ÈíÑźÚ;
|
||||
}
|
File diff suppressed because one or more lines are too long
@ -1,314 +0,0 @@
|
||||
div.dataTables_length label {
|
||||
font-weight: normal;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
div.dataTables_length select {
|
||||
width: 75px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
div.dataTables_filter {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
div.dataTables_filter label {
|
||||
font-weight: normal;
|
||||
white-space: nowrap;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
div.dataTables_filter input {
|
||||
margin-left: 0.5em;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
div.dataTables_info {
|
||||
padding-top: 8px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
div.dataTables_paginate {
|
||||
margin: 0;
|
||||
white-space: nowrap;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
div.dataTables_paginate ul.pagination {
|
||||
margin: 2px 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 767px) {
|
||||
div.dataTables_length,
|
||||
div.dataTables_filter,
|
||||
div.dataTables_info,
|
||||
div.dataTables_paginate {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
table.dataTable td,
|
||||
table.dataTable th {
|
||||
-webkit-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
|
||||
table.dataTable {
|
||||
clear: both;
|
||||
margin-top: 6px !important;
|
||||
margin-bottom: 6px !important;
|
||||
max-width: none !important;
|
||||
}
|
||||
|
||||
table.dataTable thead .sorting,
|
||||
table.dataTable thead .sorting_asc,
|
||||
table.dataTable thead .sorting_desc,
|
||||
table.dataTable thead .sorting_asc_disabled,
|
||||
table.dataTable thead .sorting_desc_disabled {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
table.dataTable thead .sorting { background: url('../../images/home/sort_both.png') no-repeat center right; }
|
||||
table.dataTable thead .sorting_asc { background: url('../../images/home/sort_asc.png') no-repeat center right; }
|
||||
table.dataTable thead .sorting_desc { background: url('../../images/home/sort_desc.png') no-repeat center right; }
|
||||
|
||||
table.dataTable thead .sorting_asc_disabled { background: url('../../images/home/sort_asc_disabled.png') no-repeat center right; }
|
||||
table.dataTable thead .sorting_desc_disabled { background: url('../../images/home/sort_desc_disabled.png') no-repeat center right; }
|
||||
|
||||
table.dataTable thead > tr > th {
|
||||
padding-left: 18px;
|
||||
padding-right: 18px;
|
||||
}
|
||||
|
||||
table.dataTable th:active {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* Scrolling */
|
||||
div.dataTables_scrollHead table {
|
||||
margin-bottom: 0 !important;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
|
||||
div.dataTables_scrollHead table thead tr:last-child th:first-child,
|
||||
div.dataTables_scrollHead table thead tr:last-child td:first-child {
|
||||
border-bottom-left-radius: 0 !important;
|
||||
border-bottom-right-radius: 0 !important;
|
||||
}
|
||||
|
||||
div.dataTables_scrollBody table {
|
||||
border-top: none;
|
||||
margin-top: 0 !important;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
div.dataTables_scrollBody tbody tr:first-child th,
|
||||
div.dataTables_scrollBody tbody tr:first-child td {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
div.dataTables_scrollFoot table {
|
||||
margin-top: 0 !important;
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
/* Frustratingly the border-collapse:collapse used by Bootstrap makes the column
|
||||
width calculations when using scrolling impossible to align columns. We have
|
||||
to use separate
|
||||
*/
|
||||
table.table-bordered.dataTable {
|
||||
border-collapse: separate !important;
|
||||
}
|
||||
table.table-bordered thead th,
|
||||
table.table-bordered thead td {
|
||||
border-left-width: 0;
|
||||
border-top-width: 0;
|
||||
}
|
||||
table.table-bordered tbody th,
|
||||
table.table-bordered tbody td {
|
||||
border-left-width: 0;
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
table.table-bordered th:last-child,
|
||||
table.table-bordered td:last-child {
|
||||
border-right-width: 0;
|
||||
}
|
||||
div.dataTables_scrollHead table.table-bordered {
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* TableTools styles
|
||||
*/
|
||||
.table.dataTable tbody tr.active td,
|
||||
.table.dataTable tbody tr.active th {
|
||||
background-color: #08C;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.table.dataTable tbody tr.active:hover td,
|
||||
.table.dataTable tbody tr.active:hover th {
|
||||
background-color: #0075b0 !important;
|
||||
}
|
||||
|
||||
.table.dataTable tbody tr.active th > a,
|
||||
.table.dataTable tbody tr.active td > a {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.table-striped.dataTable tbody tr.active:nth-child(odd) td,
|
||||
.table-striped.dataTable tbody tr.active:nth-child(odd) th {
|
||||
background-color: #017ebc;
|
||||
}
|
||||
|
||||
table.DTTT_selectable tbody tr {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
div.DTTT .btn:hover {
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
ul.DTTT_dropdown.dropdown-menu {
|
||||
z-index: 2003;
|
||||
}
|
||||
|
||||
ul.DTTT_dropdown.dropdown-menu a {
|
||||
color: #333 !important; /* needed only when demo_page.css is included */
|
||||
}
|
||||
|
||||
ul.DTTT_dropdown.dropdown-menu li {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
ul.DTTT_dropdown.dropdown-menu li:hover a {
|
||||
background-color: #0088cc;
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
div.DTTT_collection_background {
|
||||
z-index: 2002;
|
||||
}
|
||||
|
||||
/* TableTools information display */
|
||||
div.DTTT_print_info {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 400px;
|
||||
height: 150px;
|
||||
margin-left: -200px;
|
||||
margin-top: -75px;
|
||||
text-align: center;
|
||||
color: #333;
|
||||
padding: 10px 30px;
|
||||
opacity: 0.95;
|
||||
|
||||
background-color: white;
|
||||
border: 1px solid rgba(0, 0, 0, 0.2);
|
||||
border-radius: 6px;
|
||||
|
||||
-webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
|
||||
box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
div.DTTT_print_info h6 {
|
||||
font-weight: normal;
|
||||
font-size: 28px;
|
||||
line-height: 28px;
|
||||
margin: 1em;
|
||||
}
|
||||
|
||||
div.DTTT_print_info p {
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
div.dataTables_processing {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 100%;
|
||||
height: 60px;
|
||||
margin-left: -50%;
|
||||
margin-top: -25px;
|
||||
padding-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
text-align: center;
|
||||
font-size: 1.2em;
|
||||
background-color: white;
|
||||
background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255,255,255,0)), color-stop(25%, rgba(255,255,255,0.9)), color-stop(75%, rgba(255,255,255,0.9)), color-stop(100%, rgba(255,255,255,0)));
|
||||
background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
|
||||
background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
|
||||
background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
|
||||
background: -o-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
|
||||
background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 25%, rgba(255,255,255,0.9) 75%, rgba(255,255,255,0) 100%);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* FixedColumns styles
|
||||
*/
|
||||
div.DTFC_LeftHeadWrapper table,
|
||||
div.DTFC_LeftFootWrapper table,
|
||||
div.DTFC_RightHeadWrapper table,
|
||||
div.DTFC_RightFootWrapper table,
|
||||
table.DTFC_Cloned tr.even {
|
||||
background-color: white;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
div.DTFC_RightHeadWrapper table ,
|
||||
div.DTFC_LeftHeadWrapper table {
|
||||
border-bottom: none !important;
|
||||
margin-bottom: 0 !important;
|
||||
border-top-right-radius: 0 !important;
|
||||
border-bottom-left-radius: 0 !important;
|
||||
border-bottom-right-radius: 0 !important;
|
||||
}
|
||||
|
||||
div.DTFC_RightHeadWrapper table thead tr:last-child th:first-child,
|
||||
div.DTFC_RightHeadWrapper table thead tr:last-child td:first-child,
|
||||
div.DTFC_LeftHeadWrapper table thead tr:last-child th:first-child,
|
||||
div.DTFC_LeftHeadWrapper table thead tr:last-child td:first-child {
|
||||
border-bottom-left-radius: 0 !important;
|
||||
border-bottom-right-radius: 0 !important;
|
||||
}
|
||||
|
||||
div.DTFC_RightBodyWrapper table,
|
||||
div.DTFC_LeftBodyWrapper table {
|
||||
border-top: none;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
div.DTFC_RightBodyWrapper tbody tr:first-child th,
|
||||
div.DTFC_RightBodyWrapper tbody tr:first-child td,
|
||||
div.DTFC_LeftBodyWrapper tbody tr:first-child th,
|
||||
div.DTFC_LeftBodyWrapper tbody tr:first-child td {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
div.DTFC_RightFootWrapper table,
|
||||
div.DTFC_LeftFootWrapper table {
|
||||
border-top: none;
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* FixedHeader styles
|
||||
*/
|
||||
div.FixedHeader_Cloned table {
|
||||
margin: 0 !important
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
@ -1,10 +0,0 @@
|
||||
/*
|
||||
* metismenu - v1.1.3
|
||||
* Easy menu jQuery plugin for Twitter Bootstrap 3
|
||||
* https://github.com/onokumus/metisMenu
|
||||
*
|
||||
* Made by Osman Nuri Okumus
|
||||
* Under MIT License
|
||||
*/
|
||||
|
||||
.arrow{float:right;line-height:1.42857}.glyphicon.arrow:before{content:"\e079"}.active>a>.glyphicon.arrow:before{content:"\e114"}.fa.arrow:before{content:"\f104"}.active>a>.fa.arrow:before{content:"\f107"}.plus-times{float:right}.fa.plus-times:before{content:"\f067"}.active>a>.fa.plus-times{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}.plus-minus{float:right}.fa.plus-minus:before{content:"\f067"}.active>a>.fa.plus-minus:before{content:"\f068"}
|
Before Width: | Height: | Size: 1.2 KiB |
@ -1,361 +0,0 @@
|
||||
/*!
|
||||
* Start Bootstrap - SB Admins 2 Bootstrap Admins Theme (http://startbootstrap.com)
|
||||
* Code licensed under the Apache License v2.0.
|
||||
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
|
||||
*/
|
||||
|
||||
body {
|
||||
background-color: #f8f8f8;
|
||||
height: 100%;
|
||||
}
|
||||
html{
|
||||
height: 100%;
|
||||
}
|
||||
#wrapper {
|
||||
width: 100%;
|
||||
height: 94%;
|
||||
}
|
||||
|
||||
#page-wrapper {
|
||||
padding: 0 15px;
|
||||
min-height: 100%;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
@media(min-width:768px) {
|
||||
#page-wrapper {
|
||||
position: inherit;
|
||||
margin: 0 0 0 250px;
|
||||
padding: 0 30px;
|
||||
border-left: 1px solid #e7e7e7;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-top-links {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.navbar-top-links li {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.navbar-top-links li:last-child {
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.navbar-top-links li a {
|
||||
padding: 15px;
|
||||
min-height: 50px;
|
||||
}
|
||||
|
||||
.navbar-top-links .dropdown-menu li {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.navbar-top-links .dropdown-menu li:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.navbar-top-links .dropdown-menu li a {
|
||||
padding: 3px 20px;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.navbar-top-links .dropdown-menu li a div {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.navbar-top-links .dropdown-messages,
|
||||
.navbar-top-links .dropdown-tasks,
|
||||
.navbar-top-links .dropdown-alerts {
|
||||
width: 310px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.navbar-top-links .dropdown-messages {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.navbar-top-links .dropdown-tasks {
|
||||
margin-left: -59px;
|
||||
}
|
||||
|
||||
.navbar-top-links .dropdown-alerts {
|
||||
margin-left: -123px;
|
||||
}
|
||||
|
||||
.navbar-top-links .dropdown-user {
|
||||
right: 0;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
.sidebar .sidebar-nav.navbar-collapse {
|
||||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.sidebar .sidebar-search {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.sidebar ul li {
|
||||
border-bottom: 1px solid #e7e7e7;
|
||||
}
|
||||
|
||||
.sidebar ul li a.active {
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
.sidebar .arrow {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.sidebar .fa.arrow:before {
|
||||
content: "\f104";
|
||||
}
|
||||
|
||||
.sidebar .active>a>.fa.arrow:before {
|
||||
content: "\f107";
|
||||
}
|
||||
|
||||
.sidebar .nav-second-level li,
|
||||
.sidebar .nav-third-level li {
|
||||
border-bottom: 0!important;
|
||||
}
|
||||
|
||||
.sidebar .nav-second-level li a {
|
||||
padding-left: 37px;
|
||||
}
|
||||
|
||||
.sidebar .nav-third-level li a {
|
||||
padding-left: 52px;
|
||||
}
|
||||
|
||||
@media(min-width:768px) {
|
||||
.sidebar {
|
||||
z-index: 1;
|
||||
position: absolute;
|
||||
width: 250px;
|
||||
margin-top: 51px;
|
||||
}
|
||||
|
||||
.navbar-top-links .dropdown-messages,
|
||||
.navbar-top-links .dropdown-tasks,
|
||||
.navbar-top-links .dropdown-alerts {
|
||||
margin-left: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-outline {
|
||||
color: inherit;
|
||||
background-color: transparent;
|
||||
transition: all .5s;
|
||||
}
|
||||
|
||||
.btn-primary.btn-outline {
|
||||
color: #428bca;
|
||||
}
|
||||
|
||||
.btn-success.btn-outline {
|
||||
color: #5cb85c;
|
||||
}
|
||||
|
||||
.btn-info.btn-outline {
|
||||
color: #5bc0de;
|
||||
}
|
||||
|
||||
.btn-warning.btn-outline {
|
||||
color: #f0ad4e;
|
||||
}
|
||||
|
||||
.btn-danger.btn-outline {
|
||||
color: #d9534f;
|
||||
}
|
||||
|
||||
.btn-primary.btn-outline:hover,
|
||||
.btn-success.btn-outline:hover,
|
||||
.btn-info.btn-outline:hover,
|
||||
.btn-warning.btn-outline:hover,
|
||||
.btn-danger.btn-outline:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.chat {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.chat li {
|
||||
margin-bottom: 10px;
|
||||
padding-bottom: 5px;
|
||||
border-bottom: 1px dotted #999;
|
||||
}
|
||||
|
||||
.chat li.left .chat-body {
|
||||
margin-left: 60px;
|
||||
}
|
||||
|
||||
.chat li.right .chat-body {
|
||||
margin-right: 60px;
|
||||
}
|
||||
|
||||
.chat li .chat-body p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.panel .slidedown .glyphicon,
|
||||
.chat .glyphicon {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.chat-panel .panel-body {
|
||||
height: 350px;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.login-panel {
|
||||
margin-top: 25%;
|
||||
}
|
||||
|
||||
.flot-chart {
|
||||
display: block;
|
||||
height: 400px;
|
||||
}
|
||||
|
||||
.flot-chart-content {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.dataTables_wrapper {
|
||||
position: relative;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
table.dataTable thead .sorting,
|
||||
table.dataTable thead .sorting_asc,
|
||||
table.dataTable thead .sorting_desc,
|
||||
table.dataTable thead .sorting_asc_disabled,
|
||||
table.dataTable thead .sorting_desc_disabled {
|
||||
background: 0 0;
|
||||
}
|
||||
|
||||
table.dataTable thead .sorting_asc:after {
|
||||
content: "\f0de";
|
||||
float: right;
|
||||
font-family: fontawesome;
|
||||
}
|
||||
|
||||
table.dataTable thead .sorting_desc:after {
|
||||
content: "\f0dd";
|
||||
float: right;
|
||||
font-family: fontawesome;
|
||||
}
|
||||
|
||||
table.dataTable thead .sorting:after {
|
||||
content: "\f0dc";
|
||||
float: right;
|
||||
font-family: fontawesome;
|
||||
color: rgba(50,50,50,.5);
|
||||
}
|
||||
|
||||
.btn-circle {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
padding: 6px 0;
|
||||
border-radius: 15px;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
line-height: 1.428571429;
|
||||
}
|
||||
|
||||
.btn-circle.btn-lg {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
padding: 10px 16px;
|
||||
border-radius: 25px;
|
||||
font-size: 18px;
|
||||
line-height: 1.33;
|
||||
}
|
||||
|
||||
.btn-circle.btn-xl {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
padding: 10px 16px;
|
||||
border-radius: 35px;
|
||||
font-size: 24px;
|
||||
line-height: 1.33;
|
||||
}
|
||||
|
||||
.show-grid [class^=col-] {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
border: 1px solid #ddd;
|
||||
background-color: #eee!important;
|
||||
}
|
||||
|
||||
.show-grid {
|
||||
margin: 15px 0;
|
||||
}
|
||||
|
||||
.huge {
|
||||
font-size: 40px;
|
||||
}
|
||||
|
||||
.panel-green {
|
||||
border-color: #5cb85c;
|
||||
}
|
||||
|
||||
.panel-green .panel-heading {
|
||||
border-color: #5cb85c;
|
||||
color: #fff;
|
||||
background-color: #5cb85c;
|
||||
}
|
||||
|
||||
.panel-green a {
|
||||
color: #5cb85c;
|
||||
}
|
||||
|
||||
.panel-green a:hover {
|
||||
color: #3d8b3d;
|
||||
}
|
||||
|
||||
.panel-red {
|
||||
border-color: #d9534f;
|
||||
}
|
||||
|
||||
.panel-red .panel-heading {
|
||||
border-color: #d9534f;
|
||||
color: #fff;
|
||||
background-color: #d9534f;
|
||||
}
|
||||
|
||||
.panel-red a {
|
||||
color: #d9534f;
|
||||
}
|
||||
|
||||
.panel-red a:hover {
|
||||
color: #b52b27;
|
||||
}
|
||||
|
||||
.panel-yellow {
|
||||
border-color: #f0ad4e;
|
||||
}
|
||||
|
||||
.panel-yellow .panel-heading {
|
||||
border-color: #f0ad4e;
|
||||
color: #fff;
|
||||
background-color: #f0ad4e;
|
||||
}
|
||||
|
||||
.panel-yellow a {
|
||||
color: #f0ad4e;
|
||||
}
|
||||
|
||||
.panel-yellow a:hover {
|
||||
color: #df8a13;
|
||||
}
|
||||
.my_font{
|
||||
font-size: 19px;
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1,653 +0,0 @@
|
||||
/* THIS ARE ALL NEW EXTRA ELEMENTS BESIDE TWITTER BOOTSTRAP */
|
||||
|
||||
|
||||
/* glow btn group */
|
||||
.btn-group.large button.glow {
|
||||
padding: 6px 15px;
|
||||
font-size: 13px;
|
||||
}
|
||||
.btn-group button.glow.large {
|
||||
font-size: 12px;
|
||||
}
|
||||
.btn-group.large i {
|
||||
font-size: 13px;
|
||||
}
|
||||
.btn-group button.glow {
|
||||
font-size: 11px;
|
||||
font-family: "Open sans", Helvetica, Arial;
|
||||
color: #313d4c;
|
||||
font-weight: 700;
|
||||
padding: 5px 10px;
|
||||
line-height: 14px;
|
||||
background: #fefefe; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #fefefe 0%, #f7f7f7 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fefefe), color-stop(100%,#f7f7f7)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #fefefe 0%,#f7f7f7 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #fefefe 0%,#f7f7f7 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #fefefe 0%,#f7f7f7 100%); /* IE10+ */
|
||||
background: linear-gradient(to bottom, #fefefe 0%,#f7f7f7 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#f7f7f7',GradientType=0 ); /* IE6-9 */
|
||||
border: 1px solid #d0dde9;
|
||||
|
||||
transition: color .1s linear;
|
||||
-moz-transition: color .1s linear; /* Firefox 4 */
|
||||
-webkit-transition: color .1s linear; /* Safari and Chrome */
|
||||
-o-transition: color .1s linear; /* Opera */
|
||||
}
|
||||
.btn-group button.glow:active, .btn-group button.glow.active {
|
||||
-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.2) inset;
|
||||
-moz-box-shadow:0 1px 0 rgba(0,0,0,0.2) inset;
|
||||
box-shadow:0 1px 0 rgba(0,0,0,0.2) inset;
|
||||
color: #a8b5c7;
|
||||
}
|
||||
.btn-group button.glow.left{
|
||||
border-radius: 4px 0 0 4px;
|
||||
border-right: 0;
|
||||
}
|
||||
.btn-group button.glow.middle{
|
||||
border-right: 0;
|
||||
}
|
||||
.btn-group button.glow.right{
|
||||
border-radius: 0 4px 4px 0;
|
||||
}
|
||||
.btn-group button.glow:hover{
|
||||
color: #a8b5c7;
|
||||
}
|
||||
.btn-group > .btn.glow {
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
padding: 6px 14px;
|
||||
color: #313d4c;
|
||||
line-height: 14px;
|
||||
border: 1px solid #d0dde9;
|
||||
}
|
||||
.btn-group > .btn.glow.dropdown-toggle {
|
||||
padding: 6px 9px;
|
||||
}
|
||||
.btn-group > .btn.glow .caret {
|
||||
margin-top: 6px;
|
||||
}
|
||||
.btn-group > .btn.glow:hover {
|
||||
background: #fefefe;
|
||||
background: -moz-linear-gradient(top, #fefefe 0%, #f7f7f7 100%);
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fefefe), color-stop(100%,#f7f7f7));
|
||||
background: -webkit-linear-gradient(top, #fefefe 0%,#f7f7f7 100%);
|
||||
background: -o-linear-gradient(top, #fefefe 0%,#f7f7f7 100%);
|
||||
background: -ms-linear-gradient(top, #fefefe 0%,#f7f7f7 100%);
|
||||
background: linear-gradient(to bottom, #fefefe 0%,#f7f7f7 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#f7f7f7',GradientType=0 );
|
||||
}
|
||||
.btn-group .dropdown-menu > li > a {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* FLAT BUTTONS */
|
||||
|
||||
.btn-flat.small {
|
||||
font-size: 11px;
|
||||
padding: 5px 9px;
|
||||
}
|
||||
.btn-flat.large {
|
||||
font-size: 13px;
|
||||
padding: 10px 16px;
|
||||
}
|
||||
.btn-flat, .btn-flat.default{
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
line-height: 15px;
|
||||
vertical-align: middle;
|
||||
font-size: 12px;
|
||||
text-shadow: none;
|
||||
box-shadow: none;
|
||||
background-image: none;
|
||||
border: 0 none;
|
||||
color: #fff;
|
||||
font-weight: 500;
|
||||
border-radius: 4px;
|
||||
background: #4387bf;
|
||||
border: 1px solid rgb(56, 131, 192);
|
||||
cursor: pointer;
|
||||
padding: 7px 14px;
|
||||
-webkit-transition: all .1s linear;
|
||||
-moz-transition: all .1s linear;
|
||||
transition: all .1s linear;
|
||||
}
|
||||
.btn-flat:active {
|
||||
-webkit-box-shadow:0px 2px 2px 0px rgba(0,0,0,0.3) inset;
|
||||
-moz-box-shadow:0px 2px 2px 0px rgba(0,0,0,0.3) inset;
|
||||
box-shadow:0px 2px 2px 0px rgba(0,0,0,0.3) inset;
|
||||
}
|
||||
.btn-flat:hover{
|
||||
text-decoration: none;
|
||||
opacity: 0.87;
|
||||
color: #fff;
|
||||
}
|
||||
.btn-flat:active{
|
||||
background: rgb(48, 98, 139);
|
||||
opacity: 1;
|
||||
}
|
||||
.btn-flat.inverse{
|
||||
background: #343e4b;
|
||||
border: 1px solid #000;
|
||||
}
|
||||
.btn-flat.inverse:active{
|
||||
background: #000;
|
||||
}
|
||||
.btn-flat.gray{
|
||||
background: #7e91aa;
|
||||
border: 1px solid rgb(136, 142, 151);
|
||||
}
|
||||
.btn-flat.gray:active{
|
||||
background: rgb(93, 107, 126);
|
||||
color: rgb(243, 243, 243);
|
||||
}
|
||||
.btn-flat.primary{
|
||||
background: #3b9ff3;
|
||||
border: 1px solid rgb(53, 150, 231);
|
||||
}
|
||||
.btn-flat.primary:active{
|
||||
background: rgb(43, 118, 182);
|
||||
color: rgb(237, 246, 253);
|
||||
}
|
||||
.btn-flat.success {
|
||||
background: #96bf48;
|
||||
border: 1px solid #7ea13d;
|
||||
text-shadow: 1px 1px 0px rgba(0,0,0,0.3);
|
||||
font-weight: 600;
|
||||
}
|
||||
.btn-flat.white {
|
||||
color: #626263;
|
||||
background: #fff;
|
||||
border: 1px solid #d0dde9;
|
||||
}
|
||||
.btn-flat.white:hover {
|
||||
border-color: #bbb;
|
||||
color: #000;
|
||||
}
|
||||
.btn-flat.info {
|
||||
background: #5ba0a3;
|
||||
color: #fff;
|
||||
border-color: #5ba0a3;
|
||||
}
|
||||
.btn-flat.info:active {
|
||||
background: #30696c;
|
||||
}
|
||||
.btn-flat.danger {
|
||||
background: #b85e80;
|
||||
border-color: #b85e80;
|
||||
color: #fff;
|
||||
}
|
||||
.btn-flat.danger:active {
|
||||
background: #6e354a;
|
||||
}
|
||||
.btn-flat.icon {
|
||||
padding: 7px 10px;
|
||||
color: #1a2129;
|
||||
background: #e6ebf3;
|
||||
border: 1px solid rgb(216, 221, 228);
|
||||
box-shadow: 0px 1px 0px 0px rgba(255, 255, 255,0.4) inset, 0px 1px 0px 0px rgb(204, 204, 204);
|
||||
}
|
||||
.btn-flat.icon:active {
|
||||
background: #e0e6ef;
|
||||
-webkit-box-shadow:0px 2px 1px 0px rgba(0,0,0,0.3) inset;
|
||||
-moz-box-shadow:0px 2px 1px 0px rgba(0,0,0,0.3) inset;
|
||||
box-shadow:0px 2px 1px 0px rgba(0,0,0,0.3) inset;
|
||||
}
|
||||
.btn-flat.icon i {font-size: 14px;}
|
||||
|
||||
.btn-flat [class^="icon-"],
|
||||
.btn-flat [class*=" icon-"] {
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* GLOW BUTTONS */
|
||||
|
||||
.btn-glow.small {
|
||||
font-size: 11px;
|
||||
padding: 4px 7px;
|
||||
}
|
||||
.btn-glow.large {
|
||||
font-size: 14px;
|
||||
padding: 9px 16px;
|
||||
}
|
||||
.btn-glow{
|
||||
font-size: 13px;
|
||||
border-radius: 4px;
|
||||
color: #333;
|
||||
padding: 5px 10px;
|
||||
text-align: center;
|
||||
box-shadow: 0px 1px 0px 0px rgba(255, 255, 255,0.2) inset, 0px 1px 0px 0px rgb(204, 204, 204);
|
||||
display: inline-block;
|
||||
border: 1px solid #e5e5e5;
|
||||
vertical-align: middle;
|
||||
cursor: pointer;
|
||||
background: #ffffff;
|
||||
background: -moz-linear-gradient(top, #ffffff 0%, #eef0f1 100%);
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#eef0f1));
|
||||
background: -webkit-linear-gradient(top, #ffffff 0%,#eef0f1 100%);
|
||||
background: -o-linear-gradient(top, #ffffff 0%,#eef0f1 100%);
|
||||
background: -ms-linear-gradient(top, #ffffff 0%,#eef0f1 100%);
|
||||
background: linear-gradient(to bottom, #ffffff 0%,#eef0f1 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eef0f1',GradientType=0 );
|
||||
}
|
||||
.btn-glow:hover {
|
||||
text-decoration: none;
|
||||
background: #ffffff;
|
||||
background: -moz-linear-gradient(top, #ffffff 0%, #E6E6E6 100%);
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#E6E6E6));
|
||||
background: -webkit-linear-gradient(top, #ffffff 0%,#E6E6E6 100%);
|
||||
background: -o-linear-gradient(top, #ffffff 0%,#E6E6E6 100%);
|
||||
background: -ms-linear-gradient(top, #ffffff 0%,#E6E6E6 100%);
|
||||
background: linear-gradient(to bottom, #ffffff 0%,#E6E6E6 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#E6E6E6',GradientType=0 );
|
||||
}
|
||||
.btn-glow:active,.btn-glow.active {
|
||||
-webkit-box-shadow:0 1px 0 rgba(0,0,0,0.2) inset !important;
|
||||
-moz-box-shadow:0 1px 0 rgba(0,0,0,0.2) inset !important;
|
||||
box-shadow:0 1px 0 rgba(0,0,0,0.2) inset !important;
|
||||
}
|
||||
.btn-glow [class^="icon-"],
|
||||
.btn-glow [class*=" icon-"] {
|
||||
margin-right: 3px;
|
||||
}
|
||||
.btn-glow i.shuffle {top: 2px;}
|
||||
|
||||
.btn-glow.inverse{
|
||||
border-color: #000;
|
||||
color: #fff;
|
||||
box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.5);
|
||||
background: #353f4c; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #353f4c 0%, #222a33 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#353f4c), color-stop(100%,#222a33)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #353f4c 0%,#222a33 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #353f4c 0%,#222a33 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #353f4c 0%,#222a33 100%); /* IE10+ */
|
||||
background: linear-gradient(to bottom, #353f4c 0%,#222a33 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#353f4c', endColorstr='#222a33',GradientType=0 ); /* IE6-9 */
|
||||
}
|
||||
.btn-glow.inverse:hover {
|
||||
background: -webkit-linear-gradient(top, rgb(67, 76, 88) 0%,rgb(66, 74, 83) 100%);
|
||||
}
|
||||
.btn-glow.primary{
|
||||
border-color: #2480c2;
|
||||
color: #fff;
|
||||
text-shadow: rgba(0,0,0,0.35) 0 1px 0;
|
||||
box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.5);
|
||||
background: #54b3ff;
|
||||
background: -moz-linear-gradient(top, #54b3ff 0%, #0078d9 100%);
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#54b3ff), color-stop(100%,#0078d9));
|
||||
background: -webkit-linear-gradient(top, #54b3ff 0%,#0078d9 100%);
|
||||
background: linear-gradient(#54b3ff,#0078d9);
|
||||
background: -o-linear-gradient(top, #54b3ff 0%,#0078d9 100%);
|
||||
background: -ms-linear-gradient(top, #54b3ff 0%,#0078d9 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#54b3ff', endColorstr='#0078d9',GradientType=0 );
|
||||
}
|
||||
.btn-glow.primary:hover {
|
||||
background: rgb(56, 155, 235);
|
||||
background: -moz-linear-gradient(top, rgb(56, 155, 235) 0%, #0078d9 100%);
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(56, 155, 235)), color-stop(100%,#0078d9));
|
||||
background: -webkit-linear-gradient(top, rgb(56, 155, 235) 0%,#0078d9 100%);
|
||||
background: linear-gradient(rgb(56, 155, 235),#0078d9);
|
||||
background: -o-linear-gradient(top, rgb(56, 155, 235) 0%,#0078d9 100%);
|
||||
background: -ms-linear-gradient(top, rgb(56, 155, 235) 0%,#0078d9 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgb(56, 155, 235)', endColorstr='#0078d9',GradientType=0 );
|
||||
}
|
||||
.btn-glow.primary:active {
|
||||
background: rgb(56, 155, 235);
|
||||
background: -moz-linear-gradient(top, rgb(56, 155, 235) 0%, #0078d9 100%);
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(56, 155, 235)), color-stop(100%,#0078d9));
|
||||
background: -webkit-linear-gradient(top, rgb(56, 155, 235) 0%,#0078d9 100%);
|
||||
background: linear-gradient(rgb(56, 155, 235),#0078d9);
|
||||
background: -o-linear-gradient(top, rgb(56, 155, 235) 0%,#0078d9 100%);
|
||||
background: -ms-linear-gradient(top, rgb(56, 155, 235) 0%,#0078d9 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgb(56, 155, 235)', endColorstr='#0078d9',GradientType=0 );
|
||||
}
|
||||
.btn-glow.primary[disabled] {
|
||||
border: 0px;
|
||||
box-shadow: none !important;
|
||||
background: rgb(129, 183, 226) !important;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.btn-glow.success {
|
||||
background: #96bf48;
|
||||
background: linear-gradient(to bottom, rgb(169, 214, 81) 0%,#96bf48 100%);
|
||||
box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.5);
|
||||
border: 1px solid rgb(153, 189, 86);
|
||||
text-shadow: rgba(0, 0, 0, 0.247059) 0px 1px 0px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Switch slider button */
|
||||
.slider-frame.info { background-color: rgba(92, 160, 163, 0.9); }
|
||||
.slider-frame.success { background-color: rgba(151, 192, 73, 0.9); }
|
||||
.slider-frame.primary { background-color: rgba(91, 158, 214, 0.9); }
|
||||
.slider-frame.danger { background-color: #d94774; }
|
||||
.slider-frame {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
margin: 0 auto;
|
||||
width: 67px;
|
||||
background-color: #d5dde4;
|
||||
height: 23px;
|
||||
-moz-border-radius: 15px;
|
||||
border-radius: 15px;
|
||||
box-shadow: inset 0px 1px 5px 0px rgba(0, 0, 0, 0.30);
|
||||
}
|
||||
.slider-button {
|
||||
display: block;
|
||||
width: 37px;
|
||||
height: 21px;
|
||||
line-height: 23px;
|
||||
background: #fff;
|
||||
border: 1px solid #d0dde9;
|
||||
-moz-border-radius: 9px;
|
||||
border-radius: 9px;
|
||||
-webkit-transition: all 0.25s ease-in-out;
|
||||
-moz-transition: all 0.25s ease-in-out;
|
||||
transition: all 0.25s ease-in-out;
|
||||
color: #000;
|
||||
font-family:sans-serif;
|
||||
font-size:11px;
|
||||
font-weight:bold;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
.slider-button.on {
|
||||
margin-left: 29px;
|
||||
/*background: #EDF2F7;*/
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* Custom Select */
|
||||
|
||||
.ui-select {
|
||||
width: 137px;
|
||||
margin-left: 0px !important;
|
||||
vertical-align: middle;
|
||||
min-width: 100px;
|
||||
height: 25px;
|
||||
min-height: 25px !important;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
background: #ffffff;
|
||||
background: url("../img/select-bg.png"), -moz-linear-gradient(top, #ffffff 0%, #f0f1f2 100%);
|
||||
background: url("../img/select-bg.png"), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f0f1f2));
|
||||
background: url("../img/select-bg.png"), -webkit-linear-gradient(top, #ffffff 0%,#f0f1f2 100%);
|
||||
background: url("../img/select-bg.png"), -o-linear-gradient(top, #ffffff 0%,#f0f1f2 100%);
|
||||
background: url("../img/select-bg.png"), -ms-linear-gradient(top, #ffffff 0%,#f0f1f2 100%);
|
||||
background: url("../img/select-bg.png"), linear-gradient(to bottom, #ffffff 0%,#f0f1f2 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f0f1f2',GradientType=0 );
|
||||
|
||||
display: inline-block;
|
||||
border: 1px solid #cfdde8;
|
||||
border-radius: 5px;
|
||||
|
||||
background-position: 94%;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.ui-select select {
|
||||
line-height: inherit;
|
||||
width: 135%;
|
||||
font-family: "Open Sans", Arial;
|
||||
font-size: 12px;
|
||||
border: none;
|
||||
padding: 1px 30px 0px 7px;
|
||||
height: 25px;
|
||||
-webkit-appearance: none;
|
||||
color: #737f8d;
|
||||
text-shadow: 1px 1px 1px #fff;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* jQuery UI Slider overrides */
|
||||
.ui-slider {
|
||||
border: 1px solid #cfdde8;
|
||||
height: 4px;
|
||||
background: #edeeef;
|
||||
box-shadow: inset 0px -3px 7px 0px #fff;
|
||||
}
|
||||
.ui-state-default,
|
||||
.ui-widget-content .ui-state-default,
|
||||
.ui-widget-header .ui-state-default {
|
||||
background: url("../img/jquery-ui/slider-handler.png") no-repeat;
|
||||
border: none;
|
||||
width: 16px;
|
||||
height: 17px;
|
||||
top: -6px;
|
||||
outline: 0;
|
||||
}
|
||||
.ui-slider.vertical-handler .ui-state-default {
|
||||
background: url("../img/jquery-ui/slider-handler2.png") no-repeat;
|
||||
width: 11px;
|
||||
height: 21px;
|
||||
top: -8px;
|
||||
}
|
||||
.ui-slider .ui-slider-range {
|
||||
border: 1px solid #30a1ec;
|
||||
background: #4faeef;
|
||||
box-shadow: inset 0px 0px 3px 0px rgb(255, 255, 255);
|
||||
}
|
||||
.ui-slider.success .ui-slider-range {
|
||||
background: #96bf48;
|
||||
border: 1px solid rgb(121, 175, 94);
|
||||
}
|
||||
.ui-slider.info .ui-slider-range {
|
||||
background: #5ba0a3;
|
||||
border: 1px solid #5ba0a3;
|
||||
}
|
||||
|
||||
|
||||
/* Custom Dialog */
|
||||
.pop-dialog {
|
||||
z-index: 10000;
|
||||
display: inline-block;
|
||||
}
|
||||
.pop-dialog.is-visible {
|
||||
display: block;
|
||||
-webkit-animation: reveal .2s ease-out;
|
||||
-moz-animation: reveal .2s ease-out;
|
||||
animation: reveal .2s ease-out;
|
||||
}
|
||||
.pop-dialog .pointer {
|
||||
position: relative;
|
||||
top: -22px;
|
||||
}
|
||||
.pop-dialog .pointer .arrow,
|
||||
.pop-dialog .pointer .arrow_border {
|
||||
border-color: transparent transparent #fff;
|
||||
border-style: solid;
|
||||
border-width: 8px;
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
top: 7px;
|
||||
z-index: 1002;
|
||||
left: 25px;
|
||||
}
|
||||
.pop-dialog .pointer .arrow_border {
|
||||
border-color: transparent transparent #a1a1a1;
|
||||
border-width: 9px;
|
||||
top: 4px;
|
||||
z-index: 1001;
|
||||
left: 24px;
|
||||
}
|
||||
/* pop-dialog with pointer to the right */
|
||||
.pop-dialog .pointer.right .arrow {left: auto;right:25px;}
|
||||
.pop-dialog .pointer.right .arrow_border {left: auto;right:24px;}
|
||||
|
||||
.pop-dialog .body {
|
||||
width: auto;
|
||||
background-color: #fff;
|
||||
border: 1px solid #a1a1a1;
|
||||
border-radius: 5px;
|
||||
box-shadow: 0px 0px 9px 0px rgb(214, 214, 214);
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* Dropdown with dialog */
|
||||
.ui-dropdown {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
.ui-dropdown .head {
|
||||
color: #272727;
|
||||
font-size: 13px;
|
||||
position: relative;
|
||||
border: 1px solid #dedede;
|
||||
border-radius: 4px;
|
||||
padding: 4px 46px 4px 12px;
|
||||
text-shadow: 1px 1px 1px #fff;
|
||||
box-shadow: 1px 1px 4px 0px #efefef;
|
||||
cursor: pointer;
|
||||
|
||||
background: #ffffff; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #ffffff 0%, #f8f8f8 47%, #f4f4f4 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f8f8f8), color-stop(100%,#f4f4f4)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #ffffff 0%,#f8f8f8 47%,#f4f4f4 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #ffffff 0%,#f8f8f8 47%,#f4f4f4 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #ffffff 0%,#f8f8f8 47%,#f4f4f4 100%); /* IE10+ */
|
||||
background: linear-gradient(to bottom, #ffffff 0%,#f8f8f8 47%,#f4f4f4 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f4f4f4',GradientType=0 ); /* IE6-9 */
|
||||
}
|
||||
.ui-dropdown .head:hover,
|
||||
.ui-dropdown .head.active {
|
||||
background: #fefefe; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #ffffff 0%, #FDFDFD 47%, #F1F1F1 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#FDFDFD), color-stop(100%,#F1F1F1)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #ffffff 0%,#FDFDFD 47%,#F1F1F1 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #ffffff 0%,#FDFDFD 47%,#F1F1F1 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #ffffff 0%,#FDFDFD 47%,#F1F1F1 100%); /* IE10+ */
|
||||
background: linear-gradient(to bottom, #ffffff 0%,#FDFDFD 47%,#F1F1F1 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#F1F1F1',GradientType=0 ); /* IE6-9 */
|
||||
}
|
||||
.ui-dropdown .head:active,
|
||||
.ui-dropdown .head.active {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
-moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
.ui-dropdown .head i.arrow-down{
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
right: 16px;
|
||||
}
|
||||
.ui-dropdown .dialog {
|
||||
display: none;
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
top: 42px;
|
||||
z-index: 100;
|
||||
}
|
||||
.ui-dropdown .dialog.is-visible {
|
||||
display: block;
|
||||
-webkit-animation: reveal .2s ease-out;
|
||||
-moz-animation: reveal .2s ease-out;
|
||||
animation: reveal .2s ease-out;
|
||||
}
|
||||
.ui-dropdown .dialog .pointer {
|
||||
position: relative;
|
||||
top: -22px;
|
||||
}
|
||||
.ui-dropdown .dialog .pointer .arrow,
|
||||
.ui-dropdown .dialog .pointer .arrow_border {
|
||||
border-color: transparent transparent #fff;
|
||||
border-style: solid;
|
||||
border-width: 8px;
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
top: 7px;
|
||||
z-index: 1002;
|
||||
right: 25px;
|
||||
}
|
||||
.ui-dropdown .dialog .pointer .arrow_border {
|
||||
border-color: transparent transparent #a1a1a1;
|
||||
border-width: 9px;
|
||||
top: 4px;
|
||||
z-index: 1001;
|
||||
right: 24px;
|
||||
}
|
||||
.ui-dropdown .dialog .body {
|
||||
width: 440px;
|
||||
background-color: #fff;
|
||||
border: 1px solid #a1a1a1;
|
||||
border-radius: 5px;
|
||||
box-shadow: 0px 0px 9px 0px rgb(214, 214, 214);
|
||||
padding: 8px 10px 8px 10px;
|
||||
}
|
||||
.ui-dropdown .dialog .body p.title {
|
||||
font-weight: 600;
|
||||
margin-bottom: 10px;
|
||||
font-size: 13px;
|
||||
}
|
||||
.ui-dropdown .dialog .body .form { }
|
||||
.ui-dropdown .dialog .body .form select {
|
||||
display: inline-block;
|
||||
width: 120px;
|
||||
vertical-align: top;
|
||||
height: 27px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
.ui-dropdown .dialog .body .form input[type="text"] {
|
||||
height: 17px;
|
||||
width: 90px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
.ui-dropdown .dialog .body .form a {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
|
||||
@-webkit-keyframes reveal{
|
||||
0% {
|
||||
margin-left:-999px;
|
||||
opacity:0;
|
||||
}
|
||||
1% {
|
||||
margin-left:0;
|
||||
opacity:0;
|
||||
-webkit-transform:scale(0.98) translateY(-15px);
|
||||
}
|
||||
80% {
|
||||
-webkit-transform:scale(1);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform:translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-keyframes reveal {
|
||||
0% {
|
||||
margin-left:-999px;
|
||||
opacity:0;
|
||||
}
|
||||
1% {
|
||||
margin-left:0;
|
||||
opacity:0;
|
||||
-moz-transform:scale(0.98) translateY(-15px);
|
||||
}
|
||||
80% {
|
||||
-moz-transform:scale(1);
|
||||
}
|
||||
100% {
|
||||
-moz-transform:translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -1,373 +0,0 @@
|
||||
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,dl,dt,dd,ol,nav ul,nav 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;
|
||||
}
|
||||
article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {
|
||||
display: block;
|
||||
}
|
||||
ol,ul {
|
||||
list-style:none;
|
||||
margin:0px;
|
||||
padding:0px;
|
||||
}
|
||||
blockquote,q {
|
||||
quotes:none;
|
||||
}
|
||||
blockquote:before,blockquote:after,q:before,q:after {
|
||||
content:'';
|
||||
content:none;
|
||||
}
|
||||
table {
|
||||
border-collapse:collapse;
|
||||
border-spacing:0;
|
||||
}
|
||||
|
||||
/* start editing from here */
|
||||
a {
|
||||
text-decoration:none;
|
||||
}
|
||||
.txt-rt {
|
||||
text-align:right;
|
||||
}/* text align right */
|
||||
.txt-lt {
|
||||
text-align:left;
|
||||
}/* text align left */
|
||||
.txt-center {
|
||||
text-align:center;
|
||||
/*-- W3Layouts --*/
|
||||
}/* text align center */
|
||||
.float-rt {
|
||||
float:right;
|
||||
}/* float right */
|
||||
.float-lt {
|
||||
float:left;
|
||||
}/* float left */
|
||||
.clear {
|
||||
clear:both;
|
||||
}/* clear float */
|
||||
.pos-relative {
|
||||
position:relative;
|
||||
}/* Position Relative */
|
||||
.pos-absolute {
|
||||
position:absolute;
|
||||
}/* Position Absolute */
|
||||
.vertical-base {
|
||||
vertical-align:baseline;
|
||||
}/* vertical align baseline */
|
||||
.vertical-top {
|
||||
vertical-align:top;
|
||||
}/* vertical align top */
|
||||
nav.vertical ul li {
|
||||
display:block;
|
||||
}/* vertical menu */
|
||||
nav.horizontal ul li {
|
||||
display: inline-block;
|
||||
}/* horizontal menu */
|
||||
img {
|
||||
max-width:100%;
|
||||
}
|
||||
/*--- end reset code ---*/
|
||||
body {
|
||||
font-family: 'Hind', sans-serif;
|
||||
}
|
||||
a{
|
||||
transition: 0.5s all;
|
||||
-webkit-transition: 0.5s all;
|
||||
-moz-transition: 0.5s all;
|
||||
-o-transition: 0.5s all;
|
||||
-ms-transition: 0.5s all;
|
||||
text-decoration: none;
|
||||
}
|
||||
p{
|
||||
margin:0;
|
||||
font-size:1em;
|
||||
}
|
||||
.text-center{
|
||||
text-align:center;
|
||||
}
|
||||
h1.header-w3ls {
|
||||
text-align: center;
|
||||
font-size: 2.5em;
|
||||
letter-spacing: 1px;
|
||||
text-transform: uppercase;
|
||||
color: #ffffff;
|
||||
padding: 0.5em 0 0.3em;
|
||||
}
|
||||
.agileits-content {
|
||||
text-align: center;
|
||||
float:left;
|
||||
width:56%;
|
||||
background: url(../../images/error/banner.png) center no-repeat;
|
||||
background-size: cover ;
|
||||
min-height:690px;
|
||||
}
|
||||
.agileits-content h2 {
|
||||
font-family: 'Wallpoet', cursive;
|
||||
color: #000;
|
||||
font-size: 9.5em;
|
||||
margin: 1.7em 0 0 0.5em;
|
||||
}
|
||||
.agileits-content h2{
|
||||
color: #fff;
|
||||
}
|
||||
span{
|
||||
color: #fff;
|
||||
position: relative;
|
||||
top: -26px;
|
||||
}
|
||||
.w3layouts-right {
|
||||
float: left;
|
||||
width: 44%;
|
||||
background:url(../../images/error/cut.jpg)no-repeat center;
|
||||
background-size:cover;
|
||||
min-height: 690px;
|
||||
}
|
||||
.w3layouts-right h3 {
|
||||
color: #3397af;
|
||||
font-size: 2.5em;
|
||||
margin-top: 5.5em;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
.w3layouts-right h4 {
|
||||
text-transform: capitalize;
|
||||
margin: 1.5em 0 1em;
|
||||
color: #000;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
.w3ls-text{
|
||||
padding-left:5em;
|
||||
}
|
||||
.w3ls-text a {
|
||||
color: #000;
|
||||
}
|
||||
.w3ls-text a:hover {
|
||||
color: #fff;
|
||||
}
|
||||
.clearfix{
|
||||
clear:both;
|
||||
}
|
||||
.agileits-content h4 {
|
||||
font-size: 2em;
|
||||
text-align: left;
|
||||
margin: 3em 0 0 10em;
|
||||
text-transform: capitalize;
|
||||
color: #3397af;
|
||||
}
|
||||
p.copyright {
|
||||
margin:4em 0 0;
|
||||
}
|
||||
p.copyright a {
|
||||
color: #000;
|
||||
}
|
||||
p.copyright a:hover{
|
||||
color:#3397af;
|
||||
}
|
||||
/*-- background effects --*/
|
||||
/* Header */
|
||||
.w3layouts-bg {
|
||||
background: #3398af;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1920px){
|
||||
.agileits-content,.w3layouts-right {
|
||||
min-height: 1104px;
|
||||
}
|
||||
.agileits-content h2 {
|
||||
margin: 3.2em 0 0 0.5em;
|
||||
}
|
||||
.w3layouts-right h3 {
|
||||
margin-top: 9.5em;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1680px){
|
||||
.agileits-content, .w3layouts-right {
|
||||
min-height: 954px;
|
||||
}
|
||||
.agileits-content h2 {
|
||||
margin: 2.5em 0 0 0.5em;
|
||||
}
|
||||
.w3layouts-right h3 {
|
||||
margin-top: 7.5em;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1080px){
|
||||
.agileits-content h2 {
|
||||
margin: 2.5em 0 0 0em;
|
||||
}
|
||||
.w3ls-text {
|
||||
padding-left: 5em;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1024px){
|
||||
.agileits-content, .w3layouts-right {
|
||||
min-height: 477px;
|
||||
width:100%;
|
||||
}
|
||||
.w3ls-text {
|
||||
padding-left: 12em;
|
||||
}
|
||||
.agileits-content h2 {
|
||||
margin: 1em 0 0 0.5em;
|
||||
}
|
||||
.w3layouts-right h3 {
|
||||
margin-top: 1.5em;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1024px){
|
||||
.agileits-content h2 {
|
||||
font-size:8.5em;
|
||||
margin: 1.2em 0 0 0.5em;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 800px){
|
||||
.agileits-content, .w3layouts-right {
|
||||
min-height: 412px;
|
||||
}
|
||||
.agileits-content h2 {
|
||||
font-size: 7.5em;
|
||||
margin: 1.1em 0 0 0.5em;
|
||||
}
|
||||
.w3ls-text {
|
||||
padding-left: 10em;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 667px){
|
||||
.agileits-content h2 {
|
||||
font-size: 7em;
|
||||
margin: 1.3em 0 0 0.5em;
|
||||
}
|
||||
.w3ls-text {
|
||||
padding-left: 8em;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 640px){
|
||||
.w3ls-text {
|
||||
padding-left: 6em;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 600px){
|
||||
h1.header-w3ls {
|
||||
font-size: 2.3em;
|
||||
}
|
||||
.w3ls-text {
|
||||
padding-left: 4em;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 568px){
|
||||
.w3ls-text {
|
||||
padding-left: 3em;
|
||||
}
|
||||
.agileits-content, .w3layouts-right {
|
||||
min-height: 384px;
|
||||
}
|
||||
.w3layouts-right h4 {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
.agileits-content h2 {
|
||||
font-size: 6em;
|
||||
margin: 1.4em 0 0 0.5em;
|
||||
}
|
||||
.w3layouts-right h3 {
|
||||
font-size: 2.3em;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 480px){
|
||||
.w3layouts-right h3 {
|
||||
margin-top: 1em;
|
||||
}
|
||||
p.copyright {
|
||||
margin: 2em 0 0;
|
||||
}
|
||||
.agileits-content, .w3layouts-right {
|
||||
min-height: 356px;
|
||||
}
|
||||
.agileits-content h2 {
|
||||
font-size: 5em;
|
||||
margin: 1.65em 0 0 0.5em;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 414px){
|
||||
h1.header-w3ls {
|
||||
font-size: 2.1em;
|
||||
}
|
||||
.agileits-content, .w3layouts-right {
|
||||
min-height: 360px;
|
||||
}
|
||||
.agileits-content h2 {
|
||||
font-size: 4.5em;
|
||||
margin: 1.9em 0 0 0.5em;
|
||||
}
|
||||
.w3layouts-right h3 {
|
||||
font-size: 2.2em;
|
||||
margin:0;
|
||||
}
|
||||
.w3layouts-right h4 {
|
||||
font-size: 1.1em;
|
||||
margin: 1em 0 1em;
|
||||
}
|
||||
.w3ls-text {
|
||||
padding: 2em;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 384px){
|
||||
.w3layouts-right h3 {
|
||||
font-size: 2em;
|
||||
}
|
||||
h1.header-w3ls {
|
||||
font-size: 1.8em;
|
||||
}
|
||||
.w3layouts-right{
|
||||
min-height: 421px;
|
||||
}
|
||||
.agileits-content{
|
||||
min-height: 310px;
|
||||
}
|
||||
.w3layouts-right h4 {
|
||||
font-size: 1em;
|
||||
}
|
||||
.agileits-content h2 {
|
||||
margin: 1.6em 0 0 0.5em;
|
||||
}
|
||||
.w3ls-text {
|
||||
padding: 2em 1em 0 1.5em;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 375px){
|
||||
.w3layouts-right h3 {
|
||||
font-size: 1.8em;
|
||||
}
|
||||
.w3layouts-right h4 {
|
||||
font-size: 1em;
|
||||
}
|
||||
p {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
.agileits-content h2 {
|
||||
margin: 1.9em 0 0 0.5em;
|
||||
font-size: 4em;
|
||||
}
|
||||
.w3ls-text {
|
||||
padding: 2em 0.8em 2em 1.5em;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 320px){
|
||||
h1.header-w3ls {
|
||||
font-size: 1.7em;
|
||||
}
|
||||
.w3ls-text {
|
||||
padding: 3em 0.8em 2em 1.5em;
|
||||
}
|
||||
.w3layouts-right {
|
||||
min-height: 404px;
|
||||
}
|
||||
.agileits-content {
|
||||
min-height: 330px;
|
||||
}
|
||||
.agileits-content h2 {
|
||||
margin: 2em 0 0 0.5em;
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1,115 +0,0 @@
|
||||
i.tool{
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
background: url("../../images/icons/btn-tool.png") no-repeat;
|
||||
display: inline-block;
|
||||
margin-top: 1px;
|
||||
*margin-right: .3em;
|
||||
line-height: 14px;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
i.arrow-down {
|
||||
background: url("../../images/icons/ico-arrow-black.png") no-repeat;
|
||||
width: 9px;
|
||||
height: 6px;
|
||||
display: inline-block;
|
||||
margin-top: 1px;
|
||||
*margin-right: .3em;
|
||||
line-height: 14px;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
i.shuffle{
|
||||
background: url("../../images/icons/btn-shuffle.png") no-repeat;
|
||||
display: inline-block;
|
||||
height: 13px;
|
||||
width: 18px;
|
||||
margin-top: 1px;
|
||||
*margin-right: .3em;
|
||||
line-height: 14px;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
i.setting{
|
||||
background: url("../../images/icons/btn-setting.png") no-repeat;
|
||||
display: inline-block;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
margin-top: 1px;
|
||||
*margin-right: .3em;
|
||||
line-height: 14px;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
i.attach{
|
||||
background: url("../../images/icons/btn-attach.png") no-repeat;
|
||||
display: inline-block;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
margin-top: 1px;
|
||||
*margin-right: .3em;
|
||||
line-height: 14px;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
i.ico-phone{
|
||||
background: url("../../images/icons/ico-phone.png") no-repeat;
|
||||
height: 18px;
|
||||
width: 13px;
|
||||
margin-top: 1px;
|
||||
*margin-right: .3em;
|
||||
line-height: 14px;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
i.ico-mail{
|
||||
background: url("../../images/icons/ico-mail.png") no-repeat;
|
||||
height:11px;
|
||||
width: 17px;
|
||||
margin-top: 1px;
|
||||
*margin-right: .3em;
|
||||
line-height: 14px;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
i.gallery-edit{
|
||||
background: url("../../images/icons/ico-gallery-edit.png") no-repeat;
|
||||
height:20px;
|
||||
width: 20px;
|
||||
margin-top: 1px;
|
||||
*margin-right: .3em;
|
||||
line-height: 14px;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
i.gallery-trash{
|
||||
background: url("../../images/icons/ico-gallery-trash.png") no-repeat;
|
||||
height:19px;
|
||||
width: 17px;
|
||||
margin-top: 1px;
|
||||
*margin-right: .3em;
|
||||
line-height: 14px;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
i.table-edit{
|
||||
background: url("../../images/icons/ico-table-new.png") no-repeat;
|
||||
width: 14px;
|
||||
height: 13px;
|
||||
display: inline-block;
|
||||
margin-top: 1px;
|
||||
*margin-right: .3em;
|
||||
line-height: 14px;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
i.table-settings{
|
||||
background: url("../../images/icons/ico-table-edit.png") no-repeat;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
top: 1px;
|
||||
}
|
||||
i.table-delete{
|
||||
background: url("../../images/icons/ico-table-delete.png") no-repeat;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
display: inline-block;
|
||||
margin-top: 1px;
|
||||
*margin-right: .3em;
|
||||
line-height: 14px;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
|
@ -1,38 +0,0 @@
|
||||
.ones {
|
||||
background: url(../../images/home/27.jpg) no-repeat fixed;
|
||||
/*background: url("../../images/home/27.jpg");*/
|
||||
}
|
||||
.twos {
|
||||
background: url(../../images/home/img/2.jpg)no-repeat fixed;
|
||||
}
|
||||
.threes {
|
||||
background: url(../../images/home/img/3.jpg)no-repeat fixed;
|
||||
}
|
||||
|
||||
.fours {
|
||||
background: url(../../images/home/img/4.jpg)no-repeat fixed;
|
||||
}
|
||||
.ones,
|
||||
.twos,
|
||||
.threes,
|
||||
.fours {
|
||||
background-size: cover;
|
||||
-webkit-background-size: cover;
|
||||
-moz-background-size: cover;
|
||||
-o-background-size: cover;
|
||||
-ms-background-size: cover;
|
||||
min-height: 795px;
|
||||
}
|
||||
.container{
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
/*height: 100%;*/
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.esed{
|
||||
width: 500px;
|
||||
/*position: absolute; !* 这里我们将box元素设置为绝对定位 *!*/
|
||||
/*top: -200px;*/
|
||||
/*left: 500px;*/
|
||||
}
|
@ -1,100 +0,0 @@
|
||||
@charset "utf-8";
|
||||
html, body {
|
||||
font-family: "微软雅黑"
|
||||
}
|
||||
|
||||
div.slideBox {
|
||||
position: relative;
|
||||
width: 670px;
|
||||
height: 300px;
|
||||
overflow: hidden;
|
||||
margin-top: 20px;
|
||||
|
||||
}
|
||||
|
||||
div.slideBox ul.items {
|
||||
position: absolute;
|
||||
float: left;
|
||||
background: none;
|
||||
list-style: none;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
div.slideBox ul.items li {
|
||||
float: left;
|
||||
background: none;
|
||||
list-style: none;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
div.slideBox ul.items li a {
|
||||
float: left;
|
||||
line-height: normal !important;
|
||||
padding: 0px !important;
|
||||
border: none /*For IE.ADD.JENA.201206300844*/;
|
||||
}
|
||||
|
||||
div.slideBox ul.items li a img {
|
||||
margin: 0px !important;
|
||||
padding: 0px !important;
|
||||
display: block;
|
||||
border: none /*For IE.ADD.JENA.201206300844*/;
|
||||
}
|
||||
|
||||
div.slideBox div.tips {
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
background-color: #000;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
div.slideBox div.tips div.title {
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
div.slideBox div.tips div.title a {
|
||||
color: #FFF;
|
||||
font-size: 18px;
|
||||
line-height: 50px;
|
||||
margin-left: 10px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
div.slideBox div.tips div.title a:hover {
|
||||
text-decoration: underline !important;
|
||||
}
|
||||
|
||||
div.slideBox div.tips div.nums {
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
top: 0px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
div.slideBox div.tips div.nums a {
|
||||
display: inline-block;
|
||||
> float: left /*For IE.ADD.JENA.201206300844*/;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background-color: #FFF;
|
||||
text-indent: -99999px;
|
||||
margin: 15px 10px 0px 0px;
|
||||
}
|
||||
|
||||
div.slideBox div.tips div.nums a.active {
|
||||
background-color: #093;
|
||||
}
|
||||
|
||||
.my-img{
|
||||
width: 1000px;
|
||||
height: 500px;
|
||||
}
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue