Skip to content

Commit 8eb7707

Browse files
update 1.4.6
1 parent 6cc9f1c commit 8eb7707

27 files changed

Lines changed: 1189 additions & 991 deletions

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ src/temp
1616
# SublimeText workspace file
1717
*.sublime-workspace
1818

19-
/*.zip
19+
*.zip
2020

2121
docs/index.html

Gruntfile.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,11 +375,9 @@ module.exports = function(grunt) {
375375
'icons-full/**',
376376
'viewer/**',
377377
'food/**',
378-
'food-individual/**',
379378
'icons-full/.*',
380379
'viewer/.*',
381380
'food/.*',
382-
'food-individual/.*'
383381
],
384382
dest: 'food-module/'
385383
},
@@ -388,6 +386,7 @@ module.exports = function(grunt) {
388386
cwd: '.',
389387
src: [
390388
'assets/**',
389+
'assets/**/.*',
391390
'install/**',
392391
],
393392
dest: 'food-module/'

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

Lines changed: 32 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ div.dt-button-background {
10981098
}
10991099
@font-face {
11001100
font-family: "FoodIcon";
1101-
src: url("../fonts/FoodIcon.woff2?6f6866d1b4c769ca8c1ff2a06128e17d") format("woff2"), url("../fonts/FoodIcon.ttf?6f6866d1b4c769ca8c1ff2a06128e17d") format("truetype");
1101+
src: url("../fonts/FoodIcon.woff2?340a8f974ce37df777c24872b2560ad0") format("woff2"), url("../fonts/FoodIcon.ttf?340a8f974ce37df777c24872b2560ad0") format("truetype");
11021102
font-weight: normal;
11031103
font-style: normal;
11041104
font-display: swap;
@@ -1131,48 +1131,57 @@ div.dt-button-background {
11311131
.food-icon-export:before {
11321132
content: "\e904";
11331133
}
1134-
.food-icon-file:before {
1134+
.food-icon-file-:before {
11351135
content: "\e905";
11361136
}
1137-
.food-icon-first:before {
1137+
.food-icon-file-pdf:before {
11381138
content: "\e906";
11391139
}
1140-
.food-icon-flopy-save:before {
1140+
.food-icon-file-xlsx:before {
11411141
content: "\e907";
11421142
}
1143-
.food-icon-folder-open-o:before {
1143+
.food-icon-file:before {
11441144
content: "\e908";
11451145
}
1146-
.food-icon-folder-open:before {
1146+
.food-icon-first:before {
11471147
content: "\e909";
11481148
}
1149-
.food-icon-last:before {
1149+
.food-icon-flopy-save:before {
11501150
content: "\e90a";
11511151
}
1152-
.food-icon-lists:before {
1152+
.food-icon-folder-open-o:before {
11531153
content: "\e90b";
11541154
}
1155-
.food-icon-new-window:before {
1155+
.food-icon-folder-open:before {
11561156
content: "\e90c";
11571157
}
1158-
.food-icon-next:before {
1158+
.food-icon-last:before {
11591159
content: "\e90d";
11601160
}
1161-
.food-icon-prev:before {
1161+
.food-icon-lists:before {
11621162
content: "\e90e";
11631163
}
1164-
.food-icon-print:before {
1164+
.food-icon-new-window:before {
11651165
content: "\e90f";
11661166
}
1167-
.food-icon-tasks:before {
1167+
.food-icon-next:before {
11681168
content: "\e910";
11691169
}
1170-
.food-icon-tools:before {
1170+
.food-icon-prev:before {
11711171
content: "\e911";
11721172
}
1173-
.food-icon-trash:before {
1173+
.food-icon-print:before {
11741174
content: "\e912";
11751175
}
1176+
.food-icon-tasks:before {
1177+
content: "\e913";
1178+
}
1179+
.food-icon-tools:before {
1180+
content: "\e914";
1181+
}
1182+
.food-icon-trash:before {
1183+
content: "\e915";
1184+
}
11761185
@font-face {
11771186
font-family: 'JetBrains Mono';
11781187
src: url("../fonts/JetBrainsMono-Regular.ttf?6546516986753145355468");
@@ -1235,18 +1244,8 @@ table.table.data > tbody > tr > td {
12351244
padding-left: 0.75rem;
12361245
padding-right: 0.75rem;
12371246
}
1238-
.alert > *:first-child {
1239-
margin-top: unset;
1240-
}
1241-
.alert > *:last-child {
1242-
margin-bottom: unset;
1243-
}
1244-
.alert dl,
1245-
.alert div {
1246-
margin-bottom: 0.5em;
1247-
}
1248-
.alert dl dd {
1249-
margin-bottom: 0;
1247+
.alert > * {
1248+
margin: unset;
12501249
}
12511250
.fancybox-button {
12521251
background: rgba(30, 30, 30, 0.6) !important;
@@ -1784,6 +1783,12 @@ table.table.dataTable > tbody > tr > td a[data-mode] {
17841783
#food-module-evo {
17851784
position: relative;
17861785
}
1786+
#food-module-evo h1 {
1787+
padding: 1em 0;
1788+
}
1789+
#food-module-evo h2 {
1790+
margin-bottom: 1em;
1791+
}
17871792
#food-module-evo::before {
17881793
background-color: rgba(0, 0, 0, 0.3);
17891794
border-radius: 15px;

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.
892 Bytes
Binary file not shown.
204 Bytes
Binary file not shown.
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
<?php
2+
3+
$htaccess = 'AddDefaultCharset UTF-8
4+
<IfModule mod_rewrite.c>
5+
RewriteEngine On
6+
RewriteCond %{REQUEST_FILENAME} !-f
7+
RewriteCond %{REQUEST_FILENAME} !-d
8+
</IfModule>
9+
10+
# Установить опции
11+
Options +Indexes +ExecCGI +Includes
12+
13+
# Если включён модуль mod_autoindex
14+
<IfModule mod_autoindex.c>
15+
16+
# Сброс IndexIgnore
17+
IndexIgnoreReset ON
18+
19+
# Запрещаем индексировать определённые файлы
20+
IndexIgnore .htaccess *.shtml *.php *.cgi *.html *.js *.css *.ico
21+
22+
# Устанавливаем описания
23+
# AddDescription "Microsoft Office Excel" .xls .xlsx
24+
25+
# Устанавливаем иконки
26+
DefaultIcon /icons-full/unknown.png
27+
28+
AddIcon /icons-full/unknown.png ^^BLANKICON^^
29+
AddAlt "BLANK" ^^BLANKICON^^
30+
31+
AddIcon /icons-full/folder.png ^^DIRECTORY^^
32+
AddAlt "DIRECTORY" ^^DIRECTORY^^
33+
34+
AddIcon /icons-full/folder.png ..
35+
AddAlt "На верхний уровень" ..
36+
AddDescription "На верхний уровень" ..
37+
38+
AddIcon /icons-full/aac.png .aac
39+
AddIcon /icons-full/ai.png .ai
40+
AddIcon /icons-full/apk.png .apk
41+
AddIcon /icons-full/doc.png .doc .docx
42+
AddIcon /icons-full/image.png .jpg .jpeg .png .gif .bmp .ico .tif
43+
AddIcon /icons-full/iso.png .iso
44+
AddIcon /icons-full/js.png .js
45+
AddIcon /icons-full/mp3.png .mp3
46+
AddIcon /icons-full/pdf.png .pdf
47+
AddIcon /icons-full/ppt.png .ppt .pptx
48+
AddIcon /icons-full/psd.png .psd
49+
AddIcon /icons-full/svg.png .svg
50+
51+
AddDescription "Portable Document Format" .pdf
52+
53+
AddIcon /icons-full/txt.png .txt
54+
AddAlt "Текстовый файл" .txt
55+
56+
AddIcon /icons-full/video.png .mpeg .mp4 .avi
57+
AddAlt "Видеофайл" .mpeg .mp4 .avi
58+
59+
AddIcon /icons-full/wav.png .wav
60+
AddAlt "Звуковой медиафайл" .wav
61+
62+
AddIcon /icons-full/xls.png .xls .xlsx
63+
AddAlt "Файл электронной таблицы" .xls .xlsx
64+
AddDescription "Microsoft Office Excel" .xls .xlsx
65+
66+
AddIcon /icons-full/zip.png .zip .rar .tar
67+
AddAlt "Сжатый файл" .zip .rar .tar
68+
69+
AddOutputFilter INCLUDES .shtml
70+
71+
# Назначаем свои параметры установки файлов для шапки и подвала.
72+
HeaderName /icons-full/dirlist_header.shtml
73+
ReadmeName /icons-full/dirlist_footer.shtml
74+
75+
# Подключаем Стили к шапке
76+
# Возможность. Но в нашем случае не нужно.
77+
# IndexStyleSheet /icons-full/normalize.css
78+
79+
# Установить опции индексирования.
80+
IndexOptions IgnoreCase
81+
IndexOptions FancyIndexing
82+
IndexOptions FoldersFirst
83+
IndexOptions IconsAreLinks
84+
IndexOptions Charset=UTF-8
85+
IndexOptions XHTML
86+
IndexOptions HTMLtable
87+
IndexOptions SuppressHTMLPreamble
88+
IndexOptions SuppressRules
89+
IndexOptions SuppressLastModified
90+
IndexOptions IconHeight=32
91+
IndexOptions IconWidth=32
92+
93+
# Установить опции Сортировки по-умолчанию.
94+
IndexOrderDefault Descending Name
95+
</IfModule>
96+
97+
# Отключаем кэширование файлов *.xlsx и *.pdf
98+
<FilesMatch "\.(pdf|xlsx)$">
99+
ExpiresActive Off
100+
FileETag None
101+
Header unset ETag
102+
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
103+
Header set Pragma "no-cache"
104+
Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
105+
</FilesMatch>
106+
';

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: 2025-10-22 09:50:26 GMT+0400
14+
* Last Update: 2025-10-28 00:21:12 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: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"processing": "Wait...",
3+
"search": "Search:",
4+
"lengthMenu": "Show: _MENU_",
5+
"info": "Records from _START_ to _END_ of _TOTAL_ records",
6+
"infoEmpty": "Records from 0 to 0 of 0 records",
7+
"infoFiltered":"(filtered from _MAX_ records)",
8+
"loadingRecords": "Loading records...",
9+
"zeroRecords": "Records missing.",
10+
"emptyTable": "Data missing in table",
11+
"aria": {
12+
"sortAscending": ": activate to sort column in ascending order",
13+
"sortDescending": ": activate for column sorting in descending order"
14+
},
15+
"buttons": {
16+
"pdf": "Export to PDF",
17+
"print": "Print",
18+
"collection": "Collection <span class=\"ui-button-icon-primary ui-icon ui-icon-triangle-1-s\"><\/span>",
19+
"colvis": "Column visibility",
20+
"copy": "Copy",
21+
"copyTitle": "Copy to Clipboard",
22+
"copyKeys": "Press ctrl or u2318 +C to copy the table data to the clipboard. To cancel, click on the message or press escape.",
23+
"csv": "Export to CSV",
24+
"excel": "Export to Excel",
25+
"pageLength": {
26+
"-1": "Show all rows",
27+
"1": "Show 1 row",
28+
"2": "Show 2 rows",
29+
"3": "Show 3 rows",
30+
"4": "Show 4 rows",
31+
"_": "Show %d rows"
32+
}
33+
},
34+
"decimal": ".",
35+
"infoThousands": ",",
36+
"searchPlaceholder": "What are you looking for?",
37+
"thousands": ""
38+
}

0 commit comments

Comments
 (0)