Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
synergy-components
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
synergy-components
Commits
5b15a845
Commit
5b15a845
authored
May 19, 2023
by
Samir Sadyhov
🤔
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UTILS.js - поправлен заголовок модалки во весь экран
parent
86db5220
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
constructor/library/UTILS.js
constructor/library/UTILS.js
+15
-2
No files found.
constructor/library/UTILS.js
View file @
5b15a845
...
@@ -189,11 +189,24 @@ UTILS.getDialogFinishProcess = async (title, buttons, typeID, handler) => {
...
@@ -189,11 +189,24 @@ UTILS.getDialogFinishProcess = async (title, buttons, typeID, handler) => {
UTILS
.
getFullModalDialog
=
(
title
=
''
,
body
)
=>
{
UTILS
.
getFullModalDialog
=
(
title
=
''
,
body
)
=>
{
const
dialog
=
$
(
'
<div class="uk-modal-full" uk-modal="stack: true;">
'
);
const
dialog
=
$
(
'
<div class="uk-modal-full" uk-modal="stack: true;">
'
);
const
md
=
$
(
'
<div class="uk-modal-dialog" style="height: 100%; background: #d3d3d3;">
'
);
const
md
=
$
(
'
<div class="uk-modal-dialog" style="height: 100%; background: #d3d3d3;">
'
);
const
header
=
$
(
'
<div>
'
,
{
class
:
'
uk-modal-header
'
,
style
:
'
width: 100%; height: 40px;
'
});
const
titleHeader
=
$
(
'
<h3>
'
);
titleHeader
.
text
(
title
);
titleHeader
.
css
({
'
white-space
'
:
'
nowrap
'
,
'
overflow
'
:
'
hidden
'
,
'
text-overflow
'
:
'
ellipsis
'
,
'
width
'
:
'
calc(100% - 50px)
'
});
header
.
append
(
titleHeader
)
md
.
append
(
md
.
append
(
`<button class="uk-modal-close-full uk-close-custom" type="button" uk-close></button>`
,
`<button class="uk-modal-close-full uk-close-custom" type="button" uk-close></button>`
,
`<div class="uk-modal-header" style="width: 100%; height: 40px;"><h3>
${
title
}
</h3></div>`
,
header
,
body
body
);
);
dialog
.
append
(
md
);
dialog
.
append
(
md
);
return
dialog
;
return
dialog
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment