parent
4b64b881a9
commit
5463003b10
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/mysql-connector-java-5.1.18-bin.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/standard.jar"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v8.5"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/5"/>
|
||||
<classpathentry kind="output" path="build/classes"/>
|
||||
</classpath>
|
@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>dorm</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.common.project.facet.core.builder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.validation.validationbuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
|
||||
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
|
||||
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry excluding="**/bower_components/*|**/node_modules/*|**/*.min.js" kind="src" path="WebContent"/>
|
||||
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
|
||||
<attributes>
|
||||
<attribute name="hide" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
|
||||
<classpathentry kind="output" path=""/>
|
||||
</classpath>
|
@ -0,0 +1,7 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
|
||||
org.eclipse.jdt.core.compiler.compliance=1.8
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.source=1.8
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
|
||||
<wb-module deploy-name="dorm">
|
||||
<wb-resource deploy-path="/" source-path="/WebContent" tag="defaultRootSource"/>
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
|
||||
<property name="context-root" value="dorm"/>
|
||||
<property name="java-output-path" value="/dorm/build/classes"/>
|
||||
</wb-module>
|
||||
</project-modules>
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<faceted-project>
|
||||
<runtime name="Apache Tomcat v8.5"/>
|
||||
<fixed facet="wst.jsdt.web"/>
|
||||
<fixed facet="java"/>
|
||||
<fixed facet="jst.web"/>
|
||||
<installed facet="java" version="1.8"/>
|
||||
<installed facet="jst.web" version="3.1"/>
|
||||
<installed facet="wst.jsdt.web" version="1.0"/>
|
||||
</faceted-project>
|
@ -0,0 +1 @@
|
||||
org.eclipse.wst.jsdt.launching.baseBrowserLibrary
|
@ -0,0 +1 @@
|
||||
Window
|
@ -0,0 +1,3 @@
|
||||
Manifest-Version: 1.0
|
||||
Class-Path:
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
|
||||
<display-name>dorm</display-name>
|
||||
<welcome-file-list>
|
||||
<welcome-file>login.jsp</welcome-file>
|
||||
</welcome-file-list>
|
||||
|
||||
<filter>
|
||||
<filter-name>loginFilter</filter-name>
|
||||
<filter-class>com.lero.filter.LoginFilter</filter-class>
|
||||
</filter>
|
||||
|
||||
<filter-mapping>
|
||||
<filter-name>loginFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
|
||||
<servlet>
|
||||
<servlet-name>loginServlet</servlet-name>
|
||||
<servlet-class>com.lero.web.LoginServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>loginServlet</servlet-name>
|
||||
<url-pattern>/login</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>blankServlet</servlet-name>
|
||||
<servlet-class>com.lero.web.BlankServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>blankServlet</servlet-name>
|
||||
<url-pattern>/blank</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>dormBuildServlet</servlet-name>
|
||||
<servlet-class>com.lero.web.DormBuildServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>dormBuildServlet</servlet-name>
|
||||
<url-pattern>/dormBuild</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>dormManagerServlet</servlet-name>
|
||||
<servlet-class>com.lero.web.DormManagerServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>dormManagerServlet</servlet-name>
|
||||
<url-pattern>/dormManager</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>studentServlet</servlet-name>
|
||||
<servlet-class>com.lero.web.StudentServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>studentServlet</servlet-name>
|
||||
<url-pattern>/student</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>recordServlet</servlet-name>
|
||||
<servlet-class>com.lero.web.RecordServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>recordServlet</servlet-name>
|
||||
<url-pattern>/record</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>recordIOServlet</servlet-name>
|
||||
<servlet-class>com.lero.web.RecordIOServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>recordIOServlet</servlet-name>
|
||||
<url-pattern>/recordIO</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>passwordServlet</servlet-name>
|
||||
<servlet-class>com.lero.web.PasswordServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>passwordServlet</servlet-name>
|
||||
<url-pattern>/password</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
</web-app>
|
@ -0,0 +1,14 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$("ul li:eq(0)").addClass("active");
|
||||
});
|
||||
</script>
|
||||
|
||||
<div>
|
||||
<div class=blank style="padding-top: 100px;padding-left: 100px;">
|
||||
<font color="gray" size="20">欢迎您,系统管理员!</font>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,56 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
|
||||
<script type="text/javascript">
|
||||
function dormBuildDelete(dormBuildId) {
|
||||
if(confirm("您确定要删除这个宿舍楼吗?")) {
|
||||
window.location="dormBuild?action=delete&dormBuildId="+dormBuildId;
|
||||
}
|
||||
}
|
||||
$(document).ready(function(){
|
||||
$("ul li:eq(3)").addClass("active");
|
||||
});
|
||||
</script>
|
||||
<div class="data_list">
|
||||
<div class="data_list_title">
|
||||
宿舍楼管理
|
||||
</div>
|
||||
<form name="myForm" class="form-search" method="post" action="dormBuild?action=search">
|
||||
<button class="btn btn-success" type="button" style="margin-right: 50px;" onclick="javascript:window.location='dormBuild?action=preSave'">添加</button>
|
||||
<span class="data_search">
|
||||
名称: <input id="s_dormBuildName" name="s_dormBuildName" type="text" style="width:120px;height: 30px;" class="input-medium search-query" value="${s_dormBuildName }">
|
||||
<button type="submit" class="btn btn-info" onkeydown="if(event.keyCode==13) myForm.submit()">搜索</button>
|
||||
</span>
|
||||
</form>
|
||||
<div>
|
||||
<table class="table table-striped table-bordered table-hover datatable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="15%">编号</th>
|
||||
<th>名称</th>
|
||||
<th>简介</th>
|
||||
<th width="20%">操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach varStatus="i" var="dormBuild" items="${dormBuildList }">
|
||||
<tr>
|
||||
<td>${i.count+(page-1)*pageSize }</td>
|
||||
<td>${dormBuild.dormBuildName }</td>
|
||||
<td>${dormBuild.detail==null||dormBuild.detail==""?"无":dormBuild.detail }</td>
|
||||
<td><button class="btn btn-mini btn-info" type="button" onclick="javascript:window.location='dormBuild?action=manager&dormBuildId=${dormBuild.dormBuildId }'">管理员</button>
|
||||
<button class="btn btn-mini btn-info" type="button" onclick="javascript:window.location='dormBuild?action=preSave&dormBuildId=${dormBuild.dormBuildId }'">修改</button>
|
||||
<button class="btn btn-mini btn-danger" type="button" onclick="dormBuildDelete(${dormBuild.dormBuildId})">删除</button></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div align="center"><font color="red">${error }</font></div>
|
||||
<div class="pagination pagination-centered">
|
||||
<ul>
|
||||
${pageCode }
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,51 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<script type="text/javascript">
|
||||
function checkForm(){
|
||||
var dormBuildName=document.getElementById("dormBuildName").value;
|
||||
if(dormBuildName==null||dormBuildName==""){
|
||||
document.getElementById("error").innerHTML="名称不能为空!";
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
$("ul li:eq(3)").addClass("active");
|
||||
});
|
||||
</script>
|
||||
<div class="data_list">
|
||||
<div class="data_list_title">
|
||||
<c:choose>
|
||||
<c:when test="${dormBuild.dormBuildId!=null }">
|
||||
修改宿舍楼
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
添加宿舍楼
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</div>
|
||||
<form action="dormBuild?action=save" method="post" onsubmit="return checkForm()">
|
||||
<div class="data_form" >
|
||||
<input type="hidden" id="dormBuildId" name="dormBuildId" value="${dormBuild.dormBuildId }"/>
|
||||
<table align="center">
|
||||
<tr>
|
||||
<td><font color="red">*</font>名称:</td>
|
||||
<td><input type="text" id="dormBuildName" name="dormBuildName" value="${dormBuild.dormBuildName }" style="margin-top:5px;height:30px;" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> 简介:</td>
|
||||
<td><textarea id="detail" name="detail" rows="10">${dormBuild.detail }</textarea></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div align="center">
|
||||
<input type="submit" class="btn btn-primary" value="保存"/>
|
||||
<button class="btn btn-primary" type="button" onclick="javascript:history.back()">返回</button>
|
||||
</div>
|
||||
<div align="center">
|
||||
<font id="error" color="red">${error }</font>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
@ -0,0 +1,64 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||
pageEncoding="UTF-8"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
|
||||
<script type="text/javascript">
|
||||
function dormManagerDelete(dormManagerId) {
|
||||
if(confirm("您确定要删除这个宿管吗?")) {
|
||||
window.location="dormManager?action=delete&dormManagerId="+dormManagerId;
|
||||
}
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
$("ul li:eq(1)").addClass("active");
|
||||
});
|
||||
</script>
|
||||
<div class="data_list">
|
||||
<div class="data_list_title">
|
||||
宿舍管理员管理
|
||||
</div>
|
||||
<form name="myForm" class="form-search" method="post" action="dormManager?action=search">
|
||||
<button class="btn btn-success" type="button" style="margin-right: 50px;" onclick="javascript:window.location='dormManager?action=preSave'">添加</button>
|
||||
<span class="data_search">
|
||||
<select id="searchType" name="searchType" style="width: 80px;">
|
||||
<option value="name">姓名</option>
|
||||
<option value="userName" ${searchType eq "userName"?'selected':'' }>用户名</option>
|
||||
</select>
|
||||
<input id="s_dormManagerText" name="s_dormManagerText" type="text" style="width:120px;height: 30px;" class="input-medium search-query" value="${s_dormManagerText }">
|
||||
|
||||
<input type="submit" class="btn btn-info" value="查询">
|
||||
</span>
|
||||
</form>
|
||||
<div>
|
||||
<table class="table table-hover table-striped table-bordered">
|
||||
<tr>
|
||||
<th>编号</th>
|
||||
<th>姓名</th>
|
||||
<th>性别</th>
|
||||
<th>电话</th>
|
||||
<th>宿舍楼</th>
|
||||
<th>用户名</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
<c:forEach varStatus="i" var="dormManager" items="${dormManagerList }">
|
||||
<tr>
|
||||
<td>${i.count+(page-1)*pageSize }</td>
|
||||
<td>${dormManager.name }</td>
|
||||
<td>${dormManager.sex }</td>
|
||||
<td>${dormManager.tel }</td>
|
||||
<td>${dormManager.dormBuildName==null?"无":dormManager.dormBuildName }</td>
|
||||
<td>${dormManager.userName }</td>
|
||||
<td><button class="btn btn-mini btn-info" type="button" onclick="javascript:window.location='dormManager?action=preSave&dormManagerId=${dormManager.dormManagerId }'">修改</button>
|
||||
<button class="btn btn-mini btn-danger" type="button" onclick="dormManagerDelete(${dormManager.dormManagerId})">删除</button></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</table>
|
||||
</div>
|
||||
<div align="center"><font color="red">${error }</font></div>
|
||||
<div class="pagination pagination-centered">
|
||||
<ul>
|
||||
${pageCode }
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,81 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<script type="text/javascript">
|
||||
function checkForm(){
|
||||
var userName=document.getElementById("userName").value;
|
||||
var password=document.getElementById("password").value;
|
||||
var rPassword=document.getElementById("rPassword").value;
|
||||
var name=document.getElementById("name").value;
|
||||
var sex=document.getElementById("sex").value;
|
||||
var tel=document.getElementById("tel").value;
|
||||
if(userName==""||password==""||rPassword==""||name==""||sex==""||tel==""){
|
||||
document.getElementById("error").innerHTML="信息填写不完整!";
|
||||
return false;
|
||||
} else if(password!=rPassword){
|
||||
document.getElementById("error").innerHTML="密码填写不一致!";
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
$("ul li:eq(1)").addClass("active");
|
||||
});
|
||||
</script>
|
||||
<div class="data_list">
|
||||
<div class="data_list_title">
|
||||
<c:choose>
|
||||
<c:when test="${dormManager.dormManagerId!=null }">
|
||||
修改管理员
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
添加管理员
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</div>
|
||||
<form action="dormManager?action=save" method="post" onsubmit="return checkForm()">
|
||||
<div class="data_form" >
|
||||
<input type="hidden" id="dormManagerId" name="dormManagerId" value="${dormManager.dormManagerId }"/>
|
||||
<table align="center">
|
||||
<tr>
|
||||
<td><font color="red">*</font>用户名:</td>
|
||||
<td><input type="text" id="userName" name="userName" value="${dormManager.userName }" style="margin-top:5px;height:30px;" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><font color="red">*</font>密码:</td>
|
||||
<td><input type="password" id="password" name="password" value="${dormManager.password }" style="margin-top:5px;height:30px;" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><font color="red">*</font>重复密码:</td>
|
||||
<td><input type="password" id="rPassword" name="rPassword" value="${dormManager.password }" style="margin-top:5px;height:30px;" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><font color="red">*</font>姓名:</td>
|
||||
<td><input type="text" id="name" name="name" value="${dormManager.name }" style="margin-top:5px;height:30px;" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><font color="red">*</font>性别:</td>
|
||||
<td>
|
||||
<select id="sex" name="sex" style="width: 90px;">
|
||||
<option value="">请选择...</option>
|
||||
<option value="男" ${dormManager.sex eq "男"?'selected':'' }>男</option>
|
||||
<option value="女" ${dormManager.sex eq "女"?'selected':'' }>女</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><font color="red">*</font>联系电话:</td>
|
||||
<td><input type="text" id="tel" name="tel" value="${dormManager.tel }" style="margin-top:5px;height:30px;" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div align="center">
|
||||
<input type="submit" class="btn btn-primary" value="保存"/>
|
||||
<button class="btn btn-primary" type="button" onclick="javascript:history.back()">返回</button>
|
||||
</div>
|
||||
<div align="center">
|
||||
<font id="error" color="red">${error }</font>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
@ -0,0 +1,52 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<script type="text/javascript">
|
||||
function checkForm(){
|
||||
var oldPassword=document.getElementById("oldPassword").value;
|
||||
var newPassword=document.getElementById("newPassword").value;
|
||||
var rPassword=document.getElementById("rPassword").value;
|
||||
if(oldPassword==""||newPassword==""||rPassword==""){
|
||||
document.getElementById("error").innerHTML="信息填写不完整!";
|
||||
return false;
|
||||
} else if(newPassword!=rPassword){
|
||||
document.getElementById("error").innerHTML="密码填写不一致!";
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
$("ul li:eq(5)").addClass("active");
|
||||
});
|
||||
</script>
|
||||
<div class="data_list">
|
||||
<div class="data_list_title">
|
||||
修改密码
|
||||
</div>
|
||||
<form action="password?action=change" method="post" onsubmit="return checkForm()">
|
||||
<div class="data_form" >
|
||||
<input type="hidden" id="studentId" name="studentId" value="${student.studentId }"/>
|
||||
<table align="center">
|
||||
<tr>
|
||||
<td><font color="red">*</font>原密码:</td>
|
||||
<td><input type="password" id="oldPassword" name="oldPassword" value="${oldPassword }" style="margin-top:5px;height:30px;" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><font color="red">*</font>新密码:</td>
|
||||
<td><input type="password" id="newPassword" name="newPassword" value="${newPassword }" style="margin-top:5px;height:30px;" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><font color="red">*</font>重复密码:</td>
|
||||
<td><input type="password" id="rPassword" name="rPassword" value="${rPassword }" style="margin-top:5px;height:30px;" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div align="center">
|
||||
<input type="submit" class="btn btn-primary" value="提交"/>
|
||||
</div>
|
||||
<div align="center">
|
||||
<font id="error" color="red">${error }</font>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
@ -0,0 +1,99 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$("ul li:eq(4)").addClass("active");
|
||||
$('.form_date').datetimepicker({
|
||||
language: 'en',
|
||||
weekStart: 1,
|
||||
todayBtn: 1,
|
||||
autoclose: 1,
|
||||
todayHighlight: 1,
|
||||
startView: 2,
|
||||
minView: 2,
|
||||
forceParse: 0
|
||||
});
|
||||
$('.datatable').dataTable( {
|
||||
"oLanguage": {
|
||||
"sUrl": "/DormManage/media/zh_CN.json"
|
||||
},
|
||||
"bLengthChange": false, //改变每页显示数据数量
|
||||
"bFilter": false, //过滤功能
|
||||
"aoColumns": [
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
{ "asSorting": [ ] },
|
||||
{ "asSorting": [ ] }
|
||||
]
|
||||
});
|
||||
$("#DataTables_Table_0_wrapper .row-fluid").remove();
|
||||
});
|
||||
|
||||
window.onload = function(){
|
||||
$("#DataTables_Table_0_wrapper .row-fluid").remove();
|
||||
};
|
||||
function recordDelete(recordId) {
|
||||
if(confirm("您确定要删除这条记录吗?")) {
|
||||
window.location="record?action=delete&recordId="+recordId;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="data_list">
|
||||
<div class="data_list_title">
|
||||
缺勤记录
|
||||
</div>
|
||||
<form name="myForm" class="form-search" method="post" action="record?action=search" style="padding-bottom: 0px">
|
||||
<span class="data_search">
|
||||
|
||||
<select id="buildToSelect" name="buildToSelect" style="width: 110px;">
|
||||
<option value="">全部宿舍楼</option>
|
||||
<c:forEach var="dormBuild" items="${dormBuildList }">
|
||||
<option value="${dormBuild.dormBuildId }" ${buildToSelect==dormBuild.dormBuildId?'selected':'' }>${dormBuild.dormBuildName }</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
<select id="searchType" name="searchType" style="width: 80px;">
|
||||
<option value="name">姓名</option>
|
||||
<option value="number" ${searchType eq "number"?'selected':'' }>学号</option>
|
||||
<option value="dorm" ${searchType eq "dorm"?'selected':'' }>寝室</option>
|
||||
</select>
|
||||
<input id="s_studentText" name="s_studentText" type="text" style="width:120px;height: 30px;" class="input-medium search-query" value="${s_studentText }">
|
||||
<button type="submit" class="btn btn-info" onkeydown="if(event.keyCode==13) myForm.submit()">搜索</button>
|
||||
</span>
|
||||
</form>
|
||||
<div>
|
||||
<table class="table table-hover table-striped table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>日期</th>
|
||||
<th>学号</th>
|
||||
<th>姓名</th>
|
||||
<th>宿舍楼</th>
|
||||
<th>寝室</th>
|
||||
<th>备注</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach varStatus="i" var="record" items="${recordList }">
|
||||
<tr>
|
||||
<td>${record.date }</td>
|
||||
<td>${record.studentNumber }</td>
|
||||
<td>${record.studentName }</td>
|
||||
<td>${record.dormBuildName==null?"无":record.dormBuildName }</td>
|
||||
<td>${record.dormName }</td>
|
||||
<td>${record.detail }</td>
|
||||
<td>
|
||||
<button class="btn btn-mini btn-danger" type="button" onclick="recordDelete(${record.recordId })">删除</button></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div align="center"><font color="red">${error }</font></div>
|
||||
</div>
|
@ -0,0 +1,99 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$("ul li:eq(5)").addClass("active");
|
||||
$('.form_date').datetimepicker({
|
||||
language: 'en',
|
||||
weekStart: 1,
|
||||
todayBtn: 1,
|
||||
autoclose: 1,
|
||||
todayHighlight: 1,
|
||||
startView: 2,
|
||||
minView: 2,
|
||||
forceParse: 0
|
||||
});
|
||||
$('.datatable').dataTable( {
|
||||
"oLanguage": {
|
||||
"sUrl": "/DormManage/media/zh_CN.json"
|
||||
},
|
||||
"bLengthChange": false, //改变每页显示数据数量
|
||||
"bFilter": false, //过滤功能
|
||||
"aoColumns": [
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
{ "asSorting": [ ] },
|
||||
{ "asSorting": [ ] }
|
||||
]
|
||||
});
|
||||
$("#DataTables_Table_0_wrapper .row-fluid").remove();
|
||||
});
|
||||
|
||||
window.onload = function(){
|
||||
$("#DataTables_Table_0_wrapper .row-fluid").remove();
|
||||
};
|
||||
function recordDelete(rid) {
|
||||
if(confirm("您确定要删除这条记录吗?")) {
|
||||
window.location="recordIO?action=delete&recordId="+rid;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="data_list">
|
||||
<div class="data_list_title">
|
||||
宿舍出入记录
|
||||
</div>
|
||||
<form name="myForm" class="form-search" method="post" action="recordIO?action=search" style="padding-bottom: 0px">
|
||||
<span class="data_search">
|
||||
|
||||
<select id="buildToSelect" name="buildToSelect" style="width: 110px;">
|
||||
<option value="">全部宿舍楼</option>
|
||||
<c:forEach var="dormBuild" items="${dormBuildList }">
|
||||
<option value="${dormBuild.dormBuildId }" ${buildToSelect==dormBuild.dormBuildId?'selected':'' }>${dormBuild.dormBuildName }</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
<select id="searchType" name="searchType" style="width: 80px;">
|
||||
<option value="name">姓名</option>
|
||||
<option value="number" ${searchType eq "number"?'selected':'' }>学号</option>
|
||||
<option value="dorm" ${searchType eq "dorm"?'selected':'' }>寝室</option>
|
||||
</select>
|
||||
<input id="s_studentText" name="s_studentText" type="text" style="width:120px;height: 30px;" class="input-medium search-query" value="${s_studentText }">
|
||||
<button type="submit" class="btn btn-info" onkeydown="if(event.keyCode==13) myForm.submit()">搜索</button>
|
||||
</span>
|
||||
</form>
|
||||
<div>
|
||||
<table class="table table-hover table-striped table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>学号</th>
|
||||
<th>姓名</th>
|
||||
<th>宿舍楼</th>
|
||||
<th>寝室</th>
|
||||
<th>备注</th>
|
||||
<th>日期</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach varStatus="i" var="record" items="${recordList }">
|
||||
<tr>
|
||||
<td>${record.stuno }</td>
|
||||
<td>${record.stuName }</td>
|
||||
<td>${record.dormBuildName==null?"无":record.dormBuildName }</td>
|
||||
<td>${record.dorm }</td>
|
||||
<td>${record.detail }</td>
|
||||
<td>${record.IOTime }</td>
|
||||
<td>
|
||||
<button class="btn btn-mini btn-danger" type="button" onclick="recordDelete(${record.rid })">删除</button></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div align="center"><font color="red">${error }</font></div>
|
||||
</div>
|
@ -0,0 +1,60 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
|
||||
<script type="text/javascript">
|
||||
function dormManagerMove(dormManagerId, dormBuildId) {
|
||||
if(confirm("您确定要移除这个宿管吗?")) {
|
||||
window.location="dormBuild?action=move&dormBuildId="+dormBuildId+"&dormManagerId="+dormManagerId;
|
||||
}
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
$("ul li:eq(3)").addClass("active");
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="data_list">
|
||||
<div class="data_list_title">
|
||||
宿舍管理员设置
|
||||
</div>
|
||||
<form class="select_form" name="myForm" method="post" action="dormBuild?action=addManager">
|
||||
<button class="btn btn-success" type="button" onclick="javascript:history.back()">返回</button>
|
||||
<span class="data_select">
|
||||
<input type="hidden" id="dormBuildId" name="dormBuildId" value="${dormBuildId }"/>
|
||||
<select id="dormManagerId" name="dormManagerId" style="width: 150px;">
|
||||
<option value="">请选择管理员...</option>
|
||||
<c:forEach var="managerToSelect" items="${managerListToSelect }">
|
||||
<option value="${managerToSelect.dormManagerId }">${managerToSelect.name }</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
<button type="submit" class="btn btn-info" onkeydown="if(event.keyCode==13) myForm.submit()" style="margin-bottom: 10px">添加</button>
|
||||
</span>
|
||||
</form>
|
||||
<div>
|
||||
<table class="table table-hover table-striped table-bordered">
|
||||
<tr>
|
||||
<th>姓名</th>
|
||||
<th>性别</th>
|
||||
<th>电话</th>
|
||||
<th>用户名</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
<c:forEach varStatus="i" var="managerWithId" items="${managerListWithId }">
|
||||
<tr>
|
||||
<td>${managerWithId.name }</td>
|
||||
<td>${managerWithId.sex }</td>
|
||||
<td>${managerWithId.tel }</td>
|
||||
<td>${managerWithId.userName }</td>
|
||||
<td><button class="btn btn-mini btn-danger" type="button" onclick="dormManagerMove(${managerWithId.dormManagerId},${managerWithId.dormBuildId})">移除</button></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</table>
|
||||
</div>
|
||||
<div align="center"><font color="red">${error }</font></div>
|
||||
<div class="pagination pagination-centered">
|
||||
<ul>
|
||||
${pageCode }
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,106 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
$(document).ready(function(){
|
||||
$("ul li:eq(2)").addClass("active");
|
||||
$('.datatable').dataTable( {
|
||||
"oLanguage": {
|
||||
"sUrl": "/DormManage/media/zh_CN.json"
|
||||
},
|
||||
"bLengthChange": false, //改变每页显示数据数量
|
||||
"bFilter": false, //过滤功能
|
||||
"aoColumns": [
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
{ "asSorting": [ ] },
|
||||
{ "asSorting": [ ] }
|
||||
]
|
||||
});
|
||||
});
|
||||
|
||||
window.onload = function(){
|
||||
$("#DataTables_Table_0_wrapper .row-fluid").remove();
|
||||
};
|
||||
function studentDelete(studentId) {
|
||||
if(confirm("您确定要删除这个学生吗?")) {
|
||||
window.location="student?action=delete&studentId="+studentId;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style type="text/css">
|
||||
.span6 {
|
||||
width:0px;
|
||||
height: 0px;
|
||||
padding-top: 0px;
|
||||
padding-bottom: 0px;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
</style>
|
||||
<div class="data_list">
|
||||
<div class="data_list_title">
|
||||
学生管理
|
||||
</div>
|
||||
<form name="myForm" class="form-search" method="post" action="student?action=search" style="padding-bottom: 0px">
|
||||
<button class="btn btn-success" type="button" style="margin-right: 50px;" onclick="javascript:window.location='student?action=preSave'">添加</button>
|
||||
<span class="data_search">
|
||||
<select id="buildToSelect" name="buildToSelect" style="width: 110px;">
|
||||
<option value="">全部宿舍楼</option>
|
||||
<c:forEach var="dormBuild" items="${dormBuildList }">
|
||||
<option value="${dormBuild.dormBuildId }" ${buildToSelect==dormBuild.dormBuildId?'selected':'' }>${dormBuild.dormBuildName }</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
<select id="searchType" name="searchType" style="width: 80px;">
|
||||
<option value="name">姓名</option>
|
||||
<option value="number" ${searchType eq "number"?'selected':'' }>学号</option>
|
||||
<option value="dorm" ${searchType eq "dorm"?'selected':'' }>寝室</option>
|
||||
</select>
|
||||
<input id="s_studentText" name="s_studentText" type="text" style="width:120px;height: 30px;" class="input-medium search-query" value="${s_studentText }">
|
||||
<button type="submit" class="btn btn-info" onkeydown="if(event.keyCode==13) myForm.submit()">搜索</button>
|
||||
</span>
|
||||
</form>
|
||||
<div>
|
||||
<table class="table table-hover table-striped table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<!-- <th>编号</th> -->
|
||||
<th>学号</th>
|
||||
<th>姓名</th>
|
||||
<th>性别</th>
|
||||
<th>宿舍楼</th>
|
||||
<th>寝室</th>
|
||||
<th>电话</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach varStatus="i" var="student" items="${studentList }">
|
||||
<tr>
|
||||
<%-- <td>${i.count+(page-1)*pageSize }</td> --%>
|
||||
<td>${student.userName }</td>
|
||||
<td>${student.name }</td>
|
||||
<td>${student.sex }</td>
|
||||
<td>${student.dormBuildName==null?"无":student.dormBuildName }</td>
|
||||
<td>${student.dormName }</td>
|
||||
<td>${student.tel }</td>
|
||||
<td><button class="btn btn-mini btn-info" type="button" onclick="javascript:window.location='student?action=preSave&studentId=${student.studentId }'">修改</button>
|
||||
<button class="btn btn-mini btn-danger" type="button" onclick="studentDelete(${student.studentId })">删除</button></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div align="center"><font color="red">${error }</font></div>
|
||||
<%-- <div class="pagination pagination-centered">
|
||||
<ul>
|
||||
${pageCode }
|
||||
</ul>
|
||||
</div> --%>
|
||||
</div>
|
@ -0,0 +1,68 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
|
||||
<script type="text/javascript">
|
||||
function studentDelete(studentId) {
|
||||
if(confirm("您确定要删除这个学生吗?")) {
|
||||
window.location="student?action=delete&studentId="+studentId;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<div class="data_list">
|
||||
<div class="data_list_title">
|
||||
学生管理
|
||||
</div>
|
||||
<form name="myForm" class="form-search" method="post" action="student?action=search">
|
||||
<button class="btn btn-success" type="button" style="margin-right: 50px;" onclick="javascript:window.location='student?action=preSave'">添加</button>
|
||||
<span class="data_search">
|
||||
<select id="buildToSelect" name="buildToSelect" style="width: 110px;">
|
||||
<option value="">全部宿舍楼</option>
|
||||
<c:forEach var="dormBuild" items="${dormBuildList }">
|
||||
<option value="${dormBuild.dormBuildId }" ${buildToSelect==dormBuild.dormBuildId?'selected':'' }>${dormBuild.dormBuildName }</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
<select id="searchType" name="searchType" style="width: 80px;">
|
||||
<option value="name">姓名</option>
|
||||
<option value="number" ${searchType eq "number"?'selected':'' }>学号</option>
|
||||
<option value="dorm" ${searchType eq "dorm"?'selected':'' }>寝室</option>
|
||||
</select>
|
||||
<input id="s_studentText" name="s_studentText" type="text" style="width:120px;height: 30px;" class="input-medium search-query" value="${s_studentText }">
|
||||
<button type="submit" class="btn btn-info" onkeydown="if(event.keyCode==13) myForm.submit()">搜索</button>
|
||||
</span>
|
||||
</form>
|
||||
<div>
|
||||
<table class="table table-hover table-striped table-bordered">
|
||||
<tr>
|
||||
<th>编号</th>
|
||||
<th>学号</th>
|
||||
<th>姓名</th>
|
||||
<th>性别</th>
|
||||
<th>宿舍楼</th>
|
||||
<th>寝室</th>
|
||||
<th>电话</th>
|
||||
<th width="15%">操作</th>
|
||||
</tr>
|
||||
<c:forEach varStatus="i" var="student" items="${studentList }">
|
||||
<tr>
|
||||
<td>${i.count+(page-1)*pageSize }</td>
|
||||
<td>${student.userName }</td>
|
||||
<td>${student.name }</td>
|
||||
<td>${student.sex }</td>
|
||||
<td>${student.dormBuildName==null?"无":student.dormBuildName }</td>
|
||||
<td>${student.dormName }</td>
|
||||
<td>${student.tel }</td>
|
||||
<td><button class="btn btn-mini btn-info" type="button" onclick="javascript:window.location='student?action=preSave&studentId=${student.studentId }'">修改</button>
|
||||
<button class="btn btn-mini btn-info" type="button" onclick="javascript:window.location='student?action=record&studentId=${student.studentId }'">缺勤记录</button>
|
||||
<button class="btn btn-mini btn-danger" type="button" onclick="studentDelete(${student.studentId })">删除</button></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</table>
|
||||
</div>
|
||||
<div align="center"><font color="red">${error }</font></div>
|
||||
<div class="pagination pagination-centered">
|
||||
<ul>
|
||||
${pageCode }
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,97 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<script type="text/javascript">
|
||||
function checkForm(){
|
||||
var userName=document.getElementById("userName").value;
|
||||
var password=document.getElementById("password").value;
|
||||
var rPassword=document.getElementById("rPassword").value;
|
||||
var dormBuildId=document.getElementById("dormBuildId").value;
|
||||
var dormName=document.getElementById("dormName").value;
|
||||
var name=document.getElementById("name").value;
|
||||
var sex=document.getElementById("sex").value;
|
||||
var tel=document.getElementById("tel").value;
|
||||
if(userName==""||password==""||rPassword==""||name==""||sex==""||tel==""||dormBuildId==""||dormName==""){
|
||||
document.getElementById("error").innerHTML="信息填写不完整!";
|
||||
return false;
|
||||
} else if(password!=rPassword){
|
||||
document.getElementById("error").innerHTML="密码填写不一致!";
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
$("ul li:eq(2)").addClass("active");
|
||||
});
|
||||
</script>
|
||||
<div class="data_list">
|
||||
<div class="data_list_title">
|
||||
<c:choose>
|
||||
<c:when test="${student.studentId!=null }">
|
||||
修改学生信息
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
添加学生
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</div>
|
||||
<form action="student?action=save" method="post" onsubmit="return checkForm()">
|
||||
<div class="data_form" >
|
||||
<input type="hidden" id="studentId" name="studentId" value="${student.studentId }"/>
|
||||
<table align="center">
|
||||
<tr>
|
||||
<td><font color="red">*</font>学号:</td>
|
||||
<td><input type="text" id="userName" name="userName" value="${student.userName }" style="margin-top:5px;height:30px;" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><font color="red">*</font>密码:</td>
|
||||
<td><input type="password" id="password" name="password" value="${student.password }" style="margin-top:5px;height:30px;" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><font color="red">*</font>重复密码:</td>
|
||||
<td><input type="password" id="rPassword" name="rPassword" value="${student.password }" style="margin-top:5px;height:30px;" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><font color="red">*</font>姓名:</td>
|
||||
<td><input type="text" id="name" name="name" value="${student.name }" style="margin-top:5px;height:30px;" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><font color="red">*</font>性别:</td>
|
||||
<td>
|
||||
<select id="sex" name="sex" style="width: 90px;">
|
||||
<option value="">请选择...</option>
|
||||
<option value="男" ${student.sex eq "男"?'selected':'' }>男</option>
|
||||
<option value="女" ${student.sex eq "女"?'selected':'' }>女</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><font color="red">*</font>宿舍楼:</td>
|
||||
<td>
|
||||
<select id="dormBuildId" name="dormBuildId" style="width: 90px;">
|
||||
<c:forEach var="dormBuild" items="${dormBuildList }">
|
||||
<option value="${dormBuild.dormBuildId }" ${student.dormBuildId==dormBuild.dormBuildId?'selected':'' }>${dormBuild.dormBuildName }</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><font color="red">*</font>寝室:</td>
|
||||
<td><input type="text" id="dormName" name="dormName" value="${student.dormName }" style="margin-top:5px;height:30px;" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><font color="red">*</font>联系电话:</td>
|
||||
<td><input type="text" id="tel" name="tel" value="${student.tel }" style="margin-top:5px;height:30px;" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div align="center">
|
||||
<input type="submit" class="btn btn-primary" value="保存"/>
|
||||
<button class="btn btn-primary" type="button" onclick="javascript:window.location='student'">返回</button>
|
||||
</div>
|
||||
<div align="center">
|
||||
<font id="error" color="red">${error }</font>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
@ -0,0 +1,22 @@
|
||||
# Auto detect text files and perform LF normalization
|
||||
* text=auto
|
||||
|
||||
# Custom for Visual Studio
|
||||
*.cs diff=csharp
|
||||
*.sln merge=union
|
||||
*.csproj merge=union
|
||||
*.vbproj merge=union
|
||||
*.fsproj merge=union
|
||||
*.dbproj merge=union
|
||||
|
||||
# Standard to msysgit
|
||||
*.doc diff=astextplain
|
||||
*.DOC diff=astextplain
|
||||
*.docx diff=astextplain
|
||||
*.DOCX diff=astextplain
|
||||
*.dot diff=astextplain
|
||||
*.DOT diff=astextplain
|
||||
*.pdf diff=astextplain
|
||||
*.PDF diff=astextplain
|
||||
*.rtf diff=astextplain
|
||||
*.RTF diff=astextplain
|
@ -0,0 +1,4 @@
|
||||
# PHP Storm
|
||||
.idea
|
||||
*.iml
|
||||
atlassian-ide-plugin.xml
|
@ -0,0 +1,4 @@
|
||||
before_script:
|
||||
- cd ./tests
|
||||
- echo "new Date().toString();" | phantomjs
|
||||
script: phantomjs run-qunit.js tests.html
|
@ -0,0 +1,201 @@
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2012 Sebastien MALOT
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
@ -0,0 +1,557 @@
|
||||
# Project : bootstrap-datetimepicker
|
||||
======================================
|
||||
|
||||
[](https://travis-ci.org/smalot/bootstrap-datetimepicker)
|
||||
|
||||
[Homepage](http://www.malot.fr/bootstrap-datetimepicker/)
|
||||
|
||||
[Demo page](http://www.malot.fr/bootstrap-datetimepicker/demo.php)
|
||||
|
||||
# Project forked
|
||||
|
||||
This project is a fork of [bootstrap-datepicker project](https://github.com/eternicode/bootstrap-datepicker).
|
||||
|
||||
|
||||
# Home
|
||||
|
||||
As 'bootstrap-datepicker' is restricted to the date scope (day, month, year), this project aims to support too the time picking (hour, minutes).
|
||||
|
||||
|
||||
# Screenshots
|
||||
|
||||
## Decade year view
|
||||
|
||||

|
||||
|
||||
This view allows to select the day in the selected month.
|
||||
|
||||
## Year view
|
||||
|
||||

|
||||
|
||||
This view allows to select the month in the selected year.
|
||||
|
||||
## Month view
|
||||
|
||||

|
||||
|
||||
This view allows to select the year in a range of 10 years.
|
||||
|
||||
## Day view
|
||||
|
||||

|
||||
|
||||
This view allows to select the hour in the selected day.
|
||||
|
||||
## Hour view
|
||||
|
||||

|
||||
|
||||
This view allows to select the preset of minutes in the selected hour.
|
||||
The range of 5 minutes (by default) has been selected to restrict buttons quantity to an acceptable value, but it can be overrided by the <code>minuteStep</code> property.
|
||||
|
||||
## Day view - meridian
|
||||
|
||||

|
||||
|
||||
Meridian is supported in both the day and hour views.
|
||||
To use it, just enable the <code>showMeridian</code> property.
|
||||
|
||||
## Hour view - meridian
|
||||
|
||||

|
||||
|
||||
# Example
|
||||
|
||||
Attached to a field with the format specified via options:
|
||||
|
||||
```html
|
||||
<input type="text" value="2012-05-15 21:05" id="datetimepicker">
|
||||
```
|
||||
```javascript
|
||||
$('#datetimepicker').datetimepicker({
|
||||
format: 'yyyy-mm-dd hh:ii'
|
||||
});
|
||||
```
|
||||
|
||||
Attached to a field with the format specified via markup:
|
||||
|
||||
```html
|
||||
<input type="text" value="2012-05-15 21:05" id="datetimepicker" data-date-format="yyyy-mm-dd hh:ii">
|
||||
```
|
||||
```javascript
|
||||
$('#datetimepicker').datetimepicker();
|
||||
```
|
||||
|
||||
As component:
|
||||
|
||||
```html
|
||||
<div class="input-append date" id="datetimepicker" data-date="12-02-2012" data-date-format="dd-mm-yyyy">
|
||||
<input size="16" type="text" value="12-02-2012" readonly>
|
||||
<span class="add-on"><i class="icon-th"></i></span>
|
||||
</div>
|
||||
```
|
||||
```javascript
|
||||
$('#datetimepicker').datetimepicker();
|
||||
```
|
||||
|
||||
As inline datetimepicker:
|
||||
|
||||
```html
|
||||
<div id="datetimepicker"></div>
|
||||
```
|
||||
```javascript
|
||||
$('#datetimepicker').datetimepicker();
|
||||
```
|
||||
|
||||
# Using bootstrap-datetimepicker.js
|
||||
|
||||
Call the datetimepicker via javascript:
|
||||
|
||||
```javascript
|
||||
$('.datetimepicker').datetimepicker()
|
||||
```
|
||||
|
||||
## Dependencies
|
||||
|
||||
Requires bootstrap's dropdown component (`dropdowns.less`) for some styles, and bootstrap's sprites (`sprites.less` and associated images) for arrows.
|
||||
|
||||
A standalone .css file (including necessary dropdown styles and alternative, text-based arrows) can be generated by running `build/build_standalone.less` through the `lessc` compiler:
|
||||
|
||||
```bash
|
||||
$ lessc build/build_standalone.less datetimepicker.css
|
||||
```
|
||||
|
||||
## Options
|
||||
|
||||
All options that take a "Date" can handle a `Date` object; a String formatted according to the given `format`; or a timedelta relative to today, eg '-1d', '+6m +1y', etc, where valid units are 'd' (day), 'w' (week), 'm' (month), and 'y' (year).
|
||||
|
||||
You can also specify an ISO-8601 valid datetime, despite of the given `format` :
|
||||
* yyyy-mm-dd
|
||||
* yyyy-mm-dd hh:ii
|
||||
* yyyy-mm-ddThh:ii
|
||||
* yyyy-mm-dd hh:ii:ss
|
||||
* yyyy-mm-ddThh:ii:ssZ
|
||||
|
||||
### format
|
||||
|
||||
String. Default: 'mm/dd/yyyy'
|
||||
|
||||
The date format, combination of p, P, h, hh, i, ii, s, ss, d, dd, m, mm, M, MM, yy, yyyy.
|
||||
|
||||
* p : meridian in lower case ('am' or 'pm') - according to locale file
|
||||
* P : meridian in upper case ('AM' or 'PM') - according to locale file
|
||||
* s : seconds without leading zeros
|
||||
* ss : seconds, 2 digits with leading zeros
|
||||
* i : minutes without leading zeros
|
||||
* ii : minutes, 2 digits with leading zeros
|
||||
* h : hour without leading zeros - 24-hour format
|
||||
* hh : hour, 2 digits with leading zeros - 24-hour format
|
||||
* H : hour without leading zeros - 12-hour format
|
||||
* HH : hour, 2 digits with leading zeros - 12-hour format
|
||||
* d : day of the month without leading zeros
|
||||
* dd : day of the month, 2 digits with leading zeros
|
||||
* m : numeric representation of month without leading zeros
|
||||
* mm : numeric representation of the month, 2 digits with leading zeros
|
||||
* M : short textual representation of a month, three letters
|
||||
* MM : full textual representation of a month, such as January or March
|
||||
* yy : two digit representation of a year
|
||||
* yyyy : full numeric representation of a year, 4 digits
|
||||
|
||||
### weekStart
|
||||
|
||||
Integer. Default: 0
|
||||
|
||||
Day of the week start. 0 (Sunday) to 6 (Saturday)
|
||||
|
||||
### startDate
|
||||
|
||||
Date. Default: Beginning of time
|
||||
|
||||
The earliest date that may be selected; all earlier dates will be disabled.
|
||||
|
||||
### endDate
|
||||
|
||||
Date. Default: End of time
|
||||
|
||||
The latest date that may be selected; all later dates will be disabled.
|
||||
|
||||
### daysOfWeekDisabled
|
||||
|
||||
String, Array. Default: '', []
|
||||
|
||||
Days of the week that should be disabled. Values are 0 (Sunday) to 6 (Saturday). Multiple values should be comma-separated. Example: disable weekends: `'0,6'` or `[0,6]`.
|
||||
|
||||
### autoclose
|
||||
|
||||
Boolean. Default: false
|
||||
|
||||
Whether or not to close the datetimepicker immediately when a date is selected.
|
||||
|
||||
### startView
|
||||
|
||||
Number, String. Default: 2, 'month'
|
||||
|
||||
The view that the datetimepicker should show when it is opened.
|
||||
Accepts values of :
|
||||
* 0 or 'hour' for the hour view
|
||||
* 1 or 'day' for the day view
|
||||
* 2 or 'month' for month view (the default)
|
||||
* 3 or 'year' for the 12-month overview
|
||||
* 4 or 'decade' for the 10-year overview. Useful for date-of-birth datetimepickers.
|
||||
|
||||
### minView
|
||||
|
||||
Number, String. Default: 0, 'hour'
|
||||
|
||||
The lowest view that the datetimepicker should show.
|
||||
|
||||
### maxView
|
||||
|
||||
Number, String. Default: 4, 'decade'
|
||||
|
||||
The highest view that the datetimepicker should show.
|
||||
|
||||
### todayBtn
|
||||
|
||||
Boolean, "linked". Default: false
|
||||
|
||||
If true or "linked", displays a "Today" button at the bottom of the datetimepicker to select the current date. If true, the "Today" button will only move the current date into view; if "linked", the current date will also be selected.
|
||||
|
||||
### todayHighlight
|
||||
|
||||
Boolean. Default: false
|
||||
|
||||
If true, highlights the current date.
|
||||
|
||||
### keyboardNavigation
|
||||
|
||||
Boolean. Default: true
|
||||
|
||||
Whether or not to allow date navigation by arrow keys.
|
||||
|
||||
### language
|
||||
|
||||
String. Default: 'en'
|
||||
|
||||
The two-letter code of the language to use for month and day names. These will also be used as the input's value (and subsequently sent to the server in the case of form submissions). Currently ships with English ('en'), German ('de'), Brazilian ('br'), and Spanish ('es') translations, but others can be added (see I18N below). If an unknown language code is given, English will be used.
|
||||
|
||||
### forceParse
|
||||
|
||||
Boolean. Default: true
|
||||
|
||||
Whether or not to force parsing of the input value when the picker is closed. That is, when an invalid date is left in the input field by the user, the picker will forcibly parse that value, and set the input's value to the new, valid date, conforming to the given `format`.
|
||||
|
||||
### minuteStep
|
||||
|
||||
Number. Default: 5
|
||||
|
||||
The increment used to build the hour view. A button is created for each <code>minuteStep</code> minutes.
|
||||
|
||||
### pickerReferer : deprecated
|
||||
|
||||
String. Default: 'default'
|
||||
|
||||
The referer element to place the picker for the component implementation. If you want to place the picker just under the input field, just specify <code>input</code>.
|
||||
|
||||
### pickerPosition
|
||||
|
||||
String. Default: 'bottom-right' (supported values are: 'bottom-right', 'bottom-left', 'top-right', 'top-left')
|
||||
|
||||
This option allows to place the picker just under the input field for the component implementation instead of the default position which is at the bottom right of the button.
|
||||
|
||||
### viewSelect
|
||||
|
||||
Number or String. Default: <code>same as minView</code> (supported values are: 'decade', 'year', 'month', 'day', 'hour')
|
||||
|
||||
With this option you can select the view from which the date will be selected. By default it's the last one, however you can choose the first one, so at each click the date will be updated.
|
||||
|
||||
### showMeridian
|
||||
|
||||
Boolean. Default: false
|
||||
|
||||
This option will enable meridian views for day and hour views.
|
||||
|
||||
### initialDate
|
||||
|
||||
Date or String. Default: new Date()
|
||||
|
||||
You can initialize the viewer with a date. By default it's now, so you can specify yesterday or today at midnight ...
|
||||
|
||||
### onRender
|
||||
|
||||
This event is fired when a day is rendered inside the datepicker. Should return a string. Return 'disabled' to disable the day from being selected.
|
||||
|
||||
```javascript
|
||||
$('#date-end')
|
||||
.datetimepicker({
|
||||
onRender: function(date) {
|
||||
return ev.date.valueOf() < date-start-display.valueOf() ? ' disabled' : '';
|
||||
}
|
||||
});
|
||||
```
|
||||
|
||||
## Markup
|
||||
|
||||
Format as component.
|
||||
|
||||
```html
|
||||
<div class="input-append date" id="datetimepicker" data-date="12-02-2012" data-date-format="dd-mm-yyyy">
|
||||
<input class="span2" size="16" type="text" value="12-02-2012">
|
||||
<span class="add-on"><i class="icon-th"></i></span>
|
||||
</div>
|
||||
```
|
||||
|
||||
Format as component with reset button to clear the input field.
|
||||
|
||||
```html
|
||||
<div class="input-append date" id="datetimepicker" data-date="12-02-2012" data-date-format="dd-mm-yyyy">
|
||||
<input class="span2" size="16" type="text" value="12-02-2012">
|
||||
<span class="add-on"><i class="icon-remove"></i></span>
|
||||
<span class="add-on"><i class="icon-th"></i></span>
|
||||
</div>
|
||||
```
|
||||
|
||||
## Methods
|
||||
|
||||
### .datetimepicker(options)
|
||||
|
||||
Initializes an datetimepicker.
|
||||
|
||||
### remove
|
||||
|
||||
Arguments: None
|
||||
|
||||
Remove the datetimepicker. Removes attached events, internal attached objects, and
|
||||
added HTML elements.
|
||||
|
||||
$('#datetimepicker').datetimepicker('remove');
|
||||
|
||||
### show
|
||||
|
||||
Arguments: None
|
||||
|
||||
Show the datetimepicker.
|
||||
|
||||
```javascript
|
||||
$('#datetimepicker').datetimepicker('show');
|
||||
```
|
||||
|
||||
### hide
|
||||
|
||||
Arguments: None
|
||||
|
||||
Hide the datetimepicker.
|
||||
|
||||
```javascript
|
||||
$('#datetimepicker').datetimepicker('hide');
|
||||
```
|
||||
|
||||
### update
|
||||
|
||||
Arguments:
|
||||
|
||||
* currentDate (Date).
|
||||
|
||||
Update the datetimepicker with the specified date.
|
||||
|
||||
```javascript
|
||||
$('#datetimepicker').datetimepicker('update', new Date());
|
||||
```
|
||||
|
||||
Omit currentDate to update the datetimepicker with the current input value.
|
||||
|
||||
```javascript
|
||||
$('#datetimepicker').datetimepicker('update');
|
||||
```
|
||||
|
||||
### setStartDate
|
||||
|
||||
Arguments:
|
||||
|
||||
* startDate (String)
|
||||
|
||||
Sets a new lower date limit on the datetimepicker.
|
||||
|
||||
```javascript
|
||||
$('#datetimepicker').datetimepicker('setStartDate', '2012-01-01');
|
||||
```
|
||||
|
||||
Omit startDate (or provide an otherwise falsey value) to unset the limit.
|
||||
|
||||
```javascript
|
||||
$('#datetimepicker').datetimepicker('setStartDate');
|
||||
$('#datetimepicker').datetimepicker('setStartDate', null);
|
||||
```
|
||||
|
||||
### setEndDate
|
||||
|
||||
Arguments:
|
||||
|
||||
* endDate (String)
|
||||
|
||||
Sets a new upper date limit on the datetimepicker.
|
||||
|
||||
```javascript
|
||||
$('#datetimepicker').datetimepicker('setEndDate', '2012-12-31');
|
||||
```
|
||||
|
||||
Omit endDate (or provide an otherwise falsey value) to unset the limit.
|
||||
|
||||
```javascript
|
||||
$('#datetimepicker').datetimepicker('setEndDate');
|
||||
$('#datetimepicker').datetimepicker('setEndDate', null);
|
||||
```
|
||||
|
||||
### setDaysOfWeekDisabled
|
||||
|
||||
Arguments:
|
||||
|
||||
* daysOfWeekDisabled (String|Array)
|
||||
|
||||
Sets the days of week that should be disabled.
|
||||
|
||||
```javascript
|
||||
$('#datetimepicker').datetimepicker('setDaysOfWeekDisabled', [0,6]);
|
||||
```
|
||||
|
||||
Omit daysOfWeekDisabled (or provide an otherwise falsey value) to unset the disabled days.
|
||||
|
||||
```javascript
|
||||
$('#datetimepicker').datetimepicker('setDaysOfWeekDisabled');
|
||||
$('#datetimepicker').datetimepicker('setDaysOfWeekDisabled', null);
|
||||
```
|
||||
|
||||
## Events
|
||||
|
||||
Datetimepicker class exposes a few events for manipulating the dates.
|
||||
|
||||
### show
|
||||
|
||||
Fired when the date picker is displayed.
|
||||
|
||||
### hide
|
||||
|
||||
Fired when the date picker is hidden.
|
||||
|
||||
### changeDate
|
||||
|
||||
Fired when the date is changed.
|
||||
|
||||
```javascript
|
||||
$('#date-end')
|
||||
.datetimepicker()
|
||||
.on('changeDate', function(ev){
|
||||
if (ev.date.valueOf() < date-start-display.valueOf()){
|
||||
....
|
||||
}
|
||||
});
|
||||
```
|
||||
|
||||
### changeYear
|
||||
|
||||
Fired when the *view* year is changed from decade view.
|
||||
|
||||
### changeMonth
|
||||
|
||||
Fired when the *view* month is changed from year view.
|
||||
|
||||
### outOfRange
|
||||
|
||||
Fired when you pick a date before the *startDate* or after the *endDate* or when you specify a date via the method *setDate* or *setUTCDate*..
|
||||
|
||||
### next:* / prev:*
|
||||
|
||||
Fired when you click the *next* or *previous* arrows. Supports all the differnt view modes ('year', 'month', 'day', 'hour'). For example allows you to bind a callback to 'next:month' or 'prev:month' action.
|
||||
|
||||
## Keyboard support
|
||||
|
||||
The datetimepicker includes some keyboard navigation:
|
||||
|
||||
|
||||
|
||||
### up, down, left, right arrow keys
|
||||
|
||||
By themselves, left/right will move backward/forward one day, up/down will move back/forward one week.
|
||||
|
||||
With the shift key, up/left will move backward one month, down/right will move forward one month.
|
||||
|
||||
With the ctrl key, up/left will move backward one year, down/right will move forward oone year.
|
||||
|
||||
Shift+ctrl behaves the same as ctrl -- that is, it does not change both month and year simultaneously, only the year.
|
||||
|
||||
### escape
|
||||
|
||||
The escape key can be used to hide and re-show the datetimepicker; this is necessary if the user wants to manually edit the value.
|
||||
|
||||
### enter
|
||||
|
||||
When the picker is visible, enter will simply hide it. When the picker is not visible, enter will have normal effects -- submitting the current form, etc.
|
||||
|
||||
## Mouse Wheel View Navigation
|
||||
|
||||
In order to make this plugin easier to set different part of date time, mouse wheel has been used to navigate through different views. Scroll up your mouse wheel to navigate to the decade year view. Scroll down will lead to the minute view.
|
||||
|
||||
### Dependency
|
||||
|
||||
To enalbe this feature. [jQuery Mouse Wheel Plugin](https://github.com/brandonaaron/jquery-mousewheel) must be included before using this feature.
|
||||
|
||||
### Options
|
||||
|
||||
#### wheelViewModeNavigation
|
||||
|
||||
Boolean. Default: false
|
||||
|
||||
Whether or not to enable navigating through different view mode using mouse wheel.
|
||||
|
||||
#### wheelViewModeNavigationInverseDirection
|
||||
|
||||
Boolean. Default: false
|
||||
|
||||
Whether or not to reverse the direction of scrolling. Default is scroll up to the decade view.
|
||||
|
||||
#### wheelViewModeNavigationDelay
|
||||
|
||||
Integer. Default: 100
|
||||
|
||||
Time delays between the next respond to the wheel command, it controls the speed between switching in different views. Unit is in million seconds.
|
||||
|
||||
#### About viewSelect option
|
||||
|
||||
The recommended value for viewSelect option is 4 when this feature is enable. That means you can easily update any the value in every view. This option value is applied in the demo page.
|
||||
|
||||
### Feature Demo
|
||||
|
||||
A simple [Demo](http://lyonlai.github.io/bootstrap-datetimepicker/demo.html) page is given to show it's simple idea.
|
||||
|
||||
## I18N
|
||||
|
||||
The plugin supports i18n for the month and weekday names and the `weekStart` option. The default is English ('en'); other available translations are avilable in the `js/locales/` directory, simply include your desired locale after the plugin. To add more languages, simply add a key to `$.fn.datetimepicker.dates`, before calling `.datetimepicker()`. Example:
|
||||
|
||||
```javascript
|
||||
$.fn.datetimepicker.dates['en'] = {
|
||||
days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"],
|
||||
daysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
|
||||
daysMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa", "Su"],
|
||||
months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
||||
today: "Today"
|
||||
};
|
||||
```
|
||||
|
||||
You can override the default date format in the language configuration with `format` attribute.
|
||||
Example:
|
||||
|
||||
```javascript
|
||||
$.fn.datetimepicker.dates['pt-BR'] = {
|
||||
format: 'dd/mm/yyyy'
|
||||
};
|
||||
```
|
||||
|
||||
Right-to-left languages may also include `rtl: true` to make the calendar display appropriately.
|
||||
|
||||
If your browser (or those of your users) is displaying characters wrong, chances are the browser is loading the javascript file with a non-unicode encoding. Simply add `charset="UTF-8"` to your `script` tag:
|
||||
|
||||
```html
|
||||
<script type="text/javascript" src="bootstrap-datetimepicker.de.js" charset="UTF-8"></script>
|
||||
```
|
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "smalot-bootstrap-datetimepicker",
|
||||
"version": "2.3.0",
|
||||
"main": ["js/bootstrap-datetimepicker.min.js", "css/bootstrap-datetimepicker.min.css"],
|
||||
"ignore": [
|
||||
"build",
|
||||
"sample in bootstrap v2",
|
||||
"sample in bootstrap v3",
|
||||
"screenshot",
|
||||
"tests",
|
||||
".gitattributes",
|
||||
".gitignore",
|
||||
".travis.yml",
|
||||
"minify.sh"
|
||||
]
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
// Datepicker .less buildfile. Includes select mixins/variables from bootstrap
|
||||
// and imports the included datepicker.less to output a minimal datepicker.css
|
||||
//
|
||||
// Usage:
|
||||
// lessc build.less datepicker.css
|
||||
//
|
||||
// Variables and mixins copied from bootstrap 2.0.2
|
||||
|
||||
// Variables
|
||||
@grayLight: #999;
|
||||
@grayLighter: #eee;
|
||||
@white: #fff;
|
||||
@linkColor: #08c;
|
||||
@btnPrimaryBackground: @linkColor;
|
||||
@orange: #f89406;
|
||||
|
||||
// Mixins
|
||||
|
||||
// Border Radius
|
||||
.border-radius(@radius: 5px) {
|
||||
-webkit-border-radius: @radius;
|
||||
-moz-border-radius: @radius;
|
||||
border-radius: @radius;
|
||||
}
|
||||
|
||||
// Button backgrounds
|
||||
.buttonBackground(@startColor, @endColor) {
|
||||
.gradientBar(@startColor, @endColor);
|
||||
.reset-filter();
|
||||
&:hover, &:active, &.active, &.disabled, &[disabled] {
|
||||
background-color: @endColor;
|
||||
}
|
||||
&:active,
|
||||
&.active {
|
||||
background-color: darken(@endColor, 10%) e("\9");
|
||||
}
|
||||
}
|
||||
|
||||
// Reset filters for IE
|
||||
.reset-filter() {
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
}
|
||||
|
||||
// Gradient Bar Colors for buttons and alerts
|
||||
.gradientBar(@primaryColor, @secondaryColor) {
|
||||
#gradient > .vertical(@primaryColor, @secondaryColor);
|
||||
border-color: @secondaryColor @secondaryColor darken(@secondaryColor, 15%);
|
||||
border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) fadein(rgba(0,0,0,.1), 15%);
|
||||
}
|
||||
|
||||
// Gradients
|
||||
#gradient {
|
||||
.vertical(@startColor: #555, @endColor: #333) {
|
||||
background-color: mix(@startColor, @endColor, 60%);
|
||||
background-image: -moz-linear-gradient(top, @startColor, @endColor); // FF 3.6+
|
||||
background-image: -ms-linear-gradient(top, @startColor, @endColor); // IE10
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), to(@endColor)); // Safari 4+, Chrome 2+
|
||||
background-image: -webkit-linear-gradient(top, @startColor, @endColor); // Safari 5.1+, Chrome 10+
|
||||
background-image: -o-linear-gradient(top, @startColor, @endColor); // Opera 11.10
|
||||
background-image: linear-gradient(top, @startColor, @endColor); // The standard
|
||||
background-repeat: repeat-x;
|
||||
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@startColor,@endColor)); // IE9 and down
|
||||
}
|
||||
}
|
||||
|
||||
@import "../less/datetimepicker.less";
|
@ -0,0 +1,69 @@
|
||||
// Datepicker standalone .less buildfile. Includes all necessary mixins/variables/rules from bootstrap
|
||||
// and imports the included datepicker.less to output a minimal standalone datepicker.css
|
||||
//
|
||||
// Usage:
|
||||
// lessc build_standalone.less datepicker.css
|
||||
//
|
||||
// Variables, mixins, and rules copied from bootstrap 2.0.2
|
||||
|
||||
@import "build.less";
|
||||
|
||||
// Dropdown css
|
||||
|
||||
@zindexDropdown: 1000;
|
||||
@grayDark: #333;
|
||||
@baseLineHeight: 18px;
|
||||
@tableBackground: transparent; // overall background-color
|
||||
@dropdownBackground: @white;
|
||||
@dropdownBorder: rgba(0,0,0,.2);
|
||||
@dropdownLinkColor: @grayDark;
|
||||
@dropdownLinkColorHover: @white;
|
||||
@dropdownLinkBackgroundHover: @linkColor;
|
||||
|
||||
// Drop shadows
|
||||
.box-shadow(@shadow) {
|
||||
-webkit-box-shadow: @shadow;
|
||||
-moz-box-shadow: @shadow;
|
||||
box-shadow: @shadow;
|
||||
}
|
||||
|
||||
// The dropdown menu (ul)
|
||||
// ----------------------
|
||||
.datepicker.dropdown-menu {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
z-index: @zindexDropdown;
|
||||
float: left;
|
||||
display: none; // none by default, but block on "open" of the menu
|
||||
min-width: 160px;
|
||||
list-style: none;
|
||||
background-color: @dropdownBackground;
|
||||
border: 1px solid #ccc;
|
||||
border: 1px solid rgba(0,0,0,.2);
|
||||
.border-radius(5px);
|
||||
.box-shadow(0 5px 10px rgba(0,0,0,.2));
|
||||
-webkit-background-clip: padding-box;
|
||||
-moz-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
*border-right-width: 2px;
|
||||
*border-bottom-width: 2px;
|
||||
|
||||
// Normally inherited from bootstrap's `body`
|
||||
color: #333333;
|
||||
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
font-size:13px;
|
||||
line-height: @baseLineHeight;
|
||||
|
||||
th, td {
|
||||
padding: 4px 5px;
|
||||
}
|
||||
}
|
||||
|
||||
// Alternative arrows
|
||||
// May require `charset="UTF-8"` in your `<link>` tag
|
||||
.datepicker {
|
||||
.prev, .next {font-style:normal;}
|
||||
.prev:after {content:"«";}
|
||||
.next:after {content:"»";}
|
||||
}
|
@ -0,0 +1,418 @@
|
||||
/*!
|
||||
* Datetimepicker for Bootstrap
|
||||
*
|
||||
* Copyright 2012 Stefan Petre
|
||||
* Improvements by Andrew Rowls
|
||||
* Licensed under the Apache License v2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*/
|
||||
.datetimepicker {
|
||||
padding: 4px;
|
||||
margin-top: 1px;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.datetimepicker-inline {
|
||||
width: 220px;
|
||||
}
|
||||
|
||||
.datetimepicker.datetimepicker-rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
.datetimepicker.datetimepicker-rtl table tr td span {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.datetimepicker-dropdown, .datetimepicker-dropdown-left {
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
[class*=" datetimepicker-dropdown"]:before {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
border-left: 7px solid transparent;
|
||||
border-right: 7px solid transparent;
|
||||
border-bottom: 7px solid #cccccc;
|
||||
border-bottom-color: rgba(0, 0, 0, 0.2);
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
[class*=" datetimepicker-dropdown"]:after {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
border-left: 6px solid transparent;
|
||||
border-right: 6px solid transparent;
|
||||
border-bottom: 6px solid #ffffff;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
[class*=" datetimepicker-dropdown-top"]:before {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
border-left: 7px solid transparent;
|
||||
border-right: 7px solid transparent;
|
||||
border-top: 7px solid #cccccc;
|
||||
border-top-color: rgba(0, 0, 0, 0.2);
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
[class*=" datetimepicker-dropdown-top"]:after {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
border-left: 6px solid transparent;
|
||||
border-right: 6px solid transparent;
|
||||
border-top: 6px solid #ffffff;
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.datetimepicker-dropdown-bottom-left:before {
|
||||
top: -7px;
|
||||
right: 6px;
|
||||
}
|
||||
|
||||
.datetimepicker-dropdown-bottom-left:after {
|
||||
top: -6px;
|
||||
right: 7px;
|
||||
}
|
||||
|
||||
.datetimepicker-dropdown-bottom-right:before {
|
||||
top: -7px;
|
||||
left: 6px;
|
||||
}
|
||||
|
||||
.datetimepicker-dropdown-bottom-right:after {
|
||||
top: -6px;
|
||||
left: 7px;
|
||||
}
|
||||
|
||||
.datetimepicker-dropdown-top-left:before {
|
||||
bottom: -7px;
|
||||
right: 6px;
|
||||
}
|
||||
|
||||
.datetimepicker-dropdown-top-left:after {
|
||||
bottom: -6px;
|
||||
right: 7px;
|
||||
}
|
||||
|
||||
.datetimepicker-dropdown-top-right:before {
|
||||
bottom: -7px;
|
||||
left: 6px;
|
||||
}
|
||||
|
||||
.datetimepicker-dropdown-top-right:after {
|
||||
bottom: -6px;
|
||||
left: 7px;
|
||||
}
|
||||
|
||||
.datetimepicker > div {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.datetimepicker.minutes div.datetimepicker-minutes {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.datetimepicker.hours div.datetimepicker-hours {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.datetimepicker.days div.datetimepicker-days {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.datetimepicker.months div.datetimepicker-months {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.datetimepicker.years div.datetimepicker-years {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.datetimepicker table {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.datetimepicker td,
|
||||
.datetimepicker th {
|
||||
text-align: center;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.table-striped .datetimepicker table tr td,
|
||||
.table-striped .datetimepicker table tr th {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.datetimepicker table tr td.minute:hover {
|
||||
background: #eeeeee;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.datetimepicker table tr td.hour:hover {
|
||||
background: #eeeeee;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.datetimepicker table tr td.day:hover {
|
||||
background: #eeeeee;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.datetimepicker table tr td.old,
|
||||
.datetimepicker table tr td.new {
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
.datetimepicker table tr td.disabled,
|
||||
.datetimepicker table tr td.disabled:hover {
|
||||
background: none;
|
||||
color: #999999;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.datetimepicker table tr td.today,
|
||||
.datetimepicker table tr td.today:hover,
|
||||
.datetimepicker table tr td.today.disabled,
|
||||
.datetimepicker table tr td.today.disabled:hover {
|
||||
background-color: #fde19a;
|
||||
background-image: -moz-linear-gradient(top, #fdd49a, #fdf59a);
|
||||
background-image: -ms-linear-gradient(top, #fdd49a, #fdf59a);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fdd49a), to(#fdf59a));
|
||||
background-image: -webkit-linear-gradient(top, #fdd49a, #fdf59a);
|
||||
background-image: -o-linear-gradient(top, #fdd49a, #fdf59a);
|
||||
background-image: linear-gradient(top, #fdd49a, #fdf59a);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdd49a', endColorstr='#fdf59a', GradientType=0);
|
||||
border-color: #fdf59a #fdf59a #fbed50;
|
||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
||||
}
|
||||
|
||||
.datetimepicker table tr td.today:hover,
|
||||
.datetimepicker table tr td.today:hover:hover,
|
||||
.datetimepicker table tr td.today.disabled:hover,
|
||||
.datetimepicker table tr td.today.disabled:hover:hover,
|
||||
.datetimepicker table tr td.today:active,
|
||||
.datetimepicker table tr td.today:hover:active,
|
||||
.datetimepicker table tr td.today.disabled:active,
|
||||
.datetimepicker table tr td.today.disabled:hover:active,
|
||||
.datetimepicker table tr td.today.active,
|
||||
.datetimepicker table tr td.today:hover.active,
|
||||
.datetimepicker table tr td.today.disabled.active,
|
||||
.datetimepicker table tr td.today.disabled:hover.active,
|
||||
.datetimepicker table tr td.today.disabled,
|
||||
.datetimepicker table tr td.today:hover.disabled,
|
||||
.datetimepicker table tr td.today.disabled.disabled,
|
||||
.datetimepicker table tr td.today.disabled:hover.disabled,
|
||||
.datetimepicker table tr td.today[disabled],
|
||||
.datetimepicker table tr td.today:hover[disabled],
|
||||
.datetimepicker table tr td.today.disabled[disabled],
|
||||
.datetimepicker table tr td.today.disabled:hover[disabled] {
|
||||
background-color: #fdf59a;
|
||||
}
|
||||
|
||||
.datetimepicker table tr td.today:active,
|
||||
.datetimepicker table tr td.today:hover:active,
|
||||
.datetimepicker table tr td.today.disabled:active,
|
||||
.datetimepicker table tr td.today.disabled:hover:active,
|
||||
.datetimepicker table tr td.today.active,
|
||||
.datetimepicker table tr td.today:hover.active,
|
||||
.datetimepicker table tr td.today.disabled.active,
|
||||
.datetimepicker table tr td.today.disabled:hover.active {
|
||||
background-color: #fbf069;
|
||||
}
|
||||
|
||||
.datetimepicker table tr td.active,
|
||||
.datetimepicker table tr td.active:hover,
|
||||
.datetimepicker table tr td.active.disabled,
|
||||
.datetimepicker table tr td.active.disabled:hover {
|
||||
background-color: #006dcc;
|
||||
background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: -ms-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
|
||||
background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: -o-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: linear-gradient(top, #0088cc, #0044cc);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
|
||||
border-color: #0044cc #0044cc #002a80;
|
||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
||||
color: #ffffff;
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
.datetimepicker table tr td.active:hover,
|
||||
.datetimepicker table tr td.active:hover:hover,
|
||||
.datetimepicker table tr td.active.disabled:hover,
|
||||
.datetimepicker table tr td.active.disabled:hover:hover,
|
||||
.datetimepicker table tr td.active:active,
|
||||
.datetimepicker table tr td.active:hover:active,
|
||||
.datetimepicker table tr td.active.disabled:active,
|
||||
.datetimepicker table tr td.active.disabled:hover:active,
|
||||
.datetimepicker table tr td.active.active,
|
||||
.datetimepicker table tr td.active:hover.active,
|
||||
.datetimepicker table tr td.active.disabled.active,
|
||||
.datetimepicker table tr td.active.disabled:hover.active,
|
||||
.datetimepicker table tr td.active.disabled,
|
||||
.datetimepicker table tr td.active:hover.disabled,
|
||||
.datetimepicker table tr td.active.disabled.disabled,
|
||||
.datetimepicker table tr td.active.disabled:hover.disabled,
|
||||
.datetimepicker table tr td.active[disabled],
|
||||
.datetimepicker table tr td.active:hover[disabled],
|
||||
.datetimepicker table tr td.active.disabled[disabled],
|
||||
.datetimepicker table tr td.active.disabled:hover[disabled] {
|
||||
background-color: #0044cc;
|
||||
}
|
||||
|
||||
.datetimepicker table tr td.active:active,
|
||||
.datetimepicker table tr td.active:hover:active,
|
||||
.datetimepicker table tr td.active.disabled:active,
|
||||
.datetimepicker table tr td.active.disabled:hover:active,
|
||||
.datetimepicker table tr td.active.active,
|
||||
.datetimepicker table tr td.active:hover.active,
|
||||
.datetimepicker table tr td.active.disabled.active,
|
||||
.datetimepicker table tr td.active.disabled:hover.active {
|
||||
background-color: #003399;
|
||||
}
|
||||
|
||||
.datetimepicker table tr td span {
|
||||
display: block;
|
||||
width: 23%;
|
||||
height: 54px;
|
||||
line-height: 54px;
|
||||
float: left;
|
||||
margin: 1%;
|
||||
cursor: pointer;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.datetimepicker .datetimepicker-hours span {
|
||||
height: 26px;
|
||||
line-height: 26px;
|
||||
}
|
||||
|
||||
.datetimepicker .datetimepicker-hours table tr td span.hour_am,
|
||||
.datetimepicker .datetimepicker-hours table tr td span.hour_pm {
|
||||
width: 14.6%;
|
||||
}
|
||||
|
||||
.datetimepicker .datetimepicker-hours fieldset legend,
|
||||
.datetimepicker .datetimepicker-minutes fieldset legend {
|
||||
margin-bottom: inherit;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
.datetimepicker .datetimepicker-minutes span {
|
||||
height: 26px;
|
||||
line-height: 26px;
|
||||
}
|
||||
|
||||
.datetimepicker table tr td span:hover {
|
||||
background: #eeeeee;
|
||||
}
|
||||
|
||||
.datetimepicker table tr td span.disabled,
|
||||
.datetimepicker table tr td span.disabled:hover {
|
||||
background: none;
|
||||
color: #999999;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.datetimepicker table tr td span.active,
|
||||
.datetimepicker table tr td span.active:hover,
|
||||
.datetimepicker table tr td span.active.disabled,
|
||||
.datetimepicker table tr td span.active.disabled:hover {
|
||||
background-color: #006dcc;
|
||||
background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: -ms-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
|
||||
background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: -o-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: linear-gradient(top, #0088cc, #0044cc);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
|
||||
border-color: #0044cc #0044cc #002a80;
|
||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
||||
color: #ffffff;
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
.datetimepicker table tr td span.active:hover,
|
||||
.datetimepicker table tr td span.active:hover:hover,
|
||||
.datetimepicker table tr td span.active.disabled:hover,
|
||||
.datetimepicker table tr td span.active.disabled:hover:hover,
|
||||
.datetimepicker table tr td span.active:active,
|
||||
.datetimepicker table tr td span.active:hover:active,
|
||||
.datetimepicker table tr td span.active.disabled:active,
|
||||
.datetimepicker table tr td span.active.disabled:hover:active,
|
||||
.datetimepicker table tr td span.active.active,
|
||||
.datetimepicker table tr td span.active:hover.active,
|
||||
.datetimepicker table tr td span.active.disabled.active,
|
||||
.datetimepicker table tr td span.active.disabled:hover.active,
|
||||
.datetimepicker table tr td span.active.disabled,
|
||||
.datetimepicker table tr td span.active:hover.disabled,
|
||||
.datetimepicker table tr td span.active.disabled.disabled,
|
||||
.datetimepicker table tr td span.active.disabled:hover.disabled,
|
||||
.datetimepicker table tr td span.active[disabled],
|
||||
.datetimepicker table tr td span.active:hover[disabled],
|
||||
.datetimepicker table tr td span.active.disabled[disabled],
|
||||
.datetimepicker table tr td span.active.disabled:hover[disabled] {
|
||||
background-color: #0044cc;
|
||||
}
|
||||
|
||||
.datetimepicker table tr td span.active:active,
|
||||
.datetimepicker table tr td span.active:hover:active,
|
||||
.datetimepicker table tr td span.active.disabled:active,
|
||||
.datetimepicker table tr td span.active.disabled:hover:active,
|
||||
.datetimepicker table tr td span.active.active,
|
||||
.datetimepicker table tr td span.active:hover.active,
|
||||
.datetimepicker table tr td span.active.disabled.active,
|
||||
.datetimepicker table tr td span.active.disabled:hover.active {
|
||||
background-color: #003399;
|
||||
}
|
||||
|
||||
.datetimepicker table tr td span.old {
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
.datetimepicker th.switch {
|
||||
width: 145px;
|
||||
}
|
||||
|
||||
.datetimepicker th span.glyphicon {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.datetimepicker thead tr:first-child th,
|
||||
.datetimepicker tfoot tr:first-child th {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.datetimepicker thead tr:first-child th:hover,
|
||||
.datetimepicker tfoot tr:first-child th:hover {
|
||||
background: #eeeeee;
|
||||
}
|
||||
|
||||
.input-append.date .add-on i,
|
||||
.input-prepend.date .add-on i,
|
||||
.input-group.date .input-group-addon span {
|
||||
cursor: pointer;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Arabic translation for bootstrap-datetimepicker
|
||||
* Ala' Mohammad <amohammad@birzeit.ecu>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['ar'] = {
|
||||
days: ["الأحد", "الاثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت", "الأحد"],
|
||||
daysShort: ["أحد", "اثنين", "ثلاثاء", "أربعاء", "خميس", "جمعة", "سبت", "أحد"],
|
||||
daysMin: ["أح", "إث", "ث", "أر", "خ", "ج", "س", "أح"],
|
||||
months: ["يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو", "يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"],
|
||||
monthsShort: ["يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو", "يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"],
|
||||
today: "هذا اليوم",
|
||||
suffix: [],
|
||||
meridiem: [],
|
||||
rtl: true
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Catalan translation for bootstrap-datetimepicker
|
||||
* J. Garcia <jogaco.en@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['ca'] = {
|
||||
days: ["Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte", "Diumenge"],
|
||||
daysShort: ["Diu", "Dil", "Dmt", "Dmc", "Dij", "Div", "Dis", "Diu"],
|
||||
daysMin: ["dg", "dl", "dt", "dc", "dj", "dv", "ds", "dg"],
|
||||
months: ["Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"],
|
||||
monthsShort: ["Gen", "Feb", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Oct", "Nov", "Des"],
|
||||
today: "Avui",
|
||||
suffix: [],
|
||||
meridiem: []
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Czech translation for bootstrap-datetimepicker
|
||||
* Matěj Koubík <matej@koubik.name>
|
||||
* Fixes by Michal Remiš <michal.remis@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['cs'] = {
|
||||
days: ["Neděle", "Pondělí", "Úterý", "Středa", "Čtvrtek", "Pátek", "Sobota", "Neděle"],
|
||||
daysShort: ["Ned", "Pon", "Úte", "Stř", "Čtv", "Pát", "Sob", "Ned"],
|
||||
daysMin: ["Ne", "Po", "Út", "St", "Čt", "Pá", "So", "Ne"],
|
||||
months: ["Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec", "Srpen", "Září", "Říjen", "Listopad", "Prosinec"],
|
||||
monthsShort: ["Led", "Úno", "Bře", "Dub", "Kvě", "Čer", "Čnc", "Srp", "Zář", "Říj", "Lis", "Pro"],
|
||||
today: "Dnes",
|
||||
suffix: [],
|
||||
meridiem: [],
|
||||
weekStart: 1,
|
||||
format: "dd.mm.yyyy"
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Danish translation for bootstrap-datetimepicker
|
||||
* Christian Pedersen <http://github.com/chripede>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['da'] = {
|
||||
days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"],
|
||||
daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"],
|
||||
daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"],
|
||||
months: ["Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
|
||||
today: "I Dag",
|
||||
suffix: [],
|
||||
meridiem: []
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,18 @@
|
||||
/**
|
||||
* German translation for bootstrap-datetimepicker
|
||||
* Sam Zurcher <sam@orelias.ch>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['de'] = {
|
||||
days: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag", "Sonntag"],
|
||||
daysShort: ["Son", "Mon", "Die", "Mit", "Don", "Fre", "Sam", "Son"],
|
||||
daysMin: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa", "So"],
|
||||
months: ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"],
|
||||
monthsShort: ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"],
|
||||
today: "Heute",
|
||||
suffix: [],
|
||||
meridiem: [],
|
||||
weekStart: 1,
|
||||
format: "dd.mm.yyyy"
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Estonian translation for bootstrap-datetimepicker
|
||||
* Rene Korss <http://rene.korss.ee>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['ee'] = {
|
||||
days: ["Pühapäev", "Esmaspäev", "Teisipäev", "Kolmapäev", "Neljapäev", "Reede", "Laupäev", "Pühapäev"],
|
||||
daysShort: ["P", "E", "T", "K", "N", "R", "L", "P"],
|
||||
daysMin: ["P", "E", "T", "K", "N", "R", "L", "P"],
|
||||
months: ["Jaanuar", "Veebruar", "Märts", "Aprill", "Mai", "Juuni", "Juuli", "August", "September", "Oktoober", "November", "Detsember"],
|
||||
monthsShort: ["Jaan", "Veebr", "Märts", "Apr", "Mai", "Juuni", "Juuli", "Aug", "Sept", "Okt", "Nov", "Dets"],
|
||||
today: "Täna",
|
||||
suffix: [],
|
||||
meridiem: [],
|
||||
weekStart: 1,
|
||||
format: "dd.mm.yyyy hh:ii"
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Spanish translation for bootstrap-datetimepicker
|
||||
* Bruno Bonamin <bruno.bonamin@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['es'] = {
|
||||
days: ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado", "Domingo"],
|
||||
daysShort: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb", "Dom"],
|
||||
daysMin: ["Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa", "Do"],
|
||||
months: ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"],
|
||||
monthsShort: ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"],
|
||||
today: "Hoy",
|
||||
suffix: [],
|
||||
meridiem: []
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Finnish translation for bootstrap-datetimepicker
|
||||
* Jaakko Salonen <https://github.com/jsalonen>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['fi'] = {
|
||||
days: ["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai", "sunnuntai"],
|
||||
daysShort: ["sun", "maa", "tii", "kes", "tor", "per", "lau", "sun"],
|
||||
daysMin: ["su", "ma", "ti", "ke", "to", "pe", "la", "su"],
|
||||
months: ["tammikuu", "helmikuu", "maaliskuu", "huhtikuu", "toukokuu", "kesäkuu", "heinäkuu", "elokuu", "syyskuu", "lokakuu", "marraskuu", "joulukuu"],
|
||||
monthsShort: ["tam", "hel", "maa", "huh", "tou", "kes", "hei", "elo", "syy", "lok", "mar", "jou"],
|
||||
today: "tänään",
|
||||
suffix: [],
|
||||
meridiem: []
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,18 @@
|
||||
/**
|
||||
* French translation for bootstrap-datetimepicker
|
||||
* Nico Mollet <nico.mollet@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['fr'] = {
|
||||
days: ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi", "Dimanche"],
|
||||
daysShort: ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam", "Dim"],
|
||||
daysMin: ["D", "L", "Ma", "Me", "J", "V", "S", "D"],
|
||||
months: ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"],
|
||||
monthsShort: ["Jan", "Fev", "Mar", "Avr", "Mai", "Jui", "Jul", "Aou", "Sep", "Oct", "Nov", "Dec"],
|
||||
today: "Aujourd'hui",
|
||||
suffix: [],
|
||||
meridiem: ["am", "pm"],
|
||||
weekStart: 1,
|
||||
format: "dd/mm/yyyy"
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Croatian localisation
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['hr'] = {
|
||||
days: ["Nedjelja", "Ponedjelja", "Utorak", "Srijeda", "Četrtak", "Petak", "Subota", "Nedjelja"],
|
||||
daysShort: ["Ned", "Pon", "Uto", "Srr", "Čet", "Pet", "Sub", "Ned"],
|
||||
daysMin: ["Ne", "Po", "Ut", "Sr", "Če", "Pe", "Su", "Ne"],
|
||||
months: ["Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"],
|
||||
monthsShort: ["Sije", "Velj", "Ožu", "Tra", "Svi", "Lip", "Jul", "Kol", "Ruj", "Lis", "Stu", "Pro"],
|
||||
today: "Danas",
|
||||
suffix: [],
|
||||
meridiem: []
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Hungarian translation for bootstrap-datetimepicker
|
||||
* darevish <http://github.com/darevish>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['hu'] = {
|
||||
days: ["Vasárnap", "Hétfő", "Kedd", "Szerda", "Csütörtök", "Péntek", "Szombat", "Vasárnap"],
|
||||
daysShort: ["Vas", "Hét", "Ked", "Sze", "Csü", "Pén", "Szo", "Vas"],
|
||||
daysMin: ["V", "H", "K", "Sze", "Cs", "P", "Szo", "V"],
|
||||
months: ["Január", "Február", "Március", "Április", "Május", "Június", "Július", "Augusztus", "Szeptember", "Október", "November", "December"],
|
||||
monthsShort: ["Jan", "Feb", "Már", "Ápr", "Máj", "Jún", "Júl", "Aug", "Sze", "Okt", "Nov", "Dec"],
|
||||
today: "Ma",
|
||||
suffix: [],
|
||||
meridiem: [],
|
||||
weekStart: 1
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Bahasa translation for bootstrap-datetimepicker
|
||||
* Azwar Akbar <azwar.akbar@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['id'] = {
|
||||
days: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu", "Minggu"],
|
||||
daysShort: ["Mgu", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab", "Mgu"],
|
||||
daysMin: ["Mg", "Sn", "Sl", "Ra", "Ka", "Ju", "Sa", "Mg"],
|
||||
months: ["Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Ags", "Sep", "Okt", "Nov", "Des"],
|
||||
suffix: [],
|
||||
meridiem: []
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Icelandic translation for bootstrap-datetimepicker
|
||||
* Hinrik Örn Sigurðsson <hinrik.sig@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['is'] = {
|
||||
days: ["Sunnudagur", "Mánudagur", "Þriðjudagur", "Miðvikudagur", "Fimmtudagur", "Föstudagur", "Laugardagur", "Sunnudagur"],
|
||||
daysShort: ["Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau", "Sun"],
|
||||
daysMin: ["Su", "Má", "Þr", "Mi", "Fi", "Fö", "La", "Su"],
|
||||
months: ["Janúar", "Febrúar", "Mars", "Apríl", "Maí", "Júní", "Júlí", "Ágúst", "September", "Október", "Nóvember", "Desember"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maí", "Jún", "Júl", "Ágú", "Sep", "Okt", "Nóv", "Des"],
|
||||
today: "Í Dag",
|
||||
suffix: [],
|
||||
meridiem: []
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Italian translation for bootstrap-datetimepicker
|
||||
* Enrico Rubboli <rubboli@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['it'] = {
|
||||
days: ["Domenica", "Lunedi", "Martedi", "Mercoledi", "Giovedi", "Venerdi", "Sabato", "Domenica"],
|
||||
daysShort: ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab", "Dom"],
|
||||
daysMin: ["Do", "Lu", "Ma", "Me", "Gi", "Ve", "Sa", "Do"],
|
||||
months: ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"],
|
||||
monthsShort: ["Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic"],
|
||||
today: "Oggi",
|
||||
suffix: [],
|
||||
meridiem: [],
|
||||
weekStart: 1,
|
||||
format: "dd/mm/yyyy hh:ii:ss"
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Japanese translation for bootstrap-datetimepicker
|
||||
* Norio Suzuki <https://github.com/suzuki/>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['ja'] = {
|
||||
days: ["日曜", "月曜", "火曜", "水曜", "木曜", "金曜", "土曜", "日曜"],
|
||||
daysShort: ["日", "月", "火", "水", "木", "金", "土", "日"],
|
||||
daysMin: ["日", "月", "火", "水", "木", "金", "土", "日"],
|
||||
months: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"],
|
||||
monthsShort: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"],
|
||||
today: "今日",
|
||||
suffix: [],
|
||||
meridiem: []
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Korean translation for bootstrap-datetimepicker
|
||||
* Gu Youn <http://github.com/guyoun>
|
||||
* Baekjoon Choi <http://github.com/Baekjoon>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['ko'] = {
|
||||
days: ["일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일", "일요일"],
|
||||
daysShort: ["일", "월", "화", "수", "목", "금", "토", "일"],
|
||||
daysMin: ["일", "월", "화", "수", "목", "금", "토", "일"],
|
||||
months: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"],
|
||||
monthsShort: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"],
|
||||
suffix: [],
|
||||
meridiem: ["오전", "오후"],
|
||||
today: "오늘",
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Latvian translation for bootstrap-datetimepicker
|
||||
* Artis Avotins <artis@apit.lv>
|
||||
*/
|
||||
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['lv'] = {
|
||||
days: ["Svētdiena", "Pirmdiena", "Otrdiena", "Trešdiena", "Ceturtdiena", "Piektdiena", "Sestdiena", "Svētdiena"],
|
||||
daysShort: ["Sv", "P", "O", "T", "C", "Pk", "S", "Sv"],
|
||||
daysMin: ["Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "St", "Sv"],
|
||||
months: ["Janvāris", "Februāris", "Marts", "Aprīlis", "Maijs", "Jūnijs", "Jūlijs", "Augusts", "Septembris", "Oktobris", "Novembris", "Decembris"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jūn", "Jūl", "Aug", "Sep", "Okt", "Nov", "Dec."],
|
||||
today: "Šodien",
|
||||
suffix: [],
|
||||
meridiem: [],
|
||||
weekStart: 1
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Malay translation for bootstrap-datetimepicker
|
||||
* Ateman Faiz <noorulfaiz@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['ms'] = {
|
||||
days: ["Ahad", "Isnin", "Selasa", "Rabu", "Khamis", "Jumaat", "Sabtu", "Ahad"],
|
||||
daysShort: ["Aha", "Isn", "Sel", "Rab", "Kha", "Jum", "Sab", "Aha"],
|
||||
daysMin: ["Ah", "Is", "Se", "Ra", "Kh", "Ju", "Sa", "Ah"],
|
||||
months: ["Januari", "Februari", "Mac", "April", "Mei", "Jun", "Julai", "Ogos", "September", "Oktober", "November", "Disember"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Ogo", "Sep", "Okt", "Nov", "Dis"],
|
||||
today: "Hari Ini",
|
||||
suffix: [],
|
||||
meridiem: []
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Norwegian (bokmål) translation for bootstrap-datetimepicker
|
||||
* Fredrik Sundmyhr <http://github.com/fsundmyhr>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['nb'] = {
|
||||
days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"],
|
||||
daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"],
|
||||
daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"],
|
||||
months: ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"],
|
||||
today: "I Dag",
|
||||
suffix: [],
|
||||
meridiem: []
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Dutch translation for bootstrap-datetimepicker
|
||||
* Reinier Goltstein <mrgoltstein@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['nl'] = {
|
||||
days: ["Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"],
|
||||
daysShort: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"],
|
||||
daysMin: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"],
|
||||
months: ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"],
|
||||
monthsShort: ["Jan", "Feb", "Mrt", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
|
||||
today: "Vandaag",
|
||||
suffix: [],
|
||||
meridiem: []
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Norwegian translation for bootstrap-datetimepicker
|
||||
* Rune Warhuus <rune@dinkdonkd.no>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['no'] = {
|
||||
days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"],
|
||||
daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"],
|
||||
daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"],
|
||||
months: ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"],
|
||||
today: "I Dag",
|
||||
suffix: [],
|
||||
meridiem: []
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Polish translation for bootstrap-datetimepicker
|
||||
* Robert <rtpm@gazeta.pl>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['pl'] = {
|
||||
days: ["Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota", "Niedziela"],
|
||||
daysShort: ["Nie", "Pn", "Wt", "Śr", "Czw", "Pt", "So", "Nie"],
|
||||
daysMin: ["N", "Pn", "Wt", "Śr", "Cz", "Pt", "So", "N"],
|
||||
months: ["Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień"],
|
||||
monthsShort: ["Sty", "Lu", "Mar", "Kw", "Maj", "Cze", "Lip", "Sie", "Wrz", "Pa", "Lis", "Gru"],
|
||||
today: "Dzisiaj",
|
||||
suffix: [],
|
||||
meridiem: [],
|
||||
weekStart: 1
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Brazilian translation for bootstrap-datetimepicker
|
||||
* Cauan Cabral <cauan@radig.com.br>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['pt-BR'] = {
|
||||
format: 'dd/mm/yyyy',
|
||||
days: ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado", "Domingo"],
|
||||
daysShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", "Dom"],
|
||||
daysMin: ["Do", "Se", "Te", "Qu", "Qu", "Se", "Sa", "Do"],
|
||||
months: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"],
|
||||
monthsShort: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"],
|
||||
today: "Hoje",
|
||||
suffix: [],
|
||||
meridiem: []
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Portuguese translation for bootstrap-datetimepicker
|
||||
* Original code: Cauan Cabral <cauan@radig.com.br>
|
||||
* Tiago Melo <tiago.blackcode@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['pt'] = {
|
||||
days: ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado", "Domingo"],
|
||||
daysShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", "Dom"],
|
||||
daysMin: ["Do", "Se", "Te", "Qu", "Qu", "Se", "Sa", "Do"],
|
||||
months: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"],
|
||||
monthsShort: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"],
|
||||
suffix: [],
|
||||
meridiem: ["am","pm"],
|
||||
today: "Hoje"
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Romanian translation for bootstrap-datetimepicker
|
||||
* Cristian Vasile <cristi.mie@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['ro'] = {
|
||||
days: ["Duminică", "Luni", "Marţi", "Miercuri", "Joi", "Vineri", "Sâmbătă", "Duminică"],
|
||||
daysShort: ["Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm", "Dum"],
|
||||
daysMin: ["Du", "Lu", "Ma", "Mi", "Jo", "Vi", "Sâ", "Du"],
|
||||
months: ["Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"],
|
||||
monthsShort: ["Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
||||
today: "Astăzi",
|
||||
suffix: [],
|
||||
meridiem: [],
|
||||
weekStart: 1
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Serbian latin translation for bootstrap-datetimepicker
|
||||
* Bojan Milosavlević <milboj@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['rs'] = {
|
||||
days: ["Nedelja","Ponedeljak", "Utorak", "Sreda", "Četvrtak", "Petak", "Subota", "Nedelja"],
|
||||
daysShort: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub", "Ned"],
|
||||
daysMin: ["N", "Po", "U", "Sr", "Č", "Pe", "Su", "N"],
|
||||
months: ["Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"],
|
||||
today: "Danas",
|
||||
suffix: [],
|
||||
meridiem: []
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Slovak translation for bootstrap-datetimepicker
|
||||
* Marek Lichtner <marek@licht.sk>
|
||||
* Fixes by Michal Remiš <michal.remis@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates["sk"] = {
|
||||
days: ["Nedeľa", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatok", "Sobota", "Nedeľa"],
|
||||
daysShort: ["Ned", "Pon", "Uto", "Str", "Štv", "Pia", "Sob", "Ned"],
|
||||
daysMin: ["Ne", "Po", "Ut", "St", "Št", "Pia", "So", "Ne"],
|
||||
months: ["Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Máj", "Jún", "Júl", "Aug", "Sep", "Okt", "Nov", "Dec"],
|
||||
today: "Dnes",
|
||||
suffix: [],
|
||||
meridiem: []
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Slovene translation for bootstrap-datetimepicker
|
||||
* Gregor Rudolf <gregor.rudolf@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['sl'] = {
|
||||
days: ["Nedelja", "Ponedeljek", "Torek", "Sreda", "Četrtek", "Petek", "Sobota", "Nedelja"],
|
||||
daysShort: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob", "Ned"],
|
||||
daysMin: ["Ne", "Po", "To", "Sr", "Če", "Pe", "So", "Ne"],
|
||||
months: ["Januar", "Februar", "Marec", "April", "Maj", "Junij", "Julij", "Avgust", "September", "Oktober", "November", "December"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"],
|
||||
today: "Danes",
|
||||
suffix: [],
|
||||
meridiem: []
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Swedish translation for bootstrap-datetimepicker
|
||||
* Patrik Ragnarsson <patrik@starkast.net>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['sv'] = {
|
||||
days: ["Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag", "Söndag"],
|
||||
daysShort: ["Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör", "Sön"],
|
||||
daysMin: ["Sö", "Må", "Ti", "On", "To", "Fr", "Lö", "Sö"],
|
||||
months: ["Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
|
||||
today: "I Dag",
|
||||
suffix: [],
|
||||
meridiem: []
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Swahili translation for bootstrap-datetimepicker
|
||||
* Edwin Mugendi <https://github.com/edwinmugendi>
|
||||
* Source: http://scriptsource.org/cms/scripts/page.php?item_id=entry_detail&uid=xnfaqyzcku
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['sw'] = {
|
||||
days: ["Jumapili", "Jumatatu", "Jumanne", "Jumatano", "Alhamisi", "Ijumaa", "Jumamosi", "Jumapili"],
|
||||
daysShort: ["J2", "J3", "J4", "J5", "Alh", "Ij", "J1", "J2"],
|
||||
daysMin: ["2", "3", "4", "5", "A", "I", "1", "2"],
|
||||
months: ["Januari", "Februari", "Machi", "Aprili", "Mei", "Juni", "Julai", "Agosti", "Septemba", "Oktoba", "Novemba", "Desemba"],
|
||||
monthsShort: ["Jan", "Feb", "Mac", "Apr", "Mei", "Jun", "Jul", "Ago", "Sep", "Okt", "Nov", "Des"],
|
||||
today: "Leo",
|
||||
suffix: [],
|
||||
meridiem: []
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Thai translation for bootstrap-datetimepicker
|
||||
* Suchau Jiraprapot <seroz24@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['th'] = {
|
||||
days: ["อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัส", "ศุกร์", "เสาร์", "อาทิตย์"],
|
||||
daysShort: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส", "อา"],
|
||||
daysMin: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส", "อา"],
|
||||
months: ["มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฎาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม"],
|
||||
monthsShort: ["ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค."],
|
||||
today: "วันนี้",
|
||||
suffix: [],
|
||||
meridiem: []
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Simplified Chinese translation for bootstrap-datetimepicker
|
||||
* Yuan Cheung <advanimal@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['zh-CN'] = {
|
||||
days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"],
|
||||
daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"],
|
||||
daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"],
|
||||
months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
|
||||
monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
|
||||
today: "今日",
|
||||
suffix: [],
|
||||
meridiem: ["上午", "下午"]
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Traditional Chinese translation for bootstrap-datetimepicker
|
||||
* Rung-Sheng Jang <daniel@i-trend.co.cc>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datetimepicker.dates['zh-TW'] = {
|
||||
days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"],
|
||||
daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"],
|
||||
daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"],
|
||||
months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
|
||||
monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
|
||||
today: "今天",
|
||||
suffix: [],
|
||||
meridiem: ["上午", "下午"]
|
||||
};
|
||||
}(jQuery));
|
@ -0,0 +1,418 @@
|
||||
/*!
|
||||
* Datetimepicker for Bootstrap
|
||||
*
|
||||
* Copyright 2012 Stefan Petre
|
||||
* Improvements by Andrew Rowls
|
||||
* Improvements by Sébastien Malot
|
||||
* Licensed under the Apache License v2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*/
|
||||
|
||||
.datetimepicker {
|
||||
padding: 4px;
|
||||
margin-top: 1px;
|
||||
white-space: normal;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
direction: ltr;
|
||||
&.datetimepicker-rtl {
|
||||
direction: rtl;
|
||||
table {
|
||||
tr {
|
||||
td {
|
||||
span {
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
& > div {
|
||||
display: none;
|
||||
}
|
||||
&.minutes {
|
||||
div {
|
||||
&.datetimepicker-minutes {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.hours {
|
||||
div {
|
||||
&.datetimepicker-hours {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.days {
|
||||
div {
|
||||
&.datetimepicker-days {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.months {
|
||||
div {
|
||||
&.datetimepicker-months {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.years {
|
||||
div {
|
||||
&.datetimepicker-years {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
table {
|
||||
margin: 0;
|
||||
tr {
|
||||
td {
|
||||
&.minute {
|
||||
&:hover {
|
||||
background: #eeeeee;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
&.hour {
|
||||
&:hover {
|
||||
background: #eeeeee;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
&.day {
|
||||
&:hover {
|
||||
background: #eeeeee;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
span {
|
||||
display: block;
|
||||
width: 23%;
|
||||
height: 54px;
|
||||
line-height: 54px;
|
||||
float: left;
|
||||
margin: 1%;
|
||||
cursor: pointer;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
&:hover {
|
||||
background: #eeeeee;
|
||||
}
|
||||
&.old {
|
||||
color: #999999;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.datetimepicker-hours {
|
||||
span {
|
||||
height: 26px;
|
||||
line-height: 26px;
|
||||
}
|
||||
}
|
||||
.datetimepicker-minutes {
|
||||
span {
|
||||
height: 26px;
|
||||
line-height: 26px;
|
||||
}
|
||||
}
|
||||
th {
|
||||
&.switch {
|
||||
width: 145px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.datetimepicker-inline {
|
||||
width: 220px;
|
||||
}
|
||||
.datetimepicker-dropdown, .datetimepicker-dropdown-left {
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
[class*="datetimepicker-dropdown"]:before {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
border-left: 7px solid transparent;
|
||||
border-right: 7px solid transparent;
|
||||
border-bottom: 7px solid #ccc;
|
||||
border-bottom-color: rgba(0, 0, 0, 0.2);
|
||||
position: absolute;
|
||||
}
|
||||
[class*="datetimepicker-dropdown"]:after {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
border-left: 6px solid transparent;
|
||||
border-right: 6px solid transparent;
|
||||
border-bottom: 6px solid #ffffff;
|
||||
position: absolute;
|
||||
}
|
||||
[class*="datetimepicker-dropdown-top"]:before {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
border-left: 7px solid transparent;
|
||||
border-right: 7px solid transparent;
|
||||
border-top: 7px solid #ccc;
|
||||
border-top-color: rgba(0, 0, 0, 0.2);
|
||||
border-bottom: 0;
|
||||
}
|
||||
[class*="datetimepicker-dropdown-top"]:after {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
border-left: 6px solid transparent;
|
||||
border-right: 6px solid transparent;
|
||||
border-top: 6px solid #ffffff;
|
||||
border-bottom: 0;
|
||||
}
|
||||
.datetimepicker-dropdown-bottom-left {
|
||||
&:before {
|
||||
top: -7px;
|
||||
right: 6px;
|
||||
}
|
||||
&:after {
|
||||
top: -6px;
|
||||
right: 7px;
|
||||
}
|
||||
}
|
||||
.datetimepicker-dropdown-bottom-right {
|
||||
&:before {
|
||||
top: -7px;
|
||||
left: 6px;
|
||||
}
|
||||
&:after {
|
||||
top: -6px;
|
||||
left: 7px;
|
||||
}
|
||||
}
|
||||
.datetimepicker-dropdown-top-left {
|
||||
&:before {
|
||||
bottom: -7px;
|
||||
right: 6px;
|
||||
}
|
||||
&:after {
|
||||
bottom: -6px;
|
||||
right: 7px;
|
||||
}
|
||||
}
|
||||
.datetimepicker-dropdown-top-right {
|
||||
&:before {
|
||||
bottom: -7px;
|
||||
left: 6px;
|
||||
}
|
||||
&:after {
|
||||
bottom: -6px;
|
||||
left: 7px;
|
||||
}
|
||||
}
|
||||
.datetimepicker td,
|
||||
.datetimepicker th {
|
||||
text-align: center;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
border: none;
|
||||
}
|
||||
.table-striped .datetimepicker table tr td,
|
||||
.table-striped .datetimepicker table tr th {
|
||||
background-color: transparent;
|
||||
}
|
||||
.datetimepicker table tr td.old,
|
||||
.datetimepicker table tr td.new {
|
||||
color: #999999;
|
||||
}
|
||||
.datetimepicker table tr td.disabled,
|
||||
.datetimepicker table tr td.disabled:hover {
|
||||
background: none;
|
||||
color: #999999;
|
||||
cursor: default;
|
||||
}
|
||||
.datetimepicker table tr td.today,
|
||||
.datetimepicker table tr td.today:hover,
|
||||
.datetimepicker table tr td.today.disabled,
|
||||
.datetimepicker table tr td.today.disabled:hover {
|
||||
background-color: #fde19a;
|
||||
background-image: -moz-linear-gradient(top, #fdd49a, #fdf59a);
|
||||
background-image: -ms-linear-gradient(top, #fdd49a, #fdf59a);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fdd49a), to(#fdf59a));
|
||||
background-image: -webkit-linear-gradient(top, #fdd49a, #fdf59a);
|
||||
background-image: -o-linear-gradient(top, #fdd49a, #fdf59a);
|
||||
background-image: linear-gradient(top, #fdd49a, #fdf59a);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdd49a', endColorstr='#fdf59a', GradientType=0);
|
||||
border-color: #fdf59a #fdf59a #fbed50;
|
||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
||||
}
|
||||
.datetimepicker table tr td.today:hover,
|
||||
.datetimepicker table tr td.today:hover:hover,
|
||||
.datetimepicker table tr td.today.disabled:hover,
|
||||
.datetimepicker table tr td.today.disabled:hover:hover,
|
||||
.datetimepicker table tr td.today:active,
|
||||
.datetimepicker table tr td.today:hover:active,
|
||||
.datetimepicker table tr td.today.disabled:active,
|
||||
.datetimepicker table tr td.today.disabled:hover:active,
|
||||
.datetimepicker table tr td.today.active,
|
||||
.datetimepicker table tr td.today:hover.active,
|
||||
.datetimepicker table tr td.today.disabled.active,
|
||||
.datetimepicker table tr td.today.disabled:hover.active,
|
||||
.datetimepicker table tr td.today.disabled,
|
||||
.datetimepicker table tr td.today:hover.disabled,
|
||||
.datetimepicker table tr td.today.disabled.disabled,
|
||||
.datetimepicker table tr td.today.disabled:hover.disabled,
|
||||
.datetimepicker table tr td.today[disabled],
|
||||
.datetimepicker table tr td.today:hover[disabled],
|
||||
.datetimepicker table tr td.today.disabled[disabled],
|
||||
.datetimepicker table tr td.today.disabled:hover[disabled] {
|
||||
background-color: #fdf59a;
|
||||
}
|
||||
.datetimepicker table tr td.today:active,
|
||||
.datetimepicker table tr td.today:hover:active,
|
||||
.datetimepicker table tr td.today.disabled:active,
|
||||
.datetimepicker table tr td.today.disabled:hover:active,
|
||||
.datetimepicker table tr td.today.active,
|
||||
.datetimepicker table tr td.today:hover.active,
|
||||
.datetimepicker table tr td.today.disabled.active,
|
||||
.datetimepicker table tr td.today.disabled:hover.active {
|
||||
background-color: #fbf069 \9;
|
||||
}
|
||||
.datetimepicker table tr td.active,
|
||||
.datetimepicker table tr td.active:hover,
|
||||
.datetimepicker table tr td.active.disabled,
|
||||
.datetimepicker table tr td.active.disabled:hover {
|
||||
background-color: #006dcc;
|
||||
background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: -ms-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
|
||||
background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: -o-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: linear-gradient(top, #0088cc, #0044cc);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
|
||||
border-color: #0044cc #0044cc #002a80;
|
||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
||||
color: #fff;
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.datetimepicker table tr td.active:hover,
|
||||
.datetimepicker table tr td.active:hover:hover,
|
||||
.datetimepicker table tr td.active.disabled:hover,
|
||||
.datetimepicker table tr td.active.disabled:hover:hover,
|
||||
.datetimepicker table tr td.active:active,
|
||||
.datetimepicker table tr td.active:hover:active,
|
||||
.datetimepicker table tr td.active.disabled:active,
|
||||
.datetimepicker table tr td.active.disabled:hover:active,
|
||||
.datetimepicker table tr td.active.active,
|
||||
.datetimepicker table tr td.active:hover.active,
|
||||
.datetimepicker table tr td.active.disabled.active,
|
||||
.datetimepicker table tr td.active.disabled:hover.active,
|
||||
.datetimepicker table tr td.active.disabled,
|
||||
.datetimepicker table tr td.active:hover.disabled,
|
||||
.datetimepicker table tr td.active.disabled.disabled,
|
||||
.datetimepicker table tr td.active.disabled:hover.disabled,
|
||||
.datetimepicker table tr td.active[disabled],
|
||||
.datetimepicker table tr td.active:hover[disabled],
|
||||
.datetimepicker table tr td.active.disabled[disabled],
|
||||
.datetimepicker table tr td.active.disabled:hover[disabled] {
|
||||
background-color: #0044cc;
|
||||
}
|
||||
.datetimepicker table tr td.active:active,
|
||||
.datetimepicker table tr td.active:hover:active,
|
||||
.datetimepicker table tr td.active.disabled:active,
|
||||
.datetimepicker table tr td.active.disabled:hover:active,
|
||||
.datetimepicker table tr td.active.active,
|
||||
.datetimepicker table tr td.active:hover.active,
|
||||
.datetimepicker table tr td.active.disabled.active,
|
||||
.datetimepicker table tr td.active.disabled:hover.active {
|
||||
background-color: #003399 \9;
|
||||
}
|
||||
.datetimepicker .datetimepicker-hours table tr td span.hour_am,
|
||||
.datetimepicker .datetimepicker-hours table tr td span.hour_pm {
|
||||
width: 14.6%;
|
||||
}
|
||||
.datetimepicker .datetimepicker-hours fieldset legend,
|
||||
.datetimepicker .datetimepicker-minutes fieldset legend {
|
||||
margin-bottom: inherit;
|
||||
line-height: 30px;
|
||||
}
|
||||
.datetimepicker table tr td span.disabled,
|
||||
.datetimepicker table tr td span.disabled:hover {
|
||||
background: none;
|
||||
color: #999999;
|
||||
cursor: default;
|
||||
}
|
||||
.datetimepicker table tr td span.active,
|
||||
.datetimepicker table tr td span.active:hover,
|
||||
.datetimepicker table tr td span.active.disabled,
|
||||
.datetimepicker table tr td span.active.disabled:hover {
|
||||
background-color: #006dcc;
|
||||
background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: -ms-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
|
||||
background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: -o-linear-gradient(top, #0088cc, #0044cc);
|
||||
background-image: linear-gradient(top, #0088cc, #0044cc);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
|
||||
border-color: #0044cc #0044cc #002a80;
|
||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
||||
color: #fff;
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.datetimepicker table tr td span.active:hover,
|
||||
.datetimepicker table tr td span.active:hover:hover,
|
||||
.datetimepicker table tr td span.active.disabled:hover,
|
||||
.datetimepicker table tr td span.active.disabled:hover:hover,
|
||||
.datetimepicker table tr td span.active:active,
|
||||
.datetimepicker table tr td span.active:hover:active,
|
||||
.datetimepicker table tr td span.active.disabled:active,
|
||||
.datetimepicker table tr td span.active.disabled:hover:active,
|
||||
.datetimepicker table tr td span.active.active,
|
||||
.datetimepicker table tr td span.active:hover.active,
|
||||
.datetimepicker table tr td span.active.disabled.active,
|
||||
.datetimepicker table tr td span.active.disabled:hover.active,
|
||||
.datetimepicker table tr td span.active.disabled,
|
||||
.datetimepicker table tr td span.active:hover.disabled,
|
||||
.datetimepicker table tr td span.active.disabled.disabled,
|
||||
.datetimepicker table tr td span.active.disabled:hover.disabled,
|
||||
.datetimepicker table tr td span.active[disabled],
|
||||
.datetimepicker table tr td span.active:hover[disabled],
|
||||
.datetimepicker table tr td span.active.disabled[disabled],
|
||||
.datetimepicker table tr td span.active.disabled:hover[disabled] {
|
||||
background-color: #0044cc;
|
||||
}
|
||||
.datetimepicker table tr td span.active:active,
|
||||
.datetimepicker table tr td span.active:hover:active,
|
||||
.datetimepicker table tr td span.active.disabled:active,
|
||||
.datetimepicker table tr td span.active.disabled:hover:active,
|
||||
.datetimepicker table tr td span.active.active,
|
||||
.datetimepicker table tr td span.active:hover.active,
|
||||
.datetimepicker table tr td span.active.disabled.active,
|
||||
.datetimepicker table tr td span.active.disabled:hover.active {
|
||||
background-color: #003399 \9;
|
||||
}
|
||||
.datetimepicker thead tr:first-child th,
|
||||
.datetimepicker tfoot tr:first-child th {
|
||||
cursor: pointer;
|
||||
}
|
||||
.datetimepicker thead tr:first-child th:hover,
|
||||
.datetimepicker tfoot tr:first-child th:hover {
|
||||
background: #eeeeee;
|
||||
}
|
||||
|
||||
.input-append.date .add-on i,
|
||||
.input-prepend.date .add-on i,
|
||||
.input-group.date .input-group-addon span {
|
||||
cursor: pointer;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
|
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
java -jar ~/yuicompressor-2.4.7/build/yuicompressor-2.4.7.jar css/bootstrap-datetimepicker.css > css/bootstrap-datetimepicker.min.css
|
||||
java -jar ~/yuicompressor-2.4.7/build/yuicompressor-2.4.7.jar js/bootstrap-datetimepicker.js > js/bootstrap-datetimepicker.min.js
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 8.6 KiB |
After Width: | Height: | Size: 12 KiB |
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -0,0 +1,84 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
<link href="./bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
|
||||
<link href="../css/bootstrap-datetimepicker.min.css" rel="stylesheet" media="screen">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<form action="" class="form-horizontal">
|
||||
<fieldset>
|
||||
<legend>Test</legend>
|
||||
<div class="control-group">
|
||||
<label class="control-label">DateTime Picking</label>
|
||||
<div class="controls input-append date form_datetime" data-date="1979-09-16T05:25:07Z" data-date-format="dd MM yyyy - HH:ii p" data-link-field="dtp_input1">
|
||||
<input size="16" type="text" value="" readonly>
|
||||
<span class="add-on"><i class="icon-remove"></i></span>
|
||||
<span class="add-on"><i class="icon-th"></i></span>
|
||||
</div>
|
||||
<input type="hidden" id="dtp_input1" value="" /><br/>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">Date Picking</label>
|
||||
<div class="controls input-append date form_date" data-date="" data-date-format="dd MM yyyy" data-link-field="dtp_input2" data-link-format="yyyy-mm-dd">
|
||||
<input size="16" type="text" value="" readonly>
|
||||
<span class="add-on"><i class="icon-remove"></i></span>
|
||||
<span class="add-on"><i class="icon-th"></i></span>
|
||||
</div>
|
||||
<input type="hidden" id="dtp_input2" value="" /><br/>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">Time Picking</label>
|
||||
<div class="controls input-append date form_time" data-date="" data-date-format="hh:ii" data-link-field="dtp_input3" data-link-format="hh:ii">
|
||||
<input size="16" type="text" value="" readonly>
|
||||
<span class="add-on"><i class="icon-remove"></i></span>
|
||||
<span class="add-on"><i class="icon-th"></i></span>
|
||||
</div>
|
||||
<input type="hidden" id="dtp_input3" value="" /><br/>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src="./jquery/jquery-1.8.3.min.js" charset="UTF-8"></script>
|
||||
<script type="text/javascript" src="./bootstrap/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="../js/bootstrap-datetimepicker.js" charset="UTF-8"></script>
|
||||
<script type="text/javascript" src="../js/locales/bootstrap-datetimepicker.fr.js" charset="UTF-8"></script>
|
||||
<script type="text/javascript">
|
||||
$('.form_datetime').datetimepicker({
|
||||
//language: 'fr',
|
||||
weekStart: 1,
|
||||
todayBtn: 1,
|
||||
autoclose: 1,
|
||||
todayHighlight: 1,
|
||||
startView: 2,
|
||||
forceParse: 0,
|
||||
showMeridian: 1
|
||||
});
|
||||
$('.form_date').datetimepicker({
|
||||
language: 'fr',
|
||||
weekStart: 1,
|
||||
todayBtn: 1,
|
||||
autoclose: 1,
|
||||
todayHighlight: 1,
|
||||
startView: 2,
|
||||
minView: 2,
|
||||
forceParse: 0
|
||||
});
|
||||
$('.form_time').datetimepicker({
|
||||
language: 'fr',
|
||||
weekStart: 1,
|
||||
todayBtn: 1,
|
||||
autoclose: 1,
|
||||
todayHighlight: 1,
|
||||
startView: 1,
|
||||
minView: 0,
|
||||
maxView: 1,
|
||||
forceParse: 0
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,384 @@
|
||||
.btn-default,
|
||||
.btn-primary,
|
||||
.btn-success,
|
||||
.btn-info,
|
||||
.btn-warning,
|
||||
.btn-danger {
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
|
||||
.btn-default:active,
|
||||
.btn-primary:active,
|
||||
.btn-success:active,
|
||||
.btn-info:active,
|
||||
.btn-warning:active,
|
||||
.btn-danger:active,
|
||||
.btn-default.active,
|
||||
.btn-primary.active,
|
||||
.btn-success.active,
|
||||
.btn-info.active,
|
||||
.btn-warning.active,
|
||||
.btn-danger.active {
|
||||
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
||||
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
||||
}
|
||||
|
||||
.btn:active,
|
||||
.btn.active {
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.btn-default {
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#e6e6e6));
|
||||
background-image: -webkit-linear-gradient(top, #ffffff, 0%, #e6e6e6, 100%);
|
||||
background-image: -moz-linear-gradient(top, #ffffff 0%, #e6e6e6 100%);
|
||||
background-image: linear-gradient(to bottom, #ffffff 0%, #e6e6e6 100%);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #e0e0e0;
|
||||
border-color: #ccc;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
|
||||
}
|
||||
|
||||
.btn-default:active,
|
||||
.btn-default.active {
|
||||
background-color: #e6e6e6;
|
||||
border-color: #e0e0e0;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#3071a9));
|
||||
background-image: -webkit-linear-gradient(top, #428bca, 0%, #3071a9, 100%);
|
||||
background-image: -moz-linear-gradient(top, #428bca 0%, #3071a9 100%);
|
||||
background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #2d6ca2;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0);
|
||||
}
|
||||
|
||||
.btn-primary:active,
|
||||
.btn-primary.active {
|
||||
background-color: #3071a9;
|
||||
border-color: #2d6ca2;
|
||||
}
|
||||
|
||||
.btn-success {
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5cb85c), to(#449d44));
|
||||
background-image: -webkit-linear-gradient(top, #5cb85c, 0%, #449d44, 100%);
|
||||
background-image: -moz-linear-gradient(top, #5cb85c 0%, #449d44 100%);
|
||||
background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #419641;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
|
||||
}
|
||||
|
||||
.btn-success:active,
|
||||
.btn-success.active {
|
||||
background-color: #449d44;
|
||||
border-color: #419641;
|
||||
}
|
||||
|
||||
.btn-warning {
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f0ad4e), to(#ec971f));
|
||||
background-image: -webkit-linear-gradient(top, #f0ad4e, 0%, #ec971f, 100%);
|
||||
background-image: -moz-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
|
||||
background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #eb9316;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);
|
||||
}
|
||||
|
||||
.btn-warning:active,
|
||||
.btn-warning.active {
|
||||
background-color: #ec971f;
|
||||
border-color: #eb9316;
|
||||
}
|
||||
|
||||
.btn-danger {
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9534f), to(#c9302c));
|
||||
background-image: -webkit-linear-gradient(top, #d9534f, 0%, #c9302c, 100%);
|
||||
background-image: -moz-linear-gradient(top, #d9534f 0%, #c9302c 100%);
|
||||
background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #c12e2a;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
|
||||
}
|
||||
|
||||
.btn-danger:active,
|
||||
.btn-danger.active {
|
||||
background-color: #c9302c;
|
||||
border-color: #c12e2a;
|
||||
}
|
||||
|
||||
.btn-info {
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5bc0de), to(#31b0d5));
|
||||
background-image: -webkit-linear-gradient(top, #5bc0de, 0%, #31b0d5, 100%);
|
||||
background-image: -moz-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
|
||||
background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #2aabd2;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);
|
||||
}
|
||||
|
||||
.btn-info:active,
|
||||
.btn-info.active {
|
||||
background-color: #31b0d5;
|
||||
border-color: #2aabd2;
|
||||
}
|
||||
|
||||
.thumbnail,
|
||||
.img-thumbnail {
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
|
||||
.dropdown-menu > li > a:hover,
|
||||
.dropdown-menu > li > a:focus,
|
||||
.dropdown-menu > .active > a,
|
||||
.dropdown-menu > .active > a:hover,
|
||||
.dropdown-menu > .active > a:focus {
|
||||
background-color: #357ebd;
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#357ebd));
|
||||
background-image: -webkit-linear-gradient(top, #428bca, 0%, #357ebd, 100%);
|
||||
background-image: -moz-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
||||
background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
|
||||
}
|
||||
|
||||
.navbar {
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#f8f8f8));
|
||||
background-image: -webkit-linear-gradient(top, #ffffff, 0%, #f8f8f8, 100%);
|
||||
background-image: -moz-linear-gradient(top, #ffffff 0%, #f8f8f8 100%);
|
||||
background-image: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);
|
||||
background-repeat: repeat-x;
|
||||
border-radius: 4px;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
|
||||
.navbar .navbar-nav > .active > a {
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
|
||||
.navbar-brand,
|
||||
.navbar-nav > li > a {
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
|
||||
.navbar-inverse {
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#3c3c3c), to(#222222));
|
||||
background-image: -webkit-linear-gradient(top, #3c3c3c, 0%, #222222, 100%);
|
||||
background-image: -moz-linear-gradient(top, #3c3c3c 0%, #222222 100%);
|
||||
background-image: linear-gradient(to bottom, #3c3c3c 0%, #222222 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);
|
||||
}
|
||||
|
||||
.navbar-inverse .navbar-nav > .active > a {
|
||||
background-color: #222222;
|
||||
}
|
||||
|
||||
.navbar-inverse .navbar-brand,
|
||||
.navbar-inverse .navbar-nav > li > a {
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
.navbar-static-top,
|
||||
.navbar-fixed-top,
|
||||
.navbar-fixed-bottom {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.alert {
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.alert-success {
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#dff0d8), to(#c8e5bc));
|
||||
background-image: -webkit-linear-gradient(top, #dff0d8, 0%, #c8e5bc, 100%);
|
||||
background-image: -moz-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
|
||||
background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #b2dba1;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);
|
||||
}
|
||||
|
||||
.alert-info {
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9edf7), to(#b9def0));
|
||||
background-image: -webkit-linear-gradient(top, #d9edf7, 0%, #b9def0, 100%);
|
||||
background-image: -moz-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
|
||||
background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #9acfea;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);
|
||||
}
|
||||
|
||||
.alert-warning {
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#fcf8e3), to(#f8efc0));
|
||||
background-image: -webkit-linear-gradient(top, #fcf8e3, 0%, #f8efc0, 100%);
|
||||
background-image: -moz-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
|
||||
background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #f5e79e;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
|
||||
}
|
||||
|
||||
.alert-danger {
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f2dede), to(#e7c3c3));
|
||||
background-image: -webkit-linear-gradient(top, #f2dede, 0%, #e7c3c3, 100%);
|
||||
background-image: -moz-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
|
||||
background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #dca7a7;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
|
||||
}
|
||||
|
||||
.progress {
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ebebeb), to(#f5f5f5));
|
||||
background-image: -webkit-linear-gradient(top, #ebebeb, 0%, #f5f5f5, 100%);
|
||||
background-image: -moz-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
|
||||
background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#3071a9));
|
||||
background-image: -webkit-linear-gradient(top, #428bca, 0%, #3071a9, 100%);
|
||||
background-image: -moz-linear-gradient(top, #428bca 0%, #3071a9 100%);
|
||||
background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0);
|
||||
}
|
||||
|
||||
.progress-bar-success {
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5cb85c), to(#449d44));
|
||||
background-image: -webkit-linear-gradient(top, #5cb85c, 0%, #449d44, 100%);
|
||||
background-image: -moz-linear-gradient(top, #5cb85c 0%, #449d44 100%);
|
||||
background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
|
||||
}
|
||||
|
||||
.progress-bar-info {
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5bc0de), to(#31b0d5));
|
||||
background-image: -webkit-linear-gradient(top, #5bc0de, 0%, #31b0d5, 100%);
|
||||
background-image: -moz-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
|
||||
background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);
|
||||
}
|
||||
|
||||
.progress-bar-warning {
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f0ad4e), to(#ec971f));
|
||||
background-image: -webkit-linear-gradient(top, #f0ad4e, 0%, #ec971f, 100%);
|
||||
background-image: -moz-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
|
||||
background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);
|
||||
}
|
||||
|
||||
.progress-bar-danger {
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9534f), to(#c9302c));
|
||||
background-image: -webkit-linear-gradient(top, #d9534f, 0%, #c9302c, 100%);
|
||||
background-image: -moz-linear-gradient(top, #d9534f 0%, #c9302c 100%);
|
||||
background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
|
||||
}
|
||||
|
||||
.list-group {
|
||||
border-radius: 4px;
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
|
||||
.list-group-item.active,
|
||||
.list-group-item.active:hover,
|
||||
.list-group-item.active:focus {
|
||||
text-shadow: 0 -1px 0 #3071a9;
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#3278b3));
|
||||
background-image: -webkit-linear-gradient(top, #428bca, 0%, #3278b3, 100%);
|
||||
background-image: -moz-linear-gradient(top, #428bca 0%, #3278b3 100%);
|
||||
background-image: linear-gradient(to bottom, #428bca 0%, #3278b3 100%);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #3278b3;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0);
|
||||
}
|
||||
|
||||
.panel {
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.panel-default > .panel-heading {
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f5f5f5), to(#e8e8e8));
|
||||
background-image: -webkit-linear-gradient(top, #f5f5f5, 0%, #e8e8e8, 100%);
|
||||
background-image: -moz-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
|
||||
}
|
||||
|
||||
.panel-primary > .panel-heading {
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#357ebd));
|
||||
background-image: -webkit-linear-gradient(top, #428bca, 0%, #357ebd, 100%);
|
||||
background-image: -moz-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
||||
background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
|
||||
}
|
||||
|
||||
.panel-success > .panel-heading {
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#dff0d8), to(#d0e9c6));
|
||||
background-image: -webkit-linear-gradient(top, #dff0d8, 0%, #d0e9c6, 100%);
|
||||
background-image: -moz-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
|
||||
background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);
|
||||
}
|
||||
|
||||
.panel-info > .panel-heading {
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9edf7), to(#c4e3f3));
|
||||
background-image: -webkit-linear-gradient(top, #d9edf7, 0%, #c4e3f3, 100%);
|
||||
background-image: -moz-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
|
||||
background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);
|
||||
}
|
||||
|
||||
.panel-warning > .panel-heading {
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#fcf8e3), to(#faf2cc));
|
||||
background-image: -webkit-linear-gradient(top, #fcf8e3, 0%, #faf2cc, 100%);
|
||||
background-image: -moz-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
|
||||
background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);
|
||||
}
|
||||
|
||||
.panel-danger > .panel-heading {
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f2dede), to(#ebcccc));
|
||||
background-image: -webkit-linear-gradient(top, #f2dede, 0%, #ebcccc, 100%);
|
||||
background-image: -moz-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
|
||||
background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);
|
||||
}
|
||||
|
||||
.well {
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#e8e8e8), to(#f5f5f5));
|
||||
background-image: -webkit-linear-gradient(top, #e8e8e8, 0%, #f5f5f5, 100%);
|
||||
background-image: -moz-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
|
||||
background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #dcdcdc;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
|
||||
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);
|
||||
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);
|
||||
}
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Binary file not shown.
After Width: | Height: | Size: 62 KiB |
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -0,0 +1,84 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
<link href="./bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
|
||||
<link href="../css/bootstrap-datetimepicker.min.css" rel="stylesheet" media="screen">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<form action="" class="form-horizontal" role="form">
|
||||
<fieldset>
|
||||
<legend>Test</legend>
|
||||
<div class="form-group">
|
||||
<label for="dtp_input1" class="col-md-2 control-label">DateTime Picking</label>
|
||||
<div class="input-group date form_datetime col-md-5" data-date="1979-09-16T05:25:07Z" data-date-format="dd MM yyyy - HH:ii p" data-link-field="dtp_input1">
|
||||
<input class="form-control" size="16" type="text" value="" readonly>
|
||||
<span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>
|
||||
<span class="input-group-addon"><span class="glyphicon glyphicon-th"></span></span>
|
||||
</div>
|
||||
<input type="hidden" id="dtp_input1" value="" /><br/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="dtp_input2" class="col-md-2 control-label">Date Picking</label>
|
||||
<div class="input-group date form_date col-md-5" data-date="" data-date-format="dd MM yyyy" data-link-field="dtp_input2" data-link-format="yyyy-mm-dd">
|
||||
<input class="form-control" size="16" type="text" value="" readonly>
|
||||
<span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>
|
||||
<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
|
||||
</div>
|
||||
<input type="hidden" id="dtp_input2" value="" /><br/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="dtp_input3" class="col-md-2 control-label">Time Picking</label>
|
||||
<div class="input-group date form_time col-md-5" data-date="" data-date-format="hh:ii" data-link-field="dtp_input3" data-link-format="hh:ii">
|
||||
<input class="form-control" size="16" type="text" value="" readonly>
|
||||
<span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>
|
||||
<span class="input-group-addon"><span class="glyphicon glyphicon-time"></span></span>
|
||||
</div>
|
||||
<input type="hidden" id="dtp_input3" value="" /><br/>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" src="./jquery/jquery-1.8.3.min.js" charset="UTF-8"></script>
|
||||
<script type="text/javascript" src="./bootstrap/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="../js/bootstrap-datetimepicker.js" charset="UTF-8"></script>
|
||||
<script type="text/javascript" src="../js/locales/bootstrap-datetimepicker.fr.js" charset="UTF-8"></script>
|
||||
<script type="text/javascript">
|
||||
$('.form_datetime').datetimepicker({
|
||||
//language: 'fr',
|
||||
weekStart: 1,
|
||||
todayBtn: 1,
|
||||
autoclose: 1,
|
||||
todayHighlight: 1,
|
||||
startView: 2,
|
||||
forceParse: 0,
|
||||
showMeridian: 1
|
||||
});
|
||||
$('.form_date').datetimepicker({
|
||||
language: 'fr',
|
||||
weekStart: 1,
|
||||
todayBtn: 1,
|
||||
autoclose: 1,
|
||||
todayHighlight: 1,
|
||||
startView: 2,
|
||||
minView: 2,
|
||||
forceParse: 0
|
||||
});
|
||||
$('.form_time').datetimepicker({
|
||||
language: 'fr',
|
||||
weekStart: 1,
|
||||
todayBtn: 1,
|
||||
autoclose: 1,
|
||||
todayHighlight: 1,
|
||||
startView: 1,
|
||||
minView: 0,
|
||||
maxView: 1,
|
||||
forceParse: 0
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue