Commit 88e3b77845e3833d1d6575fcf1252ecfa76cb524
Merge branch 'minhang' of http://222.66.0.204:8090//panzhaov5/bsth_control into minhang
Showing
70 changed files
with
998 additions
and
495 deletions
src/main/java/com/bsth/common/Constants.java
| @@ -36,4 +36,14 @@ public class Constants { | @@ -36,4 +36,14 @@ public class Constants { | ||
| 36 | 36 | ||
| 37 | public static final String SESSION_USERNAME = "sessionUserName"; | 37 | public static final String SESSION_USERNAME = "sessionUserName"; |
| 38 | public static final String COMPANY_AUTHORITYS = "cmyAuths"; | 38 | public static final String COMPANY_AUTHORITYS = "cmyAuths"; |
| 39 | + | ||
| 40 | + /** | ||
| 41 | + * 解除调度指令和班次的外键约束 | ||
| 42 | + */ | ||
| 43 | + public static final String REMOVE_DIRECTIVE_SCH_FK = "update bsth_v_directive_60 set sch=NULL where sch=?"; | ||
| 44 | + | ||
| 45 | + /** | ||
| 46 | + * 批量解除调度指令和班次的外键约束 | ||
| 47 | + */ | ||
| 48 | + public static final String MULTI_REMOVE_DIRECTIVE_SCH_FK = "update bsth_v_directive_60 set sch=NULL where sch in "; | ||
| 39 | } | 49 | } |
src/main/java/com/bsth/controller/realcontrol/anomalyCheckController.java
0 → 100644
| 1 | +package com.bsth.controller.realcontrol; | ||
| 2 | + | ||
| 3 | +import com.bsth.data.schedule.DayOfSchedule; | ||
| 4 | +import com.bsth.entity.realcontrol.ScheduleRealInfo; | ||
| 5 | +import org.slf4j.Logger; | ||
| 6 | +import org.slf4j.LoggerFactory; | ||
| 7 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 8 | +import org.springframework.web.bind.annotation.RequestMapping; | ||
| 9 | +import org.springframework.web.bind.annotation.RequestMethod; | ||
| 10 | +import org.springframework.web.bind.annotation.RequestParam; | ||
| 11 | +import org.springframework.web.bind.annotation.RestController; | ||
| 12 | + | ||
| 13 | +import java.util.HashSet; | ||
| 14 | +import java.util.List; | ||
| 15 | +import java.util.Set; | ||
| 16 | + | ||
| 17 | +/** | ||
| 18 | + * 相关数据异常检测 | ||
| 19 | + * Created by panzhao on 2017/4/14. | ||
| 20 | + */ | ||
| 21 | +@RestController | ||
| 22 | +@RequestMapping("anomalyCheck") | ||
| 23 | +public class anomalyCheckController { | ||
| 24 | + | ||
| 25 | + | ||
| 26 | + Logger logger = LoggerFactory.getLogger(this.getClass()); | ||
| 27 | + | ||
| 28 | + @Autowired | ||
| 29 | + DayOfSchedule dayOfSchedule; | ||
| 30 | + /** | ||
| 31 | + * 出现重复班次的车辆 | ||
| 32 | + * @param nbbm | ||
| 33 | + */ | ||
| 34 | + @RequestMapping(value = "/schRepeat", method = RequestMethod.POST) | ||
| 35 | + public void schRepeat(@RequestParam String nbbm){ | ||
| 36 | + logger.info("前端通知,车辆 " + nbbm + "出现重复班次,开始检测..."); | ||
| 37 | + List<ScheduleRealInfo> list = dayOfSchedule.findByNbbm(nbbm); | ||
| 38 | + | ||
| 39 | + Set<ScheduleRealInfo> set = new HashSet<>(); | ||
| 40 | + for(ScheduleRealInfo sch : list){ | ||
| 41 | + if(!set.add(sch)){ | ||
| 42 | + logger.info("出现一次重复班次,班次ID:" + sch.getId()); | ||
| 43 | + } | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + if(set.size() > 0){ | ||
| 47 | + dayOfSchedule.replaceByNbbm(nbbm, set); | ||
| 48 | + } | ||
| 49 | + } | ||
| 50 | +} |
src/main/java/com/bsth/controller/sys/UserController.java
| @@ -237,4 +237,9 @@ public class UserController extends BaseController<SysUser, Integer> { | @@ -237,4 +237,9 @@ public class UserController extends BaseController<SysUser, Integer> { | ||
| 237 | } | 237 | } |
| 238 | return msg; | 238 | return msg; |
| 239 | } | 239 | } |
| 240 | + | ||
| 241 | + @RequestMapping(value = "/register" ,method = RequestMethod.POST) | ||
| 242 | + public Map<String, Object> register(SysUser u){ | ||
| 243 | + return sysUserService.register(u); | ||
| 244 | + } | ||
| 240 | } | 245 | } |
src/main/java/com/bsth/data/schedule/DayOfSchedule.java
| @@ -3,6 +3,7 @@ package com.bsth.data.schedule; | @@ -3,6 +3,7 @@ package com.bsth.data.schedule; | ||
| 3 | import com.alibaba.fastjson.JSON; | 3 | import com.alibaba.fastjson.JSON; |
| 4 | import com.alibaba.fastjson.JSONArray; | 4 | import com.alibaba.fastjson.JSONArray; |
| 5 | import com.bsth.Application; | 5 | import com.bsth.Application; |
| 6 | +import com.bsth.common.Constants; | ||
| 6 | import com.bsth.common.ResponseCode; | 7 | import com.bsth.common.ResponseCode; |
| 7 | import com.bsth.data.BasicData; | 8 | import com.bsth.data.BasicData; |
| 8 | import com.bsth.data.LineConfigData; | 9 | import com.bsth.data.LineConfigData; |
| @@ -27,6 +28,8 @@ import org.slf4j.LoggerFactory; | @@ -27,6 +28,8 @@ import org.slf4j.LoggerFactory; | ||
| 27 | import org.springframework.beans.factory.annotation.Autowired; | 28 | import org.springframework.beans.factory.annotation.Autowired; |
| 28 | import org.springframework.boot.CommandLineRunner; | 29 | import org.springframework.boot.CommandLineRunner; |
| 29 | import org.springframework.core.annotation.Order; | 30 | import org.springframework.core.annotation.Order; |
| 31 | +import org.springframework.dao.DataIntegrityViolationException; | ||
| 32 | +import org.springframework.jdbc.core.JdbcTemplate; | ||
| 30 | import org.springframework.stereotype.Component; | 33 | import org.springframework.stereotype.Component; |
| 31 | 34 | ||
| 32 | import java.text.ParseException; | 35 | import java.text.ParseException; |
| @@ -855,6 +858,9 @@ public class DayOfSchedule implements CommandLineRunner { | @@ -855,6 +858,9 @@ public class DayOfSchedule implements CommandLineRunner { | ||
| 855 | return false; | 858 | return false; |
| 856 | } | 859 | } |
| 857 | 860 | ||
| 861 | + | ||
| 862 | + @Autowired | ||
| 863 | + JdbcTemplate jdbcTemplate; | ||
| 858 | /** | 864 | /** |
| 859 | * 删除实际排班 | 865 | * 删除实际排班 |
| 860 | * @param lineCode | 866 | * @param lineCode |
| @@ -866,20 +872,33 @@ public class DayOfSchedule implements CommandLineRunner { | @@ -866,20 +872,33 @@ public class DayOfSchedule implements CommandLineRunner { | ||
| 866 | try { | 872 | try { |
| 867 | String rq = currSchDateMap.get(lineCode); | 873 | String rq = currSchDateMap.get(lineCode); |
| 868 | if(StringUtils.isNotEmpty(rq)){ | 874 | if(StringUtils.isNotEmpty(rq)){ |
| 875 | + List<ScheduleRealInfo> all = findByLineCode(lineCode); | ||
| 869 | //解除gps 和班次之间的关联 | 876 | //解除gps 和班次之间的关联 |
| 870 | - List<ScheduleRealInfo> unions = calcUnion(findByLineCode(lineCode), carExecutePlanMap.values()); | 877 | + List<ScheduleRealInfo> unions = calcUnion(all, carExecutePlanMap.values()); |
| 871 | for(ScheduleRealInfo sch : unions){ | 878 | for(ScheduleRealInfo sch : unions){ |
| 872 | removeExecPlan(sch.getClZbh()); | 879 | removeExecPlan(sch.getClZbh()); |
| 873 | } | 880 | } |
| 881 | + //解除调度指令和班次的外键约束 | ||
| 882 | + StringBuilder inStr = new StringBuilder("("); | ||
| 883 | + for(ScheduleRealInfo sch : all){ | ||
| 884 | + inStr.append(sch.getId() + ","); | ||
| 885 | + } | ||
| 886 | + inStr.deleteCharAt(inStr.length() - 1).append(")"); | ||
| 887 | + jdbcTemplate.update(Constants.MULTI_REMOVE_DIRECTIVE_SCH_FK + " " + inStr.toString()); | ||
| 874 | 888 | ||
| 875 | //删除班次数据 | 889 | //删除班次数据 |
| 876 | removeRealSch(lineCode, rq); | 890 | removeRealSch(lineCode, rq); |
| 877 | //删除相关班次修正记录 | 891 | //删除相关班次修正记录 |
| 892 | + | ||
| 878 | } | 893 | } |
| 879 | rs.put("status", ResponseCode.SUCCESS); | 894 | rs.put("status", ResponseCode.SUCCESS); |
| 880 | }catch (Exception e){ | 895 | }catch (Exception e){ |
| 881 | logger.error("", e); | 896 | logger.error("", e); |
| 882 | rs.put("status", ResponseCode.ERROR); | 897 | rs.put("status", ResponseCode.ERROR); |
| 898 | + if(e instanceof DataIntegrityViolationException) | ||
| 899 | + rs.put("msg", "失败,违反数据约束!!"); | ||
| 900 | + else | ||
| 901 | + rs.put("msg", e.getMessage()); | ||
| 883 | } | 902 | } |
| 884 | 903 | ||
| 885 | return rs; | 904 | return rs; |
| @@ -902,4 +921,16 @@ public class DayOfSchedule implements CommandLineRunner { | @@ -902,4 +921,16 @@ public class DayOfSchedule implements CommandLineRunner { | ||
| 902 | } | 921 | } |
| 903 | return rs; | 922 | return rs; |
| 904 | } | 923 | } |
| 924 | + | ||
| 925 | + /** | ||
| 926 | + * 覆盖一辆车的所有班次 | ||
| 927 | + * @param nbbm | ||
| 928 | + * @param sets | ||
| 929 | + */ | ||
| 930 | + public void replaceByNbbm(String nbbm, Set<ScheduleRealInfo> sets){ | ||
| 931 | + nbbmScheduleMap.removeAll(nbbm); | ||
| 932 | + nbbmScheduleMap.putAll(nbbm, sets); | ||
| 933 | + //重新计算班次应到时间 | ||
| 934 | + updateQdzTimePlan(nbbm); | ||
| 935 | + } | ||
| 905 | } | 936 | } |
| 906 | \ No newline at end of file | 937 | \ No newline at end of file |
src/main/java/com/bsth/data/schedule/late_adjust/LateAdjustHandle.java
0 → 100644
src/main/java/com/bsth/entity/mcy_forms/Shiftuehiclemanth.java
| @@ -22,6 +22,17 @@ public class Shiftuehiclemanth { | @@ -22,6 +22,17 @@ public class Shiftuehiclemanth { | ||
| 22 | 22 | ||
| 23 | private String jgh; | 23 | private String jgh; |
| 24 | private String zbh; | 24 | private String zbh; |
| 25 | + public String getSgh() { | ||
| 26 | + return sgh; | ||
| 27 | + } | ||
| 28 | + | ||
| 29 | + public void setSgh(String sgh) { | ||
| 30 | + this.sgh = sgh; | ||
| 31 | + } | ||
| 32 | + | ||
| 33 | + private String sgh; | ||
| 34 | + | ||
| 35 | + | ||
| 25 | public String getJgh() { | 36 | public String getJgh() { |
| 26 | return jgh; | 37 | return jgh; |
| 27 | } | 38 | } |
src/main/java/com/bsth/entity/realcontrol/ScheduleRealInfo.java
| @@ -773,6 +773,7 @@ public class ScheduleRealInfo { | @@ -773,6 +773,7 @@ public class ScheduleRealInfo { | ||
| 773 | public void destroy(){ | 773 | public void destroy(){ |
| 774 | this.jhlc = 0.0; | 774 | this.jhlc = 0.0; |
| 775 | this.status = -1; | 775 | this.status = -1; |
| 776 | + this.clearFcsjActual(); | ||
| 776 | } | 777 | } |
| 777 | 778 | ||
| 778 | public boolean isDestroy(){ | 779 | public boolean isDestroy(){ |
src/main/java/com/bsth/service/forms/impl/FormsServiceImpl.java
| @@ -156,7 +156,10 @@ public class FormsServiceImpl implements FormsService { | @@ -156,7 +156,10 @@ public class FormsServiceImpl implements FormsService { | ||
| 156 | if(map.containsKey("fgsdmManth")){ | 156 | if(map.containsKey("fgsdmManth")){ |
| 157 | fgsdmManth=map.get("fgsdmManth").toString(); | 157 | fgsdmManth=map.get("fgsdmManth").toString(); |
| 158 | } | 158 | } |
| 159 | - String sql = "select r.j_name,r.cl_zbh,r.j_gh,r.gs_bm,r.gs_name,r.fgs_bm,r.fgs_name,r.bc_type,r.s_name,r.lp_name " | 159 | + String sql = "select" |
| 160 | + + " r.j_name, r.cl_zbh,r.j_gh,r.s_gh,r.s_name " | ||
| 161 | +// + "r.gs_bm,r.gs_name," | ||
| 162 | +// + " r.fgs_bm,r.fgs_name,r.bc_type,r.lp_name " | ||
| 160 | + " from bsth_c_s_sp_info_real r " | 163 | + " from bsth_c_s_sp_info_real r " |
| 161 | + " where 1=1 "; | 164 | + " where 1=1 "; |
| 162 | if(map.get("startDate")!=null&&!map.get("startDate").equals("")){ | 165 | if(map.get("startDate")!=null&&!map.get("startDate").equals("")){ |
| @@ -169,19 +172,23 @@ public class FormsServiceImpl implements FormsService { | @@ -169,19 +172,23 @@ public class FormsServiceImpl implements FormsService { | ||
| 169 | if(map.get("line")!=null&&!map.get("line").equals("")){ | 172 | if(map.get("line")!=null&&!map.get("line").equals("")){ |
| 170 | sql+=" and r.xl_bm='"+ map.get("line").toString() + "' "; | 173 | sql+=" and r.xl_bm='"+ map.get("line").toString() + "' "; |
| 171 | } | 174 | } |
| 172 | - sql+= " AND r.gs_bm is not null and r.bc_type not in('in','out')"; | ||
| 173 | - if(map.get("gsdmManth")!=null&&!map.get("gsdmManth").equals("")){ | ||
| 174 | - sql+=" and r.gs_bm='"+map.get("gsdmManth").toString()+"' "; | ||
| 175 | - } | 175 | +// sql+= " AND r.gs_bm is not null and r.bc_type not in('in','out')"; |
| 176 | +// if(map.get("gsdmManth")!=null&&!map.get("gsdmManth").equals("")){ | ||
| 177 | + sql+=" and r.gs_bm like'%"+gsdmManth+"%' "; | ||
| 178 | +// } | ||
| 176 | if(map.get("fgsdmManth")!=null&&!map.get("fgsdmManth").equals("")){ | 179 | if(map.get("fgsdmManth")!=null&&!map.get("fgsdmManth").equals("")){ |
| 177 | - sql+=" and r.fgs_bm='"+map.get("fgsdmManth").toString()+"' "; | 180 | + sql+=" and r.fgs_bm like'%"+fgsdmManth+"%' "; |
| 178 | } | 181 | } |
| 179 | if(empnames.equals("售票员")){ | 182 | if(empnames.equals("售票员")){ |
| 180 | sql+="and r.s_name is not null AND r.s_name !=''"; | 183 | sql+="and r.s_name is not null AND r.s_name !=''"; |
| 181 | } | 184 | } |
| 182 | - sql += " GROUP BY r.j_name,r.cl_zbh,r.j_gh,r.gs_bm,r.gs_name,r.fgs_bm,r.fgs_name,r.bc_type "; | 185 | + sql += " GROUP BY " |
| 186 | + + "r.j_name, r.cl_zbh,r.j_gh,r.s_gh,r.s_name "; | ||
| 187 | +// + ",r.gs_bm,r.gs_name," | ||
| 188 | +// + "r.fgs_bm,r.fgs_name,r.bc_type "; | ||
| 183 | 189 | ||
| 184 | - | 190 | +// r.j_name,r.cl_zbh,r.j_gh,r.gs_bm,r.gs_name," |
| 191 | +// + " r.fgs_bm,r.fgs_name,r.bc_type,r.s_name,r.lp_name | ||
| 185 | List<Shiftuehiclemanth> list = jdbcTemplate.query(sql, new RowMapper<Shiftuehiclemanth>() { | 192 | List<Shiftuehiclemanth> list = jdbcTemplate.query(sql, new RowMapper<Shiftuehiclemanth>() { |
| 186 | 193 | ||
| 187 | @Override | 194 | @Override |
| @@ -191,12 +198,13 @@ public class FormsServiceImpl implements FormsService { | @@ -191,12 +198,13 @@ public class FormsServiceImpl implements FormsService { | ||
| 191 | shif.setjName(arg0.getString("j_name")); | 198 | shif.setjName(arg0.getString("j_name")); |
| 192 | }else if(empnames.equals("售票员")){ | 199 | }else if(empnames.equals("售票员")){ |
| 193 | shif.setjName(arg0.getString("s_name")==null ? "":arg0.getString("s_name")); | 200 | shif.setjName(arg0.getString("s_name")==null ? "":arg0.getString("s_name")); |
| 201 | + shif.setSgh(arg0.getString("s_gh")==null ? "":arg0.getString("s_gh")); | ||
| 194 | }else if(empnames.equals("车辆自编号")){ | 202 | }else if(empnames.equals("车辆自编号")){ |
| 195 | shif.setjName(arg0.getString("cl_zbh")); | 203 | shif.setjName(arg0.getString("cl_zbh")); |
| 196 | } | 204 | } |
| 197 | - | ||
| 198 | shif.setJgh(arg0.getString("j_gh")); | 205 | shif.setJgh(arg0.getString("j_gh")); |
| 199 | shif.setZbh(arg0.getString("cl_zbh")); | 206 | shif.setZbh(arg0.getString("cl_zbh")); |
| 207 | +// shif.setjName(arg0.getString("s_gh")==null ? "":arg0.getString("s_gh")); | ||
| 200 | return shif; | 208 | return shif; |
| 201 | } | 209 | } |
| 202 | }); | 210 | }); |
| @@ -208,9 +216,26 @@ public class FormsServiceImpl implements FormsService { | @@ -208,9 +216,26 @@ public class FormsServiceImpl implements FormsService { | ||
| 208 | Shiftuehiclemanth d=list.get(i); | 216 | Shiftuehiclemanth d=list.get(i); |
| 209 | for (int j = 0; j < lists.size(); j++) { | 217 | for (int j = 0; j < lists.size(); j++) { |
| 210 | ScheduleRealInfo s=lists.get(j); | 218 | ScheduleRealInfo s=lists.get(j); |
| 211 | - if(d.getJgh().equals(s.getjGh()) && d.getZbh().equals(s.getClZbh())){ | ||
| 212 | - sList.add(s); | 219 | +// if(d.getJgh().equals(s.getjGh()) && d.getZbh().equals(s.getClZbh())){ |
| 220 | +// sList.add(s); | ||
| 221 | +// } | ||
| 222 | + | ||
| 223 | + if(empnames.equals("驾驶员")){ | ||
| 224 | + if(d.getJgh().equals(s.getjGh()) && d.getZbh().equals(s.getClZbh())){ | ||
| 225 | + sList.add(s); | ||
| 226 | + } | ||
| 227 | + }else if(empnames.equals("售票员")){ | ||
| 228 | +// shif.setjName(arg0.getString("s_name")==null ? "":arg0.getString("s_name")); | ||
| 229 | + String sgh=s.getsGh()==null?"":s.getsGh(); | ||
| 230 | + if(d.getSgh().equals(sgh) && d.getZbh().equals(s.getClZbh())){ | ||
| 231 | + sList.add(s); | ||
| 232 | + } | ||
| 233 | + }else if(empnames.equals("车辆自编号")){ | ||
| 234 | + if(d.getZbh().equals(s.getClZbh())){ | ||
| 235 | + sList.add(s); | ||
| 236 | + } | ||
| 213 | } | 237 | } |
| 238 | + | ||
| 214 | } | 239 | } |
| 215 | 240 | ||
| 216 | double ksgl=culateMileageService.culateKsgl(sList); | 241 | double ksgl=culateMileageService.culateKsgl(sList); |
| @@ -258,13 +283,16 @@ public class FormsServiceImpl implements FormsService { | @@ -258,13 +283,16 @@ public class FormsServiceImpl implements FormsService { | ||
| 258 | if(map.get("fgsdmShif")!=null&&!map.get("fgsdmShif").equals("")){ | 283 | if(map.get("fgsdmShif")!=null&&!map.get("fgsdmShif").equals("")){ |
| 259 | fgsdmShif =map.get("fgsdmShif").toString(); | 284 | fgsdmShif =map.get("fgsdmShif").toString(); |
| 260 | } | 285 | } |
| 261 | - String sql ="select t.* from (select r.schedule_date,r.j_name,IFNULL(r.s_name,'')as s_name," | ||
| 262 | - + " r.cl_zbh,r.xl_bm, r.j_gh,r.gs_bm,r.fgs_bm,r.lp_name FROM bsth_c_s_sp_info_real r where 1=1 " | 286 | + String sql ="select t.* from (select r.schedule_date,r.j_name," |
| 287 | + + "IFNULL(r.s_name,'')as s_name," | ||
| 288 | + + " r.cl_zbh,r.xl_bm, r.j_gh,r.gs_bm,r.fgs_bm,r.lp_name " | ||
| 289 | + + "FROM bsth_c_s_sp_info_real r where 1=1 " | ||
| 263 | + " and to_days(r.schedule_date)=to_days('"+date + "') " | 290 | + " and to_days(r.schedule_date)=to_days('"+date + "') " |
| 264 | + " and r.xl_bm like '%"+line+"%' " | 291 | + " and r.xl_bm like '%"+line+"%' " |
| 265 | + " and r.gs_bm like '%"+gsdmShif+"%' " | 292 | + " and r.gs_bm like '%"+gsdmShif+"%' " |
| 266 | + " and r.fgs_bm like '%"+fgsdmShif+"%' ) t" | 293 | + " and r.fgs_bm like '%"+fgsdmShif+"%' ) t" |
| 267 | - + " GROUP BY t.schedule_date,t.j_name,t.s_name, t.cl_zbh,t.xl_bm,t.j_gh,t.gs_bm,t.fgs_bm "; | 294 | + + " GROUP BY t.schedule_date,t.j_name,t.s_name, " |
| 295 | + + "t.cl_zbh,t.xl_bm,t.j_gh,t.gs_bm,t.fgs_bm,t.lp_name "; | ||
| 268 | 296 | ||
| 269 | 297 | ||
| 270 | List<Shifday> list = jdbcTemplate.query(sql, new RowMapper<Shifday>() { | 298 | List<Shifday> list = jdbcTemplate.query(sql, new RowMapper<Shifday>() { |
| @@ -806,7 +834,7 @@ public class FormsServiceImpl implements FormsService { | @@ -806,7 +834,7 @@ public class FormsServiceImpl implements FormsService { | ||
| 806 | + " and y.ssgsdm like '%"+gsbm+"%' " | 834 | + " and y.ssgsdm like '%"+gsbm+"%' " |
| 807 | + " and y.fgsdm like '%"+fgsbm+"%'" | 835 | + " and y.fgsdm like '%"+fgsbm+"%'" |
| 808 | + " ) x" | 836 | + " ) x" |
| 809 | - + " on t.cl_zbh = x.nbbm "; | 837 | + + " on t.cl_zbh = x.nbbm and t.j_gh=x.jsy"; |
| 810 | 838 | ||
| 811 | List<Daily> list = jdbcTemplate.query(sql, new RowMapper<Daily>() { | 839 | List<Daily> list = jdbcTemplate.query(sql, new RowMapper<Daily>() { |
| 812 | @Override | 840 | @Override |
src/main/java/com/bsth/service/oil/impl/DlbServiceImpl.java
| @@ -106,8 +106,6 @@ public class DlbServiceImpl extends BaseServiceImpl<Dlb,Integer> implements DlbS | @@ -106,8 +106,6 @@ public class DlbServiceImpl extends BaseServiceImpl<Dlb,Integer> implements DlbS | ||
| 106 | List<Cdl> cdyList=cdlRepository.obtainCdl(); | 106 | List<Cdl> cdyList=cdlRepository.obtainCdl(); |
| 107 | //从排班表中计算出行驶的总里程 | 107 | //从排班表中计算出行驶的总里程 |
| 108 | List<Map<String,Object>> listpb=scheduleRealInfoService.yesterdayDataList(line,rq,"","","",""); | 108 | List<Map<String,Object>> listpb=scheduleRealInfoService.yesterdayDataList(line,rq,"","","",""); |
| 109 | - List<Ylb> addList=new ArrayList<Ylb>(); | ||
| 110 | - List<Ylb> updateList=new ArrayList<Ylb>(); | ||
| 111 | for(int x=0;x<listpb.size();x++){ | 109 | for(int x=0;x<listpb.size();x++){ |
| 112 | String type="add"; | 110 | String type="add"; |
| 113 | boolean sfdc=false; | 111 | boolean sfdc=false; |
src/main/java/com/bsth/service/realcontrol/impl/ScheduleRealInfoServiceImpl.java
| @@ -3,6 +3,7 @@ package com.bsth.service.realcontrol.impl; | @@ -3,6 +3,7 @@ package com.bsth.service.realcontrol.impl; | ||
| 3 | import com.alibaba.fastjson.JSON; | 3 | import com.alibaba.fastjson.JSON; |
| 4 | import com.alibaba.fastjson.JSONArray; | 4 | import com.alibaba.fastjson.JSONArray; |
| 5 | import com.alibaba.fastjson.JSONObject; | 5 | import com.alibaba.fastjson.JSONObject; |
| 6 | +import com.bsth.common.Constants; | ||
| 6 | import com.bsth.common.ResponseCode; | 7 | import com.bsth.common.ResponseCode; |
| 7 | import com.bsth.controller.realcontrol.dto.ChangePersonCar; | 8 | import com.bsth.controller.realcontrol.dto.ChangePersonCar; |
| 8 | import com.bsth.controller.realcontrol.dto.DfsjChange; | 9 | import com.bsth.controller.realcontrol.dto.DfsjChange; |
| @@ -400,25 +401,33 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -400,25 +401,33 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 400 | Map<String, Object> rs = new HashMap<>(); | 401 | Map<String, Object> rs = new HashMap<>(); |
| 401 | rs.put("status", ResponseCode.ERROR); | 402 | rs.put("status", ResponseCode.ERROR); |
| 402 | 403 | ||
| 403 | - ScheduleRealInfo sch = dayOfSchedule.get(id); | ||
| 404 | - if (sch == null) { | ||
| 405 | - rs.put("msg", "无效的id号"); | ||
| 406 | - return rs; | ||
| 407 | - } | 404 | + try { |
| 405 | + ScheduleRealInfo sch = dayOfSchedule.get(id); | ||
| 406 | + if (sch == null) { | ||
| 407 | + rs.put("msg", "无效的id号"); | ||
| 408 | + return rs; | ||
| 409 | + } | ||
| 408 | 410 | ||
| 409 | - if (!sch.isSflj()) { | ||
| 410 | - rs.put("msg", "你只能删除临加班次"); | ||
| 411 | - return rs; | ||
| 412 | - } | 411 | + if (!sch.isSflj()) { |
| 412 | + rs.put("msg", "你只能删除临加班次"); | ||
| 413 | + return rs; | ||
| 414 | + } | ||
| 413 | 415 | ||
| 414 | - //数据库删除 | ||
| 415 | - rs = super.delete(id); | ||
| 416 | - if(rs.get("status").equals(ResponseCode.SUCCESS)){ | ||
| 417 | - dayOfSchedule.delete(sch); | ||
| 418 | - //更新起点应到时间 | ||
| 419 | - List<ScheduleRealInfo> ts = dayOfSchedule.updateQdzTimePlan(sch.getClZbh()); | ||
| 420 | - rs.put("ts", ts); | ||
| 421 | - rs.put("delete", sch); | 416 | + //解除和调度指令的外键约束 |
| 417 | + jdbcTemplate.update(Constants.REMOVE_DIRECTIVE_SCH_FK, id); | ||
| 418 | + | ||
| 419 | + //数据库删除 | ||
| 420 | + rs = super.delete(id); | ||
| 421 | + if(rs.get("status").equals(ResponseCode.SUCCESS)){ | ||
| 422 | + dayOfSchedule.delete(sch); | ||
| 423 | + //更新起点应到时间 | ||
| 424 | + List<ScheduleRealInfo> ts = dayOfSchedule.updateQdzTimePlan(sch.getClZbh()); | ||
| 425 | + rs.put("ts", ts); | ||
| 426 | + rs.put("delete", sch); | ||
| 427 | + } | ||
| 428 | + }catch (Exception e){ | ||
| 429 | + logger.error("", e); | ||
| 430 | + rs.put("msg", e.getMessage()); | ||
| 422 | } | 431 | } |
| 423 | 432 | ||
| 424 | return rs; | 433 | return rs; |
| @@ -494,14 +503,14 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -494,14 +503,14 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 494 | String px = type; | 503 | String px = type; |
| 495 | if (state.equals("lpName")) { | 504 | if (state.equals("lpName")) { |
| 496 | state = state + "+1"; | 505 | state = state + "+1"; |
| 497 | - type = "asc"; | 506 | + type = "ASC"; |
| 498 | } | 507 | } |
| 499 | String sqlPlan = "select min(s.id) as id,s.j_Gh as jGh,s.cl_Zbh as clZbh," | 508 | String sqlPlan = "select min(s.id) as id,s.j_Gh as jGh,s.cl_Zbh as clZbh," |
| 500 | - + " s.lp_Name as lpName,s.j_Name as jName" | 509 | + + " s.lp_Name as lpName,s.j_Name as jName,min(s.schedule_date_str) as dateStr ,min(s.fcsj) as fcsj" |
| 501 | + " from bsth_c_s_sp_info_real s " | 510 | + " from bsth_c_s_sp_info_real s " |
| 502 | + " where s.xl_Bm = '" + line + "' and DATE_FORMAT(s.schedule_Date,'%Y-%m-%d') ='" + date + "' " | 511 | + " where s.xl_Bm = '" + line + "' and DATE_FORMAT(s.schedule_Date,'%Y-%m-%d') ='" + date + "' " |
| 503 | + " GROUP BY s.j_Gh,s.cl_Zbh,s.lp_Name ,s.j_Name" | 512 | + " GROUP BY s.j_Gh,s.cl_Zbh,s.lp_Name ,s.j_Name" |
| 504 | - + " order by (" + state + ") " + type; | 513 | + + " order by (" + state + "),schedule_date_str,fcsj " + type; |
| 505 | List<ScheduleRealInfo> list = jdbcTemplate.query(sqlPlan, | 514 | List<ScheduleRealInfo> list = jdbcTemplate.query(sqlPlan, |
| 506 | new RowMapper<ScheduleRealInfo>() { | 515 | new RowMapper<ScheduleRealInfo>() { |
| 507 | @Override | 516 | @Override |
| @@ -518,29 +527,41 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -518,29 +527,41 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 518 | if (lpname.equals("lpName")) { | 527 | if (lpname.equals("lpName")) { |
| 519 | List<ScheduleRealInfo> listNew = new ArrayList<ScheduleRealInfo>(); | 528 | List<ScheduleRealInfo> listNew = new ArrayList<ScheduleRealInfo>(); |
| 520 | Pattern pattern = Pattern.compile("^[-\\+]?[\\d]*$"); | 529 | Pattern pattern = Pattern.compile("^[-\\+]?[\\d]*$"); |
| 521 | - if (px.equals("desc")) { | 530 | +// if (px.equals("desc")) { |
| 522 | int zt = 0; | 531 | int zt = 0; |
| 523 | - for (int l = 0; l < 3; l++) { | 532 | + for (int l = 0; l < 2; l++) { |
| 524 | for (int i = 0; i < list.size(); i++) { | 533 | for (int i = 0; i < list.size(); i++) { |
| 525 | ScheduleRealInfo t = list.get(i); | 534 | ScheduleRealInfo t = list.get(i); |
| 526 | if (t.getLpName().indexOf("+") != -1) { | 535 | if (t.getLpName().indexOf("+") != -1) { |
| 527 | if (zt == 0) { | 536 | if (zt == 0) { |
| 528 | listNew.add(t); | 537 | listNew.add(t); |
| 529 | } | 538 | } |
| 530 | - | ||
| 531 | } else if (pattern.matcher(t.getLpName()).matches()) { | 539 | } else if (pattern.matcher(t.getLpName()).matches()) { |
| 532 | if (zt == 1) { | 540 | if (zt == 1) { |
| 533 | listNew.add(t); | 541 | listNew.add(t); |
| 534 | } | 542 | } |
| 535 | } else { | 543 | } else { |
| 536 | - if (zt == 2) { | ||
| 537 | - listNew.add(t); | ||
| 538 | - } | 544 | +// if (zt == 2) { |
| 545 | +// listNew.add(t); | ||
| 546 | +// } | ||
| 547 | + continue; | ||
| 539 | } | 548 | } |
| 540 | } | 549 | } |
| 541 | zt++; | 550 | zt++; |
| 542 | } | 551 | } |
| 543 | - } else { | 552 | + |
| 553 | + Collections.sort(list, new ComparableLp()); | ||
| 554 | + for (int i = 0; i < list.size(); i++) { | ||
| 555 | + ScheduleRealInfo t = list.get(i); | ||
| 556 | + if (t.getLpName().indexOf("+") != -1) { | ||
| 557 | + continue; | ||
| 558 | + } else if (pattern.matcher(t.getLpName()).matches()) { | ||
| 559 | + continue; | ||
| 560 | + } else { | ||
| 561 | + listNew.add(t); | ||
| 562 | + } | ||
| 563 | + } | ||
| 564 | + /*} else { | ||
| 544 | int zt = 0; | 565 | int zt = 0; |
| 545 | for (int l = 0; l < 3; l++) { | 566 | for (int l = 0; l < 3; l++) { |
| 546 | for (int i = 0; i < list.size(); i++) { | 567 | for (int i = 0; i < list.size(); i++) { |
| @@ -563,7 +584,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -563,7 +584,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 563 | zt++; | 584 | zt++; |
| 564 | } | 585 | } |
| 565 | 586 | ||
| 566 | - } | 587 | + }*/ |
| 567 | return listNew; | 588 | return listNew; |
| 568 | } else { | 589 | } else { |
| 569 | return list; | 590 | return list; |
| @@ -1388,14 +1409,14 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -1388,14 +1409,14 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 1388 | double ljgl=culateService.culateLjgl(lists); | 1409 | double ljgl=culateService.culateLjgl(lists); |
| 1389 | 1410 | ||
| 1390 | map.put("jhlc", culateService.culateJhgl(list)); //计划里程 | 1411 | map.put("jhlc", culateService.culateJhgl(list)); //计划里程 |
| 1391 | - map.put("remMileage", culateService.culateLbgl(lists)); //烂班公里 | 1412 | + map.put("remMileage", culateService.culateLbgl(list)); //烂班公里 |
| 1392 | map.put("addMileage", ljgl); //临加公里 | 1413 | map.put("addMileage", ljgl); //临加公里 |
| 1393 | map.put("yygl",Arith.add(sjgl,ljgl)); //实际公里 | 1414 | map.put("yygl",Arith.add(sjgl,ljgl)); //实际公里 |
| 1394 | map.put("ksgl", ksgl);//空驶公里 | 1415 | map.put("ksgl", ksgl);//空驶公里 |
| 1395 | map.put("realMileage",Arith.add(Arith.add(ksgl,jccgl ),Arith.add(sjgl,ljgl))); | 1416 | map.put("realMileage",Arith.add(Arith.add(ksgl,jccgl ),Arith.add(sjgl,ljgl))); |
| 1396 | // map.put("realMileage", format.format(yygl + ksgl + jcclc+addMileage)); | 1417 | // map.put("realMileage", format.format(yygl + ksgl + jcclc+addMileage)); |
| 1397 | map.put("jhbc", culateService.culateJhbc(list,"")); | 1418 | map.put("jhbc", culateService.culateJhbc(list,"")); |
| 1398 | - map.put("cjbc", culateService.culateLbbc(lists)); | 1419 | + map.put("cjbc", culateService.culateLbbc(list)); |
| 1399 | map.put("ljbc", culateService.culateLjbc(lists,"")); | 1420 | map.put("ljbc", culateService.culateLjbc(lists,"")); |
| 1400 | map.put("sjbc", culateService.culateJhbc(lists,"") - culateService.culateLbbc(lists) + culateService.culateLjbc(lists,"")); | 1421 | map.put("sjbc", culateService.culateJhbc(lists,"") - culateService.culateLbbc(lists) + culateService.culateLjbc(lists,"")); |
| 1401 | map.put("jcclc", jccgl); | 1422 | map.put("jcclc", jccgl); |
| @@ -3712,7 +3733,15 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -3712,7 +3733,15 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 3712 | tempMap.put("zdsjk" + size, ""); | 3733 | tempMap.put("zdsjk" + size, ""); |
| 3713 | tempMap.put("zdsjm" + size, ""); | 3734 | tempMap.put("zdsjm" + size, ""); |
| 3714 | tempMap.put("fcsj" + size, schedule.getFcsj()); | 3735 | tempMap.put("fcsj" + size, schedule.getFcsj()); |
| 3715 | - tempMap.put("fcsjActual" + size, schedule.getFcsjActual() != null ? schedule.getFcsjActual() : ""); | 3736 | + String fcsjActural=schedule.getFcsjActual() != null ? schedule.getFcsjActual() : ""; |
| 3737 | + String bcType=schedule.getBcType()!=null?schedule.getBcType():""; | ||
| 3738 | + if(bcType.equals("in")){ | ||
| 3739 | + fcsjActural=fcsjActural+"(进)"; | ||
| 3740 | + } | ||
| 3741 | + if(bcType.equals("out")){ | ||
| 3742 | + fcsjActural=fcsjActural+"(出)"; | ||
| 3743 | + } | ||
| 3744 | + tempMap.put("fcsjActual" + size, fcsjActural); | ||
| 3716 | tempMap.put("fcsjk" + size, ""); | 3745 | tempMap.put("fcsjk" + size, ""); |
| 3717 | tempMap.put("fcsjm" + size, ""); | 3746 | tempMap.put("fcsjm" + size, ""); |
| 3718 | tempMap.put("remarks" + size, schedule.getRemarks() != null ? schedule.getRemarks() : ""); | 3747 | tempMap.put("remarks" + size, schedule.getRemarks() != null ? schedule.getRemarks() : ""); |
src/main/java/com/bsth/service/report/impl/CulateMileageServiceImpl.java
| @@ -364,7 +364,7 @@ public class CulateMileageServiceImpl implements CulateMileageService{ | @@ -364,7 +364,7 @@ public class CulateMileageServiceImpl implements CulateMileageService{ | ||
| 364 | time=scheduleRealInfo.getFcsj(); | 364 | time=scheduleRealInfo.getFcsj(); |
| 365 | } | 365 | } |
| 366 | if(!time.equals("")){ | 366 | if(!time.equals("")){ |
| 367 | - String[] fcsjStr = scheduleRealInfo.getFcsj().split(":"); | 367 | + String[] fcsjStr = time.split(":"); |
| 368 | long fcsj= Long.parseLong(fcsjStr[0])*60+Long.parseLong(fcsjStr[1]); | 368 | long fcsj= Long.parseLong(fcsjStr[0])*60+Long.parseLong(fcsjStr[1]); |
| 369 | if(childTaskPlans.isEmpty()){ | 369 | if(childTaskPlans.isEmpty()){ |
| 370 | if(scheduleRealInfo.getStatus()!=-1){ | 370 | if(scheduleRealInfo.getStatus()!=-1){ |
src/main/java/com/bsth/service/sys/SysUserService.java
| @@ -3,6 +3,8 @@ package com.bsth.service.sys; | @@ -3,6 +3,8 @@ package com.bsth.service.sys; | ||
| 3 | import com.bsth.entity.sys.SysUser; | 3 | import com.bsth.entity.sys.SysUser; |
| 4 | import com.bsth.service.BaseService; | 4 | import com.bsth.service.BaseService; |
| 5 | 5 | ||
| 6 | +import java.util.Map; | ||
| 7 | + | ||
| 6 | public interface SysUserService extends BaseService<SysUser, Integer>{ | 8 | public interface SysUserService extends BaseService<SysUser, Integer>{ |
| 7 | 9 | ||
| 8 | SysUser findByUserName(String name); | 10 | SysUser findByUserName(String name); |
| @@ -10,4 +12,6 @@ public interface SysUserService extends BaseService<SysUser, Integer>{ | @@ -10,4 +12,6 @@ public interface SysUserService extends BaseService<SysUser, Integer>{ | ||
| 10 | int changeEnabled(int id,int enabled); | 12 | int changeEnabled(int id,int enabled); |
| 11 | 13 | ||
| 12 | int changePWD(int id,String newPWD); | 14 | int changePWD(int id,String newPWD); |
| 15 | + | ||
| 16 | + Map<String,Object> register(SysUser u); | ||
| 13 | } | 17 | } |
src/main/java/com/bsth/service/sys/impl/SysUserServiceImpl.java
| 1 | package com.bsth.service.sys.impl; | 1 | package com.bsth.service.sys.impl; |
| 2 | 2 | ||
| 3 | -import java.util.Map; | ||
| 4 | - | ||
| 5 | -import org.springframework.beans.factory.annotation.Autowired; | ||
| 6 | -import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; | ||
| 7 | -import org.springframework.stereotype.Service; | ||
| 8 | - | 3 | +import com.bsth.common.ResponseCode; |
| 9 | import com.bsth.entity.sys.SysUser; | 4 | import com.bsth.entity.sys.SysUser; |
| 10 | import com.bsth.repository.sys.SysUserRepository; | 5 | import com.bsth.repository.sys.SysUserRepository; |
| 11 | -import com.bsth.security.util.SecurityUtils; | ||
| 12 | import com.bsth.service.impl.BaseServiceImpl; | 6 | import com.bsth.service.impl.BaseServiceImpl; |
| 13 | import com.bsth.service.sys.SysUserService; | 7 | import com.bsth.service.sys.SysUserService; |
| 8 | +import org.slf4j.Logger; | ||
| 9 | +import org.slf4j.LoggerFactory; | ||
| 10 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 11 | +import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; | ||
| 12 | +import org.springframework.stereotype.Service; | ||
| 13 | + | ||
| 14 | +import java.util.HashMap; | ||
| 15 | +import java.util.Map; | ||
| 14 | 16 | ||
| 15 | @Service | 17 | @Service |
| 16 | public class SysUserServiceImpl extends BaseServiceImpl<SysUser, Integer> implements SysUserService{ | 18 | public class SysUserServiceImpl extends BaseServiceImpl<SysUser, Integer> implements SysUserService{ |
| 17 | 19 | ||
| 18 | @Autowired | 20 | @Autowired |
| 19 | SysUserRepository sysUserRepository; | 21 | SysUserRepository sysUserRepository; |
| 22 | + | ||
| 23 | + Logger logger = LoggerFactory.getLogger(this.getClass()); | ||
| 20 | 24 | ||
| 21 | @Override | 25 | @Override |
| 22 | public SysUser findByUserName(String name) { | 26 | public SysUser findByUserName(String name) { |
| @@ -45,4 +49,25 @@ public class SysUserServiceImpl extends BaseServiceImpl<SysUser, Integer> implem | @@ -45,4 +49,25 @@ public class SysUserServiceImpl extends BaseServiceImpl<SysUser, Integer> implem | ||
| 45 | public int changePWD(int id,String newPWD) { | 49 | public int changePWD(int id,String newPWD) { |
| 46 | return sysUserRepository.changePWD(id,new BCryptPasswordEncoder(4).encode(newPWD)); | 50 | return sysUserRepository.changePWD(id,new BCryptPasswordEncoder(4).encode(newPWD)); |
| 47 | } | 51 | } |
| 52 | + | ||
| 53 | + @Override | ||
| 54 | + public Map<String, Object> register(SysUser u) { | ||
| 55 | + Map<String, Object> rs = new HashMap(); | ||
| 56 | + try{ | ||
| 57 | + //检查用户名是否存在 | ||
| 58 | + if(findByUserName(u.getUserName()) != null){ | ||
| 59 | + rs.put("status", ResponseCode.ERROR); | ||
| 60 | + rs.put("msg", "用户名" + u.getUserName() + "已存在!"); | ||
| 61 | + } | ||
| 62 | + else{ | ||
| 63 | + u.setPassword(new BCryptPasswordEncoder(4).encode(u.getPassword())); | ||
| 64 | + rs = super.save(u); | ||
| 65 | + } | ||
| 66 | + }catch (Exception e){ | ||
| 67 | + logger.error("", e); | ||
| 68 | + rs.put("status", ResponseCode.ERROR); | ||
| 69 | + rs.put("msg", e.getMessage()); | ||
| 70 | + } | ||
| 71 | + return rs; | ||
| 72 | + } | ||
| 48 | } | 73 | } |
src/main/java/com/bsth/util/ComparableLp.java
0 → 100644
| 1 | +package com.bsth.util; | ||
| 2 | + | ||
| 3 | +import java.util.Comparator; | ||
| 4 | +import com.bsth.entity.realcontrol.ScheduleRealInfo; | ||
| 5 | + | ||
| 6 | +public class ComparableLp implements Comparator<ScheduleRealInfo>{ | ||
| 7 | + | ||
| 8 | + @Override | ||
| 9 | + public int compare(ScheduleRealInfo o1, ScheduleRealInfo o2) { | ||
| 10 | + // TODO Auto-generated method stub | ||
| 11 | + return o1.getLpName().compareTo(o2.getLpName()); | ||
| 12 | + } | ||
| 13 | + | ||
| 14 | +} |
src/main/resources/fatso/handle_real_ctl.js
0 → 100644
| 1 | +/** | ||
| 2 | + * 处理线调文件 | ||
| 3 | + */ | ||
| 4 | +var fs = require('fs') | ||
| 5 | + , cheerio = require('cheerio') | ||
| 6 | + , minifier = require('./minifier') | ||
| 7 | + , crypto = require("crypto") | ||
| 8 | + , CleanCSS = require('clean-css') | ||
| 9 | + , UglifyJS = require("uglify-js"); | ||
| 10 | +; | ||
| 11 | + | ||
| 12 | +//不参与的目录 | ||
| 13 | +var pName = 'bsth_control' | ||
| 14 | + , path = process.cwd() | ||
| 15 | + //根目录 | ||
| 16 | + , root = path.substr(0, path.indexOf('\\src\\main')) | ||
| 17 | + , workspace = root.substr(0, root.indexOf('\\' + pName)) | ||
| 18 | + //临时目录 | ||
| 19 | + , dest = (workspace + '\\' + pName + '@fatso_copy').replace(/\//g, '\\') | ||
| 20 | + , _static = '\\src\\main\\resources\\static'; | ||
| 21 | + | ||
| 22 | + | ||
| 23 | +var mainFile = dest + _static + '\\real_control_v2\\main.html'; | ||
| 24 | +var mapFile = dest + _static + '\\real_control_v2\\mapmonitor\\real.html'; | ||
| 25 | +var realCtl = { | ||
| 26 | + /** | ||
| 27 | + * 处理线调首页 | ||
| 28 | + */ | ||
| 29 | + handleMain: function (cb) { | ||
| 30 | + //读取文件 | ||
| 31 | + var data = fs.readFileSync(mainFile, 'utf-8') | ||
| 32 | + , $ = cheerio.load(data); | ||
| 33 | + | ||
| 34 | + handleCss($, function () { | ||
| 35 | + handleJs($, mainFile, cb); | ||
| 36 | + }); | ||
| 37 | + }, | ||
| 38 | + /** | ||
| 39 | + * 处理地图模块 | ||
| 40 | + * @param cb | ||
| 41 | + */ | ||
| 42 | + handleMap: function (cb) { | ||
| 43 | + //读取文件 | ||
| 44 | + var data = fs.readFileSync(mapFile, 'utf-8') | ||
| 45 | + , $ = cheerio.load(data); | ||
| 46 | + | ||
| 47 | + handleCss($, function () { | ||
| 48 | + handleJs($, mapFile, cb); | ||
| 49 | + }); | ||
| 50 | + } | ||
| 51 | +}; | ||
| 52 | + | ||
| 53 | +/** | ||
| 54 | + * 处理css | ||
| 55 | + * @type {any} | ||
| 56 | + */ | ||
| 57 | +var handleCss = function ($, cb) { | ||
| 58 | + var cssArray = $('link[rel=stylesheet][merge]'); | ||
| 59 | + //按 merge 值分组 | ||
| 60 | + var cssMap = {}, mergeName; | ||
| 61 | + for (var i = 0, c; c = cssArray[i++];) { | ||
| 62 | + mergeName = $(c).attr('merge'); | ||
| 63 | + if (!cssMap[mergeName]) | ||
| 64 | + cssMap[mergeName] = []; | ||
| 65 | + cssMap[mergeName].push(dest + _static + $(c).attr('href')); | ||
| 66 | + //remove | ||
| 67 | + $(c).remove(); | ||
| 68 | + } | ||
| 69 | + //按 merge 合并压缩css | ||
| 70 | + var ks = get_keys(cssMap), index = 0; | ||
| 71 | + (function () { | ||
| 72 | + if (index >= ks.length) { | ||
| 73 | + cb && cb(); | ||
| 74 | + return; | ||
| 75 | + } | ||
| 76 | + var k = ks[index]; | ||
| 77 | + index++; | ||
| 78 | + var f = arguments.callee; | ||
| 79 | + //合并css | ||
| 80 | + new CleanCSS().minify(cssMap[k], function (error, out) { | ||
| 81 | + var data = out.styles; | ||
| 82 | + var fName = (k + '_' + md5(data)) + '.css'; | ||
| 83 | + //写入 assets css 目录下 | ||
| 84 | + var descFile = dest + _static + '\\real_control_v2\\assets\\css\\' + fName; | ||
| 85 | + fs.open(descFile, 'a', function (err, fd) { | ||
| 86 | + | ||
| 87 | + fs.write(fd, data, function () { | ||
| 88 | + var tag = '<link rel="stylesheet" href="/real_control_v2/assets/css/' + fName + '"/>'; | ||
| 89 | + if ($('head').length > 0) | ||
| 90 | + $('head').append(tag); | ||
| 91 | + else { | ||
| 92 | + if($('link').length > 0) | ||
| 93 | + $('link').last().before(tag); | ||
| 94 | + else | ||
| 95 | + $('div').first().before(tag); | ||
| 96 | + } | ||
| 97 | + console.log(k + ' css', '结束,下一个'); | ||
| 98 | + f(); | ||
| 99 | + }); | ||
| 100 | + }); | ||
| 101 | + }); | ||
| 102 | + })(); | ||
| 103 | +}; | ||
| 104 | + | ||
| 105 | +/** | ||
| 106 | + * 处理js | ||
| 107 | + */ | ||
| 108 | +var handleJs = function ($, file, cb) { | ||
| 109 | + var scriptArray = $('script[merge]'); | ||
| 110 | + //按 merge 值分组 | ||
| 111 | + var jsMap = {}, mergeName; | ||
| 112 | + for (var i = 0, s; s = scriptArray[i++];) { | ||
| 113 | + mergeName = $(s).attr('merge'); | ||
| 114 | + if (!jsMap[mergeName]) | ||
| 115 | + jsMap[mergeName] = []; | ||
| 116 | + jsMap[mergeName].push(dest + _static + $(s).attr('src')); | ||
| 117 | + //remove | ||
| 118 | + $(s).remove(); | ||
| 119 | + } | ||
| 120 | + | ||
| 121 | + //按 merge 合并压缩js | ||
| 122 | + var ks = get_keys(jsMap), index = 0; | ||
| 123 | + (function () { | ||
| 124 | + if (index >= ks.length) { | ||
| 125 | + write(file, $.html()); | ||
| 126 | + console.log(file + ' 结束'.green); | ||
| 127 | + cb && cb(); | ||
| 128 | + return; | ||
| 129 | + } | ||
| 130 | + var k = ks[index]; | ||
| 131 | + index++; | ||
| 132 | + var f = arguments.callee; | ||
| 133 | + //合并压缩js | ||
| 134 | + var result = UglifyJS.minify(jsMap[k]); | ||
| 135 | + var data = result.code; | ||
| 136 | + var fName = (k + '_' + md5(data)) + '.js'; | ||
| 137 | + //写入 assets js 目录下 | ||
| 138 | + var descFile = dest + _static + '\\real_control_v2\\assets\\js\\' + fName; | ||
| 139 | + fs.open(descFile, 'a', function (err, fd) { | ||
| 140 | + | ||
| 141 | + fs.write(fd, data, function () { | ||
| 142 | + var tag = '<script src="/real_control_v2/assets/js/' + fName + '"></script>'; | ||
| 143 | + if ($('body').length > 0) | ||
| 144 | + $('body').append(tag); | ||
| 145 | + else { | ||
| 146 | + //没有body 就写在尾部 | ||
| 147 | + $('*').last().after(tag); | ||
| 148 | + } | ||
| 149 | + console.log(k + ' js', '结束,下一个'); | ||
| 150 | + f(); | ||
| 151 | + }); | ||
| 152 | + }); | ||
| 153 | + })(); | ||
| 154 | +}; | ||
| 155 | + | ||
| 156 | +var get_keys = function (json) { | ||
| 157 | + var array = []; | ||
| 158 | + for (var key in json) { | ||
| 159 | + array.push(key); | ||
| 160 | + } | ||
| 161 | + return array; | ||
| 162 | +}; | ||
| 163 | + | ||
| 164 | +function md5(text) { | ||
| 165 | + return crypto.createHash("md5").update(text).digest("hex"); | ||
| 166 | +} | ||
| 167 | + | ||
| 168 | +function write(file, text) { | ||
| 169 | + fs.writeFile(file, text, function (err) { | ||
| 170 | + if (err) { | ||
| 171 | + console.log(err.toString().red); | ||
| 172 | + process.exit(); | ||
| 173 | + } | ||
| 174 | + console.log(file.green); | ||
| 175 | + }); | ||
| 176 | +} | ||
| 177 | + | ||
| 178 | +module.exports = realCtl; | ||
| 0 | \ No newline at end of file | 179 | \ No newline at end of file |
src/main/resources/fatso/package.json
| @@ -10,6 +10,7 @@ | @@ -10,6 +10,7 @@ | ||
| 10 | "license": "ISC", | 10 | "license": "ISC", |
| 11 | "dependencies": { | 11 | "dependencies": { |
| 12 | "cheerio": "^0.20.0", | 12 | "cheerio": "^0.20.0", |
| 13 | + "clean-css": "^4.0.12", | ||
| 13 | "colors": "^1.1.2", | 14 | "colors": "^1.1.2", |
| 14 | "eventproxy": "^0.3.4", | 15 | "eventproxy": "^0.3.4", |
| 15 | "uglify-js": "^2.6.2" | 16 | "uglify-js": "^2.6.2" |
src/main/resources/fatso/parse.js
src/main/resources/fatso/start.js
| @@ -8,7 +8,8 @@ var fs = require('fs') | @@ -8,7 +8,8 @@ var fs = require('fs') | ||
| 8 | ,EventProxy = require('eventproxy') | 8 | ,EventProxy = require('eventproxy') |
| 9 | ,parse = require('./parse') | 9 | ,parse = require('./parse') |
| 10 | ,minifier = require('./minifier') | 10 | ,minifier = require('./minifier') |
| 11 | - ,crypto = require("crypto"); | 11 | + ,crypto = require("crypto") |
| 12 | + ,handle_real_ctl = require('./handle_real_ctl'); | ||
| 12 | 13 | ||
| 13 | //不参与的目录 | 14 | //不参与的目录 |
| 14 | var excludes = ['scheduleApp', 'trafficManage', 'control'] | 15 | var excludes = ['scheduleApp', 'trafficManage', 'control'] |
| @@ -74,15 +75,21 @@ ep.tail('check-js', function(){ | @@ -74,15 +75,21 @@ ep.tail('check-js', function(){ | ||
| 74 | //合并压缩JS | 75 | //合并压缩JS |
| 75 | ep.tail('minifier-js', function(){ | 76 | ep.tail('minifier-js', function(){ |
| 76 | logInfo('handle index.html...'); | 77 | logInfo('handle index.html...'); |
| 77 | - | ||
| 78 | - //先处理首页 | 78 | + |
| 79 | + //再处理首页 | ||
| 79 | ep.emit('handle-index', function(){ | 80 | ep.emit('handle-index', function(){ |
| 80 | //递归处理片段 | 81 | //递归处理片段 |
| 81 | walk(dest + _static + '\\pages', function(item){ | 82 | walk(dest + _static + '\\pages', function(item){ |
| 82 | ep.emit('handle-fragment', item); | 83 | ep.emit('handle-fragment', item); |
| 83 | }, | 84 | }, |
| 84 | function(){ | 85 | function(){ |
| 85 | - ep.emit('package-jar'); | 86 | + //处理线调首页 |
| 87 | + handle_real_ctl.handleMain(function () { | ||
| 88 | + //处理线调地图 | ||
| 89 | + handle_real_ctl.handleMap(function () { | ||
| 90 | + ep.emit('package-jar'); | ||
| 91 | + }); | ||
| 92 | + }); | ||
| 86 | }); | 93 | }); |
| 87 | }); | 94 | }); |
| 88 | }); | 95 | }); |
src/main/resources/static/pages/forms/statement/scheduleDaily.html
| @@ -14,6 +14,17 @@ | @@ -14,6 +14,17 @@ | ||
| 14 | 14 | ||
| 15 | .table > tbody + tbody { | 15 | .table > tbody + tbody { |
| 16 | border-top: 1px solid; } | 16 | border-top: 1px solid; } |
| 17 | + | ||
| 18 | + #forms > thead > tr> td >span{ | ||
| 19 | + | ||
| 20 | + width: 5px; | ||
| 21 | +word-wrap: break-word; | ||
| 22 | +letter-spacing: 20px; | ||
| 23 | + } | ||
| 24 | + | ||
| 25 | + #forms tr> td >label{ | ||
| 26 | + word-break: keep-all;white-space:nowrap; | ||
| 27 | + } | ||
| 17 | </style> | 28 | </style> |
| 18 | 29 | ||
| 19 | <div class="page-head"> | 30 | <div class="page-head"> |
| @@ -60,18 +71,18 @@ | @@ -60,18 +71,18 @@ | ||
| 60 | <th colspan="40">线路调度日报</th> | 71 | <th colspan="40">线路调度日报</th> |
| 61 | </tr> | 72 | </tr> |
| 62 | <tr> | 73 | <tr> |
| 63 | - <td rowspan="3">路线名</td> | 74 | + <td rowspan="3"><span >路线名</span></td> |
| 64 | <td colspan="16"><c>全日</c>营运里程(公里)</td> | 75 | <td colspan="16"><c>全日</c>营运里程(公里)</td> |
| 65 | <td colspan="15"><c>全日</c>营运班次</td> | 76 | <td colspan="15"><c>全日</c>营运班次</td> |
| 66 | <td colspan="9">大间隔情况</td> | 77 | <td colspan="9">大间隔情况</td> |
| 67 | </tr> | 78 | </tr> |
| 68 | <tr> | 79 | <tr> |
| 69 | - <td rowspan="2">计划</td> | ||
| 70 | - <td rowspan="2">实驶</td> | ||
| 71 | - <td rowspan="2">少驶公里</td> | ||
| 72 | - <td rowspan="2">少驶班次</td> | 80 | + <td rowspan="2"><span >计划</span></td> |
| 81 | + <td rowspan="2"><span >实驶</span></td> | ||
| 82 | + <td rowspan="2"><span>少驶公里</span></td> | ||
| 83 | + <td rowspan="2"><span>少驶班次</span></td> | ||
| 73 | <td colspan="11">少驶原因(公里)</td> | 84 | <td colspan="11">少驶原因(公里)</td> |
| 74 | - <td rowspan="2">临加公里</td> | 85 | + <td rowspan="2"><span >临加公里</span></td> |
| 75 | <td colspan="3">计划班次</td> | 86 | <td colspan="3">计划班次</td> |
| 76 | <td colspan="3">实际班次</td> | 87 | <td colspan="3">实际班次</td> |
| 77 | <td colspan="3">临加班次</td> | 88 | <td colspan="3">临加班次</td> |
| @@ -82,35 +93,35 @@ | @@ -82,35 +93,35 @@ | ||
| 82 | <td colspan="5" rowspan="2">原因</td> | 93 | <td colspan="5" rowspan="2">原因</td> |
| 83 | </tr> | 94 | </tr> |
| 84 | <tr> | 95 | <tr> |
| 85 | - <td>路阻</td> | ||
| 86 | - <td>吊慢</td> | ||
| 87 | - <td>故障</td> | ||
| 88 | - <td>纠纷</td> | ||
| 89 | - <td>肇事</td> | ||
| 90 | - <td>缺人</td> | ||
| 91 | - <td>缺车</td> | ||
| 92 | - <td>客稀</td> | ||
| 93 | - <td>气候</td> | ||
| 94 | - <td>援外</td> | ||
| 95 | - <td>其他</td> | ||
| 96 | - <td><c>全日</c></td> | ||
| 97 | - <td>早高峰</td> | ||
| 98 | - <td>晚高峰</td> | ||
| 99 | - <td><c>全日</c></td> | ||
| 100 | - <td>早高峰</td> | ||
| 101 | - <td>晚高峰</td> | ||
| 102 | - <td><c>全日</c></td> | ||
| 103 | - <td>早高峰</td> | ||
| 104 | - <td>晚高峰</td> | ||
| 105 | - <td><c>全日</c></td> | ||
| 106 | - <td>早高峰</td> | ||
| 107 | - <td>晚高峰</td> | ||
| 108 | - <td><c>全日</c></td> | ||
| 109 | - <td>早高峰</td> | ||
| 110 | - <td>晚高峰</td> | ||
| 111 | - <td><c>全日</c></td> | ||
| 112 | - <td>早高峰</td> | ||
| 113 | - <td>晚高峰</td> | 96 | + <td><span >路阻</span></td> |
| 97 | + <td><span>吊慢</span></td> | ||
| 98 | + <td><span >故障</span></td> | ||
| 99 | + <td><span >纠纷</span></td> | ||
| 100 | + <td><span >肇事</span></td> | ||
| 101 | + <td><span>缺人</span></td> | ||
| 102 | + <td><span>缺车</span></td> | ||
| 103 | + <td><span >客稀</span></td> | ||
| 104 | + <td><span>气候</span></td> | ||
| 105 | + <td><span>援外</span></td> | ||
| 106 | + <td><span>其他</span></td> | ||
| 107 | + <td><span ><c>全日</c></span></td> | ||
| 108 | + <td><span >早高峰</span></td> | ||
| 109 | + <td><span>晚高峰</span></td> | ||
| 110 | + <td><span><c>全日</c></span></td> | ||
| 111 | + <td><span>早高峰</span></td> | ||
| 112 | + <td><span>晚高峰</span></td> | ||
| 113 | + <td><span><c>全日</c></span></td> | ||
| 114 | + <td><span>早高峰</span></td> | ||
| 115 | + <td><span>晚高峰</span></td> | ||
| 116 | + <td><span><c>全日</c></span></td> | ||
| 117 | + <td><span>早高峰</span></td> | ||
| 118 | + <td><span>晚高峰</span></td> | ||
| 119 | + <td><span><c>全日</c></span></td> | ||
| 120 | + <td><span>早高峰</span></td> | ||
| 121 | + <td><span>晚高峰</span></td> | ||
| 122 | + <td><span><c>全日</c></span></td> | ||
| 123 | + <td><span>早高峰</span></td> | ||
| 124 | + <td><span>晚高峰</span></td> | ||
| 114 | </tr> | 125 | </tr> |
| 115 | </thead> | 126 | </thead> |
| 116 | 127 | ||
| @@ -169,36 +180,36 @@ | @@ -169,36 +180,36 @@ | ||
| 169 | <td colspan="40"> </td> | 180 | <td colspan="40"> </td> |
| 170 | </tr> --> | 181 | </tr> --> |
| 171 | <tr> | 182 | <tr> |
| 172 | - <td colspan="2">路牌</td> | ||
| 173 | - <td colspan="2">车号</td> | ||
| 174 | - <td>司早</td> | ||
| 175 | - <td>售早</td> | ||
| 176 | - <td>司晚</td> | ||
| 177 | - <td>售晚</td> | ||
| 178 | - <td colspan="2">路牌</td> | ||
| 179 | - <td colspan="2">车号</td> | ||
| 180 | - <td>司早</td> | ||
| 181 | - <td>售早</td> | ||
| 182 | - <td>司晚</td> | ||
| 183 | - <td>售晚</td> | ||
| 184 | - <td colspan="2">路牌</td> | ||
| 185 | - <td colspan="2">车号</td> | ||
| 186 | - <td>司早</td> | ||
| 187 | - <td>售早</td> | ||
| 188 | - <td>司晚</td> | ||
| 189 | - <td>售晚</td> | ||
| 190 | - <td colspan="2">路牌</td> | ||
| 191 | - <td colspan="2">车号</td> | ||
| 192 | - <td>司早</td> | ||
| 193 | - <td>售早</td> | ||
| 194 | - <td>司晚</td> | ||
| 195 | - <td>售晚</td> | ||
| 196 | - <td colspan="2">路牌</td> | ||
| 197 | - <td colspan="2">车号</td> | ||
| 198 | - <td>司早</td> | ||
| 199 | - <td>售早</td> | ||
| 200 | - <td>司晚</td> | ||
| 201 | - <td>售晚</td> | 183 | + <td colspan="2"><label>路牌</label></td> |
| 184 | + <td colspan="2"><label>车号</label></td> | ||
| 185 | + <td> <label>司早</label></td> | ||
| 186 | + <td><label>售早</label></td> | ||
| 187 | + <td><label>司晚</label></td> | ||
| 188 | + <td><label>售晚</label></td> | ||
| 189 | + <td colspan="2"><label>路牌</label></td> | ||
| 190 | + <td colspan="2"><label>车号</label></td> | ||
| 191 | + <td><label>司早</label></td> | ||
| 192 | + <td><label>售早</label></td> | ||
| 193 | + <td><label>司晚</label></td> | ||
| 194 | + <td><label>售晚</label></td> | ||
| 195 | + <td colspan="2"><label>路牌</label></td> | ||
| 196 | + <td colspan="2"><label>车号</label></td> | ||
| 197 | + <td><label>司早</label></td> | ||
| 198 | + <td><label>售早</label></td> | ||
| 199 | + <td><label>司晚</label></td> | ||
| 200 | + <td><label>售晚</label></td> | ||
| 201 | + <td colspan="2"><label>路牌</label></td> | ||
| 202 | + <td colspan="2"><label>车号</label></td> | ||
| 203 | + <td><label>司早</label></td> | ||
| 204 | + <td><label>售早</label></td> | ||
| 205 | + <td><label>司晚</label></td> | ||
| 206 | + <td><label>售晚</label></td> | ||
| 207 | + <td colspan="2"><label>路牌</label></td> | ||
| 208 | + <td colspan="2"><label>车号</label></td> | ||
| 209 | + <td><label>司早</label></td> | ||
| 210 | + <td><label>售早</label></td> | ||
| 211 | + <td><label>司晚</label></td> | ||
| 212 | + <td><label>售晚</label></td> | ||
| 202 | </tr> | 213 | </tr> |
| 203 | <tbody class="scheduleDaily_2"> | 214 | <tbody class="scheduleDaily_2"> |
| 204 | 215 | ||
| @@ -208,17 +219,17 @@ | @@ -208,17 +219,17 @@ | ||
| 208 | </tr> | 219 | </tr> |
| 209 | <tr> | 220 | <tr> |
| 210 | <td rowspan="2">路牌</td> | 221 | <td rowspan="2">路牌</td> |
| 211 | - <td colspan="2" rowspan="2">起点站</td> | 222 | + <td colspan="2" rowspan="2" style="word-break: keep-all;white-space:nowrap;">起点站</td> |
| 212 | <td colspan="4">到达时间</td> | 223 | <td colspan="4">到达时间</td> |
| 213 | <td colspan="4">发车时间</td> | 224 | <td colspan="4">发车时间</td> |
| 214 | <td colspan="2" rowspan="2">备注</td> | 225 | <td colspan="2" rowspan="2">备注</td> |
| 215 | <td rowspan="2">路牌</td> | 226 | <td rowspan="2">路牌</td> |
| 216 | - <td colspan="2" rowspan="2">起点站</td> | 227 | + <td colspan="2" rowspan="2" style="word-break: keep-all;white-space:nowrap;">起点站</td> |
| 217 | <td colspan="4">到达时间</td> | 228 | <td colspan="4">到达时间</td> |
| 218 | <td colspan="4">发车时间</td> | 229 | <td colspan="4">发车时间</td> |
| 219 | <td colspan="2" rowspan="2">备注</td> | 230 | <td colspan="2" rowspan="2">备注</td> |
| 220 | <td rowspan="2">路牌</td> | 231 | <td rowspan="2">路牌</td> |
| 221 | - <td colspan="2" rowspan="2">起点站</td> | 232 | + <td colspan="2" rowspan="2" style="word-break: keep-all;white-space:nowrap;">起点站</td> |
| 222 | <td colspan="4">到达时间</td> | 233 | <td colspan="4">到达时间</td> |
| 223 | <td colspan="4">发车时间</td> | 234 | <td colspan="4">发车时间</td> |
| 224 | <td colspan="2" rowspan="2">备注</td> | 235 | <td colspan="2" rowspan="2">备注</td> |
| @@ -456,7 +467,7 @@ | @@ -456,7 +467,7 @@ | ||
| 456 | </script> | 467 | </script> |
| 457 | <script type="text/html" id="scheduleDaily_1"> | 468 | <script type="text/html" id="scheduleDaily_1"> |
| 458 | {{each list as obj i}} | 469 | {{each list as obj i}} |
| 459 | - <tr> | 470 | + <tr > |
| 460 | <td>{{obj.xlName}}</td> | 471 | <td>{{obj.xlName}}</td> |
| 461 | <td>{{obj.jhlc}}</td> | 472 | <td>{{obj.jhlc}}</td> |
| 462 | <td>{{obj.sjgl}}</td> | 473 | <td>{{obj.sjgl}}</td> |
| @@ -534,7 +545,7 @@ | @@ -534,7 +545,7 @@ | ||
| 534 | <tr> | 545 | <tr> |
| 535 | {{/if}} | 546 | {{/if}} |
| 536 | <td>{{obj.lpName}}</td> | 547 | <td>{{obj.lpName}}</td> |
| 537 | - <td colspan="2">{{obj.qdzName}}</td> | 548 | + <td colspan="2" style="word-break: keep-all;white-space:nowrap;">{{obj.qdzName}}</td> |
| 538 | <td>{{obj.zdsj}}</td> | 549 | <td>{{obj.zdsj}}</td> |
| 539 | <td>{{obj.zdsjActual}}</td> | 550 | <td>{{obj.zdsjActual}}</td> |
| 540 | <td>{{obj.fast}}</td> | 551 | <td>{{obj.fast}}</td> |
src/main/resources/static/pages/mforms/shiftuehiclemanths/shiftuehiclemanth.html
| @@ -239,5 +239,4 @@ | @@ -239,5 +239,4 @@ | ||
| 239 | <td colspan="10"><h6 class="muted">没有找到相关数据</h6></td> | 239 | <td colspan="10"><h6 class="muted">没有找到相关数据</h6></td> |
| 240 | </tr> | 240 | </tr> |
| 241 | {{/if}} | 241 | {{/if}} |
| 242 | -</script> | ||
| 243 | </script> | 242 | </script> |
| 244 | \ No newline at end of file | 243 | \ No newline at end of file |
src/main/resources/static/pages/permission/user/add.html
| @@ -150,10 +150,26 @@ | @@ -150,10 +150,26 @@ | ||
| 150 | submitHandler : function(f) { | 150 | submitHandler : function(f) { |
| 151 | var params = form.serializeJSON(); | 151 | var params = form.serializeJSON(); |
| 152 | error.hide(); | 152 | error.hide(); |
| 153 | - console.log(params); | ||
| 154 | - | ||
| 155 | - //检查一下用户是否存在 | ||
| 156 | - $get('/user/all', {userName_eq: params.userName}, function(list){ | 153 | + |
| 154 | + $.ajax({ | ||
| 155 | + url: '/user/register', | ||
| 156 | + type: 'POST', | ||
| 157 | + traditional: true, | ||
| 158 | + data: params, | ||
| 159 | + success: function(rs){ | ||
| 160 | + if(!rs){ | ||
| 161 | + layer.msg('未知异常!'); | ||
| 162 | + } | ||
| 163 | + if(rs.status=='SUCCESS'){ | ||
| 164 | + layer.msg('添加用户成功.'); | ||
| 165 | + loadPage('list.html'); | ||
| 166 | + } | ||
| 167 | + else if(rs.status=='ERROR'){ | ||
| 168 | + layer.msg('添加失败[ ' + rs.msg + ']'); | ||
| 169 | + } | ||
| 170 | + } | ||
| 171 | + }); | ||
| 172 | + /*$get('/user/all', {userName_eq: params.userName}, function(list){ | ||
| 157 | if(!list || list.length == 0){ | 173 | if(!list || list.length == 0){ |
| 158 | console.log(params); | 174 | console.log(params); |
| 159 | $.ajax({ | 175 | $.ajax({ |
| @@ -166,14 +182,14 @@ | @@ -166,14 +182,14 @@ | ||
| 166 | loadPage('list.html'); | 182 | loadPage('list.html'); |
| 167 | } | 183 | } |
| 168 | }); | 184 | }); |
| 169 | - /* $post('/user', params, function(res){ | 185 | + /!* $post('/user', params, function(res){ |
| 170 | layer.msg('添加用户成功.'); | 186 | layer.msg('添加用户成功.'); |
| 171 | loadPage('list.html'); | 187 | loadPage('list.html'); |
| 172 | - }); */ | 188 | + }); *!/ |
| 173 | } | 189 | } |
| 174 | else | 190 | else |
| 175 | layer.alert('用户【' + params.userName + '】已存在', {icon: 2, title: '提交被拒绝'}); | 191 | layer.alert('用户【' + params.userName + '】已存在', {icon: 2, title: '提交被拒绝'}); |
| 176 | - }); | 192 | + });*/ |
| 177 | } | 193 | } |
| 178 | }); | 194 | }); |
| 179 | }); | 195 | }); |
src/main/resources/static/pages/scheduleApp/module/common/dts2/ttinfotable/new/sa1.js
| 1 | -/** | ||
| 2 | - * saTimeTable指令工具集,创建内部单元格类,及其他操作 | ||
| 3 | - */ | ||
| 4 | -angular.module('ScheduleApp').factory( | ||
| 5 | - 'SaTimeTableUtils', | ||
| 6 | - [ | ||
| 7 | - function() { | ||
| 8 | - /** | ||
| 9 | - * 表格,单元格头类 | ||
| 10 | - * 如:路牌,出1,青2......进6 | ||
| 11 | - */ | ||
| 12 | - var Cell_Header = function(str) { | ||
| 13 | - /** 表头数据 */ | ||
| 14 | - this.headStr = str; | ||
| 15 | - }; | ||
| 16 | - Cell_Header.prototype.setHead = function(str) { | ||
| 17 | - this.headStr = str || ""; | ||
| 18 | - }; | ||
| 19 | - | ||
| 20 | - /** | ||
| 21 | - * 表格,单元格内容类,在表格上只显示时间,但是内部还是保存其他值。 | ||
| 22 | - */ | ||
| 23 | - var Cell_Body_Bc = function() { | ||
| 24 | - /** 表格单元格显示的信息 */ | ||
| 25 | - this.info = undefined; | ||
| 26 | - | ||
| 27 | - this.isSel = false; // 是否被选中 | ||
| 28 | - this.isCanSel = true; // 是否能被选择 | ||
| 29 | - this.isValidInfo = false; // 数据是否有效 | ||
| 30 | - | ||
| 31 | - this.data = {}; // 内部信息 | ||
| 32 | - | ||
| 33 | - this.data.ttdid = undefined; // 班次信息Id | ||
| 34 | - this.data.fcsj = undefined; // 发车时间 | ||
| 35 | - this.data.bcType = undefined; // 班次类型 | ||
| 36 | - this.data.xldir = undefined; // 线路方向 | ||
| 37 | - this.data.isfb = undefined; // 是否分班 | ||
| 38 | - this.data.jhlc = undefined; // 计划里程 | ||
| 39 | - this.data.qdz = null; // 起点站id | ||
| 40 | - this.data.zdz = null; // 终点站id | ||
| 41 | - this.data.tcc = null; // 停车场id | ||
| 42 | - | ||
| 43 | - this.self.lpId = undefined; // 路牌Id | ||
| 44 | - this.self.lpName = undefined; // 路牌名字 | ||
| 45 | - | ||
| 46 | - this.self.fcno = undefined; // 发车序号 | ||
| 47 | - this.self.bcs = undefined; // 班次数 | ||
| 48 | - }; | ||
| 49 | - /** | ||
| 50 | - * 路牌单元格类。 | ||
| 51 | - */ | ||
| 52 | - var Cell_Body_Lp = function() { | ||
| 53 | - this.info = undefined; | ||
| 54 | - | ||
| 55 | - this.isSel = false; // 是否被选中 | ||
| 56 | - this.isCanSel = false; // 是否能被选择 | ||
| 57 | - this.isValidInfo = false; // 数据是否有效 | ||
| 58 | - | ||
| 59 | - this.data = {}; // 内部信息 | ||
| 60 | - | ||
| 61 | - this.data.lpId = undefined; // 路牌Id | ||
| 62 | - this.data.lpName = undefined; // 路牌名字 | ||
| 63 | - }; | ||
| 64 | - /** | ||
| 65 | - * 统计单元格类。 | ||
| 66 | - */ | ||
| 67 | - var Cell_Body_Stat = function() { | ||
| 68 | - this.info = undefined; | ||
| 69 | - | ||
| 70 | - this.isSel = false; // 是否被选中 | ||
| 71 | - this.isCanSel = false; // 是否能被选择 | ||
| 72 | - this.isValidInfo = false; // 数据是否有效 | ||
| 73 | - | ||
| 74 | - this.data = {}; // 内部信息 | ||
| 75 | - }; | ||
| 76 | - | ||
| 77 | - Cell_Body_Bc.prototype.canSel = function() { // 是否能被选中 | ||
| 78 | - return this.isCanSel; | ||
| 79 | - }; | ||
| 80 | - Cell_Body_Bc.prototype.canUpdate = function() { // 是否能更新 | ||
| 81 | - return this.isSel && this.data.ttdid; | ||
| 82 | - }; | ||
| 83 | - Cell_Body_Bc.prototype.canDelete = function() { // 是否能删除 | ||
| 84 | - return this.isSel && this.data.ttdid; | ||
| 85 | - }; | ||
| 86 | - Cell_Body_Bc.prototype.validInfo = function() { // 验证班次内数据是否正确 | ||
| 87 | - if (this.canSel() && this.data.ttdid) { | ||
| 88 | - if (this.data.bcType == 'in') { | ||
| 89 | - this.isValidInfo = this.data.qdz != null && this.data.tcc != null; | ||
| 90 | - } else if (this.data.bcType == 'out') { | ||
| 91 | - this.isValidInfo = this.data.tcc != null && this.data.zdz != null; | ||
| 92 | - } else { | ||
| 93 | - this.isValidInfo = this.data.qdz != null && this.data.zdz != null; | ||
| 94 | - } | ||
| 95 | - } else { | ||
| 96 | - this.isValidInfo = true; | ||
| 97 | - } | ||
| 98 | - return this.isValidInfo; | ||
| 99 | - }; | ||
| 100 | - Cell_Body_Bc.prototype.where = function( | ||
| 101 | - xldir, startTime_h_m, endTime_h_m, isInOut | ||
| 102 | - ) { // 判定班次是否在指定条件内 | ||
| 103 | - | ||
| 104 | - var fcsj_m_h = []; | ||
| 105 | - fcsj_m_h[0] = parseInt(this.data.fcsj.split(":")[0]); | ||
| 106 | - fcsj_m_h[1] = parseInt(this.data.fcsj.split(":")[1]); | ||
| 107 | - | ||
| 108 | - var fcsj = new Date(2000,1,1); | ||
| 109 | - fcsj.setHours(fcsj_m_h[0]); | ||
| 110 | - fcsj.setMinutes(fcsj_m_h[1]); | ||
| 111 | - | ||
| 112 | - var s_temp_date = new Date(2000, 1, 1); | ||
| 113 | - var e_temp_date = new Date(2000, 1, 1); | ||
| 114 | - | ||
| 115 | - if (xldir == 2) { // 上下行 | ||
| 116 | - // 判定是否要进出场班次 | ||
| 117 | - if (isInOut == false && (this.data.bcType == "in" || this.data.bcType == "out")) { | ||
| 118 | - return false; | ||
| 119 | - } | ||
| 120 | - | ||
| 121 | - if (startTime_h_m) { | ||
| 122 | - if (endTime_h_m) { | ||
| 123 | - s_temp_date.setHours(startTime_h_m[0]); | ||
| 124 | - s_temp_date.setMinutes(startTime_h_m[1]); | ||
| 125 | - e_temp_date.setHours(endTime_h_m[0]); | ||
| 126 | - e_temp_date.setMinutes(endTime_h_m[1]); | ||
| 127 | - return fcsj >= s_temp_date && fcsj <= e_temp_date; | ||
| 128 | - } else { | ||
| 129 | - s_temp_date.setHours(startTime_h_m[0]); | ||
| 130 | - s_temp_date.setMinutes(startTime_h_m[1]); | ||
| 131 | - return fcsj >= s_temp_date; | ||
| 132 | - } | ||
| 133 | - } else { | ||
| 134 | - if (endTime_h_m) { | ||
| 135 | - e_temp_date.setHours(endTime_h_m[0]); | ||
| 136 | - e_temp_date.setMinutes(endTime_h_m[1]); | ||
| 137 | - return fcsj <= e_temp_date; | ||
| 138 | - } else { | ||
| 139 | - return false; | ||
| 140 | - } | ||
| 141 | - } | ||
| 142 | - } else { | ||
| 143 | - // 判定是否要进出场班次 | ||
| 144 | - if (isInOut == false && (this.data.bcType == "in" || this.data.bcType == "out")) { | ||
| 145 | - return false; | ||
| 146 | - } | ||
| 147 | - | ||
| 148 | - if (xldir == this.xldir) { | ||
| 149 | - if (startTime_h_m) { | ||
| 150 | - if (endTime_h_m) { | ||
| 151 | - s_temp_date.setHours(startTime_h_m[0]); | ||
| 152 | - s_temp_date.setMinutes(startTime_h_m[1]); | ||
| 153 | - e_temp_date.setHours(endTime_h_m[0]); | ||
| 154 | - e_temp_date.setMinutes(endTime_h_m[1]); | ||
| 155 | - return fcsj >= s_temp_date && fcsj <= e_temp_date; | ||
| 156 | - } else { | ||
| 157 | - s_temp_date.setHours(startTime_h_m[0]); | ||
| 158 | - s_temp_date.setMinutes(startTime_h_m[1]); | ||
| 159 | - return fcsj >= s_temp_date; | ||
| 160 | - } | ||
| 161 | - } else { | ||
| 162 | - if (endTime_h_m) { | ||
| 163 | - e_temp_date.setHours(endTime_h_m[0]); | ||
| 164 | - e_temp_date.setMinutes(endTime_h_m[1]); | ||
| 165 | - return fcsj <= e_temp_date; | ||
| 166 | - } else { | ||
| 167 | - return true; | ||
| 168 | - } | ||
| 169 | - } | ||
| 170 | - } else { | ||
| 171 | - return false; | ||
| 172 | - } | ||
| 173 | - } | ||
| 174 | - }; | ||
| 175 | - | ||
| 176 | - Cell_Body_Lp.prototype.canSel = function() { // 是否能被选中 | ||
| 177 | - return this.isCanSel; | ||
| 178 | - }; | ||
| 179 | - Cell_Body_Lp.prototype.canUpdate = function() { // 是否能更新 | ||
| 180 | - return this.isSel && this.data.ttdid; | ||
| 181 | - }; | ||
| 182 | - Cell_Body_Lp.prototype.canDelete = function() { // 是否能删除 | ||
| 183 | - return this.isSel && this.data.ttdid; | ||
| 184 | - }; | ||
| 185 | - | ||
| 186 | - Cell_Body_Stat.prototype.canSel = function() { // 是否能被选中 | ||
| 187 | - return this.isCanSel; | ||
| 188 | - }; | ||
| 189 | - Cell_Body_Stat.prototype.canUpdate = function() { // 是否能更新 | ||
| 190 | - return this.isSel && this.data.ttdid; | ||
| 191 | - }; | ||
| 192 | - Cell_Body_Stat.prototype.canDelete = function() { // 是否能删除 | ||
| 193 | - return this.isSel && this.data.ttdid; | ||
| 194 | - }; | ||
| 195 | - | ||
| 196 | - return { | ||
| 197 | - // TODO: | ||
| 198 | - }; | ||
| 199 | - } | ||
| 200 | - ] | 1 | +/** |
| 2 | + * saTimeTable指令工具集,创建内部单元格类,及其他操作 | ||
| 3 | + */ | ||
| 4 | +angular.module('ScheduleApp').factory( | ||
| 5 | + 'SaTimeTableUtils', | ||
| 6 | + [ | ||
| 7 | + function() { | ||
| 8 | + /** | ||
| 9 | + * 表格,单元格头类 | ||
| 10 | + * 如:路牌,出1,青2......进6 | ||
| 11 | + */ | ||
| 12 | + var Cell_Header = function(str) { | ||
| 13 | + /** 表头数据 */ | ||
| 14 | + this.headStr = str; | ||
| 15 | + }; | ||
| 16 | + Cell_Header.prototype.setHead = function(str) { | ||
| 17 | + this.headStr = str || ""; | ||
| 18 | + }; | ||
| 19 | + | ||
| 20 | + /** | ||
| 21 | + * 表格,单元格内容类,在表格上只显示时间,但是内部还是保存其他值。 | ||
| 22 | + */ | ||
| 23 | + var Cell_Body_Bc = function() { | ||
| 24 | + /** 表格单元格显示的信息 */ | ||
| 25 | + this.info = undefined; | ||
| 26 | + | ||
| 27 | + this.isSel = false; // 是否被选中 | ||
| 28 | + this.isCanSel = true; // 是否能被选择 | ||
| 29 | + this.isValidInfo = false; // 数据是否有效 | ||
| 30 | + | ||
| 31 | + this.data = {}; // 内部信息 | ||
| 32 | + | ||
| 33 | + this.data.ttdid = undefined; // 班次信息Id | ||
| 34 | + this.data.fcsj = undefined; // 发车时间 | ||
| 35 | + this.data.bcType = undefined; // 班次类型 | ||
| 36 | + this.data.xldir = undefined; // 线路方向 | ||
| 37 | + this.data.isfb = undefined; // 是否分班 | ||
| 38 | + this.data.jhlc = undefined; // 计划里程 | ||
| 39 | + this.data.qdz = null; // 起点站id | ||
| 40 | + this.data.zdz = null; // 终点站id | ||
| 41 | + this.data.tcc = null; // 停车场id | ||
| 42 | + | ||
| 43 | + this.self.lpId = undefined; // 路牌Id | ||
| 44 | + this.self.lpName = undefined; // 路牌名字 | ||
| 45 | + | ||
| 46 | + this.self.fcno = undefined; // 发车序号 | ||
| 47 | + this.self.bcs = undefined; // 班次数 | ||
| 48 | + }; | ||
| 49 | + /** | ||
| 50 | + * 路牌单元格类。 | ||
| 51 | + */ | ||
| 52 | + var Cell_Body_Lp = function() { | ||
| 53 | + this.info = undefined; | ||
| 54 | + | ||
| 55 | + this.isSel = false; // 是否被选中 | ||
| 56 | + this.isCanSel = false; // 是否能被选择 | ||
| 57 | + this.isValidInfo = false; // 数据是否有效 | ||
| 58 | + | ||
| 59 | + this.data = {}; // 内部信息 | ||
| 60 | + | ||
| 61 | + this.data.lpId = undefined; // 路牌Id | ||
| 62 | + this.data.lpName = undefined; // 路牌名字 | ||
| 63 | + }; | ||
| 64 | + /** | ||
| 65 | + * 统计单元格类。 | ||
| 66 | + */ | ||
| 67 | + var Cell_Body_Stat = function() { | ||
| 68 | + this.info = undefined; | ||
| 69 | + | ||
| 70 | + this.isSel = false; // 是否被选中 | ||
| 71 | + this.isCanSel = false; // 是否能被选择 | ||
| 72 | + this.isValidInfo = false; // 数据是否有效 | ||
| 73 | + | ||
| 74 | + this.data = {}; // 内部信息 | ||
| 75 | + }; | ||
| 76 | + | ||
| 77 | + Cell_Body_Bc.prototype.canSel = function() { // 是否能被选中 | ||
| 78 | + return this.isCanSel; | ||
| 79 | + }; | ||
| 80 | + Cell_Body_Bc.prototype.canUpdate = function() { // 是否能更新 | ||
| 81 | + return this.isSel && this.data.ttdid; | ||
| 82 | + }; | ||
| 83 | + Cell_Body_Bc.prototype.canDelete = function() { // 是否能删除 | ||
| 84 | + return this.isSel && this.data.ttdid; | ||
| 85 | + }; | ||
| 86 | + Cell_Body_Bc.prototype.validInfo = function() { // 验证班次内数据是否正确 | ||
| 87 | + if (this.canSel() && this.data.ttdid) { | ||
| 88 | + if (this.data.bcType == 'in') { | ||
| 89 | + this.isValidInfo = this.data.qdz != null && this.data.tcc != null; | ||
| 90 | + } else if (this.data.bcType == 'out') { | ||
| 91 | + this.isValidInfo = this.data.tcc != null && this.data.zdz != null; | ||
| 92 | + } else { | ||
| 93 | + this.isValidInfo = this.data.qdz != null && this.data.zdz != null; | ||
| 94 | + } | ||
| 95 | + } else { | ||
| 96 | + this.isValidInfo = true; | ||
| 97 | + } | ||
| 98 | + return this.isValidInfo; | ||
| 99 | + }; | ||
| 100 | + Cell_Body_Bc.prototype.where = function( | ||
| 101 | + xldir, startTime_h_m, endTime_h_m, isInOut | ||
| 102 | + ) { // 判定班次是否在指定条件内 | ||
| 103 | + | ||
| 104 | + var fcsj_m_h = []; | ||
| 105 | + fcsj_m_h[0] = parseInt(this.data.fcsj.split(":")[0]); | ||
| 106 | + fcsj_m_h[1] = parseInt(this.data.fcsj.split(":")[1]); | ||
| 107 | + | ||
| 108 | + var fcsj = new Date(2000,1,1); | ||
| 109 | + fcsj.setHours(fcsj_m_h[0]); | ||
| 110 | + fcsj.setMinutes(fcsj_m_h[1]); | ||
| 111 | + | ||
| 112 | + var s_temp_date = new Date(2000, 1, 1); | ||
| 113 | + var e_temp_date = new Date(2000, 1, 1); | ||
| 114 | + | ||
| 115 | + if (xldir == 2) { // 上下行 | ||
| 116 | + // 判定是否要进出场班次 | ||
| 117 | + if (isInOut == false && (this.data.bcType == "in" || this.data.bcType == "out")) { | ||
| 118 | + return false; | ||
| 119 | + } | ||
| 120 | + | ||
| 121 | + if (startTime_h_m) { | ||
| 122 | + if (endTime_h_m) { | ||
| 123 | + s_temp_date.setHours(startTime_h_m[0]); | ||
| 124 | + s_temp_date.setMinutes(startTime_h_m[1]); | ||
| 125 | + e_temp_date.setHours(endTime_h_m[0]); | ||
| 126 | + e_temp_date.setMinutes(endTime_h_m[1]); | ||
| 127 | + return fcsj >= s_temp_date && fcsj <= e_temp_date; | ||
| 128 | + } else { | ||
| 129 | + s_temp_date.setHours(startTime_h_m[0]); | ||
| 130 | + s_temp_date.setMinutes(startTime_h_m[1]); | ||
| 131 | + return fcsj >= s_temp_date; | ||
| 132 | + } | ||
| 133 | + } else { | ||
| 134 | + if (endTime_h_m) { | ||
| 135 | + e_temp_date.setHours(endTime_h_m[0]); | ||
| 136 | + e_temp_date.setMinutes(endTime_h_m[1]); | ||
| 137 | + return fcsj <= e_temp_date; | ||
| 138 | + } else { | ||
| 139 | + return false; | ||
| 140 | + } | ||
| 141 | + } | ||
| 142 | + } else { | ||
| 143 | + // 判定是否要进出场班次 | ||
| 144 | + if (isInOut == false && (this.data.bcType == "in" || this.data.bcType == "out")) { | ||
| 145 | + return false; | ||
| 146 | + } | ||
| 147 | + | ||
| 148 | + if (xldir == this.xldir) { | ||
| 149 | + if (startTime_h_m) { | ||
| 150 | + if (endTime_h_m) { | ||
| 151 | + s_temp_date.setHours(startTime_h_m[0]); | ||
| 152 | + s_temp_date.setMinutes(startTime_h_m[1]); | ||
| 153 | + e_temp_date.setHours(endTime_h_m[0]); | ||
| 154 | + e_temp_date.setMinutes(endTime_h_m[1]); | ||
| 155 | + return fcsj >= s_temp_date && fcsj <= e_temp_date; | ||
| 156 | + } else { | ||
| 157 | + s_temp_date.setHours(startTime_h_m[0]); | ||
| 158 | + s_temp_date.setMinutes(startTime_h_m[1]); | ||
| 159 | + return fcsj >= s_temp_date; | ||
| 160 | + } | ||
| 161 | + } else { | ||
| 162 | + if (endTime_h_m) { | ||
| 163 | + e_temp_date.setHours(endTime_h_m[0]); | ||
| 164 | + e_temp_date.setMinutes(endTime_h_m[1]); | ||
| 165 | + return fcsj <= e_temp_date; | ||
| 166 | + } else { | ||
| 167 | + return true; | ||
| 168 | + } | ||
| 169 | + } | ||
| 170 | + } else { | ||
| 171 | + return false; | ||
| 172 | + } | ||
| 173 | + } | ||
| 174 | + }; | ||
| 175 | + | ||
| 176 | + Cell_Body_Lp.prototype.canSel = function() { // 是否能被选中 | ||
| 177 | + return this.isCanSel; | ||
| 178 | + }; | ||
| 179 | + Cell_Body_Lp.prototype.canUpdate = function() { // 是否能更新 | ||
| 180 | + return this.isSel && this.data.ttdid; | ||
| 181 | + }; | ||
| 182 | + Cell_Body_Lp.prototype.canDelete = function() { // 是否能删除 | ||
| 183 | + return this.isSel && this.data.ttdid; | ||
| 184 | + }; | ||
| 185 | + | ||
| 186 | + Cell_Body_Stat.prototype.canSel = function() { // 是否能被选中 | ||
| 187 | + return this.isCanSel; | ||
| 188 | + }; | ||
| 189 | + Cell_Body_Stat.prototype.canUpdate = function() { // 是否能更新 | ||
| 190 | + return this.isSel && this.data.ttdid; | ||
| 191 | + }; | ||
| 192 | + Cell_Body_Stat.prototype.canDelete = function() { // 是否能删除 | ||
| 193 | + return this.isSel && this.data.ttdid; | ||
| 194 | + }; | ||
| 195 | + | ||
| 196 | + return { | ||
| 197 | + // TODO: | ||
| 198 | + }; | ||
| 199 | + } | ||
| 200 | + ] | ||
| 201 | ); | 201 | ); |
| 202 | \ No newline at end of file | 202 | \ No newline at end of file |
src/main/resources/static/real_control_v2/assets/plugins/jquery.ui/themes/base/accordion.css
src/main/resources/static/real_control_v2/assets/plugins/jquery.ui/themes/base/all.css
src/main/resources/static/real_control_v2/assets/plugins/jquery.ui/themes/base/autocomplete.css
src/main/resources/static/real_control_v2/assets/plugins/jquery.ui/themes/base/base.css
src/main/resources/static/real_control_v2/assets/plugins/jquery.ui/themes/base/button.css
src/main/resources/static/real_control_v2/assets/plugins/jquery.ui/themes/base/core.css
src/main/resources/static/real_control_v2/assets/plugins/jquery.ui/themes/base/datepicker.css
src/main/resources/static/real_control_v2/assets/plugins/jquery.ui/themes/base/dialog.css
src/main/resources/static/real_control_v2/assets/plugins/jquery.ui/themes/base/draggable.css
src/main/resources/static/real_control_v2/assets/plugins/jquery.ui/themes/base/menu.css
src/main/resources/static/real_control_v2/assets/plugins/jquery.ui/themes/base/progressbar.css
src/main/resources/static/real_control_v2/assets/plugins/jquery.ui/themes/base/resizable.css
src/main/resources/static/real_control_v2/assets/plugins/jquery.ui/themes/base/selectable.css
src/main/resources/static/real_control_v2/assets/plugins/jquery.ui/themes/base/selectmenu.css
src/main/resources/static/real_control_v2/assets/plugins/jquery.ui/themes/base/slider.css
src/main/resources/static/real_control_v2/assets/plugins/jquery.ui/themes/base/sortable.css
src/main/resources/static/real_control_v2/assets/plugins/jquery.ui/themes/base/spinner.css
src/main/resources/static/real_control_v2/assets/plugins/jquery.ui/themes/base/tabs.css
src/main/resources/static/real_control_v2/assets/plugins/jquery.ui/themes/base/theme.css
| 1 | -/*! | 1 | +/* |
| 2 | * jQuery UI CSS Framework 1.11.1 | 2 | * jQuery UI CSS Framework 1.11.1 |
| 3 | * http://jqueryui.com | 3 | * http://jqueryui.com |
| 4 | * | 4 | * |
| @@ -30,7 +30,7 @@ | @@ -30,7 +30,7 @@ | ||
| 30 | } | 30 | } |
| 31 | .ui-widget-content { | 31 | .ui-widget-content { |
| 32 | border: 1px solid #aaaaaa/*{borderColorContent}*/; | 32 | border: 1px solid #aaaaaa/*{borderColorContent}*/; |
| 33 | - background: #ffffff/*{bgColorContent}*/ url("images/ui-bg_flat_75_ffffff_40x100.png")/*{bgImgUrlContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/; | 33 | + background: #ffffff/*{bgColorContent}*/ url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png")/*{bgImgUrlContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/; |
| 34 | color: #222222/*{fcContent}*/; | 34 | color: #222222/*{fcContent}*/; |
| 35 | } | 35 | } |
| 36 | .ui-widget-content a { | 36 | .ui-widget-content a { |
| @@ -38,7 +38,7 @@ | @@ -38,7 +38,7 @@ | ||
| 38 | } | 38 | } |
| 39 | .ui-widget-header { | 39 | .ui-widget-header { |
| 40 | border: 1px solid #aaaaaa/*{borderColorHeader}*/; | 40 | border: 1px solid #aaaaaa/*{borderColorHeader}*/; |
| 41 | - background: #cccccc/*{bgColorHeader}*/ url("images/ui-bg_highlight-soft_75_cccccc_1x100.png")/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/; | 41 | + background: #cccccc/*{bgColorHeader}*/ url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png")/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/; |
| 42 | color: #222222/*{fcHeader}*/; | 42 | color: #222222/*{fcHeader}*/; |
| 43 | font-weight: bold; | 43 | font-weight: bold; |
| 44 | } | 44 | } |
| @@ -52,7 +52,7 @@ | @@ -52,7 +52,7 @@ | ||
| 52 | .ui-widget-content .ui-state-default, | 52 | .ui-widget-content .ui-state-default, |
| 53 | .ui-widget-header .ui-state-default { | 53 | .ui-widget-header .ui-state-default { |
| 54 | border: 1px solid #d3d3d3/*{borderColorDefault}*/; | 54 | border: 1px solid #d3d3d3/*{borderColorDefault}*/; |
| 55 | - background: #e6e6e6/*{bgColorDefault}*/ url("images/ui-bg_glass_75_e6e6e6_1x400.png")/*{bgImgUrlDefault}*/ 50%/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/; | 55 | + background: #e6e6e6/*{bgColorDefault}*/ url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png")/*{bgImgUrlDefault}*/ 50%/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/; |
| 56 | font-weight: normal/*{fwDefault}*/; | 56 | font-weight: normal/*{fwDefault}*/; |
| 57 | color: #555555/*{fcDefault}*/; | 57 | color: #555555/*{fcDefault}*/; |
| 58 | } | 58 | } |
| @@ -69,7 +69,7 @@ | @@ -69,7 +69,7 @@ | ||
| 69 | .ui-widget-content .ui-state-focus, | 69 | .ui-widget-content .ui-state-focus, |
| 70 | .ui-widget-header .ui-state-focus { | 70 | .ui-widget-header .ui-state-focus { |
| 71 | border: 1px solid #999999/*{borderColorHover}*/; | 71 | border: 1px solid #999999/*{borderColorHover}*/; |
| 72 | - background: #dadada/*{bgColorHover}*/ url("images/ui-bg_glass_75_dadada_1x400.png")/*{bgImgUrlHover}*/ 50%/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/; | 72 | + background: #dadada/*{bgColorHover}*/ url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png")/*{bgImgUrlHover}*/ 50%/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/; |
| 73 | font-weight: normal/*{fwDefault}*/; | 73 | font-weight: normal/*{fwDefault}*/; |
| 74 | color: #212121/*{fcHover}*/; | 74 | color: #212121/*{fcHover}*/; |
| 75 | } | 75 | } |
| @@ -88,7 +88,7 @@ | @@ -88,7 +88,7 @@ | ||
| 88 | .ui-widget-content .ui-state-active, | 88 | .ui-widget-content .ui-state-active, |
| 89 | .ui-widget-header .ui-state-active { | 89 | .ui-widget-header .ui-state-active { |
| 90 | border: 1px solid #aaaaaa/*{borderColorActive}*/; | 90 | border: 1px solid #aaaaaa/*{borderColorActive}*/; |
| 91 | - background: #ffffff/*{bgColorActive}*/ url("images/ui-bg_glass_65_ffffff_1x400.png")/*{bgImgUrlActive}*/ 50%/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/; | 91 | + background: #ffffff/*{bgColorActive}*/ url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png")/*{bgImgUrlActive}*/ 50%/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/; |
| 92 | font-weight: normal/*{fwDefault}*/; | 92 | font-weight: normal/*{fwDefault}*/; |
| 93 | color: #212121/*{fcActive}*/; | 93 | color: #212121/*{fcActive}*/; |
| 94 | } | 94 | } |
| @@ -105,7 +105,7 @@ | @@ -105,7 +105,7 @@ | ||
| 105 | .ui-widget-content .ui-state-highlight, | 105 | .ui-widget-content .ui-state-highlight, |
| 106 | .ui-widget-header .ui-state-highlight { | 106 | .ui-widget-header .ui-state-highlight { |
| 107 | border: 1px solid #fcefa1/*{borderColorHighlight}*/; | 107 | border: 1px solid #fcefa1/*{borderColorHighlight}*/; |
| 108 | - background: #fbf9ee/*{bgColorHighlight}*/ url("images/ui-bg_glass_55_fbf9ee_1x400.png")/*{bgImgUrlHighlight}*/ 50%/*{bgHighlightXPos}*/ 50%/*{bgHighlightYPos}*/ repeat-x/*{bgHighlightRepeat}*/; | 108 | + background: #fbf9ee/*{bgColorHighlight}*/ url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png")/*{bgImgUrlHighlight}*/ 50%/*{bgHighlightXPos}*/ 50%/*{bgHighlightYPos}*/ repeat-x/*{bgHighlightRepeat}*/; |
| 109 | color: #363636/*{fcHighlight}*/; | 109 | color: #363636/*{fcHighlight}*/; |
| 110 | } | 110 | } |
| 111 | .ui-state-highlight a, | 111 | .ui-state-highlight a, |
| @@ -117,7 +117,7 @@ | @@ -117,7 +117,7 @@ | ||
| 117 | .ui-widget-content .ui-state-error, | 117 | .ui-widget-content .ui-state-error, |
| 118 | .ui-widget-header .ui-state-error { | 118 | .ui-widget-header .ui-state-error { |
| 119 | border: 1px solid #cd0a0a/*{borderColorError}*/; | 119 | border: 1px solid #cd0a0a/*{borderColorError}*/; |
| 120 | - background: #fef1ec/*{bgColorError}*/ url("images/ui-bg_glass_95_fef1ec_1x400.png")/*{bgImgUrlError}*/ 50%/*{bgErrorXPos}*/ 50%/*{bgErrorYPos}*/ repeat-x/*{bgErrorRepeat}*/; | 120 | + background: #fef1ec/*{bgColorError}*/ url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png")/*{bgImgUrlError}*/ 50%/*{bgErrorXPos}*/ 50%/*{bgErrorYPos}*/ repeat-x/*{bgErrorRepeat}*/; |
| 121 | color: #cd0a0a/*{fcError}*/; | 121 | color: #cd0a0a/*{fcError}*/; |
| 122 | } | 122 | } |
| 123 | .ui-state-error a, | 123 | .ui-state-error a, |
| @@ -163,27 +163,27 @@ | @@ -163,27 +163,27 @@ | ||
| 163 | } | 163 | } |
| 164 | .ui-icon, | 164 | .ui-icon, |
| 165 | .ui-widget-content .ui-icon { | 165 | .ui-widget-content .ui-icon { |
| 166 | - background-image: url("images/ui-icons_222222_256x240.png")/*{iconsContent}*/; | 166 | + background-image: url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-icons_222222_256x240.png")/*{iconsContent}*/; |
| 167 | } | 167 | } |
| 168 | .ui-widget-header .ui-icon { | 168 | .ui-widget-header .ui-icon { |
| 169 | - background-image: url("images/ui-icons_222222_256x240.png")/*{iconsHeader}*/; | 169 | + background-image: url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-icons_222222_256x240.png")/*{iconsHeader}*/; |
| 170 | } | 170 | } |
| 171 | .ui-state-default .ui-icon { | 171 | .ui-state-default .ui-icon { |
| 172 | - background-image: url("images/ui-icons_888888_256x240.png")/*{iconsDefault}*/; | 172 | + background-image: url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-icons_888888_256x240.png")/*{iconsDefault}*/; |
| 173 | } | 173 | } |
| 174 | .ui-state-hover .ui-icon, | 174 | .ui-state-hover .ui-icon, |
| 175 | .ui-state-focus .ui-icon { | 175 | .ui-state-focus .ui-icon { |
| 176 | - background-image: url("images/ui-icons_454545_256x240.png")/*{iconsHover}*/; | 176 | + background-image: url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-icons_454545_256x240.png")/*{iconsHover}*/; |
| 177 | } | 177 | } |
| 178 | .ui-state-active .ui-icon { | 178 | .ui-state-active .ui-icon { |
| 179 | - background-image: url("images/ui-icons_454545_256x240.png")/*{iconsActive}*/; | 179 | + background-image: url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-icons_454545_256x240.png")/*{iconsActive}*/; |
| 180 | } | 180 | } |
| 181 | .ui-state-highlight .ui-icon { | 181 | .ui-state-highlight .ui-icon { |
| 182 | - background-image: url("images/ui-icons_2e83ff_256x240.png")/*{iconsHighlight}*/; | 182 | + background-image: url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-icons_2e83ff_256x240.png")/*{iconsHighlight}*/; |
| 183 | } | 183 | } |
| 184 | .ui-state-error .ui-icon, | 184 | .ui-state-error .ui-icon, |
| 185 | .ui-state-error-text .ui-icon { | 185 | .ui-state-error-text .ui-icon { |
| 186 | - background-image: url("images/ui-icons_cd0a0a_256x240.png")/*{iconsError}*/; | 186 | + background-image: url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-icons_cd0a0a_256x240.png")/*{iconsError}*/; |
| 187 | } | 187 | } |
| 188 | 188 | ||
| 189 | /* positioning */ | 189 | /* positioning */ |
| @@ -396,14 +396,14 @@ | @@ -396,14 +396,14 @@ | ||
| 396 | 396 | ||
| 397 | /* Overlays */ | 397 | /* Overlays */ |
| 398 | .ui-widget-overlay { | 398 | .ui-widget-overlay { |
| 399 | - background: #aaaaaa/*{bgColorOverlay}*/ url("images/ui-bg_flat_0_aaaaaa_40x100.png")/*{bgImgUrlOverlay}*/ 50%/*{bgOverlayXPos}*/ 50%/*{bgOverlayYPos}*/ repeat-x/*{bgOverlayRepeat}*/; | 399 | + background: #aaaaaa/*{bgColorOverlay}*/ url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png")/*{bgImgUrlOverlay}*/ 50%/*{bgOverlayXPos}*/ 50%/*{bgOverlayYPos}*/ repeat-x/*{bgOverlayRepeat}*/; |
| 400 | opacity: .3/*{opacityOverlay}*/; | 400 | opacity: .3/*{opacityOverlay}*/; |
| 401 | filter: Alpha(Opacity=30)/*{opacityFilterOverlay}*/; /* support: IE8 */ | 401 | filter: Alpha(Opacity=30)/*{opacityFilterOverlay}*/; /* support: IE8 */ |
| 402 | } | 402 | } |
| 403 | .ui-widget-shadow { | 403 | .ui-widget-shadow { |
| 404 | margin: -8px/*{offsetTopShadow}*/ 0 0 -8px/*{offsetLeftShadow}*/; | 404 | margin: -8px/*{offsetTopShadow}*/ 0 0 -8px/*{offsetLeftShadow}*/; |
| 405 | padding: 8px/*{thicknessShadow}*/; | 405 | padding: 8px/*{thicknessShadow}*/; |
| 406 | - background: #aaaaaa/*{bgColorShadow}*/ url("images/ui-bg_flat_0_aaaaaa_40x100.png")/*{bgImgUrlShadow}*/ 50%/*{bgShadowXPos}*/ 50%/*{bgShadowYPos}*/ repeat-x/*{bgShadowRepeat}*/; | 406 | + background: #aaaaaa/*{bgColorShadow}*/ url("/real_control_v2/assets/plugins/jquery.ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png")/*{bgImgUrlShadow}*/ 50%/*{bgShadowXPos}*/ 50%/*{bgShadowYPos}*/ repeat-x/*{bgShadowRepeat}*/; |
| 407 | opacity: .3/*{opacityShadow}*/; | 407 | opacity: .3/*{opacityShadow}*/; |
| 408 | filter: Alpha(Opacity=30)/*{opacityFilterShadow}*/; /* support: IE8 */ | 408 | filter: Alpha(Opacity=30)/*{opacityFilterShadow}*/; /* support: IE8 */ |
| 409 | border-radius: 8px/*{cornerRadiusShadow}*/; | 409 | border-radius: 8px/*{cornerRadiusShadow}*/; |
src/main/resources/static/real_control_v2/assets/plugins/jquery.ui/themes/base/tooltip.css
src/main/resources/static/real_control_v2/assets/plugins/jstree/default/style.css
| @@ -400,7 +400,7 @@ | @@ -400,7 +400,7 @@ | ||
| 400 | } | 400 | } |
| 401 | .jstree-default .jstree-node, | 401 | .jstree-default .jstree-node, |
| 402 | .jstree-default .jstree-icon { | 402 | .jstree-default .jstree-icon { |
| 403 | - background-image: url("32px.png"); | 403 | + background-image: url("/real_control_v2/assets/plugins/jstree/default/32px.png"); |
| 404 | } | 404 | } |
| 405 | .jstree-default .jstree-node { | 405 | .jstree-default .jstree-node { |
| 406 | background-position: -292px -4px; | 406 | background-position: -292px -4px; |
| @@ -505,13 +505,13 @@ | @@ -505,13 +505,13 @@ | ||
| 505 | background-position: 0 0; | 505 | background-position: 0 0; |
| 506 | } | 506 | } |
| 507 | .jstree-default > .jstree-container-ul .jstree-loading > .jstree-ocl { | 507 | .jstree-default > .jstree-container-ul .jstree-loading > .jstree-ocl { |
| 508 | - background: url("throbber.gif") center center no-repeat; | 508 | + background: url("/real_control_v2/assets/plugins/jstree/default/throbber.gif") center center no-repeat; |
| 509 | } | 509 | } |
| 510 | .jstree-default .jstree-file { | 510 | .jstree-default .jstree-file { |
| 511 | - background: url("32px.png") -100px -68px no-repeat; | 511 | + background: url("/real_control_v2/assets/plugins/jstree/default/32px.png") -100px -68px no-repeat; |
| 512 | } | 512 | } |
| 513 | .jstree-default .jstree-folder { | 513 | .jstree-default .jstree-folder { |
| 514 | - background: url("32px.png") -260px -4px no-repeat; | 514 | + background: url("/real_control_v2/assets/plugins/jstree/default/32px.png") -260px -4px no-repeat; |
| 515 | } | 515 | } |
| 516 | .jstree-default > .jstree-container-ul > .jstree-node { | 516 | .jstree-default > .jstree-container-ul > .jstree-node { |
| 517 | margin-left: 0; | 517 | margin-left: 0; |
| @@ -523,7 +523,7 @@ | @@ -523,7 +523,7 @@ | ||
| 523 | } | 523 | } |
| 524 | #jstree-dnd.jstree-default .jstree-ok, | 524 | #jstree-dnd.jstree-default .jstree-ok, |
| 525 | #jstree-dnd.jstree-default .jstree-er { | 525 | #jstree-dnd.jstree-default .jstree-er { |
| 526 | - background-image: url("32px.png"); | 526 | + background-image: url("/real_control_v2/assets/plugins/jstree/default/32px.png"); |
| 527 | background-repeat: no-repeat; | 527 | background-repeat: no-repeat; |
| 528 | background-color: transparent; | 528 | background-color: transparent; |
| 529 | } | 529 | } |
| @@ -573,7 +573,7 @@ | @@ -573,7 +573,7 @@ | ||
| 573 | } | 573 | } |
| 574 | .jstree-default-small .jstree-node, | 574 | .jstree-default-small .jstree-node, |
| 575 | .jstree-default-small .jstree-icon { | 575 | .jstree-default-small .jstree-icon { |
| 576 | - background-image: url("32px.png"); | 576 | + background-image: url("/real_control_v2/assets/plugins/jstree/default/32px.png"); |
| 577 | } | 577 | } |
| 578 | .jstree-default-small .jstree-node { | 578 | .jstree-default-small .jstree-node { |
| 579 | background-position: -295px -7px; | 579 | background-position: -295px -7px; |
| @@ -678,13 +678,13 @@ | @@ -678,13 +678,13 @@ | ||
| 678 | background-position: 0 0; | 678 | background-position: 0 0; |
| 679 | } | 679 | } |
| 680 | .jstree-default-small > .jstree-container-ul .jstree-loading > .jstree-ocl { | 680 | .jstree-default-small > .jstree-container-ul .jstree-loading > .jstree-ocl { |
| 681 | - background: url("throbber.gif") center center no-repeat; | 681 | + background: url("/real_control_v2/assets/plugins/jstree/default/throbber.gif") center center no-repeat; |
| 682 | } | 682 | } |
| 683 | .jstree-default-small .jstree-file { | 683 | .jstree-default-small .jstree-file { |
| 684 | - background: url("32px.png") -103px -71px no-repeat; | 684 | + background: url("/real_control_v2/assets/plugins/jstree/default/32px.png") -103px -71px no-repeat; |
| 685 | } | 685 | } |
| 686 | .jstree-default-small .jstree-folder { | 686 | .jstree-default-small .jstree-folder { |
| 687 | - background: url("32px.png") -263px -7px no-repeat; | 687 | + background: url("/real_control_v2/assets/plugins/jstree/default/32px.png") -263px -7px no-repeat; |
| 688 | } | 688 | } |
| 689 | .jstree-default-small > .jstree-container-ul > .jstree-node { | 689 | .jstree-default-small > .jstree-container-ul > .jstree-node { |
| 690 | margin-left: 0; | 690 | margin-left: 0; |
| @@ -696,7 +696,7 @@ | @@ -696,7 +696,7 @@ | ||
| 696 | } | 696 | } |
| 697 | #jstree-dnd.jstree-default-small .jstree-ok, | 697 | #jstree-dnd.jstree-default-small .jstree-ok, |
| 698 | #jstree-dnd.jstree-default-small .jstree-er { | 698 | #jstree-dnd.jstree-default-small .jstree-er { |
| 699 | - background-image: url("32px.png"); | 699 | + background-image: url("/real_control_v2/assets/plugins/jstree/default/32px.png"); |
| 700 | background-repeat: no-repeat; | 700 | background-repeat: no-repeat; |
| 701 | background-color: transparent; | 701 | background-color: transparent; |
| 702 | } | 702 | } |
| @@ -746,7 +746,7 @@ | @@ -746,7 +746,7 @@ | ||
| 746 | } | 746 | } |
| 747 | .jstree-default-large .jstree-node, | 747 | .jstree-default-large .jstree-node, |
| 748 | .jstree-default-large .jstree-icon { | 748 | .jstree-default-large .jstree-icon { |
| 749 | - background-image: url("32px.png"); | 749 | + background-image: url("/real_control_v2/assets/plugins/jstree/default/32px.png"); |
| 750 | } | 750 | } |
| 751 | .jstree-default-large .jstree-node { | 751 | .jstree-default-large .jstree-node { |
| 752 | background-position: -288px 0px; | 752 | background-position: -288px 0px; |
| @@ -851,13 +851,13 @@ | @@ -851,13 +851,13 @@ | ||
| 851 | background-position: 0 0; | 851 | background-position: 0 0; |
| 852 | } | 852 | } |
| 853 | .jstree-default-large > .jstree-container-ul .jstree-loading > .jstree-ocl { | 853 | .jstree-default-large > .jstree-container-ul .jstree-loading > .jstree-ocl { |
| 854 | - background: url("throbber.gif") center center no-repeat; | 854 | + background: url("/real_control_v2/assets/plugins/jstree/default/throbber.gif") center center no-repeat; |
| 855 | } | 855 | } |
| 856 | .jstree-default-large .jstree-file { | 856 | .jstree-default-large .jstree-file { |
| 857 | - background: url("32px.png") -96px -64px no-repeat; | 857 | + background: url("/real_control_v2/assets/plugins/jstree/default/32px.png") -96px -64px no-repeat; |
| 858 | } | 858 | } |
| 859 | .jstree-default-large .jstree-folder { | 859 | .jstree-default-large .jstree-folder { |
| 860 | - background: url("32px.png") -256px 0px no-repeat; | 860 | + background: url("/real_control_v2/assets/plugins/jstree/default/32px.png") -256px 0px no-repeat; |
| 861 | } | 861 | } |
| 862 | .jstree-default-large > .jstree-container-ul > .jstree-node { | 862 | .jstree-default-large > .jstree-container-ul > .jstree-node { |
| 863 | margin-left: 0; | 863 | margin-left: 0; |
| @@ -869,7 +869,7 @@ | @@ -869,7 +869,7 @@ | ||
| 869 | } | 869 | } |
| 870 | #jstree-dnd.jstree-default-large .jstree-ok, | 870 | #jstree-dnd.jstree-default-large .jstree-ok, |
| 871 | #jstree-dnd.jstree-default-large .jstree-er { | 871 | #jstree-dnd.jstree-default-large .jstree-er { |
| 872 | - background-image: url("32px.png"); | 872 | + background-image: url("/real_control_v2/assets/plugins/jstree/default/32px.png"); |
| 873 | background-repeat: no-repeat; | 873 | background-repeat: no-repeat; |
| 874 | background-color: transparent; | 874 | background-color: transparent; |
| 875 | } | 875 | } |
| @@ -904,12 +904,12 @@ | @@ -904,12 +904,12 @@ | ||
| 904 | height: 40px; | 904 | height: 40px; |
| 905 | } | 905 | } |
| 906 | #jstree-dnd.jstree-dnd-responsive > .jstree-ok { | 906 | #jstree-dnd.jstree-dnd-responsive > .jstree-ok { |
| 907 | - background-image: url("40px.png"); | 907 | + background-image: url("/real_control_v2/assets/plugins/jstree/default/40px.png"); |
| 908 | background-position: 0 -200px; | 908 | background-position: 0 -200px; |
| 909 | background-size: 120px 240px; | 909 | background-size: 120px 240px; |
| 910 | } | 910 | } |
| 911 | #jstree-dnd.jstree-dnd-responsive > .jstree-er { | 911 | #jstree-dnd.jstree-dnd-responsive > .jstree-er { |
| 912 | - background-image: url("40px.png"); | 912 | + background-image: url("/real_control_v2/assets/plugins/jstree/default/40px.png"); |
| 913 | background-position: -40px -200px; | 913 | background-position: -40px -200px; |
| 914 | background-size: 120px 240px; | 914 | background-size: 120px 240px; |
| 915 | } | 915 | } |
| @@ -928,7 +928,7 @@ | @@ -928,7 +928,7 @@ | ||
| 928 | */ | 928 | */ |
| 929 | } | 929 | } |
| 930 | .jstree-default-responsive .jstree-icon { | 930 | .jstree-default-responsive .jstree-icon { |
| 931 | - background-image: url("40px.png"); | 931 | + background-image: url("/real_control_v2/assets/plugins/jstree/default/40px.png"); |
| 932 | } | 932 | } |
| 933 | .jstree-default-responsive .jstree-node, | 933 | .jstree-default-responsive .jstree-node, |
| 934 | .jstree-default-responsive .jstree-leaf > .jstree-ocl { | 934 | .jstree-default-responsive .jstree-leaf > .jstree-ocl { |
| @@ -1032,7 +1032,7 @@ | @@ -1032,7 +1032,7 @@ | ||
| 1032 | .jstree-default-responsive .jstree-node > .jstree-ocl, | 1032 | .jstree-default-responsive .jstree-node > .jstree-ocl, |
| 1033 | .jstree-default-responsive .jstree-themeicon, | 1033 | .jstree-default-responsive .jstree-themeicon, |
| 1034 | .jstree-default-responsive .jstree-checkbox { | 1034 | .jstree-default-responsive .jstree-checkbox { |
| 1035 | - background-image: url("40px.png"); | 1035 | + background-image: url("/real_control_v2/assets/plugins/jstree/default/40px.png"); |
| 1036 | background-size: 120px 240px; | 1036 | background-size: 120px 240px; |
| 1037 | } | 1037 | } |
| 1038 | .jstree-default-responsive .jstree-node { | 1038 | .jstree-default-responsive .jstree-node { |
| @@ -1054,11 +1054,11 @@ | @@ -1054,11 +1054,11 @@ | ||
| 1054 | background-position: 0 0; | 1054 | background-position: 0 0; |
| 1055 | } | 1055 | } |
| 1056 | .jstree-default-responsive .jstree-file { | 1056 | .jstree-default-responsive .jstree-file { |
| 1057 | - background: url("40px.png") 0 -160px no-repeat; | 1057 | + background: url("/real_control_v2/assets/plugins/jstree/default/40px.png") 0 -160px no-repeat; |
| 1058 | background-size: 120px 240px; | 1058 | background-size: 120px 240px; |
| 1059 | } | 1059 | } |
| 1060 | .jstree-default-responsive .jstree-folder { | 1060 | .jstree-default-responsive .jstree-folder { |
| 1061 | - background: url("40px.png") -40px -40px no-repeat; | 1061 | + background: url("/real_control_v2/assets/plugins/jstree/default/40px.png") -40px -40px no-repeat; |
| 1062 | background-size: 120px 240px; | 1062 | background-size: 120px 240px; |
| 1063 | } | 1063 | } |
| 1064 | .jstree-default-responsive > .jstree-container-ul > .jstree-node { | 1064 | .jstree-default-responsive > .jstree-container-ul > .jstree-node { |
src/main/resources/static/real_control_v2/assets/plugins/jstree/default/style.min.css deleted
100644 → 0
| 1 | -.jstree-node,.jstree-children,.jstree-container-ul{display:block;margin:0;padding:0;list-style-type:none;list-style-image:none}.jstree-node{white-space:nowrap}.jstree-anchor{display:inline-block;color:#000;white-space:nowrap;padding:0 4px 0 1px;margin:0;vertical-align:top}.jstree-anchor:focus{outline:0}.jstree-anchor,.jstree-anchor:link,.jstree-anchor:visited,.jstree-anchor:hover,.jstree-anchor:active{text-decoration:none;color:inherit}.jstree-icon{display:inline-block;text-decoration:none;margin:0;padding:0;vertical-align:top;text-align:center}.jstree-icon:empty{display:inline-block;text-decoration:none;margin:0;padding:0;vertical-align:top;text-align:center}.jstree-ocl{cursor:pointer}.jstree-leaf>.jstree-ocl{cursor:default}.jstree .jstree-open>.jstree-children{display:block}.jstree .jstree-closed>.jstree-children,.jstree .jstree-leaf>.jstree-children{display:none}.jstree-anchor>.jstree-themeicon{margin-right:2px}.jstree-no-icons .jstree-themeicon,.jstree-anchor>.jstree-themeicon-hidden{display:none}.jstree-hidden,.jstree-node.jstree-hidden{display:none}.jstree-rtl .jstree-anchor{padding:0 1px 0 4px}.jstree-rtl .jstree-anchor>.jstree-themeicon{margin-left:2px;margin-right:0}.jstree-rtl .jstree-node{margin-left:0}.jstree-rtl .jstree-container-ul>.jstree-node{margin-right:0}.jstree-wholerow-ul{position:relative;display:inline-block;min-width:100%}.jstree-wholerow-ul .jstree-leaf>.jstree-ocl{cursor:pointer}.jstree-wholerow-ul .jstree-anchor,.jstree-wholerow-ul .jstree-icon{position:relative}.jstree-wholerow-ul .jstree-wholerow{width:100%;cursor:pointer;position:absolute;left:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vakata-context{display:none}.vakata-context,.vakata-context ul{margin:0;padding:2px;position:absolute;background:#f5f5f5;border:1px solid #979797;box-shadow:2px 2px 2px #999}.vakata-context ul{list-style:none;left:100%;margin-top:-2.7em;margin-left:-4px}.vakata-context .vakata-context-right ul{left:auto;right:100%;margin-left:auto;margin-right:-4px}.vakata-context li{list-style:none}.vakata-context li>a{display:block;padding:0 2em;text-decoration:none;width:auto;color:#000;white-space:nowrap;line-height:2.4em;text-shadow:1px 1px 0 #fff;border-radius:1px}.vakata-context li>a:hover{position:relative;background-color:#e8eff7;box-shadow:0 0 2px #0a6aa1}.vakata-context li>a.vakata-context-parent{background-image:url(data:image/gif;base64,R0lGODlhCwAHAIAAACgoKP///yH5BAEAAAEALAAAAAALAAcAAAIORI4JlrqN1oMSnmmZDQUAOw==);background-position:right center;background-repeat:no-repeat}.vakata-context li>a:focus{outline:0}.vakata-context .vakata-context-hover>a{position:relative;background-color:#e8eff7;box-shadow:0 0 2px #0a6aa1}.vakata-context .vakata-context-separator>a,.vakata-context .vakata-context-separator>a:hover{background:#fff;border:0;border-top:1px solid #e2e3e3;height:1px;min-height:1px;max-height:1px;padding:0;margin:0 0 0 2.4em;border-left:1px solid #e0e0e0;text-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;border-radius:0}.vakata-context .vakata-contextmenu-disabled a,.vakata-context .vakata-contextmenu-disabled a:hover{color:silver;background-color:transparent;border:0;box-shadow:0 0 0}.vakata-context li>a>i{text-decoration:none;display:inline-block;width:2.4em;height:2.4em;background:0 0;margin:0 0 0 -2em;vertical-align:top;text-align:center;line-height:2.4em}.vakata-context li>a>i:empty{width:2.4em;line-height:2.4em}.vakata-context li>a .vakata-contextmenu-sep{display:inline-block;width:1px;height:2.4em;background:#fff;margin:0 .5em 0 0;border-left:1px solid #e2e3e3}.vakata-context .vakata-contextmenu-shortcut{font-size:.8em;color:silver;opacity:.5;display:none}.vakata-context-rtl ul{left:auto;right:100%;margin-left:auto;margin-right:-4px}.vakata-context-rtl li>a.vakata-context-parent{background-image:url(data:image/gif;base64,R0lGODlhCwAHAIAAACgoKP///yH5BAEAAAEALAAAAAALAAcAAAINjI+AC7rWHIsPtmoxLAA7);background-position:left center;background-repeat:no-repeat}.vakata-context-rtl .vakata-context-separator>a{margin:0 2.4em 0 0;border-left:0;border-right:1px solid #e2e3e3}.vakata-context-rtl .vakata-context-left ul{right:auto;left:100%;margin-left:-4px;margin-right:auto}.vakata-context-rtl li>a>i{margin:0 -2em 0 0}.vakata-context-rtl li>a .vakata-contextmenu-sep{margin:0 0 0 .5em;border-left-color:#fff;background:#e2e3e3}#jstree-marker{position:absolute;top:0;left:0;margin:-5px 0 0 0;padding:0;border-right:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid;width:0;height:0;font-size:0;line-height:0}#jstree-dnd{line-height:16px;margin:0;padding:4px}#jstree-dnd .jstree-icon,#jstree-dnd .jstree-copy{display:inline-block;text-decoration:none;margin:0 2px 0 0;padding:0;width:16px;height:16px}#jstree-dnd .jstree-ok{background:green}#jstree-dnd .jstree-er{background:red}#jstree-dnd .jstree-copy{margin:0 2px}.jstree-default .jstree-node,.jstree-default .jstree-icon{background-repeat:no-repeat;background-color:transparent}.jstree-default .jstree-anchor,.jstree-default .jstree-wholerow{transition:background-color .15s,box-shadow .15s}.jstree-default .jstree-hovered{background:#e7f4f9;border-radius:2px;box-shadow:inset 0 0 1px #ccc}.jstree-default .jstree-context{background:#e7f4f9;border-radius:2px;box-shadow:inset 0 0 1px #ccc}.jstree-default .jstree-clicked{background:#beebff;border-radius:2px;box-shadow:inset 0 0 1px #999}.jstree-default .jstree-no-icons .jstree-anchor>.jstree-themeicon{display:none}.jstree-default .jstree-disabled{background:0 0;color:#666}.jstree-default .jstree-disabled.jstree-hovered{background:0 0;box-shadow:none}.jstree-default .jstree-disabled.jstree-clicked{background:#efefef}.jstree-default .jstree-disabled>.jstree-icon{opacity:.8;filter:url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'jstree-grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#jstree-grayscale");filter:gray;-webkit-filter:grayscale(100%)}.jstree-default .jstree-search{font-style:italic;color:#8b0000;font-weight:700}.jstree-default .jstree-no-checkboxes .jstree-checkbox{display:none!important}.jstree-default.jstree-checkbox-no-clicked .jstree-clicked{background:0 0;box-shadow:none}.jstree-default.jstree-checkbox-no-clicked .jstree-clicked.jstree-hovered{background:#e7f4f9}.jstree-default.jstree-checkbox-no-clicked>.jstree-wholerow-ul .jstree-wholerow-clicked{background:0 0}.jstree-default.jstree-checkbox-no-clicked>.jstree-wholerow-ul .jstree-wholerow-clicked.jstree-wholerow-hovered{background:#e7f4f9}.jstree-default>.jstree-striped{min-width:100%;display:inline-block;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAkCAMAAAB/qqA+AAAABlBMVEUAAAAAAAClZ7nPAAAAAnRSTlMNAMM9s3UAAAAXSURBVHjajcEBAQAAAIKg/H/aCQZ70AUBjAATb6YPDgAAAABJRU5ErkJggg==) left top repeat}.jstree-default>.jstree-wholerow-ul .jstree-hovered,.jstree-default>.jstree-wholerow-ul .jstree-clicked{background:0 0;box-shadow:none;border-radius:0}.jstree-default .jstree-wholerow{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.jstree-default .jstree-wholerow-hovered{background:#e7f4f9}.jstree-default .jstree-wholerow-clicked{background:#beebff;background:-webkit-linear-gradient(top,#beebff 0,#a8e4ff 100%);background:linear-gradient(to bottom,#beebff 0,#a8e4ff 100%)}.jstree-default .jstree-node{min-height:24px;line-height:24px;margin-left:24px;min-width:24px}.jstree-default .jstree-anchor{line-height:24px;height:24px}.jstree-default .jstree-icon{width:24px;height:24px;line-height:24px}.jstree-default .jstree-icon:empty{width:24px;height:24px;line-height:24px}.jstree-default.jstree-rtl .jstree-node{margin-right:24px}.jstree-default .jstree-wholerow{height:24px}.jstree-default .jstree-node,.jstree-default .jstree-icon{background-image:url(32px.png)}.jstree-default .jstree-node{background-position:-292px -4px;background-repeat:repeat-y}.jstree-default .jstree-last{background:0 0}.jstree-default .jstree-open>.jstree-ocl{background-position:-132px -4px}.jstree-default .jstree-closed>.jstree-ocl{background-position:-100px -4px}.jstree-default .jstree-leaf>.jstree-ocl{background-position:-68px -4px}.jstree-default .jstree-themeicon{background-position:-260px -4px}.jstree-default>.jstree-no-dots .jstree-node,.jstree-default>.jstree-no-dots .jstree-leaf>.jstree-ocl{background:0 0}.jstree-default>.jstree-no-dots .jstree-open>.jstree-ocl{background-position:-36px -4px}.jstree-default>.jstree-no-dots .jstree-closed>.jstree-ocl{background-position:-4px -4px}.jstree-default .jstree-disabled{background:0 0}.jstree-default .jstree-disabled.jstree-hovered{background:0 0}.jstree-default .jstree-disabled.jstree-clicked{background:#efefef}.jstree-default .jstree-checkbox{background-position:-164px -4px}.jstree-default .jstree-checkbox:hover{background-position:-164px -36px}.jstree-default.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox,.jstree-default .jstree-checked>.jstree-checkbox{background-position:-228px -4px}.jstree-default.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox:hover,.jstree-default .jstree-checked>.jstree-checkbox:hover{background-position:-228px -36px}.jstree-default .jstree-anchor>.jstree-undetermined{background-position:-196px -4px}.jstree-default .jstree-anchor>.jstree-undetermined:hover{background-position:-196px -36px}.jstree-default .jstree-checkbox-disabled{opacity:.8;filter:url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'jstree-grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#jstree-grayscale");filter:gray;-webkit-filter:grayscale(100%)}.jstree-default>.jstree-striped{background-size:auto 48px}.jstree-default.jstree-rtl .jstree-node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg==);background-position:100% 1px;background-repeat:repeat-y}.jstree-default.jstree-rtl .jstree-last{background:0 0}.jstree-default.jstree-rtl .jstree-open>.jstree-ocl{background-position:-132px -36px}.jstree-default.jstree-rtl .jstree-closed>.jstree-ocl{background-position:-100px -36px}.jstree-default.jstree-rtl .jstree-leaf>.jstree-ocl{background-position:-68px -36px}.jstree-default.jstree-rtl>.jstree-no-dots .jstree-node,.jstree-default.jstree-rtl>.jstree-no-dots .jstree-leaf>.jstree-ocl{background:0 0}.jstree-default.jstree-rtl>.jstree-no-dots .jstree-open>.jstree-ocl{background-position:-36px -36px}.jstree-default.jstree-rtl>.jstree-no-dots .jstree-closed>.jstree-ocl{background-position:-4px -36px}.jstree-default .jstree-themeicon-custom{background-color:transparent;background-image:none;background-position:0 0}.jstree-default>.jstree-container-ul .jstree-loading>.jstree-ocl{background:url(throbber.gif) center center no-repeat}.jstree-default .jstree-file{background:url(32px.png) -100px -68px no-repeat}.jstree-default .jstree-folder{background:url(32px.png) -260px -4px no-repeat}.jstree-default>.jstree-container-ul>.jstree-node{margin-left:0;margin-right:0}#jstree-dnd.jstree-default{line-height:24px;padding:0 4px}#jstree-dnd.jstree-default .jstree-ok,#jstree-dnd.jstree-default .jstree-er{background-image:url(32px.png);background-repeat:no-repeat;background-color:transparent}#jstree-dnd.jstree-default i{background:0 0;width:24px;height:24px;line-height:24px}#jstree-dnd.jstree-default .jstree-ok{background-position:-4px -68px}#jstree-dnd.jstree-default .jstree-er{background-position:-36px -68px}.jstree-default.jstree-rtl .jstree-node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg==)}.jstree-default.jstree-rtl .jstree-last{background:0 0}.jstree-default-small .jstree-node{min-height:18px;line-height:18px;margin-left:18px;min-width:18px}.jstree-default-small .jstree-anchor{line-height:18px;height:18px}.jstree-default-small .jstree-icon{width:18px;height:18px;line-height:18px}.jstree-default-small .jstree-icon:empty{width:18px;height:18px;line-height:18px}.jstree-default-small.jstree-rtl .jstree-node{margin-right:18px}.jstree-default-small .jstree-wholerow{height:18px}.jstree-default-small .jstree-node,.jstree-default-small .jstree-icon{background-image:url(32px.png)}.jstree-default-small .jstree-node{background-position:-295px -7px;background-repeat:repeat-y}.jstree-default-small .jstree-last{background:0 0}.jstree-default-small .jstree-open>.jstree-ocl{background-position:-135px -7px}.jstree-default-small .jstree-closed>.jstree-ocl{background-position:-103px -7px}.jstree-default-small .jstree-leaf>.jstree-ocl{background-position:-71px -7px}.jstree-default-small .jstree-themeicon{background-position:-263px -7px}.jstree-default-small>.jstree-no-dots .jstree-node,.jstree-default-small>.jstree-no-dots .jstree-leaf>.jstree-ocl{background:0 0}.jstree-default-small>.jstree-no-dots .jstree-open>.jstree-ocl{background-position:-39px -7px}.jstree-default-small>.jstree-no-dots .jstree-closed>.jstree-ocl{background-position:-7px -7px}.jstree-default-small .jstree-disabled{background:0 0}.jstree-default-small .jstree-disabled.jstree-hovered{background:0 0}.jstree-default-small .jstree-disabled.jstree-clicked{background:#efefef}.jstree-default-small .jstree-checkbox{background-position:-167px -7px}.jstree-default-small .jstree-checkbox:hover{background-position:-167px -39px}.jstree-default-small.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox,.jstree-default-small .jstree-checked>.jstree-checkbox{background-position:-231px -7px}.jstree-default-small.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox:hover,.jstree-default-small .jstree-checked>.jstree-checkbox:hover{background-position:-231px -39px}.jstree-default-small .jstree-anchor>.jstree-undetermined{background-position:-199px -7px}.jstree-default-small .jstree-anchor>.jstree-undetermined:hover{background-position:-199px -39px}.jstree-default-small .jstree-checkbox-disabled{opacity:.8;filter:url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'jstree-grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#jstree-grayscale");filter:gray;-webkit-filter:grayscale(100%)}.jstree-default-small>.jstree-striped{background-size:auto 36px}.jstree-default-small.jstree-rtl .jstree-node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg==);background-position:100% 1px;background-repeat:repeat-y}.jstree-default-small.jstree-rtl .jstree-last{background:0 0}.jstree-default-small.jstree-rtl .jstree-open>.jstree-ocl{background-position:-135px -39px}.jstree-default-small.jstree-rtl .jstree-closed>.jstree-ocl{background-position:-103px -39px}.jstree-default-small.jstree-rtl .jstree-leaf>.jstree-ocl{background-position:-71px -39px}.jstree-default-small.jstree-rtl>.jstree-no-dots .jstree-node,.jstree-default-small.jstree-rtl>.jstree-no-dots .jstree-leaf>.jstree-ocl{background:0 0}.jstree-default-small.jstree-rtl>.jstree-no-dots .jstree-open>.jstree-ocl{background-position:-39px -39px}.jstree-default-small.jstree-rtl>.jstree-no-dots .jstree-closed>.jstree-ocl{background-position:-7px -39px}.jstree-default-small .jstree-themeicon-custom{background-color:transparent;background-image:none;background-position:0 0}.jstree-default-small>.jstree-container-ul .jstree-loading>.jstree-ocl{background:url(throbber.gif) center center no-repeat}.jstree-default-small .jstree-file{background:url(32px.png) -103px -71px no-repeat}.jstree-default-small .jstree-folder{background:url(32px.png) -263px -7px no-repeat}.jstree-default-small>.jstree-container-ul>.jstree-node{margin-left:0;margin-right:0}#jstree-dnd.jstree-default-small{line-height:18px;padding:0 4px}#jstree-dnd.jstree-default-small .jstree-ok,#jstree-dnd.jstree-default-small .jstree-er{background-image:url(32px.png);background-repeat:no-repeat;background-color:transparent}#jstree-dnd.jstree-default-small i{background:0 0;width:18px;height:18px;line-height:18px}#jstree-dnd.jstree-default-small .jstree-ok{background-position:-7px -71px}#jstree-dnd.jstree-default-small .jstree-er{background-position:-39px -71px}.jstree-default-small.jstree-rtl .jstree-node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAACAQMAAABv1h6PAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMHBgAAiABBI4gz9AAAAABJRU5ErkJggg==)}.jstree-default-small.jstree-rtl .jstree-last{background:0 0}.jstree-default-large .jstree-node{min-height:32px;line-height:32px;margin-left:32px;min-width:32px}.jstree-default-large .jstree-anchor{line-height:32px;height:32px}.jstree-default-large .jstree-icon{width:32px;height:32px;line-height:32px}.jstree-default-large .jstree-icon:empty{width:32px;height:32px;line-height:32px}.jstree-default-large.jstree-rtl .jstree-node{margin-right:32px}.jstree-default-large .jstree-wholerow{height:32px}.jstree-default-large .jstree-node,.jstree-default-large .jstree-icon{background-image:url(32px.png)}.jstree-default-large .jstree-node{background-position:-288px 0;background-repeat:repeat-y}.jstree-default-large .jstree-last{background:0 0}.jstree-default-large .jstree-open>.jstree-ocl{background-position:-128px 0}.jstree-default-large .jstree-closed>.jstree-ocl{background-position:-96px 0}.jstree-default-large .jstree-leaf>.jstree-ocl{background-position:-64px 0}.jstree-default-large .jstree-themeicon{background-position:-256px 0}.jstree-default-large>.jstree-no-dots .jstree-node,.jstree-default-large>.jstree-no-dots .jstree-leaf>.jstree-ocl{background:0 0}.jstree-default-large>.jstree-no-dots .jstree-open>.jstree-ocl{background-position:-32px 0}.jstree-default-large>.jstree-no-dots .jstree-closed>.jstree-ocl{background-position:0 0}.jstree-default-large .jstree-disabled{background:0 0}.jstree-default-large .jstree-disabled.jstree-hovered{background:0 0}.jstree-default-large .jstree-disabled.jstree-clicked{background:#efefef}.jstree-default-large .jstree-checkbox{background-position:-160px 0}.jstree-default-large .jstree-checkbox:hover{background-position:-160px -32px}.jstree-default-large.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox,.jstree-default-large .jstree-checked>.jstree-checkbox{background-position:-224px 0}.jstree-default-large.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox:hover,.jstree-default-large .jstree-checked>.jstree-checkbox:hover{background-position:-224px -32px}.jstree-default-large .jstree-anchor>.jstree-undetermined{background-position:-192px 0}.jstree-default-large .jstree-anchor>.jstree-undetermined:hover{background-position:-192px -32px}.jstree-default-large .jstree-checkbox-disabled{opacity:.8;filter:url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'jstree-grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#jstree-grayscale");filter:gray;-webkit-filter:grayscale(100%)}.jstree-default-large>.jstree-striped{background-size:auto 64px}.jstree-default-large.jstree-rtl .jstree-node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg==);background-position:100% 1px;background-repeat:repeat-y}.jstree-default-large.jstree-rtl .jstree-last{background:0 0}.jstree-default-large.jstree-rtl .jstree-open>.jstree-ocl{background-position:-128px -32px}.jstree-default-large.jstree-rtl .jstree-closed>.jstree-ocl{background-position:-96px -32px}.jstree-default-large.jstree-rtl .jstree-leaf>.jstree-ocl{background-position:-64px -32px}.jstree-default-large.jstree-rtl>.jstree-no-dots .jstree-node,.jstree-default-large.jstree-rtl>.jstree-no-dots .jstree-leaf>.jstree-ocl{background:0 0}.jstree-default-large.jstree-rtl>.jstree-no-dots .jstree-open>.jstree-ocl{background-position:-32px -32px}.jstree-default-large.jstree-rtl>.jstree-no-dots .jstree-closed>.jstree-ocl{background-position:0 -32px}.jstree-default-large .jstree-themeicon-custom{background-color:transparent;background-image:none;background-position:0 0}.jstree-default-large>.jstree-container-ul .jstree-loading>.jstree-ocl{background:url(throbber.gif) center center no-repeat}.jstree-default-large .jstree-file{background:url(32px.png) -96px -64px no-repeat}.jstree-default-large .jstree-folder{background:url(32px.png) -256px 0 no-repeat}.jstree-default-large>.jstree-container-ul>.jstree-node{margin-left:0;margin-right:0}#jstree-dnd.jstree-default-large{line-height:32px;padding:0 4px}#jstree-dnd.jstree-default-large .jstree-ok,#jstree-dnd.jstree-default-large .jstree-er{background-image:url(32px.png);background-repeat:no-repeat;background-color:transparent}#jstree-dnd.jstree-default-large i{background:0 0;width:32px;height:32px;line-height:32px}#jstree-dnd.jstree-default-large .jstree-ok{background-position:0 -64px}#jstree-dnd.jstree-default-large .jstree-er{background-position:-32px -64px}.jstree-default-large.jstree-rtl .jstree-node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAACAQMAAAAD0EyKAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjgIIGBgABCgCBvVLXcAAAAABJRU5ErkJggg==)}.jstree-default-large.jstree-rtl .jstree-last{background:0 0}@media (max-width:768px){#jstree-dnd.jstree-dnd-responsive{line-height:40px;font-weight:700;font-size:1.1em;text-shadow:1px 1px #fff}#jstree-dnd.jstree-dnd-responsive>i{background:0 0;width:40px;height:40px}#jstree-dnd.jstree-dnd-responsive>.jstree-ok{background-image:url(40px.png);background-position:0 -200px;background-size:120px 240px}#jstree-dnd.jstree-dnd-responsive>.jstree-er{background-image:url(40px.png);background-position:-40px -200px;background-size:120px 240px}#jstree-marker.jstree-dnd-responsive{border-left-width:10px;border-top-width:10px;border-bottom-width:10px;margin-top:-10px}}@media (max-width:768px){.jstree-default-responsive .jstree-icon{background-image:url(40px.png)}.jstree-default-responsive .jstree-node,.jstree-default-responsive .jstree-leaf>.jstree-ocl{background:0 0}.jstree-default-responsive .jstree-node{min-height:40px;line-height:40px;margin-left:40px;min-width:40px;white-space:nowrap}.jstree-default-responsive .jstree-anchor{line-height:40px;height:40px}.jstree-default-responsive .jstree-icon,.jstree-default-responsive .jstree-icon:empty{width:40px;height:40px;line-height:40px}.jstree-default-responsive>.jstree-container-ul>.jstree-node{margin-left:0}.jstree-default-responsive.jstree-rtl .jstree-node{margin-left:0;margin-right:40px;background:0 0}.jstree-default-responsive.jstree-rtl .jstree-container-ul>.jstree-node{margin-right:0}.jstree-default-responsive .jstree-ocl,.jstree-default-responsive .jstree-themeicon,.jstree-default-responsive .jstree-checkbox{background-size:120px 240px}.jstree-default-responsive .jstree-leaf>.jstree-ocl,.jstree-default-responsive.jstree-rtl .jstree-leaf>.jstree-ocl{background:0 0}.jstree-default-responsive .jstree-open>.jstree-ocl{background-position:0 0!important}.jstree-default-responsive .jstree-closed>.jstree-ocl{background-position:0 -40px!important}.jstree-default-responsive.jstree-rtl .jstree-closed>.jstree-ocl{background-position:-40px 0!important}.jstree-default-responsive .jstree-themeicon{background-position:-40px -40px}.jstree-default-responsive .jstree-checkbox,.jstree-default-responsive .jstree-checkbox:hover{background-position:-40px -80px}.jstree-default-responsive.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox,.jstree-default-responsive.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox:hover,.jstree-default-responsive .jstree-checked>.jstree-checkbox,.jstree-default-responsive .jstree-checked>.jstree-checkbox:hover{background-position:0 -80px}.jstree-default-responsive .jstree-anchor>.jstree-undetermined,.jstree-default-responsive .jstree-anchor>.jstree-undetermined:hover{background-position:0 -120px}.jstree-default-responsive .jstree-anchor{font-weight:700;font-size:1.1em;text-shadow:1px 1px #fff}.jstree-default-responsive>.jstree-striped{background:0 0}.jstree-default-responsive .jstree-wholerow{border-top:1px solid rgba(255,255,255,.7);border-bottom:1px solid rgba(64,64,64,.2);background:#ebebeb;height:40px}.jstree-default-responsive .jstree-wholerow-hovered{background:#e7f4f9}.jstree-default-responsive .jstree-wholerow-clicked{background:#beebff}.jstree-default-responsive .jstree-children .jstree-last>.jstree-wholerow{box-shadow:inset 0 -6px 3px -5px #666}.jstree-default-responsive .jstree-children .jstree-open>.jstree-wholerow{box-shadow:inset 0 6px 3px -5px #666;border-top:0}.jstree-default-responsive .jstree-children .jstree-open+.jstree-open{box-shadow:none}.jstree-default-responsive .jstree-node,.jstree-default-responsive .jstree-icon,.jstree-default-responsive .jstree-node>.jstree-ocl,.jstree-default-responsive .jstree-themeicon,.jstree-default-responsive .jstree-checkbox{background-image:url(40px.png);background-size:120px 240px}.jstree-default-responsive .jstree-node{background-position:-80px 0;background-repeat:repeat-y}.jstree-default-responsive .jstree-last{background:0 0}.jstree-default-responsive .jstree-leaf>.jstree-ocl{background-position:-40px -120px}.jstree-default-responsive .jstree-last>.jstree-ocl{background-position:-40px -160px}.jstree-default-responsive .jstree-themeicon-custom{background-color:transparent;background-image:none;background-position:0 0}.jstree-default-responsive .jstree-file{background:url(40px.png) 0 -160px no-repeat;background-size:120px 240px}.jstree-default-responsive .jstree-folder{background:url(40px.png) -40px -40px no-repeat;background-size:120px 240px}.jstree-default-responsive>.jstree-container-ul>.jstree-node{margin-left:0;margin-right:0}} | ||
| 2 | \ No newline at end of file | 0 | \ No newline at end of file |
src/main/resources/static/real_control_v2/assets/plugins/uikit-2.27.1/components/accordion.gradient.min.css
| 1 | -/*! UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | 1 | +/* UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ |
| 2 | .uk-accordion-title{margin-top:0;margin-bottom:15px;padding:5px 15px;background:#f7f7f7;font-size:18px;line-height:24px;cursor:pointer;border:1px solid #ddd;border-radius:4px}.uk-accordion-content{padding:0 15px 15px 15px}.uk-accordion-content:after,.uk-accordion-content:before{content:"";display:table}.uk-accordion-content:after{clear:both}.uk-accordion-content>:last-child{margin-bottom:0} | 2 | .uk-accordion-title{margin-top:0;margin-bottom:15px;padding:5px 15px;background:#f7f7f7;font-size:18px;line-height:24px;cursor:pointer;border:1px solid #ddd;border-radius:4px}.uk-accordion-content{padding:0 15px 15px 15px}.uk-accordion-content:after,.uk-accordion-content:before{content:"";display:table}.uk-accordion-content:after{clear:both}.uk-accordion-content>:last-child{margin-bottom:0} |
| 3 | \ No newline at end of file | 3 | \ No newline at end of file |
src/main/resources/static/real_control_v2/assets/plugins/uikit-2.27.1/components/accordion.min.js
| 1 | -/*! UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | 1 | +/* UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ |
| 2 | !function(t){var i;window.UIkit&&(i=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-accordion",["uikit"],function(){return i||t(UIkit)})}(function(t){"use strict";function i(i){var e=t.$(i),o="auto";if(e.is(":visible"))o=e.outerHeight();else{var a={position:e.css("position"),visibility:e.css("visibility"),display:e.css("display")};o=e.css({position:"absolute",visibility:"hidden",display:"block"}).outerHeight(),e.css(a)}return o}return t.component("accordion",{defaults:{showfirst:!0,collapse:!0,animate:!0,easing:"swing",duration:300,toggle:".uk-accordion-title",containers:".uk-accordion-content",clsactive:"uk-active"},boot:function(){t.ready(function(i){setTimeout(function(){t.$("[data-uk-accordion]",i).each(function(){var i=t.$(this);i.data("accordion")||t.accordion(i,t.Utils.options(i.attr("data-uk-accordion")))})},0)})},init:function(){var i=this;this.element.on("click.uk.accordion",this.options.toggle,function(e){e.preventDefault(),i.toggleItem(t.$(this).data("wrapper"),i.options.animate,i.options.collapse)}),this.update(!0),t.domObserve(this.element,function(){i.element.children(i.options.containers).length&&i.update()})},toggleItem:function(e,o,a){var n=this;e.data("toggle").toggleClass(this.options.clsactive),e.data("content").toggleClass(this.options.clsactive);var s=e.data("toggle").hasClass(this.options.clsactive);a&&(this.toggle.not(e.data("toggle")).removeClass(this.options.clsactive),this.content.not(e.data("content")).removeClass(this.options.clsactive).parent().stop().css("overflow","hidden").animate({height:0},{easing:this.options.easing,duration:o?this.options.duration:0}).attr("aria-expanded","false")),e.stop().css("overflow","hidden"),o?e.animate({height:s?i(e.data("content")):0},{easing:this.options.easing,duration:this.options.duration,complete:function(){s&&(e.css({overflow:"",height:"auto"}),t.Utils.checkDisplay(e.data("content"))),n.trigger("display.uk.check")}}):(e.height(s?"auto":0),s&&(e.css({overflow:""}),t.Utils.checkDisplay(e.data("content"))),this.trigger("display.uk.check")),e.attr("aria-expanded",s),this.element.trigger("toggle.uk.accordion",[s,e.data("toggle"),e.data("content")])},update:function(i){var e,o,a,n=this;this.toggle=this.find(this.options.toggle),this.content=this.find(this.options.containers),this.content.each(function(i){e=t.$(this),e.parent().data("wrapper")?o=e.parent():(o=t.$(this).wrap('<div data-wrapper="true" style="overflow:hidden;height:0;position:relative;"></div>').parent(),o.attr("aria-expanded","false")),a=n.toggle.eq(i),o.data("toggle",a),o.data("content",e),a.data("wrapper",o),e.data("wrapper",o)}),this.element.trigger("update.uk.accordion",[this]),i&&this.options.showfirst&&this.toggleItem(this.toggle.eq(0).data("wrapper"),!1,!1)}}),t.accordion}); | 2 | !function(t){var i;window.UIkit&&(i=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-accordion",["uikit"],function(){return i||t(UIkit)})}(function(t){"use strict";function i(i){var e=t.$(i),o="auto";if(e.is(":visible"))o=e.outerHeight();else{var a={position:e.css("position"),visibility:e.css("visibility"),display:e.css("display")};o=e.css({position:"absolute",visibility:"hidden",display:"block"}).outerHeight(),e.css(a)}return o}return t.component("accordion",{defaults:{showfirst:!0,collapse:!0,animate:!0,easing:"swing",duration:300,toggle:".uk-accordion-title",containers:".uk-accordion-content",clsactive:"uk-active"},boot:function(){t.ready(function(i){setTimeout(function(){t.$("[data-uk-accordion]",i).each(function(){var i=t.$(this);i.data("accordion")||t.accordion(i,t.Utils.options(i.attr("data-uk-accordion")))})},0)})},init:function(){var i=this;this.element.on("click.uk.accordion",this.options.toggle,function(e){e.preventDefault(),i.toggleItem(t.$(this).data("wrapper"),i.options.animate,i.options.collapse)}),this.update(!0),t.domObserve(this.element,function(){i.element.children(i.options.containers).length&&i.update()})},toggleItem:function(e,o,a){var n=this;e.data("toggle").toggleClass(this.options.clsactive),e.data("content").toggleClass(this.options.clsactive);var s=e.data("toggle").hasClass(this.options.clsactive);a&&(this.toggle.not(e.data("toggle")).removeClass(this.options.clsactive),this.content.not(e.data("content")).removeClass(this.options.clsactive).parent().stop().css("overflow","hidden").animate({height:0},{easing:this.options.easing,duration:o?this.options.duration:0}).attr("aria-expanded","false")),e.stop().css("overflow","hidden"),o?e.animate({height:s?i(e.data("content")):0},{easing:this.options.easing,duration:this.options.duration,complete:function(){s&&(e.css({overflow:"",height:"auto"}),t.Utils.checkDisplay(e.data("content"))),n.trigger("display.uk.check")}}):(e.height(s?"auto":0),s&&(e.css({overflow:""}),t.Utils.checkDisplay(e.data("content"))),this.trigger("display.uk.check")),e.attr("aria-expanded",s),this.element.trigger("toggle.uk.accordion",[s,e.data("toggle"),e.data("content")])},update:function(i){var e,o,a,n=this;this.toggle=this.find(this.options.toggle),this.content=this.find(this.options.containers),this.content.each(function(i){e=t.$(this),e.parent().data("wrapper")?o=e.parent():(o=t.$(this).wrap('<div data-wrapper="true" style="overflow:hidden;height:0;position:relative;"></div>').parent(),o.attr("aria-expanded","false")),a=n.toggle.eq(i),o.data("toggle",a),o.data("content",e),a.data("wrapper",o),e.data("wrapper",o)}),this.element.trigger("update.uk.accordion",[this]),i&&this.options.showfirst&&this.toggleItem(this.toggle.eq(0).data("wrapper"),!1,!1)}}),t.accordion}); |
| 3 | \ No newline at end of file | 3 | \ No newline at end of file |
src/main/resources/static/real_control_v2/assets/plugins/uikit-2.27.1/components/autocomplete.gradient.min.css
| 1 | -/*! UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | 1 | +/* UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ |
| 2 | .uk-autocomplete{display:inline-block;position:relative;max-width:100%;vertical-align:middle}.uk-dropdown-flip{left:auto;right:0}.uk-nav-autocomplete>li>a{color:#444}.uk-nav-autocomplete>li.uk-active>a{background:#009dd8;color:#fff;outline:0;box-shadow:inset 0 2px 4px rgba(0,0,0,.2);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-nav-autocomplete .uk-nav-header{color:#999}.uk-nav-autocomplete .uk-nav-divider{border-top:1px solid #ddd} | 2 | .uk-autocomplete{display:inline-block;position:relative;max-width:100%;vertical-align:middle}.uk-dropdown-flip{left:auto;right:0}.uk-nav-autocomplete>li>a{color:#444}.uk-nav-autocomplete>li.uk-active>a{background:#009dd8;color:#fff;outline:0;box-shadow:inset 0 2px 4px rgba(0,0,0,.2);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-nav-autocomplete .uk-nav-header{color:#999}.uk-nav-autocomplete .uk-nav-divider{border-top:1px solid #ddd} |
| 3 | \ No newline at end of file | 3 | \ No newline at end of file |
src/main/resources/static/real_control_v2/assets/plugins/uikit-2.27.1/components/autocomplete.min.js
| 1 | -/*! UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | 1 | +/* UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ |
| 2 | !function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-autocomplete",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";var e;return t.component("autocomplete",{defaults:{minLength:3,param:"search",method:"post",delay:300,loadingClass:"uk-loading",flipDropdown:!1,skipClass:"uk-skip",hoverClass:"uk-active",source:null,renderer:null,template:'<ul class="uk-nav uk-nav-autocomplete uk-autocomplete-results">{{~items}}<li data-value="{{$item.value}}"><a>{{$item.value}}</a></li>{{/items}}</ul>'},visible:!1,value:null,selected:null,boot:function(){t.$html.on("focus.autocomplete.uikit","[data-uk-autocomplete]",function(){var e=t.$(this);e.data("autocomplete")||t.autocomplete(e,t.Utils.options(e.attr("data-uk-autocomplete")))}),t.$html.on("click.autocomplete.uikit",function(t){e&&t.target!=e.input[0]&&e.hide()})},init:function(){var e=this,i=!1,s=t.Utils.debounce(function(){return i?i=!1:(e.handle(),void 0)},this.options.delay);this.dropdown=this.find(".uk-dropdown"),this.template=this.find('script[type="text/autocomplete"]').html(),this.template=t.Utils.template(this.template||this.options.template),this.input=this.find("input:first").attr("autocomplete","off"),this.dropdown.length||(this.dropdown=t.$('<div class="uk-dropdown"></div>').appendTo(this.element)),this.options.flipDropdown&&this.dropdown.addClass("uk-dropdown-flip"),this.dropdown.attr("aria-expanded","false"),this.input.on({keydown:function(t){if(t&&t.which&&!t.shiftKey&&e.visible)switch(t.which){case 13:i=!0,e.selected&&(t.preventDefault(),e.select());break;case 38:t.preventDefault(),e.pick("prev",!0);break;case 40:t.preventDefault(),e.pick("next",!0);break;case 27:case 9:e.hide()}},keyup:s}),this.dropdown.on("click",".uk-autocomplete-results > *",function(){e.select()}),this.dropdown.on("mouseover",".uk-autocomplete-results > *",function(){e.pick(t.$(this))}),this.triggercomplete=s},handle:function(){var t=this,e=this.value;return this.value=this.input.val(),this.value.length<this.options.minLength?this.hide():(this.value!=e&&t.request(),this)},pick:function(e,i){var s=this,o=t.$(this.dropdown.find(".uk-autocomplete-results").children(":not(."+this.options.skipClass+")")),n=!1;if("string"==typeof e||e.hasClass(this.options.skipClass)){if("next"==e||"prev"==e){if(this.selected){var a=o.index(this.selected);n="next"==e?o.eq(a+1<o.length?a+1:0):o.eq(0>a-1?o.length-1:a-1)}else n=o["next"==e?"first":"last"]();n=t.$(n)}}else n=e;if(n&&n.length&&(this.selected=n,o.removeClass(this.options.hoverClass),this.selected.addClass(this.options.hoverClass),i)){var l=n.position().top,h=s.dropdown.scrollTop(),r=s.dropdown.height();(l>r||0>l)&&s.dropdown.scrollTop(h+l)}},select:function(){if(this.selected){var t=this.selected.data();this.trigger("selectitem.uk.autocomplete",[t,this]),t.value&&this.input.val(t.value).trigger("change"),this.hide()}},show:function(){return this.visible?void 0:(this.visible=!0,this.element.addClass("uk-open"),e&&e!==this&&e.hide(),e=this,this.dropdown.attr("aria-expanded","true"),this)},hide:function(){return this.visible?(this.visible=!1,this.element.removeClass("uk-open"),e===this&&(e=!1),this.dropdown.attr("aria-expanded","false"),this):void 0},request:function(){var e=this,i=function(t){t&&e.render(t),e.element.removeClass(e.options.loadingClass)};if(this.element.addClass(this.options.loadingClass),this.options.source){var s=this.options.source;switch(typeof this.options.source){case"function":this.options.source.apply(this,[i]);break;case"object":if(s.length){var o=[];s.forEach(function(t){t.value&&-1!=t.value.toLowerCase().indexOf(e.value.toLowerCase())&&o.push(t)}),i(o)}break;case"string":var n={};n[this.options.param]=this.value,t.$.ajax({url:this.options.source,data:n,type:this.options.method,dataType:"json"}).done(function(t){i(t||[])});break;default:i(null)}}else this.element.removeClass(e.options.loadingClass)},render:function(t){return this.dropdown.empty(),this.selected=!1,this.options.renderer?this.options.renderer.apply(this,[t]):t&&t.length&&(this.dropdown.append(this.template({items:t})),this.show(),this.trigger("show.uk.autocomplete")),this}}),t.autocomplete}); | 2 | !function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-autocomplete",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";var e;return t.component("autocomplete",{defaults:{minLength:3,param:"search",method:"post",delay:300,loadingClass:"uk-loading",flipDropdown:!1,skipClass:"uk-skip",hoverClass:"uk-active",source:null,renderer:null,template:'<ul class="uk-nav uk-nav-autocomplete uk-autocomplete-results">{{~items}}<li data-value="{{$item.value}}"><a>{{$item.value}}</a></li>{{/items}}</ul>'},visible:!1,value:null,selected:null,boot:function(){t.$html.on("focus.autocomplete.uikit","[data-uk-autocomplete]",function(){var e=t.$(this);e.data("autocomplete")||t.autocomplete(e,t.Utils.options(e.attr("data-uk-autocomplete")))}),t.$html.on("click.autocomplete.uikit",function(t){e&&t.target!=e.input[0]&&e.hide()})},init:function(){var e=this,i=!1,s=t.Utils.debounce(function(){return i?i=!1:(e.handle(),void 0)},this.options.delay);this.dropdown=this.find(".uk-dropdown"),this.template=this.find('script[type="text/autocomplete"]').html(),this.template=t.Utils.template(this.template||this.options.template),this.input=this.find("input:first").attr("autocomplete","off"),this.dropdown.length||(this.dropdown=t.$('<div class="uk-dropdown"></div>').appendTo(this.element)),this.options.flipDropdown&&this.dropdown.addClass("uk-dropdown-flip"),this.dropdown.attr("aria-expanded","false"),this.input.on({keydown:function(t){if(t&&t.which&&!t.shiftKey&&e.visible)switch(t.which){case 13:i=!0,e.selected&&(t.preventDefault(),e.select());break;case 38:t.preventDefault(),e.pick("prev",!0);break;case 40:t.preventDefault(),e.pick("next",!0);break;case 27:case 9:e.hide()}},keyup:s}),this.dropdown.on("click",".uk-autocomplete-results > *",function(){e.select()}),this.dropdown.on("mouseover",".uk-autocomplete-results > *",function(){e.pick(t.$(this))}),this.triggercomplete=s},handle:function(){var t=this,e=this.value;return this.value=this.input.val(),this.value.length<this.options.minLength?this.hide():(this.value!=e&&t.request(),this)},pick:function(e,i){var s=this,o=t.$(this.dropdown.find(".uk-autocomplete-results").children(":not(."+this.options.skipClass+")")),n=!1;if("string"==typeof e||e.hasClass(this.options.skipClass)){if("next"==e||"prev"==e){if(this.selected){var a=o.index(this.selected);n="next"==e?o.eq(a+1<o.length?a+1:0):o.eq(0>a-1?o.length-1:a-1)}else n=o["next"==e?"first":"last"]();n=t.$(n)}}else n=e;if(n&&n.length&&(this.selected=n,o.removeClass(this.options.hoverClass),this.selected.addClass(this.options.hoverClass),i)){var l=n.position().top,h=s.dropdown.scrollTop(),r=s.dropdown.height();(l>r||0>l)&&s.dropdown.scrollTop(h+l)}},select:function(){if(this.selected){var t=this.selected.data();this.trigger("selectitem.uk.autocomplete",[t,this]),t.value&&this.input.val(t.value).trigger("change"),this.hide()}},show:function(){return this.visible?void 0:(this.visible=!0,this.element.addClass("uk-open"),e&&e!==this&&e.hide(),e=this,this.dropdown.attr("aria-expanded","true"),this)},hide:function(){return this.visible?(this.visible=!1,this.element.removeClass("uk-open"),e===this&&(e=!1),this.dropdown.attr("aria-expanded","false"),this):void 0},request:function(){var e=this,i=function(t){t&&e.render(t),e.element.removeClass(e.options.loadingClass)};if(this.element.addClass(this.options.loadingClass),this.options.source){var s=this.options.source;switch(typeof this.options.source){case"function":this.options.source.apply(this,[i]);break;case"object":if(s.length){var o=[];s.forEach(function(t){t.value&&-1!=t.value.toLowerCase().indexOf(e.value.toLowerCase())&&o.push(t)}),i(o)}break;case"string":var n={};n[this.options.param]=this.value,t.$.ajax({url:this.options.source,data:n,type:this.options.method,dataType:"json"}).done(function(t){i(t||[])});break;default:i(null)}}else this.element.removeClass(e.options.loadingClass)},render:function(t){return this.dropdown.empty(),this.selected=!1,this.options.renderer?this.options.renderer.apply(this,[t]):t&&t.length&&(this.dropdown.append(this.template({items:t})),this.show(),this.trigger("show.uk.autocomplete")),this}}),t.autocomplete}); |
| 3 | \ No newline at end of file | 3 | \ No newline at end of file |
src/main/resources/static/real_control_v2/assets/plugins/uikit-2.27.1/components/form-advanced.gradient.min.css
| 1 | -/*! UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | 1 | +/* UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ |
| 2 | .uk-form input[type=radio],.uk-form input[type=checkbox]{display:inline-block;height:14px;width:14px;border:1px solid #aaa;overflow:hidden;margin-top:-4px;vertical-align:middle;-webkit-appearance:none;outline:0;background:0 0}.uk-form input[type=radio]{border-radius:50%}.uk-form input[type=checkbox]:before,.uk-form input[type=radio]:before{display:block}.uk-form input[type=radio]:checked:before{content:'';width:8px;height:8px;margin:2px auto 0;border-radius:50%;background:#00a8e6}.uk-form input[type=checkbox]:checked:before,.uk-form input[type=checkbox]:indeterminate:before{content:"\f00c";font-family:FontAwesome;font-size:12px;-webkit-font-smoothing:antialiased;text-align:center;line-height:12px;color:#00a8e6}.uk-form input[type=checkbox]:indeterminate:before{content:"\f068"}.uk-form input[type=checkbox]:disabled,.uk-form input[type=radio]:disabled{border-color:#ddd}.uk-form input[type=radio]:disabled:checked:before{background-color:#aaa}.uk-form input[type=checkbox]:disabled:checked:before,.uk-form input[type=checkbox]:disabled:indeterminate:before{color:#aaa} | 2 | .uk-form input[type=radio],.uk-form input[type=checkbox]{display:inline-block;height:14px;width:14px;border:1px solid #aaa;overflow:hidden;margin-top:-4px;vertical-align:middle;-webkit-appearance:none;outline:0;background:0 0}.uk-form input[type=radio]{border-radius:50%}.uk-form input[type=checkbox]:before,.uk-form input[type=radio]:before{display:block}.uk-form input[type=radio]:checked:before{content:'';width:8px;height:8px;margin:2px auto 0;border-radius:50%;background:#00a8e6}.uk-form input[type=checkbox]:checked:before,.uk-form input[type=checkbox]:indeterminate:before{content:"\f00c";font-family:FontAwesome;font-size:12px;-webkit-font-smoothing:antialiased;text-align:center;line-height:12px;color:#00a8e6}.uk-form input[type=checkbox]:indeterminate:before{content:"\f068"}.uk-form input[type=checkbox]:disabled,.uk-form input[type=radio]:disabled{border-color:#ddd}.uk-form input[type=radio]:disabled:checked:before{background-color:#aaa}.uk-form input[type=checkbox]:disabled:checked:before,.uk-form input[type=checkbox]:disabled:indeterminate:before{color:#aaa} |
| 3 | \ No newline at end of file | 3 | \ No newline at end of file |
src/main/resources/static/real_control_v2/assets/plugins/uikit-2.27.1/components/lightbox.min.js
| 1 | -/*! UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | 1 | +/* UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ |
| 2 | !function(i){var t;window.UIkit&&(t=i(UIkit)),"function"==typeof define&&define.amd&&define("uikit-lightbox",["uikit"],function(){return t||i(UIkit)})}(function(i){"use strict";function t(t){if(e)return e.lightbox=t,e;e=i.$(['<div class="uk-modal">','<div class="uk-modal-dialog uk-modal-dialog-lightbox uk-slidenav-position" style="margin-left:auto;margin-right:auto;width:200px;height:200px;top:'+Math.abs(window.innerHeight/2-200)+'px;">','<a href="#" class="uk-modal-close uk-close uk-close-alt"></a>','<div class="uk-lightbox-content"></div>','<div class="uk-modal-spinner uk-hidden"></div>',"</div>","</div>"].join("")).appendTo("body"),e.dialog=e.find(".uk-modal-dialog:first"),e.content=e.find(".uk-lightbox-content:first"),e.loader=e.find(".uk-modal-spinner:first"),e.closer=e.find(".uk-close.uk-close-alt"),e.modal=i.modal(e,{modal:!1}),e.on("swipeRight swipeLeft",function(i){e.lightbox["swipeLeft"==i.type?"next":"previous"]()}).on("click","[data-lightbox-previous], [data-lightbox-next]",function(t){t.preventDefault(),e.lightbox[i.$(this).is("[data-lightbox-next]")?"next":"previous"]()}),e.on("hide.uk.modal",function(){e.content.html("")});var o={w:window.innerWidth,h:window.innerHeight};return i.$win.on("load resize orientationchange",i.Utils.debounce(function(){o.w!==window.innerWidth&&e.is(":visible")&&!i.Utils.isFullscreen()&&e.lightbox.fitSize(),o={w:window.innerWidth,h:window.innerHeight}},100)),e.lightbox=t,e}var e,o={};return i.component("lightbox",{defaults:{allowfullscreen:!0,duration:400,group:!1,keyboard:!0},index:0,items:!1,boot:function(){i.$html.on("click","[data-uk-lightbox]",function(t){t.preventDefault();var e=i.$(this);e.data("lightbox")||i.lightbox(e,i.Utils.options(e.attr("data-uk-lightbox"))),e.data("lightbox").show(e)}),i.$doc.on("keyup",function(i){if(e&&e.is(":visible")&&e.lightbox.options.keyboard)switch(i.preventDefault(),i.keyCode){case 37:e.lightbox.previous();break;case 39:e.lightbox.next()}})},init:function(){var t=[];if(this.index=0,this.siblings=[],this.element&&this.element.length){var e=this.options.group?i.$(['[data-uk-lightbox*="'+this.options.group+'"]',"[data-uk-lightbox*='"+this.options.group+"']"].join(",")):this.element;e.each(function(){var e=i.$(this);t.push({source:e.attr("href"),title:e.attr("data-title")||e.attr("title"),type:e.attr("data-lightbox-type")||"auto",link:e})}),this.index=e.index(this.element),this.siblings=t}else this.options.group&&this.options.group.length&&(this.siblings=this.options.group);this.trigger("lightbox-init",[this])},show:function(e){this.modal=t(this),this.modal.dialog.stop(),this.modal.content.stop();var o,n,s=this,h=i.$.Deferred();e=e||0,"object"==typeof e&&this.siblings.forEach(function(i,t){e[0]===i.link[0]&&(e=t)}),0>e?e=this.siblings.length-e:this.siblings[e]||(e=0),n=this.siblings[e],o={lightbox:s,source:n.source,type:n.type,index:e,promise:h,title:n.title,item:n,meta:{content:"",width:null,height:null}},this.index=e,this.modal.content.empty(),this.modal.is(":visible")||(this.modal.content.css({width:"",height:""}).empty(),this.modal.modal.show()),this.modal.loader.removeClass("uk-hidden"),h.promise().done(function(){s.data=o,s.fitSize(o)}).fail(function(){o.meta.content='<div class="uk-position-cover uk-flex uk-flex-middle uk-flex-center"><strong>Loading resource failed!</strong></div>',o.meta.width=400,o.meta.height=300,s.data=o,s.fitSize(o)}),s.trigger("showitem.uk.lightbox",[o])},fitSize:function(){var t=this,e=this.data,o=this.modal.dialog.outerWidth()-this.modal.dialog.width(),n=parseInt(this.modal.dialog.css("margin-top"),10),s=parseInt(this.modal.dialog.css("margin-bottom"),10),h=n+s,a=e.meta.content,l=t.options.duration;this.siblings.length>1&&(a=[a,'<a href="#" class="uk-slidenav uk-slidenav-contrast uk-slidenav-previous uk-hidden-touch" data-lightbox-previous></a>','<a href="#" class="uk-slidenav uk-slidenav-contrast uk-slidenav-next uk-hidden-touch" data-lightbox-next></a>'].join(""));var d,r,u=i.$("<div> </div>").css({opacity:0,position:"absolute",top:0,left:0,width:"100%","max-width":t.modal.dialog.css("max-width"),padding:t.modal.dialog.css("padding"),margin:t.modal.dialog.css("margin")}),c=e.meta.width,g=e.meta.height;u.appendTo("body").width(),d=u.width(),r=window.innerHeight-h,u.remove(),this.modal.dialog.find(".uk-modal-caption").remove(),e.title&&(this.modal.dialog.append('<div class="uk-modal-caption">'+e.title+"</div>"),r-=this.modal.dialog.find(".uk-modal-caption").outerHeight()),d<e.meta.width&&(g=Math.floor(g*(d/c)),c=d),g>r&&(g=Math.floor(r),c=Math.ceil(e.meta.width*(r/e.meta.height))),this.modal.content.css("opacity",0).width(c).html(a),"iframe"==e.type&&this.modal.content.find("iframe:first").height(g);var m=g+o,p=Math.floor(window.innerHeight/2-m/2)-h;0>p&&(p=0),this.modal.closer.addClass("uk-hidden"),t.modal.data("mwidth")==c&&t.modal.data("mheight")==g&&(l=0),this.modal.dialog.animate({width:c+o,height:g+o,top:p},l,"swing",function(){t.modal.loader.addClass("uk-hidden"),t.modal.content.css({width:""}).animate({opacity:1},function(){t.modal.closer.removeClass("uk-hidden")}),t.modal.data({mwidth:c,mheight:g})})},next:function(){this.show(this.siblings[this.index+1]?this.index+1:0)},previous:function(){this.show(this.siblings[this.index-1]?this.index-1:this.siblings.length-1)}}),i.plugin("lightbox","image",{init:function(i){i.on("showitem.uk.lightbox",function(i,t){if("image"==t.type||t.source&&t.source.match(/\.(jpg|jpeg|png|gif|svg)$/i)){var e=function(i,e,o){t.meta={content:'<img class="uk-responsive-width" width="'+e+'" height="'+o+'" src ="'+i+'">',width:e,height:o},t.type="image",t.promise.resolve()};if(o[t.source])e(t.source,o[t.source].width,o[t.source].height);else{var n=new Image;n.onerror=function(){t.promise.reject("Loading image failed")},n.onload=function(){o[t.source]={width:n.width,height:n.height},e(t.source,o[t.source].width,o[t.source].height)},n.src=t.source}}})}}),i.plugin("lightbox","youtube",{init:function(i){var t=/(\/\/.*?youtube\.[a-z]+)\/watch\?v=([^&]+)&?(.*)/,n=/youtu\.be\/(.*)/;i.on("showitem.uk.lightbox",function(i,s){var h,a,l=function(i,t,o){s.meta={content:'<iframe src="//www.youtube.com/embed/'+i+'" width="'+t+'" height="'+o+'" style="max-width:100%;"'+(e.lightbox.options.allowfullscreen?" allowfullscreen":"")+"></iframe>",width:t,height:o},s.type="iframe",s.promise.resolve()};if((a=s.source.match(t))&&(h=a[2]),(a=s.source.match(n))&&(h=a[1]),h){if(o[h])l(h,o[h].width,o[h].height);else{var d=new Image,r=!1;d.onerror=function(){o[h]={width:640,height:320},l(h,o[h].width,o[h].height)},d.onload=function(){120==d.width&&90==d.height?r?(o[h]={width:640,height:320},l(h,o[h].width,o[h].height)):(r=!0,d.src="//img.youtube.com/vi/"+h+"/0.jpg"):(o[h]={width:d.width,height:d.height},l(h,d.width,d.height))},d.src="//img.youtube.com/vi/"+h+"/maxresdefault.jpg"}i.stopImmediatePropagation()}})}}),i.plugin("lightbox","vimeo",{init:function(t){var n,s=/(\/\/.*?)vimeo\.[a-z]+\/([0-9]+).*?/;t.on("showitem.uk.lightbox",function(t,h){var a,l=function(i,t,o){h.meta={content:'<iframe src="//player.vimeo.com/video/'+i+'" width="'+t+'" height="'+o+'" style="width:100%;box-sizing:border-box;"'+(e.lightbox.options.allowfullscreen?" allowfullscreen":"")+"></iframe>",width:t,height:o},h.type="iframe",h.promise.resolve()};(n=h.source.match(s))&&(a=n[2],o[a]?l(a,o[a].width,o[a].height):i.$.ajax({type:"GET",url:"//vimeo.com/api/oembed.json?url="+encodeURI(h.source),jsonp:"callback",dataType:"jsonp",success:function(i){o[a]={width:i.width,height:i.height},l(a,o[a].width,o[a].height)}}),t.stopImmediatePropagation())})}}),i.plugin("lightbox","video",{init:function(t){t.on("showitem.uk.lightbox",function(t,e){var n=function(i,t,o){e.meta={content:'<video class="uk-responsive-width" src="'+i+'" width="'+t+'" height="'+o+'" controls></video>',width:t,height:o},e.type="video",e.promise.resolve()};if("video"==e.type||e.source.match(/\.(mp4|webm|ogv)$/i))if(o[e.source])n(e.source,o[e.source].width,o[e.source].height);else var s=i.$('<video style="position:fixed;visibility:hidden;top:-10000px;"></video>').attr("src",e.source).appendTo("body"),h=setInterval(function(){s[0].videoWidth&&(clearInterval(h),o[e.source]={width:s[0].videoWidth,height:s[0].videoHeight},n(e.source,o[e.source].width,o[e.source].height),s.remove())},20)})}}),UIkit.plugin("lightbox","iframe",{init:function(i){i.on("showitem.uk.lightbox",function(t,o){var n=function(i,t,n){o.meta={content:'<iframe class="uk-responsive-width" src="'+i+'" width="'+t+'" height="'+n+'"'+(e.lightbox.options.allowfullscreen?" allowfullscreen":"")+"></iframe>",width:t,height:n},o.type="iframe",o.promise.resolve()};("iframe"===o.type||o.source.match(/\.(html|php)$/))&&n(o.source,i.options.width||800,i.options.height||600)})}}),i.lightbox.create=function(t,e){if(t){var o,n=[];return t.forEach(function(t){n.push(i.$.extend({source:"",title:"",type:"auto",link:!1},"string"==typeof t?{source:t}:t))}),o=i.lightbox(i.$.extend({},e,{group:n}))}},i.lightbox}); | 2 | !function(i){var t;window.UIkit&&(t=i(UIkit)),"function"==typeof define&&define.amd&&define("uikit-lightbox",["uikit"],function(){return t||i(UIkit)})}(function(i){"use strict";function t(t){if(e)return e.lightbox=t,e;e=i.$(['<div class="uk-modal">','<div class="uk-modal-dialog uk-modal-dialog-lightbox uk-slidenav-position" style="margin-left:auto;margin-right:auto;width:200px;height:200px;top:'+Math.abs(window.innerHeight/2-200)+'px;">','<a href="#" class="uk-modal-close uk-close uk-close-alt"></a>','<div class="uk-lightbox-content"></div>','<div class="uk-modal-spinner uk-hidden"></div>',"</div>","</div>"].join("")).appendTo("body"),e.dialog=e.find(".uk-modal-dialog:first"),e.content=e.find(".uk-lightbox-content:first"),e.loader=e.find(".uk-modal-spinner:first"),e.closer=e.find(".uk-close.uk-close-alt"),e.modal=i.modal(e,{modal:!1}),e.on("swipeRight swipeLeft",function(i){e.lightbox["swipeLeft"==i.type?"next":"previous"]()}).on("click","[data-lightbox-previous], [data-lightbox-next]",function(t){t.preventDefault(),e.lightbox[i.$(this).is("[data-lightbox-next]")?"next":"previous"]()}),e.on("hide.uk.modal",function(){e.content.html("")});var o={w:window.innerWidth,h:window.innerHeight};return i.$win.on("load resize orientationchange",i.Utils.debounce(function(){o.w!==window.innerWidth&&e.is(":visible")&&!i.Utils.isFullscreen()&&e.lightbox.fitSize(),o={w:window.innerWidth,h:window.innerHeight}},100)),e.lightbox=t,e}var e,o={};return i.component("lightbox",{defaults:{allowfullscreen:!0,duration:400,group:!1,keyboard:!0},index:0,items:!1,boot:function(){i.$html.on("click","[data-uk-lightbox]",function(t){t.preventDefault();var e=i.$(this);e.data("lightbox")||i.lightbox(e,i.Utils.options(e.attr("data-uk-lightbox"))),e.data("lightbox").show(e)}),i.$doc.on("keyup",function(i){if(e&&e.is(":visible")&&e.lightbox.options.keyboard)switch(i.preventDefault(),i.keyCode){case 37:e.lightbox.previous();break;case 39:e.lightbox.next()}})},init:function(){var t=[];if(this.index=0,this.siblings=[],this.element&&this.element.length){var e=this.options.group?i.$(['[data-uk-lightbox*="'+this.options.group+'"]',"[data-uk-lightbox*='"+this.options.group+"']"].join(",")):this.element;e.each(function(){var e=i.$(this);t.push({source:e.attr("href"),title:e.attr("data-title")||e.attr("title"),type:e.attr("data-lightbox-type")||"auto",link:e})}),this.index=e.index(this.element),this.siblings=t}else this.options.group&&this.options.group.length&&(this.siblings=this.options.group);this.trigger("lightbox-init",[this])},show:function(e){this.modal=t(this),this.modal.dialog.stop(),this.modal.content.stop();var o,n,s=this,h=i.$.Deferred();e=e||0,"object"==typeof e&&this.siblings.forEach(function(i,t){e[0]===i.link[0]&&(e=t)}),0>e?e=this.siblings.length-e:this.siblings[e]||(e=0),n=this.siblings[e],o={lightbox:s,source:n.source,type:n.type,index:e,promise:h,title:n.title,item:n,meta:{content:"",width:null,height:null}},this.index=e,this.modal.content.empty(),this.modal.is(":visible")||(this.modal.content.css({width:"",height:""}).empty(),this.modal.modal.show()),this.modal.loader.removeClass("uk-hidden"),h.promise().done(function(){s.data=o,s.fitSize(o)}).fail(function(){o.meta.content='<div class="uk-position-cover uk-flex uk-flex-middle uk-flex-center"><strong>Loading resource failed!</strong></div>',o.meta.width=400,o.meta.height=300,s.data=o,s.fitSize(o)}),s.trigger("showitem.uk.lightbox",[o])},fitSize:function(){var t=this,e=this.data,o=this.modal.dialog.outerWidth()-this.modal.dialog.width(),n=parseInt(this.modal.dialog.css("margin-top"),10),s=parseInt(this.modal.dialog.css("margin-bottom"),10),h=n+s,a=e.meta.content,l=t.options.duration;this.siblings.length>1&&(a=[a,'<a href="#" class="uk-slidenav uk-slidenav-contrast uk-slidenav-previous uk-hidden-touch" data-lightbox-previous></a>','<a href="#" class="uk-slidenav uk-slidenav-contrast uk-slidenav-next uk-hidden-touch" data-lightbox-next></a>'].join(""));var d,r,u=i.$("<div> </div>").css({opacity:0,position:"absolute",top:0,left:0,width:"100%","max-width":t.modal.dialog.css("max-width"),padding:t.modal.dialog.css("padding"),margin:t.modal.dialog.css("margin")}),c=e.meta.width,g=e.meta.height;u.appendTo("body").width(),d=u.width(),r=window.innerHeight-h,u.remove(),this.modal.dialog.find(".uk-modal-caption").remove(),e.title&&(this.modal.dialog.append('<div class="uk-modal-caption">'+e.title+"</div>"),r-=this.modal.dialog.find(".uk-modal-caption").outerHeight()),d<e.meta.width&&(g=Math.floor(g*(d/c)),c=d),g>r&&(g=Math.floor(r),c=Math.ceil(e.meta.width*(r/e.meta.height))),this.modal.content.css("opacity",0).width(c).html(a),"iframe"==e.type&&this.modal.content.find("iframe:first").height(g);var m=g+o,p=Math.floor(window.innerHeight/2-m/2)-h;0>p&&(p=0),this.modal.closer.addClass("uk-hidden"),t.modal.data("mwidth")==c&&t.modal.data("mheight")==g&&(l=0),this.modal.dialog.animate({width:c+o,height:g+o,top:p},l,"swing",function(){t.modal.loader.addClass("uk-hidden"),t.modal.content.css({width:""}).animate({opacity:1},function(){t.modal.closer.removeClass("uk-hidden")}),t.modal.data({mwidth:c,mheight:g})})},next:function(){this.show(this.siblings[this.index+1]?this.index+1:0)},previous:function(){this.show(this.siblings[this.index-1]?this.index-1:this.siblings.length-1)}}),i.plugin("lightbox","image",{init:function(i){i.on("showitem.uk.lightbox",function(i,t){if("image"==t.type||t.source&&t.source.match(/\.(jpg|jpeg|png|gif|svg)$/i)){var e=function(i,e,o){t.meta={content:'<img class="uk-responsive-width" width="'+e+'" height="'+o+'" src ="'+i+'">',width:e,height:o},t.type="image",t.promise.resolve()};if(o[t.source])e(t.source,o[t.source].width,o[t.source].height);else{var n=new Image;n.onerror=function(){t.promise.reject("Loading image failed")},n.onload=function(){o[t.source]={width:n.width,height:n.height},e(t.source,o[t.source].width,o[t.source].height)},n.src=t.source}}})}}),i.plugin("lightbox","youtube",{init:function(i){var t=/(\/\/.*?youtube\.[a-z]+)\/watch\?v=([^&]+)&?(.*)/,n=/youtu\.be\/(.*)/;i.on("showitem.uk.lightbox",function(i,s){var h,a,l=function(i,t,o){s.meta={content:'<iframe src="//www.youtube.com/embed/'+i+'" width="'+t+'" height="'+o+'" style="max-width:100%;"'+(e.lightbox.options.allowfullscreen?" allowfullscreen":"")+"></iframe>",width:t,height:o},s.type="iframe",s.promise.resolve()};if((a=s.source.match(t))&&(h=a[2]),(a=s.source.match(n))&&(h=a[1]),h){if(o[h])l(h,o[h].width,o[h].height);else{var d=new Image,r=!1;d.onerror=function(){o[h]={width:640,height:320},l(h,o[h].width,o[h].height)},d.onload=function(){120==d.width&&90==d.height?r?(o[h]={width:640,height:320},l(h,o[h].width,o[h].height)):(r=!0,d.src="//img.youtube.com/vi/"+h+"/0.jpg"):(o[h]={width:d.width,height:d.height},l(h,d.width,d.height))},d.src="//img.youtube.com/vi/"+h+"/maxresdefault.jpg"}i.stopImmediatePropagation()}})}}),i.plugin("lightbox","vimeo",{init:function(t){var n,s=/(\/\/.*?)vimeo\.[a-z]+\/([0-9]+).*?/;t.on("showitem.uk.lightbox",function(t,h){var a,l=function(i,t,o){h.meta={content:'<iframe src="//player.vimeo.com/video/'+i+'" width="'+t+'" height="'+o+'" style="width:100%;box-sizing:border-box;"'+(e.lightbox.options.allowfullscreen?" allowfullscreen":"")+"></iframe>",width:t,height:o},h.type="iframe",h.promise.resolve()};(n=h.source.match(s))&&(a=n[2],o[a]?l(a,o[a].width,o[a].height):i.$.ajax({type:"GET",url:"//vimeo.com/api/oembed.json?url="+encodeURI(h.source),jsonp:"callback",dataType:"jsonp",success:function(i){o[a]={width:i.width,height:i.height},l(a,o[a].width,o[a].height)}}),t.stopImmediatePropagation())})}}),i.plugin("lightbox","video",{init:function(t){t.on("showitem.uk.lightbox",function(t,e){var n=function(i,t,o){e.meta={content:'<video class="uk-responsive-width" src="'+i+'" width="'+t+'" height="'+o+'" controls></video>',width:t,height:o},e.type="video",e.promise.resolve()};if("video"==e.type||e.source.match(/\.(mp4|webm|ogv)$/i))if(o[e.source])n(e.source,o[e.source].width,o[e.source].height);else var s=i.$('<video style="position:fixed;visibility:hidden;top:-10000px;"></video>').attr("src",e.source).appendTo("body"),h=setInterval(function(){s[0].videoWidth&&(clearInterval(h),o[e.source]={width:s[0].videoWidth,height:s[0].videoHeight},n(e.source,o[e.source].width,o[e.source].height),s.remove())},20)})}}),UIkit.plugin("lightbox","iframe",{init:function(i){i.on("showitem.uk.lightbox",function(t,o){var n=function(i,t,n){o.meta={content:'<iframe class="uk-responsive-width" src="'+i+'" width="'+t+'" height="'+n+'"'+(e.lightbox.options.allowfullscreen?" allowfullscreen":"")+"></iframe>",width:t,height:n},o.type="iframe",o.promise.resolve()};("iframe"===o.type||o.source.match(/\.(html|php)$/))&&n(o.source,i.options.width||800,i.options.height||600)})}}),i.lightbox.create=function(t,e){if(t){var o,n=[];return t.forEach(function(t){n.push(i.$.extend({source:"",title:"",type:"auto",link:!1},"string"==typeof t?{source:t}:t))}),o=i.lightbox(i.$.extend({},e,{group:n}))}},i.lightbox}); |
| 3 | \ No newline at end of file | 3 | \ No newline at end of file |
src/main/resources/static/real_control_v2/assets/plugins/uikit-2.27.1/components/notify.gradient.min.css
| 1 | -/*! UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | 1 | +/* UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ |
| 2 | .uk-notify{position:fixed;top:10px;left:10px;z-index:1040;box-sizing:border-box;width:350px}.uk-notify-bottom-right,.uk-notify-top-right{left:auto;right:10px}.uk-notify-bottom-center,.uk-notify-top-center{left:50%;margin-left:-175px}.uk-notify-bottom-center,.uk-notify-bottom-left,.uk-notify-bottom-right{top:auto;bottom:10px}@media (max-width:479px){.uk-notify{left:10px;right:10px;width:auto;margin:0}}.uk-notify-message{position:relative;margin-bottom:10px;padding:15px;background:#444;color:#fff;font-size:16px;line-height:22px;cursor:pointer;border:1px solid #444;border-radius:4px}.uk-notify-message>.uk-close{visibility:hidden;float:right}.uk-notify-message:hover>.uk-close{visibility:visible}.uk-notify-message-primary{background:#ebf7fd;color:#2d7091;border-color:rgba(45,112,145,.3)}.uk-notify-message-success{background:#f2fae3;color:#659f13;border-color:rgba(101,159,19,.3)}.uk-notify-message-warning{background:#fffceb;color:#e28327;border-color:rgba(226,131,39,.3)}.uk-notify-message-danger{background:#fff1f0;color:#d85030;border-color:rgba(216,80,48,.3)} | 2 | .uk-notify{position:fixed;top:10px;left:10px;z-index:1040;box-sizing:border-box;width:350px}.uk-notify-bottom-right,.uk-notify-top-right{left:auto;right:10px}.uk-notify-bottom-center,.uk-notify-top-center{left:50%;margin-left:-175px}.uk-notify-bottom-center,.uk-notify-bottom-left,.uk-notify-bottom-right{top:auto;bottom:10px}@media (max-width:479px){.uk-notify{left:10px;right:10px;width:auto;margin:0}}.uk-notify-message{position:relative;margin-bottom:10px;padding:15px;background:#444;color:#fff;font-size:16px;line-height:22px;cursor:pointer;border:1px solid #444;border-radius:4px}.uk-notify-message>.uk-close{visibility:hidden;float:right}.uk-notify-message:hover>.uk-close{visibility:visible}.uk-notify-message-primary{background:#ebf7fd;color:#2d7091;border-color:rgba(45,112,145,.3)}.uk-notify-message-success{background:#f2fae3;color:#659f13;border-color:rgba(101,159,19,.3)}.uk-notify-message-warning{background:#fffceb;color:#e28327;border-color:rgba(226,131,39,.3)}.uk-notify-message-danger{background:#fff1f0;color:#d85030;border-color:rgba(216,80,48,.3)} |
| 3 | \ No newline at end of file | 3 | \ No newline at end of file |
src/main/resources/static/real_control_v2/assets/plugins/uikit-2.27.1/components/notify.min.js
| 1 | -/*! UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | 1 | +/* UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ |
| 2 | !function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-notify",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";var e={},i={},s=function(e){return"string"==t.$.type(e)&&(e={message:e}),arguments[1]&&(e=t.$.extend(e,"string"==t.$.type(arguments[1])?{status:arguments[1]}:arguments[1])),new n(e).show()},o=function(t,e){var s;if(t)for(s in i)t===i[s].group&&i[s].close(e);else for(s in i)i[s].close(e)},n=function(s){this.options=t.$.extend({},n.defaults,s),this.uuid=t.Utils.uid("notifymsg"),this.element=t.$(['<div class="uk-notify-message">','<a class="uk-close"></a>',"<div></div>","</div>"].join("")).data("notifyMessage",this),this.content(this.options.message),this.options.status&&(this.element.addClass("uk-notify-message-"+this.options.status),this.currentstatus=this.options.status),this.group=this.options.group,i[this.uuid]=this,e[this.options.pos]||(e[this.options.pos]=t.$('<div class="uk-notify uk-notify-'+this.options.pos+'"></div>').appendTo("body").on("click",".uk-notify-message",function(){var e=t.$(this).data("notifyMessage");e.element.trigger("manualclose.uk.notify",[e]),e.close()}))};return t.$.extend(n.prototype,{uuid:!1,element:!1,timout:!1,currentstatus:"",group:!1,show:function(){if(!this.element.is(":visible")){var t=this;e[this.options.pos].show().prepend(this.element);var i=parseInt(this.element.css("margin-bottom"),10);return this.element.css({opacity:0,"margin-top":-1*this.element.outerHeight(),"margin-bottom":0}).animate({opacity:1,"margin-top":0,"margin-bottom":i},function(){if(t.options.timeout){var e=function(){t.close()};t.timeout=setTimeout(e,t.options.timeout),t.element.hover(function(){clearTimeout(t.timeout)},function(){t.timeout=setTimeout(e,t.options.timeout)})}}),this}},close:function(t){var s=this,o=function(){s.element.remove(),e[s.options.pos].children().length||e[s.options.pos].hide(),s.options.onClose.apply(s,[]),s.element.trigger("close.uk.notify",[s]),delete i[s.uuid]};this.timeout&&clearTimeout(this.timeout),t?o():this.element.animate({opacity:0,"margin-top":-1*this.element.outerHeight(),"margin-bottom":0},function(){o()})},content:function(t){var e=this.element.find(">div");return t?(e.html(t),this):e.html()},status:function(t){return t?(this.element.removeClass("uk-notify-message-"+this.currentstatus).addClass("uk-notify-message-"+t),this.currentstatus=t,this):this.currentstatus}}),n.defaults={message:"",status:"",timeout:5e3,group:null,pos:"top-center",onClose:function(){}},t.notify=s,t.notify.message=n,t.notify.closeAll=o,s}); | 2 | !function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-notify",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";var e={},i={},s=function(e){return"string"==t.$.type(e)&&(e={message:e}),arguments[1]&&(e=t.$.extend(e,"string"==t.$.type(arguments[1])?{status:arguments[1]}:arguments[1])),new n(e).show()},o=function(t,e){var s;if(t)for(s in i)t===i[s].group&&i[s].close(e);else for(s in i)i[s].close(e)},n=function(s){this.options=t.$.extend({},n.defaults,s),this.uuid=t.Utils.uid("notifymsg"),this.element=t.$(['<div class="uk-notify-message">','<a class="uk-close"></a>',"<div></div>","</div>"].join("")).data("notifyMessage",this),this.content(this.options.message),this.options.status&&(this.element.addClass("uk-notify-message-"+this.options.status),this.currentstatus=this.options.status),this.group=this.options.group,i[this.uuid]=this,e[this.options.pos]||(e[this.options.pos]=t.$('<div class="uk-notify uk-notify-'+this.options.pos+'"></div>').appendTo("body").on("click",".uk-notify-message",function(){var e=t.$(this).data("notifyMessage");e.element.trigger("manualclose.uk.notify",[e]),e.close()}))};return t.$.extend(n.prototype,{uuid:!1,element:!1,timout:!1,currentstatus:"",group:!1,show:function(){if(!this.element.is(":visible")){var t=this;e[this.options.pos].show().prepend(this.element);var i=parseInt(this.element.css("margin-bottom"),10);return this.element.css({opacity:0,"margin-top":-1*this.element.outerHeight(),"margin-bottom":0}).animate({opacity:1,"margin-top":0,"margin-bottom":i},function(){if(t.options.timeout){var e=function(){t.close()};t.timeout=setTimeout(e,t.options.timeout),t.element.hover(function(){clearTimeout(t.timeout)},function(){t.timeout=setTimeout(e,t.options.timeout)})}}),this}},close:function(t){var s=this,o=function(){s.element.remove(),e[s.options.pos].children().length||e[s.options.pos].hide(),s.options.onClose.apply(s,[]),s.element.trigger("close.uk.notify",[s]),delete i[s.uuid]};this.timeout&&clearTimeout(this.timeout),t?o():this.element.animate({opacity:0,"margin-top":-1*this.element.outerHeight(),"margin-bottom":0},function(){o()})},content:function(t){var e=this.element.find(">div");return t?(e.html(t),this):e.html()},status:function(t){return t?(this.element.removeClass("uk-notify-message-"+this.currentstatus).addClass("uk-notify-message-"+t),this.currentstatus=t,this):this.currentstatus}}),n.defaults={message:"",status:"",timeout:5e3,group:null,pos:"top-center",onClose:function(){}},t.notify=s,t.notify.message=n,t.notify.closeAll=o,s}); |
| 3 | \ No newline at end of file | 3 | \ No newline at end of file |
src/main/resources/static/real_control_v2/assets/plugins/uikit-2.27.1/components/pagination.min.js
| 1 | -/*! UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | 1 | +/* UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ |
| 2 | !function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-pagination",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";return t.component("pagination",{defaults:{items:1,itemsOnPage:1,pages:0,displayedPages:7,edges:1,currentPage:0,lblPrev:!1,lblNext:!1,onSelectPage:function(){}},boot:function(){t.ready(function(e){t.$("[data-uk-pagination]",e).each(function(){var e=t.$(this);e.data("pagination")||t.pagination(e,t.Utils.options(e.attr("data-uk-pagination")))})})},init:function(){var e=this;this.pages=this.options.pages?this.options.pages:Math.ceil(this.options.items/this.options.itemsOnPage)?Math.ceil(this.options.items/this.options.itemsOnPage):1,this.currentPage=this.options.currentPage,this.halfDisplayed=this.options.displayedPages/2,this.on("click","a[data-page]",function(i){i.preventDefault(),e.selectPage(t.$(this).data("page"))}),this._render()},_getInterval:function(){return{start:Math.ceil(this.currentPage>this.halfDisplayed?Math.max(Math.min(this.currentPage-this.halfDisplayed,this.pages-this.options.displayedPages),0):0),end:Math.ceil(this.currentPage>this.halfDisplayed?Math.min(this.currentPage+this.halfDisplayed,this.pages):Math.min(this.options.displayedPages,this.pages))}},render:function(t){this.pages=t?t:this.pages,this._render()},selectPage:function(t,e){this.currentPage=t,this.render(e),this.options.onSelectPage.apply(this,[t]),this.trigger("select.uk.pagination",[t,this])},_render:function(){var t,e=this.options,i=this._getInterval();if(this.element.empty(),e.lblPrev&&this._append(this.currentPage-1,{text:e.lblPrev}),i.start>0&&e.edges>0){var s=Math.min(e.edges,i.start);for(t=0;s>t;t++)this._append(t);e.edges<i.start&&i.start-e.edges!=1?this.element.append("<li><span>...</span></li>"):i.start-e.edges==1&&this._append(e.edges)}for(t=i.start;t<i.end;t++)this._append(t);if(i.end<this.pages&&e.edges>0){this.pages-e.edges>i.end&&this.pages-e.edges-i.end!=1?this.element.append("<li><span>...</span></li>"):this.pages-e.edges-i.end==1&&this._append(i.end++);var a=Math.max(this.pages-e.edges,i.end);for(t=a;t<this.pages;t++)this._append(t)}e.lblNext&&this._append(this.currentPage+1,{text:e.lblNext})},_append:function(e,i){var s,a;e=0>e?0:e<this.pages?e:this.pages-1,a=t.$.extend({text:e+1},i),s=e==this.currentPage?'<li class="uk-active"><span>'+a.text+"</span></li>":'<li><a href="#page-'+(e+1)+'" data-page="'+e+'">'+a.text+"</a></li>",this.element.append(s)}}),t.pagination}); | 2 | !function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-pagination",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";return t.component("pagination",{defaults:{items:1,itemsOnPage:1,pages:0,displayedPages:7,edges:1,currentPage:0,lblPrev:!1,lblNext:!1,onSelectPage:function(){}},boot:function(){t.ready(function(e){t.$("[data-uk-pagination]",e).each(function(){var e=t.$(this);e.data("pagination")||t.pagination(e,t.Utils.options(e.attr("data-uk-pagination")))})})},init:function(){var e=this;this.pages=this.options.pages?this.options.pages:Math.ceil(this.options.items/this.options.itemsOnPage)?Math.ceil(this.options.items/this.options.itemsOnPage):1,this.currentPage=this.options.currentPage,this.halfDisplayed=this.options.displayedPages/2,this.on("click","a[data-page]",function(i){i.preventDefault(),e.selectPage(t.$(this).data("page"))}),this._render()},_getInterval:function(){return{start:Math.ceil(this.currentPage>this.halfDisplayed?Math.max(Math.min(this.currentPage-this.halfDisplayed,this.pages-this.options.displayedPages),0):0),end:Math.ceil(this.currentPage>this.halfDisplayed?Math.min(this.currentPage+this.halfDisplayed,this.pages):Math.min(this.options.displayedPages,this.pages))}},render:function(t){this.pages=t?t:this.pages,this._render()},selectPage:function(t,e){this.currentPage=t,this.render(e),this.options.onSelectPage.apply(this,[t]),this.trigger("select.uk.pagination",[t,this])},_render:function(){var t,e=this.options,i=this._getInterval();if(this.element.empty(),e.lblPrev&&this._append(this.currentPage-1,{text:e.lblPrev}),i.start>0&&e.edges>0){var s=Math.min(e.edges,i.start);for(t=0;s>t;t++)this._append(t);e.edges<i.start&&i.start-e.edges!=1?this.element.append("<li><span>...</span></li>"):i.start-e.edges==1&&this._append(e.edges)}for(t=i.start;t<i.end;t++)this._append(t);if(i.end<this.pages&&e.edges>0){this.pages-e.edges>i.end&&this.pages-e.edges-i.end!=1?this.element.append("<li><span>...</span></li>"):this.pages-e.edges-i.end==1&&this._append(i.end++);var a=Math.max(this.pages-e.edges,i.end);for(t=a;t<this.pages;t++)this._append(t)}e.lblNext&&this._append(this.currentPage+1,{text:e.lblNext})},_append:function(e,i){var s,a;e=0>e?0:e<this.pages?e:this.pages-1,a=t.$.extend({text:e+1},i),s=e==this.currentPage?'<li class="uk-active"><span>'+a.text+"</span></li>":'<li><a href="#page-'+(e+1)+'" data-page="'+e+'">'+a.text+"</a></li>",this.element.append(s)}}),t.pagination}); |
| 3 | \ No newline at end of file | 3 | \ No newline at end of file |
src/main/resources/static/real_control_v2/assets/plugins/uikit-2.27.1/components/progress.gradient.min.css
| 1 | -/*! UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | 1 | +/* UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ |
| 2 | .uk-progress{box-sizing:border-box;height:20px;margin-bottom:15px;background:#f7f7f7;overflow:hidden;line-height:20px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.07),inset 0 2px 2px rgba(0,0,0,.07);border-radius:4px}*+.uk-progress{margin-top:15px}.uk-progress-bar{width:0;height:100%;background:#009dd8;float:left;-webkit-transition:width .6s ease;transition:width .6s ease;font-size:12px;color:#fff;text-align:center;background-image:-webkit-linear-gradient(top,#00b4f5,#008dc5);background-image:linear-gradient(to bottom,#00b4f5,#008dc5);box-shadow:inset 0 -1px 0 rgba(0,0,0,.2),inset 0 0 0 1px rgba(0,0,0,.1);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-progress-mini{height:6px}.uk-progress-small{height:12px}.uk-progress-success .uk-progress-bar{background-color:#82bb42;background-image:-webkit-linear-gradient(top,#9fd256,#6fac34);background-image:linear-gradient(to bottom,#9fd256,#6fac34)}.uk-progress-warning .uk-progress-bar{background-color:#f9a124;background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406)}.uk-progress-danger .uk-progress-bar{background-color:#d32c46;background-image:-webkit-linear-gradient(top,#ee465a,#c11a39);background-image:linear-gradient(to bottom,#ee465a,#c11a39)}.uk-progress-striped .uk-progress-bar{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: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-size:30px 30px}.uk-progress-striped.uk-active .uk-progress-bar{-webkit-animation:uk-progress-bar-stripes 2s linear infinite;animation:uk-progress-bar-stripes 2s linear infinite}@-webkit-keyframes uk-progress-bar-stripes{0%{background-position:0 0}100%{background-position:30px 0}}@keyframes uk-progress-bar-stripes{0%{background-position:0 0}100%{background-position:30px 0}}.uk-progress-mini,.uk-progress-small{border-radius:500px} | 2 | .uk-progress{box-sizing:border-box;height:20px;margin-bottom:15px;background:#f7f7f7;overflow:hidden;line-height:20px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.07),inset 0 2px 2px rgba(0,0,0,.07);border-radius:4px}*+.uk-progress{margin-top:15px}.uk-progress-bar{width:0;height:100%;background:#009dd8;float:left;-webkit-transition:width .6s ease;transition:width .6s ease;font-size:12px;color:#fff;text-align:center;background-image:-webkit-linear-gradient(top,#00b4f5,#008dc5);background-image:linear-gradient(to bottom,#00b4f5,#008dc5);box-shadow:inset 0 -1px 0 rgba(0,0,0,.2),inset 0 0 0 1px rgba(0,0,0,.1);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-progress-mini{height:6px}.uk-progress-small{height:12px}.uk-progress-success .uk-progress-bar{background-color:#82bb42;background-image:-webkit-linear-gradient(top,#9fd256,#6fac34);background-image:linear-gradient(to bottom,#9fd256,#6fac34)}.uk-progress-warning .uk-progress-bar{background-color:#f9a124;background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406)}.uk-progress-danger .uk-progress-bar{background-color:#d32c46;background-image:-webkit-linear-gradient(top,#ee465a,#c11a39);background-image:linear-gradient(to bottom,#ee465a,#c11a39)}.uk-progress-striped .uk-progress-bar{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: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-size:30px 30px}.uk-progress-striped.uk-active .uk-progress-bar{-webkit-animation:uk-progress-bar-stripes 2s linear infinite;animation:uk-progress-bar-stripes 2s linear infinite}@-webkit-keyframes uk-progress-bar-stripes{0%{background-position:0 0}100%{background-position:30px 0}}@keyframes uk-progress-bar-stripes{0%{background-position:0 0}100%{background-position:30px 0}}.uk-progress-mini,.uk-progress-small{border-radius:500px} |
| 3 | \ No newline at end of file | 3 | \ No newline at end of file |
src/main/resources/static/real_control_v2/assets/plugins/uikit-2.27.1/components/slidenav.gradient.min.css
| 1 | -/*! UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | 1 | +/* UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ |
| 2 | .uk-slidenav{display:inline-block;box-sizing:border-box;width:60px;height:60px;line-height:60px;color:rgba(50,50,50,.4);font-size:60px;text-align:center}.uk-slidenav:focus,.uk-slidenav:hover{outline:0;text-decoration:none;color:rgba(50,50,50,.7);cursor:pointer}.uk-slidenav:active{color:rgba(50,50,50,.9)}.uk-slidenav-previous:before{content:"\f104";font-family:FontAwesome}.uk-slidenav-next:before{content:"\f105";font-family:FontAwesome}.uk-slidenav-position{position:relative}.uk-slidenav-position .uk-slidenav{display:none;position:absolute;top:50%;z-index:1;margin-top:-30px}.uk-slidenav-position:hover .uk-slidenav{display:block}.uk-slidenav-position .uk-slidenav-previous{left:20px}.uk-slidenav-position .uk-slidenav-next{right:20px}.uk-slidenav-contrast{color:rgba(255,255,255,.5)}.uk-slidenav-contrast:focus,.uk-slidenav-contrast:hover{color:rgba(255,255,255,.7)}.uk-slidenav-contrast:active{color:rgba(255,255,255,.9)} | 2 | .uk-slidenav{display:inline-block;box-sizing:border-box;width:60px;height:60px;line-height:60px;color:rgba(50,50,50,.4);font-size:60px;text-align:center}.uk-slidenav:focus,.uk-slidenav:hover{outline:0;text-decoration:none;color:rgba(50,50,50,.7);cursor:pointer}.uk-slidenav:active{color:rgba(50,50,50,.9)}.uk-slidenav-previous:before{content:"\f104";font-family:FontAwesome}.uk-slidenav-next:before{content:"\f105";font-family:FontAwesome}.uk-slidenav-position{position:relative}.uk-slidenav-position .uk-slidenav{display:none;position:absolute;top:50%;z-index:1;margin-top:-30px}.uk-slidenav-position:hover .uk-slidenav{display:block}.uk-slidenav-position .uk-slidenav-previous{left:20px}.uk-slidenav-position .uk-slidenav-next{right:20px}.uk-slidenav-contrast{color:rgba(255,255,255,.5)}.uk-slidenav-contrast:focus,.uk-slidenav-contrast:hover{color:rgba(255,255,255,.7)}.uk-slidenav-contrast:active{color:rgba(255,255,255,.9)} |
| 3 | \ No newline at end of file | 3 | \ No newline at end of file |
src/main/resources/static/real_control_v2/assets/plugins/uikit-2.27.1/components/slider.gradient.min.css
| 1 | -/*! UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | 1 | +/* UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ |
| 2 | [data-uk-slider]{direction:ltr}html[dir=rtl] .uk-slider>*{direction:rtl}.uk-slider{position:relative;z-index:0;touch-action:pan-y}.uk-slider:not(.uk-grid){margin:0;padding:0;list-style:none}.uk-slider>*{position:absolute;top:0;left:0}.uk-slider-container{overflow:hidden}.uk-slider:not(.uk-drag){-webkit-transition:-webkit-transform .2s linear;transition:transform .2s linear}.uk-slider.uk-drag{cursor:col-resize;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.uk-slider a,.uk-slider img{-webkit-user-drag:none;user-drag:none;-webkit-touch-callout:none}.uk-slider img{pointer-events:none}.uk-slider-fullscreen,.uk-slider-fullscreen>li{height:100vh} | 2 | [data-uk-slider]{direction:ltr}html[dir=rtl] .uk-slider>*{direction:rtl}.uk-slider{position:relative;z-index:0;touch-action:pan-y}.uk-slider:not(.uk-grid){margin:0;padding:0;list-style:none}.uk-slider>*{position:absolute;top:0;left:0}.uk-slider-container{overflow:hidden}.uk-slider:not(.uk-drag){-webkit-transition:-webkit-transform .2s linear;transition:transform .2s linear}.uk-slider.uk-drag{cursor:col-resize;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.uk-slider a,.uk-slider img{-webkit-user-drag:none;user-drag:none;-webkit-touch-callout:none}.uk-slider img{pointer-events:none}.uk-slider-fullscreen,.uk-slider-fullscreen>li{height:100vh} |
| 3 | \ No newline at end of file | 3 | \ No newline at end of file |
src/main/resources/static/real_control_v2/assets/plugins/uikit-2.27.1/components/slider.min.js
| 1 | -/*! UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | 1 | +/* UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ |
| 2 | !function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-slider",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";var e,i,s,n,a={};return t.component("slider",{defaults:{center:!1,threshold:10,infinite:!0,autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0,activecls:"uk-active"},boot:function(){t.ready(function(e){setTimeout(function(){t.$("[data-uk-slider]",e).each(function(){var e=t.$(this);e.data("slider")||t.slider(e,t.Utils.options(e.attr("data-uk-slider")))})},0)})},init:function(){var o=this;this.container=this.element.find(".uk-slider"),this.focus=0,t.$win.on("resize load",t.Utils.debounce(function(){o.update(!0)},100)),this.on("click.uk.slider","[data-uk-slider-item]",function(e){e.preventDefault();var i=t.$(this).attr("data-uk-slider-item");if(o.focus!=i)switch(o.stop(),i){case"next":case"previous":o["next"==i?"next":"previous"]();break;default:o.updateFocus(parseInt(i,10))}}),this.container.on({"touchstart mousedown":function(h){h.originalEvent&&h.originalEvent.touches&&(h=h.originalEvent.touches[0]),h.button&&2==h.button||!o.active||(o.stop(),s=t.$(h.target).is("a")?t.$(h.target):t.$(h.target).parents("a:first"),n=!1,s.length&&s.one("click",function(t){n&&t.preventDefault()}),i=function(t){n=!0,e=o,a={touchx:parseInt(t.pageX,10),dir:1,focus:o.focus,base:o.options.center?"center":"area"},t.originalEvent&&t.originalEvent.touches&&(t=t.originalEvent.touches[0]),e.element.data({"pointer-start":{x:parseInt(t.pageX,10),y:parseInt(t.pageY,10)},"pointer-pos-start":o.pos}),o.container.addClass("uk-drag"),i=!1},i.x=parseInt(h.pageX,10),i.threshold=o.options.threshold)},mouseenter:function(){o.options.pauseOnHover&&(o.hovering=!0)},mouseleave:function(){o.hovering=!1}}),this.update(!0),this.on("display.uk.check",function(){o.element.is(":visible")&&o.update(!0)}),this.element.find("a,img").attr("draggable","false"),this.options.autoplay&&this.start(),t.domObserve(this.element,function(){o.element.children(":not([data-slide])").length&&o.update(!0)})},update:function(e){var i,s,n,a,o=this,h=0,r=0;return this.items=this.container.children().filter(":visible"),this.vp=this.element[0].getBoundingClientRect().width,this.container.css({"min-width":"","min-height":""}),this.items.each(function(e){i=t.$(this).attr("data-slide",e),a=i.css({left:"",width:""})[0].getBoundingClientRect(),s=a.width,n=i.width(),r=Math.max(r,a.height),i.css({left:h,width:s}).data({idx:e,left:h,width:s,cwidth:n,area:h+s,center:h-(o.vp/2-n/2)}),h+=s}),this.container.css({"min-width":h,"min-height":r}),this.options.infinite&&(h<=2*this.vp||this.items.length<5)&&!this.itemsResized?(this.container.children().each(function(t){o.container.append(o.items.eq(t).clone(!0).attr("id",""))}).each(function(t){o.container.append(o.items.eq(t).clone(!0).attr("id",""))}),this.itemsResized=!0,this.update()):(this.cw=h,this.pos=0,this.active=h>=this.vp,this.container.css({"-ms-transform":"","-webkit-transform":"",transform:""}),e&&this.updateFocus(this.focus),void 0)},updatePos:function(t){this.pos=t,this.container.css({"-ms-transform":"translateX("+t+"px)","-webkit-transform":"translateX("+t+"px)",transform:"translateX("+t+"px)"})},updateFocus:function(e,i){if(this.active){i=i||(e>this.focus?1:-1);var s,n,a=this.items.eq(e);if(this.options.infinite&&this.infinite(e,i),this.options.center)this.updatePos(-1*a.data("center")),this.items.filter("."+this.options.activecls).removeClass(this.options.activecls),a.addClass(this.options.activecls);else if(this.options.infinite)this.updatePos(-1*a.data("left"));else{for(s=0,n=e;n<this.items.length;n++)s+=this.items.eq(n).data("width");if(s>this.vp)this.updatePos(-1*a.data("left"));else if(1==i){for(s=0,n=this.items.length-1;n>=0;n--){if(s+=this.items.eq(n).data("width"),s==this.vp){e=n;break}if(s>this.vp){e=n<this.items.length-1?n+1:n;break}}s>this.vp?this.updatePos(-1*(this.container.width()-this.vp)):this.updatePos(-1*this.items.eq(e).data("left"))}}var o=this.items.eq(e).data("left");this.items.removeClass("uk-slide-before uk-slide-after").each(function(i){i!==e&&t.$(this).addClass(t.$(this).data("left")<o?"uk-slide-before":"uk-slide-after")}),this.focus=e,this.trigger("focusitem.uk.slider",[e,this.items.eq(e),this])}},next:function(){var t=this.items[this.focus+1]?this.focus+1:this.options.infinite?0:this.focus;this.updateFocus(t,1)},previous:function(){var t=this.items[this.focus-1]?this.focus-1:this.options.infinite?this.items[this.focus-1]?this.items-1:this.items.length-1:this.focus;this.updateFocus(t,-1)},start:function(){this.stop();var t=this;this.interval=setInterval(function(){t.hovering||t.next()},this.options.autoplayInterval)},stop:function(){this.interval&&clearInterval(this.interval)},infinite:function(t,e){var i,s=this,n=this.items.eq(t),a=t,o=[],h=0;if(1==e){for(i=0;i<this.items.length&&(a!=t&&(h+=this.items.eq(a).data("width"),o.push(this.items.eq(a))),!(h>this.vp));i++)a=a+1==this.items.length?0:a+1;o.length&&o.forEach(function(t){var e=n.data("area");t.css({left:e}).data({left:e,area:e+t.data("width"),center:e-(s.vp/2-t.data("cwidth")/2)}),n=t})}else{for(i=this.items.length-1;i>-1&&(h+=this.items.eq(a).data("width"),a!=t&&o.push(this.items.eq(a)),!(h>this.vp));i--)a=a-1==-1?this.items.length-1:a-1;o.length&&o.forEach(function(t){var e=n.data("left")-t.data("width");t.css({left:e}).data({left:e,area:e+t.data("width"),center:e-(s.vp/2-t.data("cwidth")/2)}),n=t})}}}),t.$doc.on("mousemove.uk.slider touchmove.uk.slider",function(t){if(t.originalEvent&&t.originalEvent.touches&&(t=t.originalEvent.touches[0]),i&&Math.abs(t.pageX-i.x)>i.threshold&&(window.getSelection().toString()?e=i=!1:i(t)),e){var s,n,o,h,r,c,d,u,f,l;if(t.clientX||t.clientY?s=t.clientX:(t.pageX||t.pageY)&&(s=t.pageX-document.body.scrollLeft-document.documentElement.scrollLeft),r=a.focus,n=s-e.element.data("pointer-start").x,o=e.element.data("pointer-pos-start")+n,h=s>e.element.data("pointer-start").x?-1:1,c=e.items.eq(a.focus),1==h)for(d=c.data("left")+Math.abs(n),u=0,f=a.focus;u<e.items.length;u++){if(l=e.items.eq(f),f!=a.focus&&l.data("left")<d&&l.data("area")>d){r=f;break}f=f+1==e.items.length?0:f+1}else for(d=c.data("left")-Math.abs(n),u=0,f=a.focus;u<e.items.length;u++){if(l=e.items.eq(f),f!=a.focus&&l.data("area")<=c.data("left")&&l.data("center")<d){r=f;break}f=f-1==-1?e.items.length-1:f-1}e.options.infinite&&r!=a._focus&&e.infinite(r,h),e.updatePos(o),a.dir=h,a._focus=r,a.touchx=parseInt(t.pageX,10),a.diff=d}}),t.$doc.on("mouseup.uk.slider touchend.uk.slider",function(){if(e){e.container.removeClass("uk-drag"),e.items.eq(a.focus);var t,s,n,o=!1;if(1==a.dir){for(s=0,n=a.focus;s<e.items.length;s++){if(t=e.items.eq(n),n!=a.focus&&t.data("left")>a.diff){o=n;break}n=n+1==e.items.length?0:n+1}e.options.infinite||o||(o=e.items.length)}else{for(s=0,n=a.focus;s<e.items.length;s++){if(t=e.items.eq(n),n!=a.focus&&t.data("left")<a.diff){o=n;break}n=n-1==-1?e.items.length-1:n-1}e.options.infinite||o||(o=0)}e.updateFocus(o!==!1?o:a._focus)}e=i=!1}),t.slider}); | 2 | !function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-slider",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";var e,i,s,n,a={};return t.component("slider",{defaults:{center:!1,threshold:10,infinite:!0,autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0,activecls:"uk-active"},boot:function(){t.ready(function(e){setTimeout(function(){t.$("[data-uk-slider]",e).each(function(){var e=t.$(this);e.data("slider")||t.slider(e,t.Utils.options(e.attr("data-uk-slider")))})},0)})},init:function(){var o=this;this.container=this.element.find(".uk-slider"),this.focus=0,t.$win.on("resize load",t.Utils.debounce(function(){o.update(!0)},100)),this.on("click.uk.slider","[data-uk-slider-item]",function(e){e.preventDefault();var i=t.$(this).attr("data-uk-slider-item");if(o.focus!=i)switch(o.stop(),i){case"next":case"previous":o["next"==i?"next":"previous"]();break;default:o.updateFocus(parseInt(i,10))}}),this.container.on({"touchstart mousedown":function(h){h.originalEvent&&h.originalEvent.touches&&(h=h.originalEvent.touches[0]),h.button&&2==h.button||!o.active||(o.stop(),s=t.$(h.target).is("a")?t.$(h.target):t.$(h.target).parents("a:first"),n=!1,s.length&&s.one("click",function(t){n&&t.preventDefault()}),i=function(t){n=!0,e=o,a={touchx:parseInt(t.pageX,10),dir:1,focus:o.focus,base:o.options.center?"center":"area"},t.originalEvent&&t.originalEvent.touches&&(t=t.originalEvent.touches[0]),e.element.data({"pointer-start":{x:parseInt(t.pageX,10),y:parseInt(t.pageY,10)},"pointer-pos-start":o.pos}),o.container.addClass("uk-drag"),i=!1},i.x=parseInt(h.pageX,10),i.threshold=o.options.threshold)},mouseenter:function(){o.options.pauseOnHover&&(o.hovering=!0)},mouseleave:function(){o.hovering=!1}}),this.update(!0),this.on("display.uk.check",function(){o.element.is(":visible")&&o.update(!0)}),this.element.find("a,img").attr("draggable","false"),this.options.autoplay&&this.start(),t.domObserve(this.element,function(){o.element.children(":not([data-slide])").length&&o.update(!0)})},update:function(e){var i,s,n,a,o=this,h=0,r=0;return this.items=this.container.children().filter(":visible"),this.vp=this.element[0].getBoundingClientRect().width,this.container.css({"min-width":"","min-height":""}),this.items.each(function(e){i=t.$(this).attr("data-slide",e),a=i.css({left:"",width:""})[0].getBoundingClientRect(),s=a.width,n=i.width(),r=Math.max(r,a.height),i.css({left:h,width:s}).data({idx:e,left:h,width:s,cwidth:n,area:h+s,center:h-(o.vp/2-n/2)}),h+=s}),this.container.css({"min-width":h,"min-height":r}),this.options.infinite&&(h<=2*this.vp||this.items.length<5)&&!this.itemsResized?(this.container.children().each(function(t){o.container.append(o.items.eq(t).clone(!0).attr("id",""))}).each(function(t){o.container.append(o.items.eq(t).clone(!0).attr("id",""))}),this.itemsResized=!0,this.update()):(this.cw=h,this.pos=0,this.active=h>=this.vp,this.container.css({"-ms-transform":"","-webkit-transform":"",transform:""}),e&&this.updateFocus(this.focus),void 0)},updatePos:function(t){this.pos=t,this.container.css({"-ms-transform":"translateX("+t+"px)","-webkit-transform":"translateX("+t+"px)",transform:"translateX("+t+"px)"})},updateFocus:function(e,i){if(this.active){i=i||(e>this.focus?1:-1);var s,n,a=this.items.eq(e);if(this.options.infinite&&this.infinite(e,i),this.options.center)this.updatePos(-1*a.data("center")),this.items.filter("."+this.options.activecls).removeClass(this.options.activecls),a.addClass(this.options.activecls);else if(this.options.infinite)this.updatePos(-1*a.data("left"));else{for(s=0,n=e;n<this.items.length;n++)s+=this.items.eq(n).data("width");if(s>this.vp)this.updatePos(-1*a.data("left"));else if(1==i){for(s=0,n=this.items.length-1;n>=0;n--){if(s+=this.items.eq(n).data("width"),s==this.vp){e=n;break}if(s>this.vp){e=n<this.items.length-1?n+1:n;break}}s>this.vp?this.updatePos(-1*(this.container.width()-this.vp)):this.updatePos(-1*this.items.eq(e).data("left"))}}var o=this.items.eq(e).data("left");this.items.removeClass("uk-slide-before uk-slide-after").each(function(i){i!==e&&t.$(this).addClass(t.$(this).data("left")<o?"uk-slide-before":"uk-slide-after")}),this.focus=e,this.trigger("focusitem.uk.slider",[e,this.items.eq(e),this])}},next:function(){var t=this.items[this.focus+1]?this.focus+1:this.options.infinite?0:this.focus;this.updateFocus(t,1)},previous:function(){var t=this.items[this.focus-1]?this.focus-1:this.options.infinite?this.items[this.focus-1]?this.items-1:this.items.length-1:this.focus;this.updateFocus(t,-1)},start:function(){this.stop();var t=this;this.interval=setInterval(function(){t.hovering||t.next()},this.options.autoplayInterval)},stop:function(){this.interval&&clearInterval(this.interval)},infinite:function(t,e){var i,s=this,n=this.items.eq(t),a=t,o=[],h=0;if(1==e){for(i=0;i<this.items.length&&(a!=t&&(h+=this.items.eq(a).data("width"),o.push(this.items.eq(a))),!(h>this.vp));i++)a=a+1==this.items.length?0:a+1;o.length&&o.forEach(function(t){var e=n.data("area");t.css({left:e}).data({left:e,area:e+t.data("width"),center:e-(s.vp/2-t.data("cwidth")/2)}),n=t})}else{for(i=this.items.length-1;i>-1&&(h+=this.items.eq(a).data("width"),a!=t&&o.push(this.items.eq(a)),!(h>this.vp));i--)a=a-1==-1?this.items.length-1:a-1;o.length&&o.forEach(function(t){var e=n.data("left")-t.data("width");t.css({left:e}).data({left:e,area:e+t.data("width"),center:e-(s.vp/2-t.data("cwidth")/2)}),n=t})}}}),t.$doc.on("mousemove.uk.slider touchmove.uk.slider",function(t){if(t.originalEvent&&t.originalEvent.touches&&(t=t.originalEvent.touches[0]),i&&Math.abs(t.pageX-i.x)>i.threshold&&(window.getSelection().toString()?e=i=!1:i(t)),e){var s,n,o,h,r,c,d,u,f,l;if(t.clientX||t.clientY?s=t.clientX:(t.pageX||t.pageY)&&(s=t.pageX-document.body.scrollLeft-document.documentElement.scrollLeft),r=a.focus,n=s-e.element.data("pointer-start").x,o=e.element.data("pointer-pos-start")+n,h=s>e.element.data("pointer-start").x?-1:1,c=e.items.eq(a.focus),1==h)for(d=c.data("left")+Math.abs(n),u=0,f=a.focus;u<e.items.length;u++){if(l=e.items.eq(f),f!=a.focus&&l.data("left")<d&&l.data("area")>d){r=f;break}f=f+1==e.items.length?0:f+1}else for(d=c.data("left")-Math.abs(n),u=0,f=a.focus;u<e.items.length;u++){if(l=e.items.eq(f),f!=a.focus&&l.data("area")<=c.data("left")&&l.data("center")<d){r=f;break}f=f-1==-1?e.items.length-1:f-1}e.options.infinite&&r!=a._focus&&e.infinite(r,h),e.updatePos(o),a.dir=h,a._focus=r,a.touchx=parseInt(t.pageX,10),a.diff=d}}),t.$doc.on("mouseup.uk.slider touchend.uk.slider",function(){if(e){e.container.removeClass("uk-drag"),e.items.eq(a.focus);var t,s,n,o=!1;if(1==a.dir){for(s=0,n=a.focus;s<e.items.length;s++){if(t=e.items.eq(n),n!=a.focus&&t.data("left")>a.diff){o=n;break}n=n+1==e.items.length?0:n+1}e.options.infinite||o||(o=e.items.length)}else{for(s=0,n=a.focus;s<e.items.length;s++){if(t=e.items.eq(n),n!=a.focus&&t.data("left")<a.diff){o=n;break}n=n-1==-1?e.items.length-1:n-1}e.options.infinite||o||(o=0)}e.updateFocus(o!==!1?o:a._focus)}e=i=!1}),t.slider}); |
| 3 | \ No newline at end of file | 3 | \ No newline at end of file |
src/main/resources/static/real_control_v2/assets/plugins/uikit-2.27.1/components/sortable.gradient.min.css
| 1 | -/*! UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | 1 | +/* UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ |
| 2 | .uk-sortable{position:relative}.uk-sortable>*{touch-action:none}.uk-sortable a,.uk-sortable img{-webkit-touch-callout:none}.uk-sortable>:last-child{margin-bottom:0}.uk-sortable-dragged{position:absolute;z-index:1050;pointer-events:none}.uk-sortable-placeholder{opacity:0}.uk-sortable-empty{min-height:30px}.uk-sortable-handle{touch-action:none}.uk-sortable-handle:hover{cursor:move}.uk-sortable-moving,.uk-sortable-moving *{cursor:move}.uk-sortable-moving iframe{pointer-events:none} | 2 | .uk-sortable{position:relative}.uk-sortable>*{touch-action:none}.uk-sortable a,.uk-sortable img{-webkit-touch-callout:none}.uk-sortable>:last-child{margin-bottom:0}.uk-sortable-dragged{position:absolute;z-index:1050;pointer-events:none}.uk-sortable-placeholder{opacity:0}.uk-sortable-empty{min-height:30px}.uk-sortable-handle{touch-action:none}.uk-sortable-handle:hover{cursor:move}.uk-sortable-moving,.uk-sortable-moving *{cursor:move}.uk-sortable-moving iframe{pointer-events:none} |
| 3 | \ No newline at end of file | 3 | \ No newline at end of file |
src/main/resources/static/real_control_v2/assets/plugins/uikit-2.27.1/components/sortable.min.js
| 1 | -/*! UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | 1 | +/* UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ |
| 2 | !function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-sortable",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";function e(e){e=t.$(e);do{if(e.data("sortable"))return e;e=t.$(e).parent()}while(e.length);return e}function o(t,e){var o=t.parentNode;if(e.parentNode!=o)return!1;for(var n=t.previousSibling;n&&9!==n.nodeType;){if(n===e)return!0;n=n.previousSibling}return!1}function n(t,e){var o=e;if(o==t)return null;for(;o;){if(o.parentNode===t)return o;if(o=o.parentNode,!o||!o.ownerDocument||11===o.nodeType)break}return null}function s(t){t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),t.returnValue=!1}var a,r,i,l,d,h,u,p,c,g,f,m="ontouchstart"in window||"MSGesture"in window||window.DocumentTouch&&document instanceof DocumentTouch,v=m?"MSGesture"in window?"pointerdown":"touchstart":"mousedown",b=m?"MSGesture"in window?"pointermove":"touchmove":"mousemove",C=m?"MSGesture"in window?"pointerup":"touchend":"mouseup";return t.component("sortable",{defaults:{animation:150,threshold:10,childClass:"uk-sortable-item",placeholderClass:"uk-sortable-placeholder",overClass:"uk-sortable-over",draggingClass:"uk-sortable-dragged",dragMovingClass:"uk-sortable-moving",baseClass:"uk-sortable",noDragClass:"uk-sortable-nodrag",emptyClass:"uk-sortable-empty",dragCustomClass:"",handleClass:!1,group:!1,stop:function(){},start:function(){},change:function(){}},boot:function(){t.ready(function(e){t.$("[data-uk-sortable]",e).each(function(){var e=t.$(this);e.data("sortable")||t.sortable(e,t.Utils.options(e.attr("data-uk-sortable")))})}),t.$html.on(b,function(e){if(u){var o=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0]:e;(Math.abs(o.pageX-u.pos.x)>u.threshold||Math.abs(o.pageY-u.pos.y)>u.threshold)&&u.apply(o)}if(a){d||(d=!0,a.show(),a.$current.addClass(a.$sortable.options.placeholderClass),a.$sortable.element.children().addClass(a.$sortable.options.childClass),t.$html.addClass(a.$sortable.options.dragMovingClass));var n=a.data("mouse-offset"),s=e.originalEvent.touches&&e.originalEvent.touches[0]||e.originalEvent,r=parseInt(s.pageX,10)+n.left,i=parseInt(s.pageY,10)+n.top;if(a.css({left:r,top:i}),i+a.height()/3>document.body.offsetHeight)return;i<t.$win.scrollTop()?t.$win.scrollTop(t.$win.scrollTop()-Math.ceil(a.height()/3)):i+a.height()/3>window.innerHeight+t.$win.scrollTop()&&t.$win.scrollTop(t.$win.scrollTop()+Math.ceil(a.height()/3))}}),t.$html.on(C,function(t){if(u=h=!1,!r||!a)return r=a=null,void 0;var o=e(r),n=a.$sortable,s={type:t.type};o[0]&&n.dragDrop(s,n.element),n.dragEnd(s,n.element)})},init:function(){function e(){m&&f.touches&&f.touches.length?h.addEventListener(b,y,!1):(h.addEventListener("mouseover",$,!1),h.addEventListener("mouseout",w,!1))}function o(){m&&f.touches&&f.touches.length?h.removeEventListener(b,y,!1):(h.removeEventListener("mouseover",$,!1),h.removeEventListener("mouseout",w,!1))}function a(t){r&&d.dragMove(t,d)}function l(e){return function(o){var s,a,r;f=o,o&&(s=o.touches&&o.touches[0]||o,a=s.target||o.target,m&&document.elementFromPoint&&(a=document.elementFromPoint(s.pageX-document.body.scrollLeft,s.pageY-document.body.scrollTop)),g=t.$(a)),t.$(a).hasClass("."+d.options.childClass)?e.apply(a,[o]):a!==h&&(r=n(h,a),r&&e.apply(r,[o]))}}var d=this,h=this.element[0];p=[],this.checkEmptyList(),this.element.data("sortable-group",this.options.group?this.options.group:t.Utils.uid("sortable-group"));var u=l(function(e){if(!e.data||!e.data.sortable){var o=t.$(e.target),n=o.is("a[href]")?o:o.parents("a[href]");if(!o.is(":input")){if(d.options.handleClass){var s=o.hasClass(d.options.handleClass)?o:o.closest("."+d.options.handleClass,d.element);if(!s.length)return}return e.preventDefault(),n.length&&n.one("click",function(t){t.preventDefault()}).one(C,function(){c||(n.trigger("click"),m&&n.attr("href").trim()&&(location.href=n.attr("href")))}),e.data=e.data||{},e.data.sortable=h,d.dragStart(e,this)}}}),$=l(t.Utils.debounce(function(t){return d.dragEnter(t,this)}),40),w=l(function(){var e=d.dragenterData(this);d.dragenterData(this,e-1),d.dragenterData(this)||(t.$(this).removeClass(d.options.overClass),d.dragenterData(this,!1))}),y=l(function(t){return r&&r!==this&&i!==this?(d.element.children().removeClass(d.options.overClass),i=this,d.moveElementNextTo(r,this),s(t)):!0});this.addDragHandlers=e,this.removeDragHandlers=o,window.addEventListener(b,a,!1),h.addEventListener(v,u,!1)},dragStart:function(e,o){c=!1,d=!1,l=!1;var n=this,s=t.$(e.target);if(!(!m&&2==e.button||s.is("."+n.options.noDragClass)||s.closest("."+n.options.noDragClass).length||s.is(":input"))){r=o,a&&a.remove();var i=t.$(r),h=i.offset(),p=e.touches&&e.touches[0]||e;u={pos:{x:p.pageX,y:p.pageY},threshold:n.options.handleClass?1:n.options.threshold,apply:function(){a=t.$('<div class="'+[n.options.draggingClass,n.options.dragCustomClass].join(" ")+'"></div>').css({display:"none",top:h.top,left:h.left,width:i.width(),height:i.height(),padding:i.css("padding")}).data({"mouse-offset":{left:h.left-parseInt(p.pageX,10),top:h.top-parseInt(p.pageY,10)},origin:n.element,index:i.index()}).append(i.html()).appendTo("body"),a.$current=i,a.$sortable=n,i.data({"start-list":i.parent(),"start-index":i.index(),"sortable-group":n.options.group}),n.addDragHandlers(),n.options.start(this,r),n.trigger("start.uk.sortable",[n,r,a]),c=!0,u=!1}}}},dragMove:function(e){g=t.$(document.elementFromPoint(e.pageX-(document.body.scrollLeft||document.scrollLeft||0),e.pageY-(document.body.scrollTop||document.documentElement.scrollTop||0)));var o,n=g.closest("."+this.options.baseClass),s=n.data("sortable-group"),a=t.$(r),i=a.parent(),l=a.data("sortable-group");n[0]!==i[0]&&void 0!==l&&s===l&&(n.data("sortable").addDragHandlers(),p.push(n),n.children().addClass(this.options.childClass),n.children().length>0?(o=g.closest("."+this.options.childClass),o.length?o.before(a):n.append(a)):g.append(a),UIkit.$doc.trigger("mouseover")),this.checkEmptyList(),this.checkEmptyList(i)},dragEnter:function(e,o){if(!r||r===o)return!0;var n=this.dragenterData(o);if(this.dragenterData(o,n+1),0===n){var s=t.$(o).parent(),a=t.$(r).data("start-list");if(s[0]!==a[0]){var i=s.data("sortable-group"),l=t.$(r).data("sortable-group");if((i||l)&&i!=l)return!1}t.$(o).addClass(this.options.overClass),this.moveElementNextTo(r,o)}return!1},dragEnd:function(e,o){var n=this;r&&(this.options.stop(o),this.trigger("stop.uk.sortable",[this])),r=null,i=null,p.push(this.element),p.forEach(function(e){t.$(e).children().each(function(){1===this.nodeType&&(t.$(this).removeClass(n.options.overClass).removeClass(n.options.placeholderClass).removeClass(n.options.childClass),n.dragenterData(this,!1))})}),p=[],t.$html.removeClass(this.options.dragMovingClass),this.removeDragHandlers(),a&&(a.remove(),a=null)},dragDrop:function(t){"drop"===t.type&&(t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault()),this.triggerChangeEvents()},triggerChangeEvents:function(){if(r){var e=t.$(r),o=a.data("origin"),n=e.closest("."+this.options.baseClass),s=[],i=t.$(r);o[0]===n[0]&&a.data("index")!=e.index()?s.push({sortable:this,mode:"moved"}):o[0]!=n[0]&&s.push({sortable:t.$(n).data("sortable"),mode:"added"},{sortable:t.$(o).data("sortable"),mode:"removed"}),s.forEach(function(t){t.sortable&&t.sortable.element.trigger("change.uk.sortable",[t.sortable,i,t.mode])})}},dragenterData:function(e,o){return e=t.$(e),1==arguments.length?parseInt(e.data("child-dragenter"),10)||0:(o?e.data("child-dragenter",Math.max(0,o)):e.removeData("child-dragenter"),void 0)},moveElementNextTo:function(e,n){l=!0;var s=this,a=t.$(e).parent().css("min-height",""),r=o(e,n)?n:n.nextSibling,i=a.children(),d=i.length;return s.options.animation?(a.css("min-height",a.height()),i.stop().each(function(){var e=t.$(this),o=e.position();o.width=e.width(),e.data("offset-before",o)}),n.parentNode.insertBefore(e,r),t.Utils.checkDisplay(s.element.parent()),i=a.children().each(function(){var e=t.$(this);e.data("offset-after",e.position())}).each(function(){var e=t.$(this),o=e.data("offset-before");e.css({position:"absolute",top:o.top,left:o.left,"min-width":o.width})}),i.each(function(){var e=t.$(this),o=(e.data("offset-before"),e.data("offset-after"));e.css("pointer-events","none").width(),setTimeout(function(){e.animate({top:o.top,left:o.left},s.options.animation,function(){e.css({position:"",top:"",left:"","min-width":"","pointer-events":""}).removeClass(s.options.overClass).removeData("child-dragenter"),d--,d||(a.css("min-height",""),t.Utils.checkDisplay(s.element.parent()))})},0)}),void 0):(n.parentNode.insertBefore(e,r),t.Utils.checkDisplay(s.element.parent()),void 0)},serialize:function(){var e,o,n=[];return this.element.children().each(function(s,a){e={};for(var r,i,l=0;l<a.attributes.length;l++)o=a.attributes[l],0===o.name.indexOf("data-")&&(r=o.name.substr(5),i=t.Utils.str2json(o.value),e[r]=i||"false"==o.value||"0"==o.value?i:o.value);n.push(e)}),n},checkEmptyList:function(e){e=e?t.$(e):this.element,this.options.emptyClass&&e[e.children().length?"removeClass":"addClass"](this.options.emptyClass)}}),t.sortable}); | 2 | !function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-sortable",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";function e(e){e=t.$(e);do{if(e.data("sortable"))return e;e=t.$(e).parent()}while(e.length);return e}function o(t,e){var o=t.parentNode;if(e.parentNode!=o)return!1;for(var n=t.previousSibling;n&&9!==n.nodeType;){if(n===e)return!0;n=n.previousSibling}return!1}function n(t,e){var o=e;if(o==t)return null;for(;o;){if(o.parentNode===t)return o;if(o=o.parentNode,!o||!o.ownerDocument||11===o.nodeType)break}return null}function s(t){t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),t.returnValue=!1}var a,r,i,l,d,h,u,p,c,g,f,m="ontouchstart"in window||"MSGesture"in window||window.DocumentTouch&&document instanceof DocumentTouch,v=m?"MSGesture"in window?"pointerdown":"touchstart":"mousedown",b=m?"MSGesture"in window?"pointermove":"touchmove":"mousemove",C=m?"MSGesture"in window?"pointerup":"touchend":"mouseup";return t.component("sortable",{defaults:{animation:150,threshold:10,childClass:"uk-sortable-item",placeholderClass:"uk-sortable-placeholder",overClass:"uk-sortable-over",draggingClass:"uk-sortable-dragged",dragMovingClass:"uk-sortable-moving",baseClass:"uk-sortable",noDragClass:"uk-sortable-nodrag",emptyClass:"uk-sortable-empty",dragCustomClass:"",handleClass:!1,group:!1,stop:function(){},start:function(){},change:function(){}},boot:function(){t.ready(function(e){t.$("[data-uk-sortable]",e).each(function(){var e=t.$(this);e.data("sortable")||t.sortable(e,t.Utils.options(e.attr("data-uk-sortable")))})}),t.$html.on(b,function(e){if(u){var o=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0]:e;(Math.abs(o.pageX-u.pos.x)>u.threshold||Math.abs(o.pageY-u.pos.y)>u.threshold)&&u.apply(o)}if(a){d||(d=!0,a.show(),a.$current.addClass(a.$sortable.options.placeholderClass),a.$sortable.element.children().addClass(a.$sortable.options.childClass),t.$html.addClass(a.$sortable.options.dragMovingClass));var n=a.data("mouse-offset"),s=e.originalEvent.touches&&e.originalEvent.touches[0]||e.originalEvent,r=parseInt(s.pageX,10)+n.left,i=parseInt(s.pageY,10)+n.top;if(a.css({left:r,top:i}),i+a.height()/3>document.body.offsetHeight)return;i<t.$win.scrollTop()?t.$win.scrollTop(t.$win.scrollTop()-Math.ceil(a.height()/3)):i+a.height()/3>window.innerHeight+t.$win.scrollTop()&&t.$win.scrollTop(t.$win.scrollTop()+Math.ceil(a.height()/3))}}),t.$html.on(C,function(t){if(u=h=!1,!r||!a)return r=a=null,void 0;var o=e(r),n=a.$sortable,s={type:t.type};o[0]&&n.dragDrop(s,n.element),n.dragEnd(s,n.element)})},init:function(){function e(){m&&f.touches&&f.touches.length?h.addEventListener(b,y,!1):(h.addEventListener("mouseover",$,!1),h.addEventListener("mouseout",w,!1))}function o(){m&&f.touches&&f.touches.length?h.removeEventListener(b,y,!1):(h.removeEventListener("mouseover",$,!1),h.removeEventListener("mouseout",w,!1))}function a(t){r&&d.dragMove(t,d)}function l(e){return function(o){var s,a,r;f=o,o&&(s=o.touches&&o.touches[0]||o,a=s.target||o.target,m&&document.elementFromPoint&&(a=document.elementFromPoint(s.pageX-document.body.scrollLeft,s.pageY-document.body.scrollTop)),g=t.$(a)),t.$(a).hasClass("."+d.options.childClass)?e.apply(a,[o]):a!==h&&(r=n(h,a),r&&e.apply(r,[o]))}}var d=this,h=this.element[0];p=[],this.checkEmptyList(),this.element.data("sortable-group",this.options.group?this.options.group:t.Utils.uid("sortable-group"));var u=l(function(e){if(!e.data||!e.data.sortable){var o=t.$(e.target),n=o.is("a[href]")?o:o.parents("a[href]");if(!o.is(":input")){if(d.options.handleClass){var s=o.hasClass(d.options.handleClass)?o:o.closest("."+d.options.handleClass,d.element);if(!s.length)return}return e.preventDefault(),n.length&&n.one("click",function(t){t.preventDefault()}).one(C,function(){c||(n.trigger("click"),m&&n.attr("href").trim()&&(location.href=n.attr("href")))}),e.data=e.data||{},e.data.sortable=h,d.dragStart(e,this)}}}),$=l(t.Utils.debounce(function(t){return d.dragEnter(t,this)}),40),w=l(function(){var e=d.dragenterData(this);d.dragenterData(this,e-1),d.dragenterData(this)||(t.$(this).removeClass(d.options.overClass),d.dragenterData(this,!1))}),y=l(function(t){return r&&r!==this&&i!==this?(d.element.children().removeClass(d.options.overClass),i=this,d.moveElementNextTo(r,this),s(t)):!0});this.addDragHandlers=e,this.removeDragHandlers=o,window.addEventListener(b,a,!1),h.addEventListener(v,u,!1)},dragStart:function(e,o){c=!1,d=!1,l=!1;var n=this,s=t.$(e.target);if(!(!m&&2==e.button||s.is("."+n.options.noDragClass)||s.closest("."+n.options.noDragClass).length||s.is(":input"))){r=o,a&&a.remove();var i=t.$(r),h=i.offset(),p=e.touches&&e.touches[0]||e;u={pos:{x:p.pageX,y:p.pageY},threshold:n.options.handleClass?1:n.options.threshold,apply:function(){a=t.$('<div class="'+[n.options.draggingClass,n.options.dragCustomClass].join(" ")+'"></div>').css({display:"none",top:h.top,left:h.left,width:i.width(),height:i.height(),padding:i.css("padding")}).data({"mouse-offset":{left:h.left-parseInt(p.pageX,10),top:h.top-parseInt(p.pageY,10)},origin:n.element,index:i.index()}).append(i.html()).appendTo("body"),a.$current=i,a.$sortable=n,i.data({"start-list":i.parent(),"start-index":i.index(),"sortable-group":n.options.group}),n.addDragHandlers(),n.options.start(this,r),n.trigger("start.uk.sortable",[n,r,a]),c=!0,u=!1}}}},dragMove:function(e){g=t.$(document.elementFromPoint(e.pageX-(document.body.scrollLeft||document.scrollLeft||0),e.pageY-(document.body.scrollTop||document.documentElement.scrollTop||0)));var o,n=g.closest("."+this.options.baseClass),s=n.data("sortable-group"),a=t.$(r),i=a.parent(),l=a.data("sortable-group");n[0]!==i[0]&&void 0!==l&&s===l&&(n.data("sortable").addDragHandlers(),p.push(n),n.children().addClass(this.options.childClass),n.children().length>0?(o=g.closest("."+this.options.childClass),o.length?o.before(a):n.append(a)):g.append(a),UIkit.$doc.trigger("mouseover")),this.checkEmptyList(),this.checkEmptyList(i)},dragEnter:function(e,o){if(!r||r===o)return!0;var n=this.dragenterData(o);if(this.dragenterData(o,n+1),0===n){var s=t.$(o).parent(),a=t.$(r).data("start-list");if(s[0]!==a[0]){var i=s.data("sortable-group"),l=t.$(r).data("sortable-group");if((i||l)&&i!=l)return!1}t.$(o).addClass(this.options.overClass),this.moveElementNextTo(r,o)}return!1},dragEnd:function(e,o){var n=this;r&&(this.options.stop(o),this.trigger("stop.uk.sortable",[this])),r=null,i=null,p.push(this.element),p.forEach(function(e){t.$(e).children().each(function(){1===this.nodeType&&(t.$(this).removeClass(n.options.overClass).removeClass(n.options.placeholderClass).removeClass(n.options.childClass),n.dragenterData(this,!1))})}),p=[],t.$html.removeClass(this.options.dragMovingClass),this.removeDragHandlers(),a&&(a.remove(),a=null)},dragDrop:function(t){"drop"===t.type&&(t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault()),this.triggerChangeEvents()},triggerChangeEvents:function(){if(r){var e=t.$(r),o=a.data("origin"),n=e.closest("."+this.options.baseClass),s=[],i=t.$(r);o[0]===n[0]&&a.data("index")!=e.index()?s.push({sortable:this,mode:"moved"}):o[0]!=n[0]&&s.push({sortable:t.$(n).data("sortable"),mode:"added"},{sortable:t.$(o).data("sortable"),mode:"removed"}),s.forEach(function(t){t.sortable&&t.sortable.element.trigger("change.uk.sortable",[t.sortable,i,t.mode])})}},dragenterData:function(e,o){return e=t.$(e),1==arguments.length?parseInt(e.data("child-dragenter"),10)||0:(o?e.data("child-dragenter",Math.max(0,o)):e.removeData("child-dragenter"),void 0)},moveElementNextTo:function(e,n){l=!0;var s=this,a=t.$(e).parent().css("min-height",""),r=o(e,n)?n:n.nextSibling,i=a.children(),d=i.length;return s.options.animation?(a.css("min-height",a.height()),i.stop().each(function(){var e=t.$(this),o=e.position();o.width=e.width(),e.data("offset-before",o)}),n.parentNode.insertBefore(e,r),t.Utils.checkDisplay(s.element.parent()),i=a.children().each(function(){var e=t.$(this);e.data("offset-after",e.position())}).each(function(){var e=t.$(this),o=e.data("offset-before");e.css({position:"absolute",top:o.top,left:o.left,"min-width":o.width})}),i.each(function(){var e=t.$(this),o=(e.data("offset-before"),e.data("offset-after"));e.css("pointer-events","none").width(),setTimeout(function(){e.animate({top:o.top,left:o.left},s.options.animation,function(){e.css({position:"",top:"",left:"","min-width":"","pointer-events":""}).removeClass(s.options.overClass).removeData("child-dragenter"),d--,d||(a.css("min-height",""),t.Utils.checkDisplay(s.element.parent()))})},0)}),void 0):(n.parentNode.insertBefore(e,r),t.Utils.checkDisplay(s.element.parent()),void 0)},serialize:function(){var e,o,n=[];return this.element.children().each(function(s,a){e={};for(var r,i,l=0;l<a.attributes.length;l++)o=a.attributes[l],0===o.name.indexOf("data-")&&(r=o.name.substr(5),i=t.Utils.str2json(o.value),e[r]=i||"false"==o.value||"0"==o.value?i:o.value);n.push(e)}),n},checkEmptyList:function(e){e=e?t.$(e):this.element,this.options.emptyClass&&e[e.children().length?"removeClass":"addClass"](this.options.emptyClass)}}),t.sortable}); |
| 3 | \ No newline at end of file | 3 | \ No newline at end of file |
src/main/resources/static/real_control_v2/assets/plugins/uikit-2.27.1/components/timepicker.min.js
| 1 | -/*! UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | 1 | +/* UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ |
| 2 | !function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-timepicker",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";function e(t,e){t=t||0,e=e||24;var i,o,a={"12h":[],"24h":[]};for(i=t,o="";e>i;i++)o=""+i,10>i&&(o="0"+o),a["24h"].push({value:o+":00"}),a["24h"].push({value:o+":30"}),0===i&&(o=12,a["12h"].push({value:o+":00 AM"}),a["12h"].push({value:o+":30 AM"})),i>0&&13>i&&12!==i&&(a["12h"].push({value:o+":00 AM"}),a["12h"].push({value:o+":30 AM"})),i>=12&&(o-=12,0===o&&(o=12),10>o&&(o="0"+String(o)),a["12h"].push({value:o+":00 PM"}),a["12h"].push({value:o+":30 PM"}));return a}t.component("timepicker",{defaults:{format:"24h",delay:0,start:0,end:24},boot:function(){t.$html.on("focus.timepicker.uikit","[data-uk-timepicker]",function(){var e=t.$(this);if(!e.data("timepicker")){var i=t.timepicker(e,t.Utils.options(e.attr("data-uk-timepicker")));setTimeout(function(){i.autocomplete.input.focus()},40)}})},init:function(){var i,o=this,a=e(this.options.start,this.options.end);this.options.minLength=0,this.options.template='<ul class="uk-nav uk-nav-autocomplete uk-autocomplete-results">{{~items}}<li data-value="{{$item.value}}"><a>{{$item.value}}</a></li>{{/items}}</ul>',this.options.source=function(t){t(a[o.options.format]||a["12h"])},this.element.is("input")?(this.element.wrap('<div class="uk-autocomplete"></div>'),i=this.element.parent()):i=this.element.addClass("uk-autocomplete"),this.autocomplete=t.autocomplete(i,this.options),this.autocomplete.dropdown.addClass("uk-dropdown-small uk-dropdown-scrollable"),this.autocomplete.on("show.uk.autocomplete",function(){var t=o.autocomplete.dropdown.find('[data-value="'+o.autocomplete.input.val()+'"]');setTimeout(function(){o.autocomplete.pick(t,!0)},10)}),this.autocomplete.input.on("focus",function(){o.autocomplete.value=Math.random(),o.autocomplete.triggercomplete()}).on("blur",t.Utils.debounce(function(){o.checkTime()},100)),this.element.data("timepicker",this)},checkTime:function(){var t,e,i,o,a="AM",u=this.autocomplete.input.val();"12h"==this.options.format?(t=u.split(" "),e=t[0].split(":"),a=t[1]):e=u.split(":"),i=parseInt(e[0],10),o=parseInt(e[1],10),isNaN(i)&&(i=0),isNaN(o)&&(o=0),"12h"==this.options.format?(i>12?i=12:0>i&&(i=12),"am"===a||"a"===a?a="AM":("pm"===a||"p"===a)&&(a="PM"),"AM"!==a&&"PM"!==a&&(a="AM")):i>=24?i=23:0>i&&(i=0),0>o?o=0:o>=60&&(o=0),this.autocomplete.input.val(this.formatTime(i,o,a)).trigger("change")},formatTime:function(t,e,i){return t=10>t?"0"+t:t,e=10>e?"0"+e:e,t+":"+e+("12h"==this.options.format?" "+i:"")}})}); | 2 | !function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-timepicker",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";function e(t,e){t=t||0,e=e||24;var i,o,a={"12h":[],"24h":[]};for(i=t,o="";e>i;i++)o=""+i,10>i&&(o="0"+o),a["24h"].push({value:o+":00"}),a["24h"].push({value:o+":30"}),0===i&&(o=12,a["12h"].push({value:o+":00 AM"}),a["12h"].push({value:o+":30 AM"})),i>0&&13>i&&12!==i&&(a["12h"].push({value:o+":00 AM"}),a["12h"].push({value:o+":30 AM"})),i>=12&&(o-=12,0===o&&(o=12),10>o&&(o="0"+String(o)),a["12h"].push({value:o+":00 PM"}),a["12h"].push({value:o+":30 PM"}));return a}t.component("timepicker",{defaults:{format:"24h",delay:0,start:0,end:24},boot:function(){t.$html.on("focus.timepicker.uikit","[data-uk-timepicker]",function(){var e=t.$(this);if(!e.data("timepicker")){var i=t.timepicker(e,t.Utils.options(e.attr("data-uk-timepicker")));setTimeout(function(){i.autocomplete.input.focus()},40)}})},init:function(){var i,o=this,a=e(this.options.start,this.options.end);this.options.minLength=0,this.options.template='<ul class="uk-nav uk-nav-autocomplete uk-autocomplete-results">{{~items}}<li data-value="{{$item.value}}"><a>{{$item.value}}</a></li>{{/items}}</ul>',this.options.source=function(t){t(a[o.options.format]||a["12h"])},this.element.is("input")?(this.element.wrap('<div class="uk-autocomplete"></div>'),i=this.element.parent()):i=this.element.addClass("uk-autocomplete"),this.autocomplete=t.autocomplete(i,this.options),this.autocomplete.dropdown.addClass("uk-dropdown-small uk-dropdown-scrollable"),this.autocomplete.on("show.uk.autocomplete",function(){var t=o.autocomplete.dropdown.find('[data-value="'+o.autocomplete.input.val()+'"]');setTimeout(function(){o.autocomplete.pick(t,!0)},10)}),this.autocomplete.input.on("focus",function(){o.autocomplete.value=Math.random(),o.autocomplete.triggercomplete()}).on("blur",t.Utils.debounce(function(){o.checkTime()},100)),this.element.data("timepicker",this)},checkTime:function(){var t,e,i,o,a="AM",u=this.autocomplete.input.val();"12h"==this.options.format?(t=u.split(" "),e=t[0].split(":"),a=t[1]):e=u.split(":"),i=parseInt(e[0],10),o=parseInt(e[1],10),isNaN(i)&&(i=0),isNaN(o)&&(o=0),"12h"==this.options.format?(i>12?i=12:0>i&&(i=12),"am"===a||"a"===a?a="AM":("pm"===a||"p"===a)&&(a="PM"),"AM"!==a&&"PM"!==a&&(a="AM")):i>=24?i=23:0>i&&(i=0),0>o?o=0:o>=60&&(o=0),this.autocomplete.input.val(this.formatTime(i,o,a)).trigger("change")},formatTime:function(t,e,i){return t=10>t?"0"+t:t,e=10>e?"0"+e:e,t+":"+e+("12h"==this.options.format?" "+i:"")}})}); |
| 3 | \ No newline at end of file | 3 | \ No newline at end of file |
src/main/resources/static/real_control_v2/assets/plugins/uikit-2.27.1/components/tooltip.gradient.min.css
| 1 | -/*! UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | 1 | +/* UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ |
| 2 | .uk-tooltip{display:none;position:absolute;z-index:1030;box-sizing:border-box;max-width:200px;padding:5px 8px;background:#333;color:rgba(255,255,255,.7);font-size:12px;line-height:18px;border-radius:3px;text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-tooltip:after{content:"";display:block;position:absolute;width:0;height:0;border:5px dashed #333}.uk-tooltip-top-left:after,.uk-tooltip-top-right:after,.uk-tooltip-top:after{bottom:-5px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent;border-top-color:#333}.uk-tooltip-bottom-left:after,.uk-tooltip-bottom-right:after,.uk-tooltip-bottom:after{top:-5px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent;border-bottom-color:#333}.uk-tooltip-bottom:after,.uk-tooltip-top:after{left:50%;margin-left:-5px}.uk-tooltip-bottom-left:after,.uk-tooltip-top-left:after{left:10px}.uk-tooltip-bottom-right:after,.uk-tooltip-top-right:after{right:10px}.uk-tooltip-left:after{right:-5px;top:50%;margin-top:-5px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent;border-left-color:#333}.uk-tooltip-right:after{left:-5px;top:50%;margin-top:-5px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent;border-right-color:#333} | 2 | .uk-tooltip{display:none;position:absolute;z-index:1030;box-sizing:border-box;max-width:200px;padding:5px 8px;background:#333;color:rgba(255,255,255,.7);font-size:12px;line-height:18px;border-radius:3px;text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-tooltip:after{content:"";display:block;position:absolute;width:0;height:0;border:5px dashed #333}.uk-tooltip-top-left:after,.uk-tooltip-top-right:after,.uk-tooltip-top:after{bottom:-5px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent;border-top-color:#333}.uk-tooltip-bottom-left:after,.uk-tooltip-bottom-right:after,.uk-tooltip-bottom:after{top:-5px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent;border-bottom-color:#333}.uk-tooltip-bottom:after,.uk-tooltip-top:after{left:50%;margin-left:-5px}.uk-tooltip-bottom-left:after,.uk-tooltip-top-left:after{left:10px}.uk-tooltip-bottom-right:after,.uk-tooltip-top-right:after{right:10px}.uk-tooltip-left:after{right:-5px;top:50%;margin-top:-5px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent;border-left-color:#333}.uk-tooltip-right:after{left:-5px;top:50%;margin-top:-5px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent;border-right-color:#333} |
| 3 | \ No newline at end of file | 3 | \ No newline at end of file |
src/main/resources/static/real_control_v2/assets/plugins/uikit-2.27.1/components/tooltip.min.js
| 1 | -/*! UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | 1 | +/* UIkit 2.27.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ |
| 2 | !function(t){var i;window.UIkit&&(i=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-tooltip",["uikit"],function(){return i||t(UIkit)})}(function(t){"use strict";var i,o,e;return t.component("tooltip",{defaults:{offset:5,pos:"top",animation:!1,delay:0,cls:"",activeClass:"uk-active",src:function(t){var i=t.attr("title");return void 0!==i&&t.data("cached-title",i).removeAttr("title"),t.data("cached-title")}},tip:"",boot:function(){t.$html.on("mouseenter.tooltip.uikit focus.tooltip.uikit","[data-uk-tooltip]",function(){var i=t.$(this);i.data("tooltip")||(t.tooltip(i,t.Utils.options(i.attr("data-uk-tooltip"))),i.trigger("mouseenter"))})},init:function(){var o=this;i||(i=t.$('<div class="uk-tooltip"></div>').appendTo("body")),this.on({focus:function(){o.show()},blur:function(){o.hide()},mouseenter:function(){o.show()},mouseleave:function(){o.hide()}})},show:function(){if(this.tip="function"==typeof this.options.src?this.options.src(this.element):this.options.src,o&&clearTimeout(o),e&&clearTimeout(e),"string"==typeof this.tip?this.tip.length:0){i.stop().css({top:-2e3,visibility:"hidden"}).removeClass(this.options.activeClass).show(),i.html('<div class="uk-tooltip-inner">'+this.tip+"</div>");var s=this,n=t.$.extend({},this.element.offset(),{width:this.element[0].offsetWidth,height:this.element[0].offsetHeight}),l=i[0].offsetWidth,f=i[0].offsetHeight,p="function"==typeof this.options.offset?this.options.offset.call(this.element):this.options.offset,a="function"==typeof this.options.pos?this.options.pos.call(this.element):this.options.pos,h=a.split("-"),c={display:"none",visibility:"visible",top:n.top+n.height+f,left:n.left};if("fixed"==t.$html.css("position")||"fixed"==t.$body.css("position")){var r=t.$("body").offset(),d=t.$("html").offset(),u={top:d.top+r.top,left:d.left+r.left};n.left-=u.left,n.top-=u.top}"left"!=h[0]&&"right"!=h[0]||"right"!=t.langdirection||(h[0]="left"==h[0]?"right":"left");var m={bottom:{top:n.top+n.height+p,left:n.left+n.width/2-l/2},top:{top:n.top-f-p,left:n.left+n.width/2-l/2},left:{top:n.top+n.height/2-f/2,left:n.left-l-p},right:{top:n.top+n.height/2-f/2,left:n.left+n.width+p}};t.$.extend(c,m[h[0]]),2==h.length&&(c.left="left"==h[1]?n.left:n.left+n.width-l);var v=this.checkBoundary(c.left,c.top,l,f);if(v){switch(v){case"x":a=2==h.length?h[0]+"-"+(c.left<0?"left":"right"):c.left<0?"right":"left";break;case"y":a=2==h.length?(c.top<0?"bottom":"top")+"-"+h[1]:c.top<0?"bottom":"top";break;case"xy":a=2==h.length?(c.top<0?"bottom":"top")+"-"+(c.left<0?"left":"right"):c.left<0?"right":"left"}h=a.split("-"),t.$.extend(c,m[h[0]]),2==h.length&&(c.left="left"==h[1]?n.left:n.left+n.width-l)}c.left-=t.$body.position().left,o=setTimeout(function(){i.css(c).attr("class",["uk-tooltip","uk-tooltip-"+a,s.options.cls].join(" ")),s.options.animation?i.css({opacity:0,display:"block"}).addClass(s.options.activeClass).animate({opacity:1},parseInt(s.options.animation,10)||400):i.show().addClass(s.options.activeClass),o=!1,e=setInterval(function(){s.element.is(":visible")||s.hide()},150)},parseInt(this.options.delay,10)||0)}},hide:function(){if(!this.element.is("input")||this.element[0]!==document.activeElement)if(o&&clearTimeout(o),e&&clearTimeout(e),i.stop(),this.options.animation){var t=this;i.fadeOut(parseInt(this.options.animation,10)||400,function(){i.removeClass(t.options.activeClass)})}else i.hide().removeClass(this.options.activeClass)},content:function(){return this.tip},checkBoundary:function(i,o,e,s){var n="";return(0>i||i-t.$win.scrollLeft()+e>window.innerWidth)&&(n+="x"),(0>o||o-t.$win.scrollTop()+s>window.innerHeight)&&(n+="y"),n}}),t.tooltip}); | 2 | !function(t){var i;window.UIkit&&(i=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-tooltip",["uikit"],function(){return i||t(UIkit)})}(function(t){"use strict";var i,o,e;return t.component("tooltip",{defaults:{offset:5,pos:"top",animation:!1,delay:0,cls:"",activeClass:"uk-active",src:function(t){var i=t.attr("title");return void 0!==i&&t.data("cached-title",i).removeAttr("title"),t.data("cached-title")}},tip:"",boot:function(){t.$html.on("mouseenter.tooltip.uikit focus.tooltip.uikit","[data-uk-tooltip]",function(){var i=t.$(this);i.data("tooltip")||(t.tooltip(i,t.Utils.options(i.attr("data-uk-tooltip"))),i.trigger("mouseenter"))})},init:function(){var o=this;i||(i=t.$('<div class="uk-tooltip"></div>').appendTo("body")),this.on({focus:function(){o.show()},blur:function(){o.hide()},mouseenter:function(){o.show()},mouseleave:function(){o.hide()}})},show:function(){if(this.tip="function"==typeof this.options.src?this.options.src(this.element):this.options.src,o&&clearTimeout(o),e&&clearTimeout(e),"string"==typeof this.tip?this.tip.length:0){i.stop().css({top:-2e3,visibility:"hidden"}).removeClass(this.options.activeClass).show(),i.html('<div class="uk-tooltip-inner">'+this.tip+"</div>");var s=this,n=t.$.extend({},this.element.offset(),{width:this.element[0].offsetWidth,height:this.element[0].offsetHeight}),l=i[0].offsetWidth,f=i[0].offsetHeight,p="function"==typeof this.options.offset?this.options.offset.call(this.element):this.options.offset,a="function"==typeof this.options.pos?this.options.pos.call(this.element):this.options.pos,h=a.split("-"),c={display:"none",visibility:"visible",top:n.top+n.height+f,left:n.left};if("fixed"==t.$html.css("position")||"fixed"==t.$body.css("position")){var r=t.$("body").offset(),d=t.$("html").offset(),u={top:d.top+r.top,left:d.left+r.left};n.left-=u.left,n.top-=u.top}"left"!=h[0]&&"right"!=h[0]||"right"!=t.langdirection||(h[0]="left"==h[0]?"right":"left");var m={bottom:{top:n.top+n.height+p,left:n.left+n.width/2-l/2},top:{top:n.top-f-p,left:n.left+n.width/2-l/2},left:{top:n.top+n.height/2-f/2,left:n.left-l-p},right:{top:n.top+n.height/2-f/2,left:n.left+n.width+p}};t.$.extend(c,m[h[0]]),2==h.length&&(c.left="left"==h[1]?n.left:n.left+n.width-l);var v=this.checkBoundary(c.left,c.top,l,f);if(v){switch(v){case"x":a=2==h.length?h[0]+"-"+(c.left<0?"left":"right"):c.left<0?"right":"left";break;case"y":a=2==h.length?(c.top<0?"bottom":"top")+"-"+h[1]:c.top<0?"bottom":"top";break;case"xy":a=2==h.length?(c.top<0?"bottom":"top")+"-"+(c.left<0?"left":"right"):c.left<0?"right":"left"}h=a.split("-"),t.$.extend(c,m[h[0]]),2==h.length&&(c.left="left"==h[1]?n.left:n.left+n.width-l)}c.left-=t.$body.position().left,o=setTimeout(function(){i.css(c).attr("class",["uk-tooltip","uk-tooltip-"+a,s.options.cls].join(" ")),s.options.animation?i.css({opacity:0,display:"block"}).addClass(s.options.activeClass).animate({opacity:1},parseInt(s.options.animation,10)||400):i.show().addClass(s.options.activeClass),o=!1,e=setInterval(function(){s.element.is(":visible")||s.hide()},150)},parseInt(this.options.delay,10)||0)}},hide:function(){if(!this.element.is("input")||this.element[0]!==document.activeElement)if(o&&clearTimeout(o),e&&clearTimeout(e),i.stop(),this.options.animation){var t=this;i.fadeOut(parseInt(this.options.animation,10)||400,function(){i.removeClass(t.options.activeClass)})}else i.hide().removeClass(this.options.activeClass)},content:function(){return this.tip},checkBoundary:function(i,o,e,s){var n="";return(0>i||i-t.$win.scrollLeft()+e>window.innerWidth)&&(n+="x"),(0>o||o-t.$win.scrollTop()+s>window.innerHeight)&&(n+="y"),n}}),t.tooltip}); |
| 3 | \ No newline at end of file | 3 | \ No newline at end of file |
src/main/resources/static/real_control_v2/fragments/line_schedule/context_menu/fcxxwt.html
| @@ -129,7 +129,7 @@ | @@ -129,7 +129,7 @@ | ||
| 129 | <div class="uk-width-1-1"> | 129 | <div class="uk-width-1-1"> |
| 130 | <div class="uk-form-row ct-stacked"> | 130 | <div class="uk-form-row ct-stacked"> |
| 131 | <div class="uk-form-controls" style="margin-top: 5px;"> | 131 | <div class="uk-form-controls" style="margin-top: 5px;"> |
| 132 | - <textarea id="form-s-t" cols="30" rows="5" name="remarks" data-fv-stringlength="true" data-fv-stringlength-max="20" placeholder="备注,不超过20个字符">{{sch.remarks}}</textarea> | 132 | + <textarea id="form-s-t" cols="30" rows="5" name="remarks" data-fv-stringlength="true" data-fv-stringlength-max="50" placeholder="备注,不超过50个字符">{{sch.remarks}}</textarea> |
| 133 | </div> | 133 | </div> |
| 134 | </div> | 134 | </div> |
| 135 | </div> | 135 | </div> |
src/main/resources/static/real_control_v2/fragments/line_schedule/context_menu/jhlb.html
| @@ -22,10 +22,33 @@ | @@ -22,10 +22,33 @@ | ||
| 22 | <div class="uk-grid"> | 22 | <div class="uk-grid"> |
| 23 | <div class="uk-width-1-1"> | 23 | <div class="uk-width-1-1"> |
| 24 | <div class="uk-form-row"> | 24 | <div class="uk-form-row"> |
| 25 | - <label class="uk-form-label" >班次</label> | 25 | + <label class="uk-form-label" >路牌</label> |
| 26 | + <div class="uk-form-controls"> | ||
| 27 | + <select name="lpName"> | ||
| 28 | + {{if lps.length > 1}} | ||
| 29 | + <option value="-100">全部</option> | ||
| 30 | + {{/if}} | ||
| 31 | + {{each lps as lpName i}} | ||
| 32 | + <option value="{{lpName}}">{{lpName}}</option> | ||
| 33 | + {{/each}} | ||
| 34 | + </select> | ||
| 35 | + </div> | ||
| 36 | + </div> | ||
| 37 | + </div> | ||
| 38 | + </div> | ||
| 39 | + | ||
| 40 | + <div class="uk-grid"> | ||
| 41 | + <div class="uk-width-1-1"> | ||
| 42 | + <div class="uk-form-row"> | ||
| 43 | + <label class="uk-form-label" >班次 | ||
| 44 | + <hr> | ||
| 45 | + <label>全选 | ||
| 46 | + <input class="i-cbox" name="allCheck" type="checkbox" > | ||
| 47 | + </label> | ||
| 48 | + </label> | ||
| 26 | <div class="uk-form-controls sch-time-checkbox-list"> | 49 | <div class="uk-form-controls sch-time-checkbox-list"> |
| 27 | {{each list as sch i}} | 50 | {{each list as sch i}} |
| 28 | - <label {{if sch.destroy}}class="destroy-sch"{{/if}}> | 51 | + <label data-lp="{{sch.lpName}}" {{if sch.destroy}}class="destroy-sch"{{/if}}> |
| 29 | <input class="i-cbox" name="ids[]" value="{{sch.id}}" type="checkbox" {{if sch.destroy}}disabled{{/if}}> | 52 | <input class="i-cbox" name="ids[]" value="{{sch.id}}" type="checkbox" {{if sch.destroy}}disabled{{/if}}> |
| 30 | {{sch.dfsj}} | 53 | {{sch.dfsj}} |
| 31 | 54 | ||
| @@ -94,10 +117,17 @@ | @@ -94,10 +117,17 @@ | ||
| 94 | return item.clZbh == sch.clZbh; | 117 | return item.clZbh == sch.clZbh; |
| 95 | }).sort(gb_schedule_table.schedule_sort); | 118 | }).sort(gb_schedule_table.schedule_sort); |
| 96 | 119 | ||
| 120 | + //获取路牌 | ||
| 121 | + var lps = {}; | ||
| 122 | + $.each(schArr, function () { | ||
| 123 | + lps[this.lpName]=1; | ||
| 124 | + }); | ||
| 125 | + | ||
| 97 | var formHtml = template('schedule-jhlb-form-temp', { | 126 | var formHtml = template('schedule-jhlb-form-temp', { |
| 98 | sch: sch, | 127 | sch: sch, |
| 99 | list: schArr, | 128 | list: schArr, |
| 100 | - adjustExps:adjustExps | 129 | + adjustExps:adjustExps, |
| 130 | + lps: gb_common.get_keys(lps) | ||
| 101 | }); | 131 | }); |
| 102 | $('form', modal).html(formHtml); | 132 | $('form', modal).html(formHtml); |
| 103 | 133 | ||
| @@ -137,6 +167,35 @@ | @@ -137,6 +167,35 @@ | ||
| 137 | var rem=$('[name=remarks]', f); | 167 | var rem=$('[name=remarks]', f); |
| 138 | rem.val(rem.val() + $(this).val() + ',').trigger('input'); | 168 | rem.val(rem.val() + $(this).val() + ',').trigger('input'); |
| 139 | }); | 169 | }); |
| 170 | + | ||
| 171 | + //路牌切换事件 | ||
| 172 | + $('[name=lpName]', f).on('change', function () { | ||
| 173 | + var v = $(this).val(); | ||
| 174 | + var lbs = $('.sch-time-checkbox-list label', modal); | ||
| 175 | + if(v=='-100'){ | ||
| 176 | + //显示全部 | ||
| 177 | + lbs.show(); | ||
| 178 | + } | ||
| 179 | + else { | ||
| 180 | + lbs.hide().each(function () { | ||
| 181 | + if($(this).data('lp')==v) | ||
| 182 | + $(this).show(); | ||
| 183 | + else{ | ||
| 184 | + //将隐藏的checkbox取消选中 | ||
| 185 | + $(this).find('input[type=checkbox]')[0].checked=false; | ||
| 186 | + } | ||
| 187 | + }); | ||
| 188 | + } | ||
| 189 | + }); | ||
| 190 | + | ||
| 191 | + //全选 | ||
| 192 | + $('[name=allCheck]', f).on('click', function () { | ||
| 193 | + var cbs = $('.sch-time-checkbox-list label input[type=checkbox]:visible:enabled', modal); | ||
| 194 | + var status = this.checked; | ||
| 195 | + cbs.each(function () { | ||
| 196 | + this.checked = status; | ||
| 197 | + }); | ||
| 198 | + }); | ||
| 140 | }); | 199 | }); |
| 141 | })(); | 200 | })(); |
| 142 | </script> | 201 | </script> |
src/main/resources/static/real_control_v2/fragments/line_schedule/context_menu/lj_zrw.html
| @@ -295,7 +295,7 @@ | @@ -295,7 +295,7 @@ | ||
| 295 | var sch = getActiveSch(); | 295 | var sch = getActiveSch(); |
| 296 | if (!sch || !sch.sflj) | 296 | if (!sch || !sch.sflj) |
| 297 | return notify_err('只能删除临加班次!'); | 297 | return notify_err('只能删除临加班次!'); |
| 298 | - var str = '<h3>确定要删除临加班次<span style="color:red;margin: 0 5px;">' + sch.clZbh + '( ' + sch.dfsj + ' )</span>?</h3>'; | 298 | + var str = '<h3>确定要删除临加班次<span style="color:red;margin: 0 5px;">' + sch.clZbh + '( ' + sch.dfsj + ' )</span>?</h3><h5 style="color: #6c6c6c;font-size: 12px;">如果删除失败,可能正处于调度指令下行上达瞬间,等几秒再删即可。班次删除后,调度指令会保留</h5>'; |
| 299 | alt_confirm(str, function () { | 299 | alt_confirm(str, function () { |
| 300 | gb_common.$del('/realSchedule/' + sch.id, function (rs) { | 300 | gb_common.$del('/realSchedule/' + sch.id, function (rs) { |
| 301 | //前端数据更新 | 301 | //前端数据更新 |
src/main/resources/static/real_control_v2/fragments/line_schedule/context_menu/multi_tzrc.html
| 1 | -<div class="uk-modal ct_move_modal" id="schedule-multi-tzrc-modal"> | 1 | +<div class="uk-modal" id="schedule-multi-tzrc-modal"> |
| 2 | <div class="drag-container"></div> | 2 | <div class="drag-container"></div> |
| 3 | <div class="uk-modal-dialog" style="width: 860px;"> | 3 | <div class="uk-modal-dialog" style="width: 860px;"> |
| 4 | <a href="" class="uk-modal-close uk-close"></a> | 4 | <a href="" class="uk-modal-close uk-close"></a> |
src/main/resources/static/real_control_v2/js/line_schedule/context_menu.js
| @@ -22,6 +22,10 @@ var gb_schedule_context_menu = (function () { | @@ -22,6 +22,10 @@ var gb_schedule_context_menu = (function () { | ||
| 22 | var list = schArray.filter(function (sch) { | 22 | var list = schArray.filter(function (sch) { |
| 23 | return sch.bcType != 'out' && sch.bcType != 'in' && sch.fcsjActual == null; | 23 | return sch.bcType != 'out' && sch.bcType != 'in' && sch.fcsjActual == null; |
| 24 | }); | 24 | }); |
| 25 | + if(list.length == 0){ | ||
| 26 | + notify_err('没有需要调整的班次!'); | ||
| 27 | + return; | ||
| 28 | + } | ||
| 25 | open_modal(folder + '/multi_dftz.html', { | 29 | open_modal(folder + '/multi_dftz.html', { |
| 26 | list: list | 30 | list: list |
| 27 | }, modal_opts); | 31 | }, modal_opts); |
src/main/resources/static/real_control_v2/js/line_schedule/sch_table.js
| @@ -8,7 +8,32 @@ var gb_schedule_table = (function () { | @@ -8,7 +8,32 @@ var gb_schedule_table = (function () { | ||
| 8 | //车辆应发未发车辆数 | 8 | //车辆应发未发车辆数 |
| 9 | var car_yfwf_map = {}; | 9 | var car_yfwf_map = {}; |
| 10 | var schedule_sort = function (s1, s2) { | 10 | var schedule_sort = function (s1, s2) { |
| 11 | - return s1.dfsjT - s2.dfsjT; | 11 | + return s1.fcsjT - s2.fcsjT; |
| 12 | + }; | ||
| 13 | + | ||
| 14 | + /** | ||
| 15 | + * 检查是否存在重复班次 | ||
| 16 | + * @param list | ||
| 17 | + */ | ||
| 18 | + var isRepeatData = function (list) { | ||
| 19 | + try { | ||
| 20 | + var map = {}, reps = []; | ||
| 21 | + for(var i = 0,sch;sch=list[i++];){ | ||
| 22 | + if(map[sch.id]){ | ||
| 23 | + reps.push(sch.clZbh); | ||
| 24 | + } | ||
| 25 | + map[sch.id] = sch; | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | + //通知服务端数据有异常 | ||
| 29 | + $.each(reps, function () { | ||
| 30 | + $.post('/anomalyCheck/schRepeat', {nbbm: this}); | ||
| 31 | + }); | ||
| 32 | + }catch (e){ | ||
| 33 | + return list; | ||
| 34 | + } | ||
| 35 | + | ||
| 36 | + return gb_common.get_vals(map); | ||
| 12 | }; | 37 | }; |
| 13 | 38 | ||
| 14 | var show = function (cb) { | 39 | var show = function (cb) { |
| @@ -17,9 +42,12 @@ var gb_schedule_table = (function () { | @@ -17,9 +42,12 @@ var gb_schedule_table = (function () { | ||
| 17 | lines: gb_data_basic.line_idx | 42 | lines: gb_data_basic.line_idx |
| 18 | }, function (rs) { | 43 | }, function (rs) { |
| 19 | for (var lineCode in rs) { | 44 | for (var lineCode in rs) { |
| 45 | + line2Schedule[lineCode] = {}; | ||
| 46 | + //------是否有重复班次 #临时代码,为服务端提供诊断信息已解决这个问题 | ||
| 47 | + rs[lineCode] = isRepeatData(rs[lineCode]); | ||
| 48 | + | ||
| 20 | //排序 | 49 | //排序 |
| 21 | rs[lineCode].sort(schedule_sort); | 50 | rs[lineCode].sort(schedule_sort); |
| 22 | - line2Schedule[lineCode] = {}; | ||
| 23 | //calc shift | 51 | //calc shift |
| 24 | $.each(rs[lineCode], function () { | 52 | $.each(rs[lineCode], function () { |
| 25 | calc_sch_real_shift(this); | 53 | calc_sch_real_shift(this); |
| @@ -153,27 +181,6 @@ var gb_schedule_table = (function () { | @@ -153,27 +181,6 @@ var gb_schedule_table = (function () { | ||
| 153 | 181 | ||
| 154 | //重新渲染表格 | 182 | //重新渲染表格 |
| 155 | reRenderTable(sch.xlBm); | 183 | reRenderTable(sch.xlBm); |
| 156 | - /*//重新渲染表格 | ||
| 157 | - var data = gb_common.get_vals(line2Schedule[sch.xlBm]).sort(schedule_sort), | ||
| 158 | - dirData = gb_common.groupBy(data, 'xlDir'), | ||
| 159 | - tabCont = $('li.line_schedule[data-id=' + sch.xlBm + ']'); | ||
| 160 | - | ||
| 161 | - for (var upDown in dirData) { | ||
| 162 | - htmlStr = temps['line-schedule-table-temp']({ | ||
| 163 | - dir: upDown, | ||
| 164 | - line: gb_data_basic.codeToLine[sch.xlBm], | ||
| 165 | - list: dirData[upDown] | ||
| 166 | - }); | ||
| 167 | - $('.schedule-wrap .card-panel:eq(' + upDown + ')', tabCont).html(htmlStr); | ||
| 168 | - } | ||
| 169 | - //图例相关 | ||
| 170 | - gb_sch_legend.init(tabCont); | ||
| 171 | - //标记末班 | ||
| 172 | - markerLastByLine(sch.xlBm); | ||
| 173 | - //计算应发未发 | ||
| 174 | - calc_yfwf_num(sch.xlBm); | ||
| 175 | - //重新固定表头 | ||
| 176 | - gb_ct_table.fixedHead($('.line_schedule .ct_table_wrap'));*/ | ||
| 177 | //定位到新添加的班次 | 184 | //定位到新添加的班次 |
| 178 | scroToDl(sch); | 185 | scroToDl(sch); |
| 179 | }; | 186 | }; |
| @@ -206,7 +213,14 @@ var gb_schedule_table = (function () { | @@ -206,7 +213,14 @@ var gb_schedule_table = (function () { | ||
| 206 | //计算应发未发 | 213 | //计算应发未发 |
| 207 | calc_yfwf_num(lineCode); | 214 | calc_yfwf_num(lineCode); |
| 208 | //重新固定表头 | 215 | //重新固定表头 |
| 209 | - gb_ct_table.fixedHead($('.line_schedule .ct_table_wrap')); | 216 | + gb_ct_table.fixedHead($('.line_schedule .ct_table_wrap', tabCont)); |
| 217 | + | ||
| 218 | + //重新初始化排序 | ||
| 219 | + gb_ct_table.enableSort($('.ct_table', tabCont), reset_seq_no, gb_schedule_table_dbclick.init); | ||
| 220 | + //重新初始化双击待发调整 | ||
| 221 | + gb_schedule_table_dbclick.init(); | ||
| 222 | + //重新初始化双击实发发车信息微调 | ||
| 223 | + gb_schedule_table_dbclick.sfsjCellClick($('dd.fcsjActualCell', tabCont)); | ||
| 210 | } | 224 | } |
| 211 | }; | 225 | }; |
| 212 | 226 | ||
| @@ -518,7 +532,7 @@ var gb_schedule_table = (function () { | @@ -518,7 +532,7 @@ var gb_schedule_table = (function () { | ||
| 518 | } | 532 | } |
| 519 | } | 533 | } |
| 520 | }; | 534 | }; |
| 521 | - | 535 | + |
| 522 | /** 添加备注信息 */ | 536 | /** 添加备注信息 */ |
| 523 | var addRemarks = function (list, remarks) { | 537 | var addRemarks = function (list, remarks) { |
| 524 | //if(!list || list) | 538 | //if(!list || list) |
src/main/resources/static/real_control_v2/main.html
| @@ -5,16 +5,16 @@ | @@ -5,16 +5,16 @@ | ||
| 5 | <meta charset="UTF-8"> | 5 | <meta charset="UTF-8"> |
| 6 | <title>线路调度 v2.0</title> | 6 | <title>线路调度 v2.0</title> |
| 7 | <!-- uikit core style--> | 7 | <!-- uikit core style--> |
| 8 | - <link rel="stylesheet" href="/real_control_v2/assets/plugins/uikit-2.27.1/css/uikit.gradient.min.css" merge="uikit"/> | ||
| 9 | - <link rel="stylesheet" href="/real_control_v2/assets/plugins/uikit-2.27.1/components/notify.gradient.min.css" merge="uikit"/> | ||
| 10 | - <link rel="stylesheet" href="/real_control_v2/assets/plugins/uikit-2.27.1/components/tooltip.gradient.min.css" merge="uikit"/> | 8 | + <link rel="stylesheet" href="/real_control_v2/assets/plugins/uikit-2.27.1/css/uikit.gradient.min.css" /> |
| 9 | + <link rel="stylesheet" href="/real_control_v2/assets/plugins/uikit-2.27.1/components/notify.gradient.min.css" merge="plugins"/> | ||
| 10 | + <link rel="stylesheet" href="/real_control_v2/assets/plugins/uikit-2.27.1/components/tooltip.gradient.min.css" merge="plugins"/> | ||
| 11 | <link rel="stylesheet" | 11 | <link rel="stylesheet" |
| 12 | - href="/real_control_v2/assets/plugins/uikit-2.27.1/components/autocomplete.gradient.min.css" merge="uikit"/> | ||
| 13 | - <link rel="stylesheet" href="/real_control_v2/assets/plugins/uikit-2.27.1/components/accordion.gradient.min.css" merge="uikit"/> | ||
| 14 | - <link rel="stylesheet" href="/real_control_v2/assets/plugins/uikit-2.27.1/components/slidenav.gradient.min.css" merge="uikit"/> | 12 | + href="/real_control_v2/assets/plugins/uikit-2.27.1/components/autocomplete.gradient.min.css" merge="plugins"/> |
| 13 | + <link rel="stylesheet" href="/real_control_v2/assets/plugins/uikit-2.27.1/components/accordion.gradient.min.css" merge="plugins"/> | ||
| 14 | + <link rel="stylesheet" href="/real_control_v2/assets/plugins/uikit-2.27.1/components/slidenav.gradient.min.css" merge="plugins"/> | ||
| 15 | 15 | ||
| 16 | <!-- main style --> | 16 | <!-- main style --> |
| 17 | - <link rel="stylesheet" href="/real_control_v2/css/main.css" merge="custom_style"/> | 17 | + <link rel="stylesheet" href="/real_control_v2/css/main.css" /> |
| 18 | <!-- north style --> | 18 | <!-- north style --> |
| 19 | <link rel="stylesheet" href="/real_control_v2/css/north.css" merge="custom_style"/> | 19 | <link rel="stylesheet" href="/real_control_v2/css/north.css" merge="custom_style"/> |
| 20 | <!-- home style --> | 20 | <!-- home style --> |
| @@ -25,14 +25,14 @@ | @@ -25,14 +25,14 @@ | ||
| 25 | <!-- custom table --> | 25 | <!-- custom table --> |
| 26 | <link rel="stylesheet" href="/real_control_v2/css/ct_table.css" merge="custom_style"/> | 26 | <link rel="stylesheet" href="/real_control_v2/css/ct_table.css" merge="custom_style"/> |
| 27 | <!-- jquery contextMenu style --> | 27 | <!-- jquery contextMenu style --> |
| 28 | - <link rel="stylesheet" href="/real_control_v2/assets/css/jquery.contextMenu.min.css" /> | 28 | + <link rel="stylesheet" href="/real_control_v2/assets/css/jquery.contextMenu.min.css" merge="plugins"/> |
| 29 | <!-- formvalidation style --> | 29 | <!-- formvalidation style --> |
| 30 | - <link rel="stylesheet" href="/real_control_v2/assets/plugins/formvalidation/formValidation.min.css"/> | 30 | + <link rel="stylesheet" href="/real_control_v2/assets/plugins/formvalidation/formValidation.min.css" merge="plugins"/> |
| 31 | <!-- js tree --> | 31 | <!-- js tree --> |
| 32 | - <link rel="stylesheet" href="/real_control_v2/assets/plugins/jstree/default/style.min.css"/> | 32 | + <link rel="stylesheet" href="/real_control_v2/assets/plugins/jstree/default/style.css" merge="plugins"/> |
| 33 | <!-- tooltip css--> | 33 | <!-- tooltip css--> |
| 34 | - <link rel="stylesheet" href="/real_control_v2/assets/plugins/qtip/jquery.qtip.min.css"/> | ||
| 35 | - <link rel="stylesheet" href="/real_control_v2/css/pace.css"/> | 34 | + <link rel="stylesheet" href="/real_control_v2/assets/plugins/qtip/jquery.qtip.min.css" merge="plugins"/> |
| 35 | + <link rel="stylesheet" href="/real_control_v2/css/pace.css" merge="plugins"/> | ||
| 36 | 36 | ||
| 37 | <link rel="stylesheet" href="/real_control_v2/css/modal_extend.css" merge="custom_style"/> | 37 | <link rel="stylesheet" href="/real_control_v2/css/modal_extend.css" merge="custom_style"/> |
| 38 | </head> | 38 | </head> |
| @@ -43,7 +43,7 @@ | @@ -43,7 +43,7 @@ | ||
| 43 | <div class="uk-width-4-10"> | 43 | <div class="uk-width-4-10"> |
| 44 | <div class="uk-panel"> | 44 | <div class="uk-panel"> |
| 45 | <h2 class="north-logo"> | 45 | <h2 class="north-logo"> |
| 46 | - <i class="uk-icon-life-ring"></i> 闵行公交线路调度 | 46 | + <i class="uk-icon-life-ring"></i> 浦东公交线路调度 |
| 47 | </h2> | 47 | </h2> |
| 48 | </div> | 48 | </div> |
| 49 | </div> | 49 | </div> |
| @@ -93,22 +93,22 @@ | @@ -93,22 +93,22 @@ | ||
| 93 | <!-- 地图相关 --> | 93 | <!-- 地图相关 --> |
| 94 | <script src="http://api.map.baidu.com/api?v=2.0&ak=IGGrr4UjwIYzatoCRFKEL8sT"></script> | 94 | <script src="http://api.map.baidu.com/api?v=2.0&ak=IGGrr4UjwIYzatoCRFKEL8sT"></script> |
| 95 | <script src="http://api.map.baidu.com/library/TrafficControl/1.4/src/TrafficControl_min.js"></script> | 95 | <script src="http://api.map.baidu.com/library/TrafficControl/1.4/src/TrafficControl_min.js"></script> |
| 96 | -<script src="/assets/js/baidu//MarkerClusterer.js"></script> | ||
| 97 | -<script src="/assets/js/TransGPS.js"></script> | 96 | +<script src="/assets/js/baidu//MarkerClusterer.js" merge="plugins"></script> |
| 97 | +<script src="/assets/js/TransGPS.js" merge="plugins"></script> | ||
| 98 | <!-- 高德 --> | 98 | <!-- 高德 --> |
| 99 | <script src="http://webapi.amap.com/maps?v=1.3&key=16cb1c5043847e09ef9edafdd77befda"></script> | 99 | <script src="http://webapi.amap.com/maps?v=1.3&key=16cb1c5043847e09ef9edafdd77befda"></script> |
| 100 | <!-- jquery --> | 100 | <!-- jquery --> |
| 101 | <script src="/real_control_v2/assets/js/jquery.min.js"></script> | 101 | <script src="/real_control_v2/assets/js/jquery.min.js"></script> |
| 102 | <!-- jquery actual --> | 102 | <!-- jquery actual --> |
| 103 | -<script src="/real_control_v2/assets/js/jquery.actual.min.js"></script> | 103 | +<script src="/real_control_v2/assets/js/jquery.actual.min.js" merge="plugins"></script> |
| 104 | <!-- jquery.serializejson JSON序列化插件 --> | 104 | <!-- jquery.serializejson JSON序列化插件 --> |
| 105 | -<script src="/assets/plugins/jquery.serializejson.js"></script> | 105 | +<script src="/assets/plugins/jquery.serializejson.js" merge="plugins"></script> |
| 106 | <!-- moment.js 日期处理类库 --> | 106 | <!-- moment.js 日期处理类库 --> |
| 107 | <script src="/assets/plugins/moment-with-locales.js"></script> | 107 | <script src="/assets/plugins/moment-with-locales.js"></script> |
| 108 | <!-- common js --> | 108 | <!-- common js --> |
| 109 | <script src="/real_control_v2/js/common.js"></script> | 109 | <script src="/real_control_v2/js/common.js"></script> |
| 110 | <!-- art-template 模版引擎 --> | 110 | <!-- art-template 模版引擎 --> |
| 111 | -<script src="/assets/plugins/template.js"></script> | 111 | +<script src="/assets/plugins/template.js" merge="plugins"></script> |
| 112 | <!-- d3 --> | 112 | <!-- d3 --> |
| 113 | <script src="/assets/js/d3.min.js"></script> | 113 | <script src="/assets/js/d3.min.js"></script> |
| 114 | <!-- EventProxy --> | 114 | <!-- EventProxy --> |
| @@ -126,18 +126,18 @@ | @@ -126,18 +126,18 @@ | ||
| 126 | <script src="/real_control_v2/assets/plugins/uikit-2.27.1/components/lightbox.min.js" merge="uikit_js"></script> | 126 | <script src="/real_control_v2/assets/plugins/uikit-2.27.1/components/lightbox.min.js" merge="uikit_js"></script> |
| 127 | 127 | ||
| 128 | <!-- jquery contextMenu --> | 128 | <!-- jquery contextMenu --> |
| 129 | -<script src="/real_control_v2/assets/js/jquery.contextMenu.min.js"></script> | ||
| 130 | -<script src="/real_control_v2/assets/js/jquery.ui.position.min.js"></script> | 129 | +<script src="/real_control_v2/assets/js/jquery.contextMenu.min.js" merge="plugins"></script> |
| 130 | +<script src="/real_control_v2/assets/js/jquery.ui.position.min.js" merge="plugins"></script> | ||
| 131 | <!-- formvalidation- --> | 131 | <!-- formvalidation- --> |
| 132 | -<script src="/real_control_v2/assets/plugins/formvalidation/formValidation.min.js"></script> | ||
| 133 | -<script src="/real_control_v2/assets/plugins/formvalidation/zh_CN.js"></script> | ||
| 134 | -<script src="/real_control_v2/assets/plugins/formvalidation/uikit.min.js"></script> | 132 | +<script src="/real_control_v2/assets/plugins/formvalidation/formValidation.min.js" merge="plugins"></script> |
| 133 | +<script src="/real_control_v2/assets/plugins/formvalidation/zh_CN.js" merge="plugins"></script> | ||
| 134 | +<script src="/real_control_v2/assets/plugins/formvalidation/uikit.min.js" merge="plugins"></script> | ||
| 135 | <!-- js tree --> | 135 | <!-- js tree --> |
| 136 | -<script src="/real_control_v2/assets/plugins/jstree/jstree.min.js"></script> | 136 | +<script src="/real_control_v2/assets/plugins/jstree/jstree.min.js" merge="plugins"></script> |
| 137 | <!-- simple pinyin --> | 137 | <!-- simple pinyin --> |
| 138 | -<script src="/assets/plugins/pinyin.js"></script> | 138 | +<script src="/assets/plugins/pinyin.js" merge="plugins"></script> |
| 139 | <!-- qtip --> | 139 | <!-- qtip --> |
| 140 | -<script src="/real_control_v2/assets/plugins/qtip/jquery.qtip.min.js"></script> | 140 | +<script src="/real_control_v2/assets/plugins/qtip/jquery.qtip.min.js" merge="plugins"></script> |
| 141 | 141 | ||
| 142 | <!-- 数据 --> | 142 | <!-- 数据 --> |
| 143 | <script src="/real_control_v2/js/data/data_basic.js" merge="custom_js"></script> | 143 | <script src="/real_control_v2/js/data/data_basic.js" merge="custom_js"></script> |
| @@ -175,9 +175,9 @@ | @@ -175,9 +175,9 @@ | ||
| 175 | <script src="/real_control_v2/js/utils/tts.js" merge="custom_js"></script> | 175 | <script src="/real_control_v2/js/utils/tts.js" merge="custom_js"></script> |
| 176 | 176 | ||
| 177 | <!-- echart --> | 177 | <!-- echart --> |
| 178 | -<script src="/real_control_v2/assets/echarts-3/echarts.js"></script> | 178 | +<script src="/real_control_v2/assets/echarts-3/echarts.js" merge="plugins"></script> |
| 179 | <!-- Geolib --> | 179 | <!-- Geolib --> |
| 180 | -<script src="/real_control_v2/geolib/geolib.js"></script> | 180 | +<script src="/real_control_v2/geolib/geolib.js" merge="plugins"></script> |
| 181 | 181 | ||
| 182 | <script src="/real_control_v2/js/signal_state/signal_state.js" merge="custom_js"></script> | 182 | <script src="/real_control_v2/js/signal_state/signal_state.js" merge="custom_js"></script> |
| 183 | <script src="/real_control_v2/js/utils/dispatch_pattern.js" merge="custom_js"></script> | 183 | <script src="/real_control_v2/js/utils/dispatch_pattern.js" merge="custom_js"></script> |
src/main/resources/static/real_control_v2/mapmonitor/real.html
| 1 | -<link href="/assets/css/TrafficControl.css" rel="stylesheet"/> | ||
| 2 | -<link rel="stylesheet" href="/real_control_v2/assets/plugins/jquery.ui/themes/base/all.css"/> | ||
| 3 | -<link rel="stylesheet" href="/real_control_v2/assets/plugins/spectrum/spectrum.css"/> | ||
| 4 | -<link rel="stylesheet" href="/real_control_v2/assets/plugins/uikit-2.27.1/components/form-advanced.gradient.min.css"/> | 1 | +<link href="/assets/css/TrafficControl.css" rel="stylesheet" merge="map_plugins"/> |
| 2 | +<link rel="stylesheet" href="/real_control_v2/assets/plugins/jquery.ui/themes/base/all.css" merge="map_plugins"/> | ||
| 3 | +<link rel="stylesheet" href="/real_control_v2/assets/plugins/spectrum/spectrum.css" merge="map_plugins"/> | ||
| 4 | +<link rel="stylesheet" href="/real_control_v2/assets/plugins/uikit-2.27.1/components/form-advanced.gradient.min.css" merge="map_plugins"/> | ||
| 5 | <link rel="stylesheet" href="/real_control_v2/mapmonitor/css/real.css"/> | 5 | <link rel="stylesheet" href="/real_control_v2/mapmonitor/css/real.css"/> |
| 6 | -<link rel="stylesheet" href="/real_control_v2/assets/plugins/uikit-2.27.1/components/progress.gradient.min.css"> | 6 | +<link rel="stylesheet" href="/real_control_v2/assets/plugins/uikit-2.27.1/components/progress.gradient.min.css" merge="map_plugins"> |
| 7 | 7 | ||
| 8 | <div class="map-system-msg flex-left"> | 8 | <div class="map-system-msg flex-left"> |
| 9 | <a class="z-depth-2" href="/pages/mapmonitor/alone/wrap.html" target="_blank"></a> | 9 | <a class="z-depth-2" href="/pages/mapmonitor/alone/wrap.html" target="_blank"></a> |
| @@ -50,21 +50,21 @@ | @@ -50,21 +50,21 @@ | ||
| 50 | </div> | 50 | </div> |
| 51 | </div> | 51 | </div> |
| 52 | 52 | ||
| 53 | -<script src="/real_control_v2/assets/js/GeoUtils_min.js"></script> | ||
| 54 | -<script src="/real_control_v2/mapmonitor/js/config.js" merge="custom_map_js"></script> | ||
| 55 | -<script src="/real_control_v2/mapmonitor/js/gps_tree.js" merge="custom_map_js"></script> | ||
| 56 | -<script src="/real_control_v2/mapmonitor/js/spatial_data.js" merge="custom_map_js"></script> | ||
| 57 | -<script src="/real_control_v2/mapmonitor/js/map_overlay_manager.js" merge="custom_map_js"></script> | ||
| 58 | -<script src="/real_control_v2/mapmonitor/js/real.js" merge="custom_map_js"></script> | ||
| 59 | -<script src="/real_control_v2/mapmonitor/js/map/iMap.js" merge="custom_map_js"></script> | ||
| 60 | -<script src="/real_control_v2/mapmonitor/js/map/platform/baidu.js" merge="custom_map_js"></script> | ||
| 61 | -<script src="/real_control_v2/mapmonitor/js/map/platform/gaode.js" merge="custom_map_js"></script> | 53 | +<script src="/real_control_v2/assets/js/GeoUtils_min.js" merge="map_plugins"></script> |
| 54 | +<script src="/real_control_v2/mapmonitor/js/config.js" merge="map_custom_js"></script> | ||
| 55 | +<script src="/real_control_v2/mapmonitor/js/gps_tree.js" merge="map_custom_js"></script> | ||
| 56 | +<script src="/real_control_v2/mapmonitor/js/spatial_data.js" merge="map_custom_js"></script> | ||
| 57 | +<script src="/real_control_v2/mapmonitor/js/map_overlay_manager.js" merge="map_custom_js"></script> | ||
| 58 | +<script src="/real_control_v2/mapmonitor/js/real.js" ></script> | ||
| 59 | +<script src="/real_control_v2/mapmonitor/js/map/iMap.js" merge="map_custom_js"></script> | ||
| 60 | +<script src="/real_control_v2/mapmonitor/js/map/platform/baidu.js" merge="map_custom_js"></script> | ||
| 61 | +<script src="/real_control_v2/mapmonitor/js/map/platform/gaode.js" merge="map_custom_js"></script> | ||
| 62 | <!-- jquery ui --> | 62 | <!-- jquery ui --> |
| 63 | -<script src="/real_control_v2/assets/plugins/jquery.ui/core.js"></script> | ||
| 64 | -<script src="/real_control_v2/assets/plugins/jquery.ui/widget.js"></script> | ||
| 65 | -<script src="/real_control_v2/assets/plugins/jquery.ui/mouse.js"></script> | ||
| 66 | -<script src="/real_control_v2/assets/plugins/jquery.ui/resizable.js"></script> | 63 | +<script src="/real_control_v2/assets/plugins/jquery.ui/core.js" merge="map_plugins"></script> |
| 64 | +<script src="/real_control_v2/assets/plugins/jquery.ui/widget.js" merge="map_plugins"></script> | ||
| 65 | +<script src="/real_control_v2/assets/plugins/jquery.ui/mouse.js" merge="map_plugins"></script> | ||
| 66 | +<script src="/real_control_v2/assets/plugins/jquery.ui/resizable.js" merge="map_plugins"></script> | ||
| 67 | <!-- 颜色选择器 --> | 67 | <!-- 颜色选择器 --> |
| 68 | -<script src="/real_control_v2/assets/plugins/spectrum/spectrum.js"></script> | 68 | +<script src="/real_control_v2/assets/plugins/spectrum/spectrum.js" merge="map_plugins"></script> |
| 69 | <!-- play back --> | 69 | <!-- play back --> |
| 70 | -<script src="/real_control_v2/mapmonitor/js/playback.js" merge="custom_map_js"></script> | ||
| 71 | \ No newline at end of file | 70 | \ No newline at end of file |
| 71 | +<script src="/real_control_v2/mapmonitor/js/playback.js" merge="map_custom_js"></script> | ||
| 72 | \ No newline at end of file | 72 | \ No newline at end of file |