bootstrap-datepicker-rails 1.1.1.7 → 1.1.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/lib/bootstrap-datepicker-rails/version.rb +1 -1
- data/vendor/assets/javascripts/bootstrap-datepicker/core.js +5 -3
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.da.js +3 -2
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.gl.js +11 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.nl-BE.js +1 -0
- data/vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.no.js +2 -1
- data/vendor/assets/stylesheets/bootstrap-datepicker.css +34 -3
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9d536c3bdbaa776f1c8f3a42145c06d970a9fbd
|
4
|
+
data.tar.gz: 83ee8ab252a0aa667e9261feb5c02fc5b6d532fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3beb62c5cb434b71adc8b73945c2ea4ba9b0e99137d3bf532b8c087bf286e331247b9376cdae4e37cdc6805efd831b9d68dc14ee99e6c791933a2887e2c82361
|
7
|
+
data.tar.gz: e3512ad92ef00e6b8be66eb710454d5d89c2bf7b6649352a60d595e20fb3005bbeedc68b5da624cac4ce4bcdc0b6ae349daa742490f5a147d6685bea5e713be1
|
data/README.md
CHANGED
@@ -56,7 +56,9 @@ Just call datepicker() with any selector.
|
|
56
56
|
<input type="text" data-behaviour='datepicker' >
|
57
57
|
|
58
58
|
<script type="text/javascript">
|
59
|
-
$(
|
59
|
+
$(document).ready(function(){
|
60
|
+
$('[data-behaviour~=datepicker]').datepicker();
|
61
|
+
})
|
60
62
|
</script>
|
61
63
|
```
|
62
64
|
|
@@ -1,9 +1,11 @@
|
|
1
1
|
/* =========================================================
|
2
2
|
* bootstrap-datepicker.js
|
3
|
-
*
|
3
|
+
* Repo: https://github.com/eternicode/bootstrap-datepicker/
|
4
|
+
* Demo: http://eternicode.github.io/bootstrap-datepicker/
|
5
|
+
* Docs: http://bootstrap-datepicker.readthedocs.org/
|
6
|
+
* Forked from http://www.eyecon.ro/bootstrap-datepicker
|
4
7
|
* =========================================================
|
5
|
-
*
|
6
|
-
* Improvements by Andrew Rowls
|
8
|
+
* Started by Stefan Petre; improvements by Andrew Rowls + contributors
|
7
9
|
*
|
8
10
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
9
11
|
* you may not use this file except in compliance with the License.
|
@@ -9,6 +9,7 @@
|
|
9
9
|
daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"],
|
10
10
|
months: ["Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"],
|
11
11
|
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
|
12
|
-
today: "I Dag"
|
12
|
+
today: "I Dag",
|
13
|
+
clear: "Nulstil"
|
13
14
|
};
|
14
|
-
}(jQuery));
|
15
|
+
}(jQuery));
|
@@ -0,0 +1,11 @@
|
|
1
|
+
;(function($){
|
2
|
+
$.fn.datepicker.dates['gl'] = {
|
3
|
+
days: ["Domingo", "Luns", "Martes", "Mércores", "Xoves", "Venres", "Sábado", "Domingo"],
|
4
|
+
daysShort: ["Dom", "Lun", "Mar", "Mér", "Xov", "Ven", "Sáb", "Dom"],
|
5
|
+
daysMin: ["Do", "Lu", "Ma", "Me", "Xo", "Ve", "Sa", "Do"],
|
6
|
+
months: ["Xaneiro", "Febreiro", "Marzo", "Abril", "Maio", "Xuño", "Xullo", "Agosto", "Setembro", "Outubro", "Novembro", "Decembro"],
|
7
|
+
monthsShort: ["Xan", "Feb", "Mar", "Abr", "Mai", "Xun", "Xul", "Ago", "Sep", "Out", "Nov", "Dec"],
|
8
|
+
today: "Hoxe",
|
9
|
+
clear: "Limpar"
|
10
|
+
};
|
11
|
+
}(jQuery));
|
@@ -10,6 +10,7 @@
|
|
10
10
|
months: ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"],
|
11
11
|
monthsShort: ["Jan", "Feb", "Mrt", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
|
12
12
|
today: "Vandaag",
|
13
|
+
clear: "Leegmaken",
|
13
14
|
weekStart: 1,
|
14
15
|
format: "dd/mm/yyyy"
|
15
16
|
};
|
@@ -445,7 +445,6 @@
|
|
445
445
|
}
|
446
446
|
.input-append.date .add-on i,
|
447
447
|
.input-prepend.date .add-on i {
|
448
|
-
display: block;
|
449
448
|
cursor: pointer;
|
450
449
|
width: 16px;
|
451
450
|
height: 16px;
|
@@ -467,10 +466,10 @@
|
|
467
466
|
display: inline-block;
|
468
467
|
width: auto;
|
469
468
|
min-width: 16px;
|
470
|
-
height:
|
469
|
+
height: 20px;
|
471
470
|
padding: 4px 5px;
|
472
471
|
font-weight: normal;
|
473
|
-
line-height:
|
472
|
+
line-height: 20px;
|
474
473
|
text-align: center;
|
475
474
|
text-shadow: 0 1px 0 #ffffff;
|
476
475
|
vertical-align: middle;
|
@@ -479,3 +478,35 @@
|
|
479
478
|
margin-left: -5px;
|
480
479
|
margin-right: -5px;
|
481
480
|
}
|
481
|
+
.datepicker.dropdown-menu {
|
482
|
+
position: absolute;
|
483
|
+
top: 100%;
|
484
|
+
left: 0;
|
485
|
+
z-index: 1000;
|
486
|
+
float: left;
|
487
|
+
display: none;
|
488
|
+
min-width: 160px;
|
489
|
+
list-style: none;
|
490
|
+
background-color: #ffffff;
|
491
|
+
border: 1px solid #ccc;
|
492
|
+
border: 1px solid rgba(0, 0, 0, 0.2);
|
493
|
+
-webkit-border-radius: 5px;
|
494
|
+
-moz-border-radius: 5px;
|
495
|
+
border-radius: 5px;
|
496
|
+
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
497
|
+
-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
498
|
+
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
499
|
+
-webkit-background-clip: padding-box;
|
500
|
+
-moz-background-clip: padding;
|
501
|
+
background-clip: padding-box;
|
502
|
+
*border-right-width: 2px;
|
503
|
+
*border-bottom-width: 2px;
|
504
|
+
color: #333333;
|
505
|
+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
506
|
+
font-size: 13px;
|
507
|
+
line-height: 20px;
|
508
|
+
}
|
509
|
+
.datepicker.dropdown-menu th,
|
510
|
+
.datepicker.dropdown-menu td {
|
511
|
+
padding: 4px 5px;
|
512
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap-datepicker-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.1.
|
4
|
+
version: 1.1.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gonzalo Rodríguez-Baltanás Díaz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -112,6 +112,7 @@ files:
|
|
112
112
|
- vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.et.js
|
113
113
|
- vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.fi.js
|
114
114
|
- vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.fr.js
|
115
|
+
- vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.gl.js
|
115
116
|
- vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.he.js
|
116
117
|
- vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.hr.js
|
117
118
|
- vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.hu.js
|