Skip to content

Commit e59d8fb

Browse files
authored
Merge pull request #8 from aksharahegde/jquery-ui-upgrade
Jquery UI upgrade - 1.11.4 to 1.13.2
2 parents 096ce48 + 432ee92 commit e59d8fb

File tree

245 files changed

+5667
-2767
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

245 files changed

+5667
-2767
lines changed

README.rst

Lines changed: 1 addition & 1 deletion

gulpfile.js

Lines changed: 28 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var gulp = require('gulp'),
44
browserify = require('browserify'),
55
concatCss = require('gulp-concat-css'),
66
cleanCSS = require('gulp-clean-css'),
7-
sass = require('gulp-sass'),
7+
sass = require('gulp-sass')(require('node-sass')),
88
uglify = require('gulp-uglify'),
99
buffer = require('vinyl-buffer'),
1010
source = require('vinyl-source-stream'),
@@ -61,50 +61,47 @@ gulp.task('vendor-styles', function() {
6161
merge(
6262
gulp.src([
6363
'./node_modules/select2/dist/css/select2.css',
64-
'./node_modules/timepicker/jquery.ui.timepicker.css'
64+
'./jet/static/jet/css/jquery.ui.timepicker.css'
6565
]),
6666
gulp.src([
6767
'./node_modules/jquery-ui/themes/base/all.css'
68-
])
69-
.pipe(cleanCSS()) // needed to remove jQuery UI comments breaking concatCss
70-
.on('error', function(error) {
71-
console.error(error);
72-
})
73-
.pipe(concatCss('jquery-ui.css', {
74-
rebaseUrls: false
75-
}))
76-
.on('error', function(error) {
77-
console.error(error);
78-
})
79-
.pipe(replace('images/', 'jquery-ui/images/'))
80-
.on('error', function(error) {
81-
console.error(error);
82-
}),
83-
gulp.src([
84-
'./node_modules/perfect-scrollbar/src/css/main.scss'
85-
])
86-
.pipe(sass({
87-
outputStyle: 'compressed'
88-
}))
89-
.on('error', function(error) {
90-
console.error(error);
91-
})
92-
)
93-
.pipe(postcss(cssProcessors))
68+
]).pipe(cleanCSS()) // needed to remove jQuery UI comments breaking concatCss
9469
.on('error', function(error) {
9570
console.error(error);
9671
})
97-
.pipe(concatCss('vendor.css', {
72+
.pipe(concatCss('jquery-ui.css', {
9873
rebaseUrls: false
9974
}))
10075
.on('error', function(error) {
10176
console.error(error);
10277
})
103-
.pipe(cleanCSS())
78+
.pipe(replace('images/', 'jquery-ui/images/'))
79+
.on('error', function(error) {
80+
console.error(error);
81+
}),
82+
gulp.src([
83+
'./node_modules/perfect-scrollbar/dist/css/perfect-scrollbar.min.css'
84+
]).pipe(sass({
85+
outputStyle: 'compressed'
86+
}))
10487
.on('error', function(error) {
10588
console.error(error);
10689
})
107-
.pipe(gulp.dest('./jet/static/jet/css'))
90+
).pipe(postcss(cssProcessors))
91+
.on('error', function(error) {
92+
console.error(error);
93+
})
94+
.pipe(concatCss('vendor.css', {
95+
rebaseUrls: false
96+
}))
97+
.on('error', function(error) {
98+
console.error(error);
99+
})
100+
.pipe(cleanCSS())
101+
.on('error', function(error) {
102+
console.error(error);
103+
})
104+
.pipe(gulp.dest('./jet/static/jet/css'))
108105
)
109106
});
110107

jet/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = '4.0.0'
1+
VERSION = '5.0.0'
-41 Bytes
Binary file not shown.
-41 Bytes
Binary file not shown.
-41 Bytes
Binary file not shown.
-41 Bytes
Binary file not shown.
-41 Bytes
Binary file not shown.
-41 Bytes
Binary file not shown.
-41 Bytes
Binary file not shown.
-41 Bytes
Binary file not shown.
-41 Bytes
Binary file not shown.
-41 Bytes
Binary file not shown.
-41 Bytes
Binary file not shown.
-41 Bytes
Binary file not shown.
-41 Bytes
Binary file not shown.
-41 Bytes
Binary file not shown.
-41 Bytes
Binary file not shown.

jet/filters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ def field_choices(self, field, request, model_admin):
4242
from collections import OrderedDict
4343
from django import forms
4444
from django.contrib.admin.widgets import AdminDateWidget
45-
from rangefilter.filter import DateRangeFilter as OriginalDateRangeFilter
4645
from django.utils.translation import gettext_lazy as _
46+
from rangefilter.filter import DateRangeFilter as OriginalDateRangeFilter
4747

4848

4949
class DateRangeFilter(OriginalDateRangeFilter):

jet/locale/ar/LC_MESSAGES/django.mo

-41 Bytes
Binary file not shown.

jet/locale/ar/LC_MESSAGES/djangojs.mo

-41 Bytes
Binary file not shown.

jet/locale/cs/LC_MESSAGES/django.mo

-41 Bytes
Binary file not shown.

jet/locale/cs/LC_MESSAGES/djangojs.mo

-41 Bytes
Binary file not shown.

jet/locale/de/LC_MESSAGES/django.mo

-41 Bytes
Binary file not shown.

jet/locale/de/LC_MESSAGES/djangojs.mo

-41 Bytes
Binary file not shown.

jet/locale/en/LC_MESSAGES/django.mo

-41 Bytes
Binary file not shown.

jet/locale/en/LC_MESSAGES/djangojs.mo

-41 Bytes
Binary file not shown.

jet/locale/es/LC_MESSAGES/django.mo

-41 Bytes
Binary file not shown.

jet/locale/es/LC_MESSAGES/djangojs.mo

-41 Bytes
Binary file not shown.

jet/locale/pl/LC_MESSAGES/django.mo

-41 Bytes
Binary file not shown.

jet/locale/pl/LC_MESSAGES/djangojs.mo

-41 Bytes
Binary file not shown.
-41 Bytes
Binary file not shown.
-41 Bytes
Binary file not shown.

jet/locale/ru/LC_MESSAGES/django.mo

-41 Bytes
Binary file not shown.

jet/locale/ru/LC_MESSAGES/djangojs.mo

-41 Bytes
Binary file not shown.
-41 Bytes
Binary file not shown.

jet/static/jet/css/_changelist.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@
128128
text-transform: uppercase;
129129
vertical-align: middle;
130130
margin-bottom: 5px;
131+
margin-left: 5px;
132+
margin-right: 20px;
131133
}
132134

133135
&:hover, &:focus {
@@ -278,7 +280,7 @@
278280
}
279281

280282
span {
281-
background-color: $button-active-background-color;
283+
background-color: $paginator-active-background-color;
282284
color: $button-active-text-color;
283285

284286
&.disabled {

jet/static/jet/css/_header.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
padding: 0;
113113
list-style: none;
114114
display: inline-block;
115-
width: 175px;
115+
width: 220px;
116116
z-index: 4;
117117

118118
@include for-mobile {
@@ -127,6 +127,7 @@
127127
border-radius: 0;
128128
transform: none;
129129
transition: transform $transitions-duration;
130+
z-index: 10;
130131

131132
body.scroll-to-bottom & {
132133
transform: translate3d(0, -100%, 0);

jet/static/jet/css/_variables.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,3 +205,6 @@ $chart-pointHighlightFill: $hover-link-color !default;
205205
$chart-scaleGridLineColor: transparentize(#000, 0.9) !default;
206206
$chart-scaleLineColor: transparentize(#000, 0.9) !default;
207207
$chart-scaleFontColor: $content-contrast2-text-color !default;
208+
209+
// Paginator
210+
$paginator-active-background-color: #00d2f6;
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
/*
2+
* Timepicker stylesheet
3+
* Highly inspired from datepicker
4+
* FG - Nov 2010 - Web3R
5+
*
6+
* version 0.0.3 : Fixed some settings, more dynamic
7+
* version 0.0.4 : Removed width:100% on tables
8+
* version 0.1.1 : set width 0 on tables to fix an ie6 bug
9+
*/
10+
11+
.ui-timepicker-inline { display: inline; }
12+
13+
#ui-timepicker-div { padding: 0.2em; }
14+
.ui-timepicker-table { display: inline-table; width: 0; }
15+
.ui-timepicker-table table { margin:0.15em 0 0 0; border-collapse: collapse; }
16+
17+
.ui-timepicker-hours, .ui-timepicker-minutes { padding: 0.2em; }
18+
19+
.ui-timepicker-table .ui-timepicker-title { line-height: 1.8em; text-align: center; }
20+
.ui-timepicker-table td { padding: 0.1em; width: 2.2em; }
21+
.ui-timepicker-table th.periods { padding: 0.1em; width: 2.2em; }
22+
23+
/* span for disabled cells */
24+
.ui-timepicker-table td span {
25+
display:block;
26+
padding:0.2em 0.3em 0.2em 0.5em;
27+
width: 1.2em;
28+
29+
text-align:right;
30+
text-decoration:none;
31+
}
32+
/* anchors for clickable cells */
33+
.ui-timepicker-table td a {
34+
display:block;
35+
padding:0.2em 0.3em 0.2em 0.5em;
36+
width: 1.2em;
37+
cursor: pointer;
38+
text-align:right;
39+
text-decoration:none;
40+
}
41+
42+
43+
/* buttons and button pane styling */
44+
.ui-timepicker .ui-timepicker-buttonpane {
45+
background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0;
46+
}
47+
.ui-timepicker .ui-timepicker-buttonpane button { margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
48+
/* The close button */
49+
.ui-timepicker .ui-timepicker-close { float: right }
50+
51+
/* the now button */
52+
.ui-timepicker .ui-timepicker-now { float: left; }
53+
54+
/* the deselect button */
55+
.ui-timepicker .ui-timepicker-deselect { float: left; }
56+
57+

jet/static/jet/css/themes/blowhorn/_variables.scss

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ $error-text-color: #c7254e;
1616
$link-color: #79A7D8;
1717
$hover-link-color: #1cacfc;
1818

19-
$contrast-color: #87E9FF;
19+
$contrast-color: #00d2f6;
2020

2121
$font: Arial, sans-serif !default;
2222
$font-size: 14px;
@@ -72,11 +72,11 @@ $top-hover-link-color: #1cacfc;
7272
$top-border-color: #dce0e6;
7373
$top-icon-color: $link-color;
7474

75-
$top-dropdown-background-color: #5e4d99;
75+
$top-dropdown-background-color: #2b3647;
7676
$top-dropdown-text-color: #fff;
77-
$top-dropdown-contrast-background-color: #4d3b73;
77+
$top-dropdown-contrast-background-color: #10151d;
7878
$top-dropdown-contrast-text-color: #c8beeb;
79-
$top-dropdown-border-color: #594585;
79+
$top-dropdown-border-color: #2b3647;
8080
$top-dropdown-link-color: #fff;
8181
$top-dropdown-hover-link-color: #fff;
8282
$top-dropdown-icon-color: #c8beeb;
@@ -111,7 +111,7 @@ $button-hover-text-color: #fff;
111111
$button-active-text-color: #fff;
112112

113113
$primary-button-background-color: $contrast-color;
114-
$primary-button-text-color: #000;
114+
$primary-button-text-color: #fff;
115115

116116
$danger-button-background-color: #c7254e;
117117
$danger-button-text-color: #fff;
@@ -200,3 +200,6 @@ $chart-pointHighlightFill: $hover-link-color;
200200
$chart-scaleGridLineColor: transparentize(#000, 0.9);
201201
$chart-scaleLineColor: transparentize(#000, 0.9);
202202
$chart-scaleFontColor: $content-contrast2-text-color;
203+
204+
// Paginator
205+
$paginator-active-background-color: #00d2f6;

jet/static/jet/css/themes/blowhorn/base.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jet/static/jet/css/themes/blowhorn/base.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)