Skip to content

Commit fa8ac95

Browse files
author
Akshara Hegde
committed
Merge branch 'main' of github.com:aksharahegde/django-jet-3-calm
2 parents 48235b1 + 7732774 commit fa8ac95

Some content is hidden

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

44 files changed

+94
-97
lines changed

jet/dashboard/dashboard.py

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -201,20 +201,10 @@ def init_with_context(self, context):
201201
self.available_children.append(modules.LinkList)
202202
self.available_children.append(modules.Feed)
203203

204-
site_name = get_admin_site_name(context)
205-
# append a link list module for "quick links"
206-
self.children.append(modules.LinkList(
207-
_('Quick links'),
208-
layout='inline',
209-
draggable=False,
210-
deletable=False,
211-
collapsible=False,
212-
children=[
213-
[_('Return to site'), '/'],
214-
[_('Change password'),
215-
reverse('%s:password_change' % site_name)],
216-
[_('Log out'), reverse('%s:logout' % site_name)],
217-
],
204+
# append an app list module for "Administration"
205+
self.children.append(modules.AppList(
206+
_('Administration'),
207+
models=('auth.*',),
218208
column=0,
219209
order=0
220210
))
@@ -223,33 +213,43 @@ def init_with_context(self, context):
223213
self.children.append(modules.AppList(
224214
_('Applications'),
225215
exclude=('auth.*',),
226-
column=1,
227-
order=0
228-
))
229-
230-
# append an app list module for "Administration"
231-
self.children.append(modules.AppList(
232-
_('Administration'),
233-
models=('auth.*',),
234-
column=2,
235-
order=0
216+
column=0,
217+
order=1
236218
))
237219

220+
# site_name = get_admin_site_name(context)
221+
# # append a link list module for "quick links"
222+
# self.children.append(modules.LinkList(
223+
# _('Quick links'),
224+
# layout='inline',
225+
# draggable=False,
226+
# deletable=False,
227+
# collapsible=False,
228+
# children=[
229+
# [_('Return to site'), '/'],
230+
# [_('Change password'),
231+
# reverse('%s:password_change' % site_name)],
232+
# [_('Log out'), reverse('%s:logout' % site_name)],
233+
# ],
234+
# column=0,
235+
# order=0
236+
# ))
237+
238238
# append a recent actions module
239239
self.children.append(modules.RecentActions(
240240
_('Recent Actions'),
241241
10,
242-
column=0,
243-
order=1
242+
column=1,
243+
order=0
244244
))
245245

246246
# append a feed module
247247
self.children.append(modules.Feed(
248248
_('Latest Django News'),
249249
feed_url='http://www.djangoproject.com/rss/weblog/',
250250
limit=5,
251-
column=1,
252-
order=1
251+
column=2,
252+
order=0
253253
))
254254

255255
# append another link list module for "support".

jet/static/jet/css/_dashboard.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ ul.actionlist li {
109109
&-tools {
110110
position: absolute;
111111
top: ($top-height + 10px * 2) / 2 - 30px / 2;
112-
right: 20px + 175px + 20px;
112+
right: 20px + 220px + 20px;
113113

114114
@include for-mobile {
115115
display: none;

jet/static/jet/css/_helpers.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
108108
/// Test if `$value` is an angle
109109
/// @param {*} $value - Value to test
110110
/// @return {Bool}
111+
///
111112
@function is-direction($value) {
112113
$is-direction: index((to top, to top right, to right top, to right, to bottom right, to right bottom, to bottom, to bottom left, to left bottom, to left, to left top, to top left), $value);
113114
$is-angle: type-of($value) == 'number' and index('deg' 'grad' 'turn' 'rad', unit($value));

jet/static/jet/css/icons/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
[class^="icon-"], [class*=" icon-"] {
1313
/* use !important to prevent issues with browser extensions that change fonts */
1414
font-family: 'jet-icons' !important;
15-
speak: none;
15+
speak-as: none;
1616
font-style: normal;
1717
font-weight: normal;
1818
font-variant: normal;

jet/static/jet/css/jquery-ui/_jquery-ui.theme.scss

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -79,26 +79,26 @@
7979
}
8080
}
8181

82-
.ui-icon {
83-
@include font-icon;
84-
font-size: 16px;
85-
font-weight: bold;
86-
background: none !important;
87-
text-indent: 0;
88-
overflow: visible;
89-
}
90-
91-
.ui-icon-circle-triangle-e:before {
92-
content: $icon-arrow-right;
93-
}
94-
95-
.ui-icon-circle-triangle-w:before {
96-
content: $icon-arrow-left;
97-
}
98-
99-
.ui-icon-closethick:before {
100-
content: $icon-cross;
101-
}
82+
// .ui-icon {
83+
// @include font-icon;
84+
// font-size: 16px;
85+
// font-weight: bold;
86+
// background: none !important;
87+
// text-indent: 0;
88+
// overflow: visible;
89+
// }
90+
91+
// .ui-icon-circle-triangle-e:before {
92+
// content: $icon-arrow-right;
93+
// }
94+
95+
// .ui-icon-circle-triangle-w:before {
96+
// content: $icon-arrow-left;
97+
// }
98+
99+
// .ui-icon-closethick:before {
100+
// content: $icon-cross;
101+
// }
102102

103103
.ui-widget-overlay {
104104
background: $jquery-ui-overlay-color;

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.

jet/static/jet/css/themes/blowhorn/jquery-ui.theme.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/jquery-ui.theme.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.

jet/static/jet/css/themes/blowhorn/select2.theme.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.

jet/static/jet/css/themes/default/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/default/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)