Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
netvs-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
scc-net
netvs
netvs-core
Compare revisions
8625617409d1939c4c1d1f258c1426dd596b252d to 407a3973bcdf6002a0d3f653791738a2bc5a6087
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
scc-net/netvs/netvs-core
Select target project
No results found
407a3973bcdf6002a0d3f653791738a2bc5a6087
Select Git revision
Branches
806-contentmanager
DHCPVS
devel
feature/db-editor-array
feature/dualstack-entries
flatly_design
hub_permissions
iptools-own-bcd
lab
new_interface_tokens
nextvs
nextvs-feature/icons
nextvs-feature/ta-sidebar-language
prod
set-dependency-scanning-config-1
v4-mapped-v6
vue3
vue3_v2
18 results
Swap
Target
scc-net/netvs/netvs-core
Select target project
scc-net/netvs/netvs-core
1 result
8625617409d1939c4c1d1f258c1426dd596b252d
Select Git revision
Branches
806-contentmanager
DHCPVS
devel
feature/db-editor-array
feature/dualstack-entries
flatly_design
hub_permissions
iptools-own-bcd
lab
new_interface_tokens
nextvs
nextvs-feature/icons
nextvs-feature/ta-sidebar-language
prod
set-dependency-scanning-config-1
v4-mapped-v6
vue3
vue3_v2
18 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
ADD: collapse-button
· 46254b18
Nazik Abdyldabekova
authored
3 weeks ago
46254b18
DEL: unnecessary checkbox removed
· 407a3973
Nazik Abdyldabekova
authored
3 weeks ago
407a3973
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/TransactionSidebar.vue
+12
-5
12 additions, 5 deletions
src/components/TransactionSidebar.vue
src/components/ui/drag-and-drop/DragAndDropItem.vue
+0
-1
0 additions, 1 deletion
src/components/ui/drag-and-drop/DragAndDropItem.vue
with
12 additions
and
6 deletions
src/components/TransactionSidebar.vue
View file @
407a3973
<
script
setup
lang=
"ts"
>
const
providerRef
=
useTemplateRef
(
'
providerRef
'
)
defineExpose
({
providerRef
})
const
actions
=
ref
([
{
id
:
0
,
...
...
@@ -40,12 +41,19 @@ function clearList() {
<SidebarInset>
<slot
/>
</SidebarInset>
<Sidebar
collapsible=
"offcanvas"
side=
"right"
style=
"--sidebar-width: 26rem"
>
<SidebarHeader
mt-
topbar
text-center
>
<Sidebar
collapsible=
"offcanvas"
side=
"right"
style=
"--sidebar-width: 26rem
;
"
>
<SidebarHeader
mt-
1
text-center
>
Planned Actions
</SidebarHeader>
<SidebarSeparator
/>
<SidebarContent>
<SidebarGroup>
<Button
variant=
"secondary"
bg-background
@
click=
"providerRef?.toggleSidebar()"
>
Collapse
<IconTooling
/>
</Button>
</SidebarGroup>
<SidebarSeparator
/>
<SidebarGroup
class=
"m-b-2 m-t-2 flex flex-row justify-center"
>
<Button
variant=
"outline"
w=
"1/8"
rounded-bl-lg
rounded-br-none
rounded-tl-lg
rounded-tr-none
>
<IconTooling
/>
...
...
@@ -54,7 +62,7 @@ function clearList() {
<IconTooling
/>
</Button>
</SidebarGroup>
<SidebarSeparator/>
<SidebarSeparator
/>
<SidebarGroup
class=
"m-b-2 flex flex-row justify-center"
>
<div
flex
flex-row
justify-center
>
<Button
variant=
"outline"
w-8rem
rounded-bl-lg
rounded-br-none
rounded-tl-lg
rounded-tr-none
@
click=
"clearList()"
>
...
...
@@ -81,8 +89,7 @@ function clearList() {
<SidebarSeparator
/>
<SidebarGroup>
<DragAndDrop
:length=
"actions.length"
:emptyListPhrase=
"emptyListPhrase"
>
<DragAndDropItem
v-for=
"action in actions"
:key=
"action.id"
:item=
"action"
:items=
"actions"
>
</DragAndDropItem>
<DragAndDropItem
v-for=
"action in actions"
:key=
"action.id"
:item=
"action"
:items=
"actions"
/>
</DragAndDrop>
</SidebarGroup>
</SidebarContent>
...
...
This diff is collapsed.
Click to expand it.
src/components/ui/drag-and-drop/DragAndDropItem.vue
View file @
407a3973
...
...
@@ -46,7 +46,6 @@ const onDrop = (evt: DragEvent, anotherItem: Item) => {
w-86
h-40
m-t-2
m-b-2
rounded-0.5rem
flex
flex-col
items-center
p-4
border-1.5
border-black-500
bg-background
>
<div
class=
"w-100% flex flex-row justify-between"
>
<div
class=
" w-60% flex flex-row justify-between items-center"
>
<Checkbox></Checkbox>
<h1>
{{
props
.
item
.
title
}}
</h1>
</div>
<div>
...
...
This diff is collapsed.
Click to expand it.