mokio 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/ui-bg_glass_55_9fc569_1x400.png +915 -0
- data/app/assets/stylesheets/backend/plugins/forms/select2/{select2.css → select2.css.scss} +10 -10
- data/app/assets/stylesheets/backend/supr-theme/{jquery-ui-timepicker-addon.css → jquery-ui-timepicker-addon.css.scss} +1 -1
- data/app/assets/stylesheets/backend/supr-theme/{jquery.ui.datepicker.css → jquery.ui.datepicker.css.scss} +76 -76
- data/app/assets/stylesheets/backend/supr-theme/jquery.ui.supr.css.scss +1 -1
- data/app/assets/stylesheets/backend/supr-theme/jquery.ui.theme.css.scss +2 -2
- data/app/datatables/commons_datatable.rb +6 -5
- data/app/views/mokio/articles/_form.html.slim +14 -15
- data/app/views/mokio/backend/common/_form_content.html.haml +1 -1
- data/app/views/mokio/backend/contacts/_form.html.haml +1 -1
- data/app/views/mokio/backend/dashboard/show.html.haml +14 -14
- data/app/views/mokio/contacts/_form.html.slim +11 -12
- data/app/views/mokio/external_scripts/_form.html.slim +2 -3
- data/app/views/mokio/langs/_form.html.slim +3 -4
- data/app/views/mokio/menus/_form.html.haml +2 -1
- data/app/views/mokio/module_positions/_form.html.slim +2 -3
- data/app/views/mokio/mov_galleries/_form_inputs.html.slim +14 -15
- data/app/views/mokio/pic_galleries/_form_inputs.html.slim +14 -15
- data/app/views/mokio/static_modules/_form.html.slim +9 -10
- data/app/views/mokio/users/_form.html.slim +11 -12
- data/config/locales/en.yml +29 -26
- data/config/locales/pl.yml +27 -24
- data/lib/mokio/frontend_helpers/menu_helper.rb +1 -1
- data/lib/mokio/version.rb +1 -1
- metadata +6 -89
- data/app/views/mokio_haml/articles/_form.html.haml +0 -9
- data/app/views/mokio_haml/common/_form_content.html.haml +0 -36
- data/app/views/mokio_haml/common/_gmap.html.haml +0 -39
- data/app/views/mokio_haml/common/_main_pic.html.haml +0 -4
- data/app/views/mokio_haml/common/_meta.html.haml +0 -51
- data/app/views/mokio_haml/common/_notice.html.haml +0 -3
- data/app/views/mokio_haml/common/_obj.html.haml +0 -16
- data/app/views/mokio_haml/common/copy.html.haml +0 -5
- data/app/views/mokio_haml/common/edit.html.haml +0 -6
- data/app/views/mokio_haml/common/index.html.haml +0 -19
- data/app/views/mokio_haml/common/new.html.haml +0 -6
- data/app/views/mokio_haml/contacts/_form.html.haml +0 -42
- data/app/views/mokio_haml/contents/_content_info_widget.html.haml +0 -22
- data/app/views/mokio_haml/dashboard/_content.html.haml +0 -9
- data/app/views/mokio_haml/dashboard/show.html.haml +0 -35
- data/app/views/mokio_haml/dashboard/tbl_content.html.haml +0 -24
- data/app/views/mokio_haml/data_files/_file_upload.html.erb +0 -71
- data/app/views/mokio_haml/data_files/uploader.html.haml +0 -15
- data/app/views/mokio_haml/default_mailer/msg.html.haml +0 -6
- data/app/views/mokio_haml/errors/404.html.haml +0 -45
- data/app/views/mokio_haml/errors/unauthorized.html.haml +0 -11
- data/app/views/mokio_haml/layout/_user_widget.html.haml +0 -8
- data/app/views/mokio_haml/layout/header.html.haml +0 -14
- data/app/views/mokio_haml/layout/sidebar.html.haml +0 -59
- data/app/views/mokio_haml/menus/_form.html.haml +0 -75
- data/app/views/mokio_haml/menus/_menu.html.haml +0 -24
- data/app/views/mokio_haml/menus/index.html.haml +0 -53
- data/app/views/mokio_haml/menus/index.json.jbuilder +0 -4
- data/app/views/mokio_haml/menus/lang_changed.js.haml +0 -6
- data/app/views/mokio_haml/menus/sort.html.haml +0 -1
- data/app/views/mokio_haml/menus/update_menu_breadcrumps.js.haml +0 -1
- data/app/views/mokio_haml/mov_galleries/_form.html.haml +0 -17
- data/app/views/mokio_haml/mov_galleries/_form_inputs.html.haml +0 -8
- data/app/views/mokio_haml/photos/_gallery.html.haml +0 -25
- data/app/views/mokio_haml/photos/create.js.haml +0 -1
- data/app/views/mokio_haml/photos/crop_photo.js.haml +0 -10
- data/app/views/mokio_haml/photos/crop_thumb.js.haml +0 -11
- data/app/views/mokio_haml/photos/destroy.js.haml +0 -1
- data/app/views/mokio_haml/photos/from_external_link.html.haml +0 -19
- data/app/views/mokio_haml/photos/get_photo.js.haml +0 -1
- data/app/views/mokio_haml/photos/get_thumb.js.haml +0 -1
- data/app/views/mokio_haml/photos/photo.html.haml +0 -54
- data/app/views/mokio_haml/photos/remove_thumb.js.haml +0 -10
- data/app/views/mokio_haml/photos/rotate_photo.js.haml +0 -10
- data/app/views/mokio_haml/photos/rotate_thumb.js.haml +0 -11
- data/app/views/mokio_haml/photos/thumb.html.haml +0 -9
- data/app/views/mokio_haml/photos/update_thumb.js.haml +0 -11
- data/app/views/mokio_haml/photos/upload_external_links.js.haml +0 -4
- data/app/views/mokio_haml/pic_galleries/_form.html.haml +0 -16
- data/app/views/mokio_haml/pic_galleries/_form_inputs.html.haml +0 -9
- data/app/views/mokio_haml/site_helper/first_login.html.haml +0 -14
- data/app/views/mokio_haml/static_modules/_form.html.haml +0 -9
- data/app/views/mokio_haml/users/_form.html.haml +0 -11
- data/app/views/mokio_haml/users/edit_password.html.haml +0 -13
- data/app/views/mokio_haml/youtubes/_edit.html.haml +0 -49
- data/app/views/mokio_haml/youtubes/_gallery.html.haml +0 -24
- data/app/views/mokio_haml/youtubes/_new.html.haml +0 -4
- data/app/views/mokio_haml/youtubes/_preview_movie.html.haml +0 -1
- data/app/views/mokio_haml/youtubes/_search_yt.html.haml +0 -8
- data/app/views/mokio_haml/youtubes/_search_yt_body.html.haml +0 -11
- data/app/views/mokio_haml/youtubes/find.js.haml +0 -1
- data/app/views/mokio_haml/youtubes/preview.html.haml +0 -36
- data/app/views/mokio_haml/youtubes/preview_movie.js.haml +0 -5
- data/app/views/mokio_haml/youtubes/thumb.html.haml +0 -14
- data/app/views/mokio_haml/youtubes/uploader.html.haml +0 -10
- data/app/views/mokio_haml/youtubes/youtube.html.haml +0 -12
- data/spec/dummy/config/database.yml +0 -37
- data/spec/dummy/db/migrate/20140819120200_add_mokio_to_application.mokio.rb +0 -230
- data/spec/dummy/db/migrate/20140829082940_create_mokio_external_scripts.mokio.rb +0 -11
- data/spec/dummy/db/migrate/20141016113202_alter_external_scripts.mokio.rb +0 -14
- data/spec/dummy/db/schema.rb +0 -323
- data/spec/dummy/log/development.log +0 -119825
- data/spec/dummy/log/development_mokio.log +0 -14177
- data/spec/dummy/log/production.log +0 -8400
- data/spec/dummy/log/production_mokio.log +0 -374
@@ -211,13 +211,13 @@ Version: 3.0 Timestamp: Tue Jul 31 21:09:16 PDT 2012
|
|
211
211
|
}
|
212
212
|
|
213
213
|
.select2-search input.select2-active {
|
214
|
-
background: #fff url(backend/plugins/forms/select2/spinner.gif) no-repeat 100%;
|
215
|
-
background: url(backend/plugins/forms/select2/spinner.gif) no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #eeeeee));
|
216
|
-
background: url(backend/plugins/forms/select2/spinner.gif) no-repeat 100%, -webkit-linear-gradient(center bottom, white 85%, #eeeeee 99%);
|
217
|
-
background: url(backend/plugins/forms/select2/spinner.gif) no-repeat 100%, -moz-linear-gradient(center bottom, white 85%, #eeeeee 99%);
|
218
|
-
background: url(backend/plugins/forms/select2/spinner.gif) no-repeat 100%, -o-linear-gradient(bottom, white 85%, #eeeeee 99%);
|
219
|
-
background: url(backend/plugins/forms/select2/spinner.gif) no-repeat 100%, -ms-linear-gradient(top, #ffffff 85%, #eeeeee 99%);
|
220
|
-
background: url(backend/plugins/forms/select2/spinner.gif) no-repeat 100%, linear-gradient(top, #ffffff 85%, #eeeeee 99%);
|
214
|
+
background: #fff image-url('backend/plugins/forms/select2/spinner.gif') no-repeat 100%;
|
215
|
+
background: image-url('backend/plugins/forms/select2/spinner.gif') no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #eeeeee));
|
216
|
+
background: image-url('backend/plugins/forms/select2/spinner.gif') no-repeat 100%, -webkit-linear-gradient(center bottom, white 85%, #eeeeee 99%);
|
217
|
+
background: image-url('backend/plugins/forms/select2/spinner.gif') no-repeat 100%, -moz-linear-gradient(center bottom, white 85%, #eeeeee 99%);
|
218
|
+
background: image-url('backend/plugins/forms/select2/spinner.gif') no-repeat 100%, -o-linear-gradient(bottom, white 85%, #eeeeee 99%);
|
219
|
+
background: image-url('backend/plugins/forms/select2/spinner.gif') no-repeat 100%, -ms-linear-gradient(top, #ffffff 85%, #eeeeee 99%);
|
220
|
+
background: image-url('backend/plugins/forms/select2/spinner.gif') no-repeat 100%, linear-gradient(top, #ffffff 85%, #eeeeee 99%);
|
221
221
|
}
|
222
222
|
|
223
223
|
|
@@ -339,7 +339,7 @@ disabled look for already selected choices in the results dropdown
|
|
339
339
|
}
|
340
340
|
|
341
341
|
.select2-more-results.select2-active {
|
342
|
-
background: #f4f4f4 url(backend/plugins/forms/select2/spinner.gif) no-repeat 100%;
|
342
|
+
background: #f4f4f4 image-url('backend/plugins/forms/select2/spinner.gif') no-repeat 100%;
|
343
343
|
}
|
344
344
|
|
345
345
|
.select2-more-results {
|
@@ -425,7 +425,7 @@ disabled look for already selected choices in the results dropdown
|
|
425
425
|
}
|
426
426
|
|
427
427
|
.select2-container-multi .select2-choices .select2-search-field input.select2-active {
|
428
|
-
background: #fff url(backend/plugins/forms/select2/spinner.gif) no-repeat 100% !important;
|
428
|
+
background: #fff image-url('backend/plugins/forms/select2/spinner.gif') no-repeat 100% !important;
|
429
429
|
}
|
430
430
|
|
431
431
|
.select2-default {
|
@@ -473,7 +473,7 @@ disabled look for already selected choices in the results dropdown
|
|
473
473
|
width: 12px;
|
474
474
|
height: 13px;
|
475
475
|
font-size: 1px;
|
476
|
-
background: url(backend/plugins/forms/select2/select2.png) right top no-repeat;
|
476
|
+
background: image-url('backend/plugins/forms/select2/select2.png') right top no-repeat;
|
477
477
|
outline: none;
|
478
478
|
}
|
479
479
|
|
@@ -10,5 +10,5 @@
|
|
10
10
|
.ui_tpicker_hour_label{margin-left: 10px;float: left;margin-top: -8px;}
|
11
11
|
.ui_tpicker_minute_label {margin-left: 10px;float: left;margin-top: -8px;}
|
12
12
|
.ui-datepicker-buttonpane button.ui-datepicker-current{
|
13
|
-
background: #9FC569 url(
|
13
|
+
background: #9FC569 image-url('ui-bg_glass_55_9fc569_1x400.png') 50% 50% repeat-x;
|
14
14
|
}
|
@@ -1,76 +1,76 @@
|
|
1
|
-
/*!
|
2
|
-
* jQuery UI Datepicker 1.8.21
|
3
|
-
*
|
4
|
-
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
|
5
|
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
6
|
-
* http://jquery.org/license
|
7
|
-
*
|
8
|
-
* http://docs.jquery.com/UI/Datepicker#theming
|
9
|
-
*/
|
10
|
-
.ui-datepicker { width: 100%; padding: 0; display: none; z-index: 9999; max-width: 318px; }
|
11
|
-
.ui-datepicker .ui-datepicker-header {
|
12
|
-
background: url("backend/patterns/2.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
|
13
|
-
position:relative;
|
14
|
-
padding:.5em 0;
|
15
|
-
margin-top:-1px;
|
16
|
-
margin-left: -1px;
|
17
|
-
margin-right:-1px;
|
18
|
-
}
|
19
|
-
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 7px; width: 1.8em; height: 1.8em; }
|
20
|
-
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
|
21
|
-
.ui-datepicker .ui-datepicker-prev { left:4px; background:url(backend/icons/left-arrow.png) no-repeat; }
|
22
|
-
.ui-datepicker .ui-datepicker-next { right:4px; background:url(backend/icons/right-arrow.png) no-repeat;}
|
23
|
-
.ui-datepicker .ui-datepicker-prev-hover { border:none; top:7px; opacity:0.7; filter:alpha(opacity=70);}
|
24
|
-
.ui-datepicker .ui-datepicker-next-hover { border:none; top:7px; opacity:0.7; filter:alpha(opacity=70);}
|
25
|
-
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; background: none; }
|
26
|
-
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
|
27
|
-
.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
|
28
|
-
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
|
29
|
-
.ui-datepicker select.ui-datepicker-month,
|
30
|
-
.ui-datepicker select.ui-datepicker-year { width: 49%;}
|
31
|
-
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
|
32
|
-
.ui-datepicker table thead {border-bottom: 1px solid #C4C4C4; line-height: 12px;}
|
33
|
-
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
|
34
|
-
.ui-datepicker td { border: 0; padding: 1px; }
|
35
|
-
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .5em; text-align: center; text-decoration: none;border:none !important;}
|
36
|
-
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
|
37
|
-
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
|
38
|
-
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
|
39
|
-
|
40
|
-
/* with multiple calendars */
|
41
|
-
.ui-datepicker.ui-datepicker-multi { width:auto; }
|
42
|
-
.ui-datepicker-multi .ui-datepicker-group { float:left; }
|
43
|
-
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
|
44
|
-
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
|
45
|
-
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
|
46
|
-
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
|
47
|
-
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
|
48
|
-
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
|
49
|
-
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
|
50
|
-
.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }
|
51
|
-
|
52
|
-
/* RTL support */
|
53
|
-
.ui-datepicker-rtl { direction: rtl; }
|
54
|
-
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
|
55
|
-
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
|
56
|
-
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
|
57
|
-
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
|
58
|
-
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
|
59
|
-
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
|
60
|
-
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
|
61
|
-
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
|
62
|
-
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
63
|
-
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
64
|
-
|
65
|
-
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
|
66
|
-
.ui-datepicker-cover {
|
67
|
-
display: none; /*sorry for IE5*/
|
68
|
-
display/**/: block; /*sorry for IE5*/
|
69
|
-
position: absolute; /*must have*/
|
70
|
-
z-index: -1; /*must have*/
|
71
|
-
filter: mask(); /*must have*/
|
72
|
-
top: -4px; /*must have*/
|
73
|
-
left: -4px; /*must have*/
|
74
|
-
width: 200px; /*must have*/
|
75
|
-
height: 200px; /*must have*/
|
76
|
-
}
|
1
|
+
/*!
|
2
|
+
* jQuery UI Datepicker 1.8.21
|
3
|
+
*
|
4
|
+
* Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
|
5
|
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
6
|
+
* http://jquery.org/license
|
7
|
+
*
|
8
|
+
* http://docs.jquery.com/UI/Datepicker#theming
|
9
|
+
*/
|
10
|
+
.ui-datepicker { width: 100%; padding: 0; display: none; z-index: 9999; max-width: 318px; }
|
11
|
+
.ui-datepicker .ui-datepicker-header {
|
12
|
+
background: image-url("backend/patterns/2.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
|
13
|
+
position:relative;
|
14
|
+
padding:.5em 0;
|
15
|
+
margin-top:-1px;
|
16
|
+
margin-left: -1px;
|
17
|
+
margin-right:-1px;
|
18
|
+
}
|
19
|
+
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 7px; width: 1.8em; height: 1.8em; }
|
20
|
+
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
|
21
|
+
.ui-datepicker .ui-datepicker-prev { left:4px; background:image-url('backend/icons/left-arrow.png') no-repeat; }
|
22
|
+
.ui-datepicker .ui-datepicker-next { right:4px; background:image-url('backend/icons/right-arrow.png') no-repeat;}
|
23
|
+
.ui-datepicker .ui-datepicker-prev-hover { border:none; top:7px; opacity:0.7; filter:alpha(opacity=70);}
|
24
|
+
.ui-datepicker .ui-datepicker-next-hover { border:none; top:7px; opacity:0.7; filter:alpha(opacity=70);}
|
25
|
+
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; background: none; }
|
26
|
+
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
|
27
|
+
.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
|
28
|
+
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
|
29
|
+
.ui-datepicker select.ui-datepicker-month,
|
30
|
+
.ui-datepicker select.ui-datepicker-year { width: 49%;}
|
31
|
+
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
|
32
|
+
.ui-datepicker table thead {border-bottom: 1px solid #C4C4C4; line-height: 12px;}
|
33
|
+
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
|
34
|
+
.ui-datepicker td { border: 0; padding: 1px; }
|
35
|
+
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .5em; text-align: center; text-decoration: none;border:none !important;}
|
36
|
+
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
|
37
|
+
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
|
38
|
+
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
|
39
|
+
|
40
|
+
/* with multiple calendars */
|
41
|
+
.ui-datepicker.ui-datepicker-multi { width:auto; }
|
42
|
+
.ui-datepicker-multi .ui-datepicker-group { float:left; }
|
43
|
+
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
|
44
|
+
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
|
45
|
+
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
|
46
|
+
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
|
47
|
+
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
|
48
|
+
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
|
49
|
+
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
|
50
|
+
.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }
|
51
|
+
|
52
|
+
/* RTL support */
|
53
|
+
.ui-datepicker-rtl { direction: rtl; }
|
54
|
+
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
|
55
|
+
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
|
56
|
+
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
|
57
|
+
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
|
58
|
+
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
|
59
|
+
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
|
60
|
+
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
|
61
|
+
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
|
62
|
+
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
63
|
+
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
64
|
+
|
65
|
+
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
|
66
|
+
.ui-datepicker-cover {
|
67
|
+
display: none; /*sorry for IE5*/
|
68
|
+
display/**/: block; /*sorry for IE5*/
|
69
|
+
position: absolute; /*must have*/
|
70
|
+
z-index: -1; /*must have*/
|
71
|
+
filter: mask(); /*must have*/
|
72
|
+
top: -4px; /*must have*/
|
73
|
+
left: -4px; /*must have*/
|
74
|
+
width: 200px; /*must have*/
|
75
|
+
height: 200px; /*must have*/
|
76
|
+
}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
@import "backend/supr-theme/jquery.ui.resizable";
|
4
4
|
@import "backend/supr-theme/jquery.ui.dialog";
|
5
5
|
@import "backend/supr-theme/jquery.ui.slider";
|
6
|
-
@import "
|
6
|
+
@import "jquery.ui.datepicker";
|
7
7
|
@import "backend/supr-theme/jquery.ui.progressbar";
|
8
8
|
/*@import "jquery-ui-timepicker-addon";*/
|
9
9
|
@import "backend/supr-theme/jquery.ui.autocomplete";
|
@@ -5,7 +5,7 @@
|
|
5
5
|
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: 'Droid Sans', Helvetica, Arial, sans-serif; font-size: 1em; }
|
6
6
|
.ui-widget-content { border: 1px solid #c4c4c4; background: #ffffff image-url('backend/ui-bg_flat_75_ffffff_40x100.png') 50% 50% repeat-x; color: #353535; }
|
7
7
|
.ui-widget-content a { color: #353535; }
|
8
|
-
.ui-widget-header { border: 1px solid #c4c4c4; background: #f4f4f4 url(backend/patterns/2-1.png) 50% 50% repeat; color: #353535; font-weight: bold; }
|
8
|
+
.ui-widget-header { border: 1px solid #c4c4c4; background: #f4f4f4 image-url('backend/patterns/2-1.png') 50% 50% repeat; color: #353535; font-weight: bold; }
|
9
9
|
.ui-widget-header a { color: #353535; }
|
10
10
|
|
11
11
|
|
@@ -47,7 +47,7 @@
|
|
47
47
|
border-radius: 2px;
|
48
48
|
-webkit-border-radius:2px;
|
49
49
|
-moz-border-radius:2px;
|
50
|
-
background: #9fc569 url(
|
50
|
+
background: #9fc569 image-url('ui-bg_glass_55_9fc569_1x400.png') 50% 50% repeat-x;
|
51
51
|
color: #363636;
|
52
52
|
|
53
53
|
}
|
@@ -92,12 +92,13 @@ private
|
|
92
92
|
else
|
93
93
|
|
94
94
|
columns = ''
|
95
|
-
|
96
|
-
|
95
|
+
first_col = true
|
96
|
+
@obj_class.columns.each do |c|
|
97
|
+
next unless [:string, :text].include? c.type
|
98
|
+
columns << " OR " unless first_col
|
99
|
+
columns << c.name
|
97
100
|
columns << ' LIKE :kw'
|
98
|
-
|
99
|
-
columns << " OR "
|
100
|
-
end
|
101
|
+
first_col = false
|
101
102
|
end
|
102
103
|
|
103
104
|
collection = @obj_class.order("#{sort_column} #{sort_direction}").where("#{columns}",:kw=>"%#{params[:sSearch]}%")
|
@@ -1,15 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
.
|
12
|
-
|
13
|
-
|
14
|
-
.
|
15
|
-
=collection_select(:article, :menu_ids,menu_select_grouped(Mokio::Menu.all.includes(:content_links).arrange(:order => :seq)),:id,:name, {disabled: lambda{|s| s.fake.present? },selected:obj.menus.map {|j| j.id} },:multiple => true)
|
1
|
+
= render :partial => "mokio/common/main_pic", locals: {f:f}
|
2
|
+
= f.input :lang_id, collection: Mokio::Lang.all.collect{|lang| [bt(lang.name), lang.id]}, include_blank: bt('all'), disabled: !obj.display_editable_field?('lang_id')
|
3
|
+
= f.input :active, :wrapper => :active_checkbox, disabled: !obj.display_editable_field?('active')
|
4
|
+
= f.input :home_page, :wrapper => :active_checkbox, disabled: !obj.display_editable_field?('home_page')
|
5
|
+
= f.input :title, disabled: !obj.display_editable_field?('title')
|
6
|
+
= f.input :intro, :wrapper => :ckeditor, :as => :ckeditor, :input_html => { :ckeditor => {:toolbar => 'Mini', :height => 150} }, disabled: !obj.display_editable_field?('intro')
|
7
|
+
= f.input :content, :wrapper => :ckeditor, :as => :ckeditor, :input_html => { :ckeditor => {:toolbar => 'Medium', :height => 400} }, disabled: !obj.display_editable_field?('content')
|
8
|
+
= f.input :display_from, :wrapper => :date, :as => :string, :input_html => { :class => "mask-date display_from", :value => (localize(f.object.display_from) if f.object.display_from) }, disabled: !obj.display_editable_field?('display_from')
|
9
|
+
= f.input :display_to, :wrapper => :date, :as => :string, :input_html => { :class => "mask-date display_to", :value => (localize(f.object.display_to) if f.object.display_to) }, disabled: !obj.display_editable_field?('display_to')
|
10
|
+
.row-fluid
|
11
|
+
label.form-label.span2
|
12
|
+
= t('menus.content_assoc')
|
13
|
+
.span10
|
14
|
+
=collection_select(:article, :menu_ids,menu_select_grouped(Mokio::Menu.all.includes(:content_links).arrange(:order => :seq)),:id,:name, {disabled: lambda{|s| s.fake.present? },selected:obj.menus.map {|j| j.id} },:multiple => true)
|
@@ -7,7 +7,7 @@
|
|
7
7
|
= simple_form_for [:backend, obj], :html => { :class => 'form-horizontal' } do |f|
|
8
8
|
= render :partial => "mokio/backend/common/gmap", locals: {obj: obj, f: f} if obj.class.has_gmap_enabled?
|
9
9
|
= render :partial => "mokio/backend/common/meta", locals: {obj: obj, f: f} if obj.class.has_meta_enabled?
|
10
|
-
|
10
|
+
|
11
11
|
= render :partial => "mokio/backend/#{obj.class.to_s.tableize}/form", :locals => {f: f, obj: obj}
|
12
12
|
|
13
13
|
- if params[:action] != "edit" || !has_data_files?(obj)
|
@@ -31,7 +31,7 @@
|
|
31
31
|
= "%content% - Treść"
|
32
32
|
|
33
33
|
= t.input :tpl, :label => "", :wrapper => :ckeditor, :as => :ckeditor, :input_html => { :ckeditor => {:toolbar => 'Medium', :height => 300} }
|
34
|
-
|
34
|
+
|
35
35
|
|
36
36
|
= f.hidden_field :contact, value: true
|
37
37
|
= f.hidden_field :intro, value: ""
|
@@ -9,27 +9,27 @@
|
|
9
9
|
- unless @loose_content.empty?
|
10
10
|
= render :template => "mokio/backend/dashboard/tbl_content", |
|
11
11
|
locals: { collection: @loose_content, |
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
12
|
+
title_msg: bt('content_not_in_menu'), |
|
13
|
+
label_msg: bt("all_dashboard"), |
|
14
|
+
more: @more_loose_content, |
|
15
|
+
more_link: only_loose_backend_contents_path }
|
16
16
|
|
17
17
|
- unless @empty_menu.empty?
|
18
18
|
= render :template => "mokio/backend/dashboard/tbl_content", |
|
19
19
|
locals: { collection: @empty_menu, |
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
20
|
+
title_msg: bt('menu_with_invisible'), |
|
21
|
+
label_msg: bt("all_dashboard"), |
|
22
|
+
more: @more_empty_menu, |
|
23
|
+
more_link: only_loose_backend_contents_path }
|
24
24
|
|
25
25
|
.row-fluid
|
26
26
|
= render :template => "mokio/backend/dashboard/tbl_content", |
|
27
27
|
locals: { collection: @last_updated, |
|
28
|
-
|
29
|
-
|
30
|
-
|
28
|
+
title_msg: bt('last_updated_content'), |
|
29
|
+
label_msg: bt("last_updated"), |
|
30
|
+
more: @last_updated.any? ? @last_updated.first.updated_at.strftime("%d-%m-%Y") : "" }
|
31
31
|
= render :template => "mokio/backend/dashboard/tbl_content", |
|
32
32
|
locals: { collection: @last_created, |
|
33
|
-
|
34
|
-
|
35
|
-
|
33
|
+
title_msg: bt('last_created_content'), |
|
34
|
+
label_msg: bt("last_created"), |
|
35
|
+
more: @last_created.any? ? @last_created.first.updated_at.strftime("%d-%m-%Y") : "" }
|
@@ -1,16 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
= f.input :content, :wrapper => :ckeditor, :as => :ckeditor, :input_html => { :ckeditor => {:toolbar => 'Medium', :height => 400} }, disabled: !obj.display_editable_field?('content')
|
1
|
+
= f.input :lang_id, collection: Mokio::Lang.all.collect{|lang| [bt(lang.name), lang.id]}, include_blank: bt('all'), disabled: !obj.display_editable_field?('lang_id')
|
2
|
+
= f.input :active, :wrapper => :active_checkbox, disabled: !obj.display_editable_field?('active')
|
3
|
+
= f.input :home_page, :wrapper => :active_checkbox, disabled: !obj.display_editable_field?('home_page')
|
4
|
+
= f.input :title, disabled: !obj.display_editable_field?('title')
|
5
|
+
= f.input :content, :wrapper => :ckeditor, :as => :ckeditor, :input_html => { :ckeditor => {:toolbar => 'Medium', :height => 400} }, disabled: !obj.display_editable_field?('content')
|
7
6
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
7
|
+
= f.input :recipient_emails, :as => :string, :input_html => { :class => "recipients span10" }, disabled: !obj.display_editable_field?('recipient_emails')
|
8
|
+
.row-fluid
|
9
|
+
label.form-label.span2
|
10
|
+
= t('menus.content_assoc')
|
11
|
+
.span10
|
12
|
+
=collection_select(:contact, :menu_ids,menu_select_grouped(Mokio::Menu.all.includes(:content_links).arrange(:order => :seq)),:id,:name, {disabled: lambda{|s| s.fake.present? },selected:obj.menus.map {|j| j.id} },:multiple => true)
|
14
13
|
|
15
14
|
|
16
15
|
.contaner
|
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
= f.input :script
|
1
|
+
= f.input :name
|
2
|
+
= f.input :script
|
@@ -1,4 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
= f.input :active, :wrapper => :active_checkbox,:input_html => { :checked => true }, disabled: !obj.display_editable_field?('active')
|
1
|
+
= f.input :name
|
2
|
+
= f.input :shortname
|
3
|
+
= f.input :active, :wrapper => :active_checkbox,:input_html => { :checked => true }, disabled: !obj.display_editable_field?('active')
|
@@ -31,7 +31,8 @@
|
|
31
31
|
= f.input :target, :collection => [[bt("current_window_inside",Mokio::Menu), nil], [bt("new_window",Mokio::Menu), "_blank"]], include_blank: false, disabled: !@menu.display_editable_field?('target')
|
32
32
|
|
33
33
|
.row-fluid
|
34
|
-
%label.form-label.span2
|
34
|
+
%label.form-label.span2
|
35
|
+
= btc("blocks", 'Menu')
|
35
36
|
.span10
|
36
37
|
.tabs_wrap
|
37
38
|
%ul.nav.nav-tabs.pattern{:id => "tabs_modules"}
|
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
= f.input :tpl
|
1
|
+
= f.input :name
|
2
|
+
= f.input :tpl
|
@@ -1,17 +1,16 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
.
|
12
|
-
|
13
|
-
|
14
|
-
.
|
15
|
-
=collection_select(:mov_gallery, :menu_ids,menu_select_grouped(Mokio::Menu.all.includes(:content_links).arrange(:order => :seq)),:id,:name, {disabled: lambda{|s| s.fake.present? },selected:obj.menus.map {|j| j.id} },:multiple => true)
|
1
|
+
= render :partial => "mokio/common/main_pic", locals: {f:f}
|
2
|
+
= f.input :lang_id, collection: Mokio::Lang.all.collect{|lang| [bt(lang.name), lang.id]}, include_blank: bt('all'), disabled: !obj.display_editable_field?('lang_id')
|
3
|
+
= f.input :active, :wrapper => :active_checkbox, disabled: !obj.display_editable_field?('active')
|
4
|
+
= f.input :home_page, :wrapper => :active_checkbox, disabled: !obj.display_editable_field?('home_page')
|
5
|
+
= f.input :title, disabled: !obj.display_editable_field?('title')
|
6
|
+
= f.input :intro, label: btc("intro", 'mov_gallery'), :wrapper => :ckeditor, :as => :ckeditor, :input_html => { :ckeditor => {:toolbar => 'Mini', :height => 150} }, disabled: !obj.display_editable_field?('intro')
|
7
|
+
= f.input :content, :wrapper => :ckeditor, :as => :ckeditor, :input_html => { :ckeditor => {:toolbar => 'Medium', :height => 300} }, disabled: !obj.display_editable_field?('content')
|
8
|
+
= f.input :display_from, :wrapper => :date, :as => :string, :input_html => { :class => "mask-date display_from", :value => (localize(f.object.display_from) if f.object.display_from) }, disabled: !obj.display_editable_field?('display_from')
|
9
|
+
= f.input :display_to, :wrapper => :date, :as => :string, :input_html => { :class => "mask-date display_to", :value => (localize(f.object.display_to) if f.object.display_to) }, disabled: !obj.display_editable_field?('display_to')
|
10
|
+
.row-fluid
|
11
|
+
label.form-label.span2
|
12
|
+
= t('menus.content_assoc')
|
13
|
+
.span10
|
14
|
+
=collection_select(:mov_gallery, :menu_ids,menu_select_grouped(Mokio::Menu.all.includes(:content_links).arrange(:order => :seq)),:id,:name, {disabled: lambda{|s| s.fake.present? },selected:obj.menus.map {|j| j.id} },:multiple => true)
|
16
15
|
|
17
16
|
|