Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Utilities
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
UNICADO
Utilities
Commits
7c652ab6
Commit
7c652ab6
authored
7 months ago
by
Duc Bui Tien
Browse files
Options
Downloads
Patches
Plain Diff
update formatted Modulenames
bugfix wrong url
parent
fbc55a9b
No related branches found
No related tags found
1 merge request
!3
UnicadoGuiFrontend
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
UnicadoGUI/Frontend/src/routes/model/+page.svelte
+3
-3
3 additions, 3 deletions
UnicadoGUI/Frontend/src/routes/model/+page.svelte
with
3 additions
and
3 deletions
UnicadoGUI/Frontend/src/routes/model/+page.svelte
+
3
−
3
View file @
7c652ab6
...
...
@@ -164,7 +164,7 @@
async
function
loadAvailableModules
()
{
//transitionally reading from convergenceloop_conf.xml
//TO-DO: replace with something more recent
const
res
=
await
fetch
(
"
http://127.0.0.1:8000/
/
modules/selection
"
);
const
res
=
await
fetch
(
"
http://127.0.0.1:8000/modules/selection
"
);
const
data
=
await
res
.
json
();
modules
=
data
[
'
availableModules
'
];
modules
=
Array
.
from
(
new
Set
(
modules
));
...
...
@@ -486,7 +486,7 @@
draggable=
"true"
on:dragstart=
{
event
=>
dragStart
(
event
,
groupIndex
,
groupitem
.
modules
.
indexOf
(
item
))
}
on:click=
{
getModuleConfClickWrapper
(
item
)
}
>
{
item
}
{
formatLabel
(
item
)
}
</li>
</div>
{
/each
}
...
...
@@ -495,7 +495,7 @@
{
/each
}
</Row>
<Modal
isOpen=
{
open
}
toggle=
{
toggle
}
scrollable
>
<ModalHeader
toggle=
{
toggle
}
>
{
modalModule
.
name
}
settings
</ModalHeader>
<ModalHeader
toggle=
{
toggle
}
>
{
formatLabel
(
modalModule
.
name
)
}
settings
</ModalHeader>
<ModalBody>
{
#each
modalModule
.
html
as
element
,
index
}
{
#if
element
.
type
==
"
switch
"
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment