Skip to content

Commit c610b9e

Browse files
update 1.5.0
1 parent 494ab98 commit c610b9e

19 files changed

Lines changed: 276 additions & 61 deletions

File tree

Gruntfile.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,14 +171,14 @@ module.exports = function(grunt) {
171171
replacement: `/**
172172
* FoodModuleMenu
173173
*
174-
* Плагин встраивания пункта меню для FoodModule.
174+
* Плагин встраивания пункта меню для FoodModuleMenu.
175175
*
176176
* @category plugin
177177
* @version ${gc.versions}
178178
* @package evo
179179
* @internal @events OnManagerMenuPrerender,OnManagerMainFrameHeaderHTMLBlock
180180
* @internal @modx_category Manager and Admin
181-
* @internal @properties &id_module=ID модуля FoodModule;int;0;0 &title=Заголовок пункта меню;text;;; &sort=Позиция пункта;int;0;0;0
181+
* @internal @properties &id_module=ID модуля FoodModuleMenu;int;0;0 &title=Заголовок пункта меню;text;;; &sort=Позиция пункта;int;0;0;0 &show=Показывать пункт меню;list;0,1;1;1
182182
* @internal @installset base
183183
* @internal @disabled 0
184184
* @homepage https://github.com/ProjectSoft-STUDIONIONS/food-module#readme
@@ -191,14 +191,14 @@ module.exports = function(grunt) {
191191
/**
192192
* FoodModuleMenu
193193
*
194-
* Плагин встраивания пункта меню для FoodModule.
194+
* Плагин встраивания пункта меню для FoodModuleMenu.
195195
*
196196
* @category plugin
197197
* @version ${gc.versions}
198198
* @package evo
199199
* @internal @events OnManagerMenuPrerender,OnManagerMainFrameHeaderHTMLBlock
200200
* @internal @modx_category Manager and Admin
201-
* @internal @properties &id_module=ID модуля FoodModule;int;0;0 &title=Заголовок пункта меню;text;;; &sort=Позиция пункта;int;0;0;0
201+
* @internal @properties &id_module=ID модуля FoodModuleMenu;int;0;0 &title=Заголовок пункта меню;text;;; &sort=Позиция пункта;int;0;0;0 &show=Показывать пункт меню;list;0,1;1;1
202202
* @internal @installset base
203203
* @internal @disabled 0
204204
* @homepage https://github.com/ProjectSoft-STUDIONIONS/food-module#readme

assets/modules/food-module/css/main.css

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1388,7 +1388,6 @@ div.dt-container div.dt-layout-row.dt-layout-table {
13881388
.dt-dragdrop-block {
13891389
width: 100%;
13901390
min-height: 5.2em;
1391-
box-shadow: 0 0 1px #000;
13921391
border-radius: 0.5em;
13931392
display: -ms-flexbox;
13941393
display: flex;
@@ -1421,10 +1420,16 @@ div.dt-container div.dt-layout-row.dt-layout-table {
14211420
content: attr(data-title-after);
14221421
line-height: 1;
14231422
}
1423+
.dt-buttons .dt-button:hover {
1424+
border-color: #bbb;
1425+
}
14241426
.dt-button {
14251427
text-transform: uppercase;
14261428
line-height: 1;
14271429
}
1430+
.dt-button:hover {
1431+
border-color: #d4d4d4;
1432+
}
14281433
.dt-button.processing {
14291434
position: relative;
14301435
}
@@ -1450,8 +1455,9 @@ div.dt-container div.dt-layout-row.dt-layout-table {
14501455
outline-offset: 0 !important;
14511456
text-transform: none;
14521457
}
1453-
.dt-button-collection [role="menu"] .dt-button:hover {
1454-
background-color: #e6e6e6;
1458+
.dt-button-collection [role="menu"] .dt-button:hover,
1459+
.dt-button-collection [role="menu"] .dt-button-active {
1460+
background-color: #d4d4d4;
14551461
}
14561462
.dt-container {
14571463
margin-top: 1em;
@@ -1580,6 +1586,9 @@ div.dt-container div.dt-layout-row.dt-layout-table {
15801586
display: -ms-flexbox;
15811587
display: flex;
15821588
}
1589+
.dt-paging-button {
1590+
border: 1px solid #d4d4d4;
1591+
}
15831592
.dt-paging-button,
15841593
.dt-paging-button * {
15851594
font-weight: 700;
@@ -1665,6 +1674,12 @@ span.link-dir::before {
16651674
content: "/";
16661675
margin-left: -0.5em;
16671676
}
1677+
table.table-bordered td,
1678+
table.table.table-bordered td,
1679+
table.table-bordered th,
1680+
table.table.table-bordered th {
1681+
border: 1px solid #d4d4d4;
1682+
}
16681683
table.dataTable thead > tr > td,
16691684
table.dataTable thead > tr > th {
16701685
vertical-align: middle !important;
@@ -1845,3 +1860,10 @@ table.table.dataTable > tbody > tr > td a[data-mode] {
18451860
.alert:empty {
18461861
display: none;
18471862
}
1863+
.btn-primary.focus,
1864+
.btn-primary:focus {
1865+
color: #fff;
1866+
background-color: #0069d9;
1867+
border-color: #0062cc;
1868+
box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
1869+
}

assets/modules/food-module/css/main.min.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.

assets/modules/food-module/js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* bower_components/datatables.net-select/js/dataTables.select.js
1212
* bower_components/datatables.net-bs/js/dataTables.bootstrap.js
1313
*
14-
* Last Update: 2026-01-21 17:24:40 GMT+0400
14+
* Last Update: 2026-03-09 17:56:08 GMT+0400
1515
*/
1616
/*!
1717
* JavaScript Cookie v2.2.1

assets/modules/food-module/js/app.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Заполняется в соответствии с API Evolution CMS
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"processing": "Подождите...",
3+
"search": "Поиск:",
4+
"lengthMenu": "Показать: _MENU_",
5+
"info": "Записи с _START_ до _END_ из _TOTAL_ записей",
6+
"infoEmpty": "Записи с 0 до 0 из 0 записей",
7+
"infoFiltered": "(отфильтровано из _MAX_ записей)",
8+
"loadingRecords": "Загрузка записей...",
9+
"zeroRecords": "Записи отсутствуют.",
10+
"emptyTable": "В таблице отсутствуют данные",
11+
"aria": {
12+
"sortAscending": ": активировать для сортировки столбца по возрастанию",
13+
"sortDescending": ": активировать для сортировки столбца по убыванию"
14+
},
15+
"buttons": {
16+
"pdf": "Экспорт в PDF",
17+
"print": "Печать",
18+
"collection": "Коллекция <span class=\"ui-button-icon-primary ui-icon ui-icon-triangle-1-s\"><\/span>",
19+
"colvis": "Видимость столбцов",
20+
"copy": "Копировать",
21+
"copyTitle": "Скопировать в буфер обмена",
22+
"copyKeys": "Нажмите ctrl или u2318 + C, чтобы скопировать данные таблицы в буфер обмена. Для отмены, щелкните по сообщению или нажмите escape.",
23+
"csv": "Экспорт в CSV",
24+
"excel": "Экспорт в Excel",
25+
"pageLength": {
26+
"-1": "Показать все строки",
27+
"1": "Показать 1 строку",
28+
"2": "Показать 2 строки",
29+
"3": "Показать 3 строки",
30+
"4": "Показать 4 строки",
31+
"_": "Показать %d строк"
32+
}
33+
},
34+
"decimal": ".",
35+
"infoThousands": ",",
36+
"searchPlaceholder": "Что ищете?",
37+
"thousands": ""
38+
}

assets/modules/food-module/js/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/**
2-
* Скрипт модуля FoodModuleMenu v1.4.8 для Evolution CMS
2+
* Скрипт модуля FoodModuleMenu v1.5.0 для Evolution CMS
33
* Модуль загрузки файлов меню ежедневного питания
44
* Актуально для сайтов школ России
55
* Автор: Чернышёв Андрей aka ProjectSoft <projectsoft2009@yandex.ru>
66
* GitHub: https://github.com/ProjectSoft-STUDIONIONS/food-module#readme
7-
* Last Update: 2026-01-21 17:24:40 GMT+0400
7+
* Last Update: 2026-03-09 17:56:08 GMT+0400
88
*/
99
window.DT_table = false;
1010
(function (factory) {

0 commit comments

Comments
 (0)