Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
55203396
Commit
55203396
authored
Jan 18, 2021
by
Dheeraj Joshi
Committed by
Andrew Fontaine
Jan 18, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor DAST Profiles library
parent
51823053
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
14 deletions
+11
-14
ee/app/assets/javascripts/security_configuration/dast_profiles/components/dast_profiles_list.vue
...iguration/dast_profiles/components/dast_profiles_list.vue
+3
-3
ee/app/assets/javascripts/security_configuration/dast_profiles/components/dast_scanner_profiles_list.vue
...n/dast_profiles/components/dast_scanner_profiles_list.vue
+3
-11
ee/changelogs/unreleased/djadmin-dast-profiles-ui-updates-follow-up.yml
...unreleased/djadmin-dast-profiles-ui-updates-follow-up.yml
+5
-0
No files found.
ee/app/assets/javascripts/security_configuration/dast_profiles/components/dast_profiles_list.vue
View file @
55203396
...
@@ -171,7 +171,7 @@ export default {
...
@@ -171,7 +171,7 @@ export default {
<slot
name=
"actions"
:profile=
"item"
></slot>
<slot
name=
"actions"
:profile=
"item"
></slot>
<gl-dropdown
<gl-dropdown
class=
"gl-display-none gl-
display-sm
-inline-flex!"
class=
"gl-display-none gl-
md-display
-inline-flex!"
toggle-class=
"gl-border-0! gl-shadow-none!"
toggle-class=
"gl-border-0! gl-shadow-none!"
no-caret
no-caret
right
right
...
@@ -201,7 +201,7 @@ export default {
...
@@ -201,7 +201,7 @@ export default {
v-if=
"item.editPath"
v-if=
"item.editPath"
:href=
"item.editPath"
:href=
"item.editPath"
category=
"tertiary"
category=
"tertiary"
class=
"gl-ml-3 gl-my-1 gl-display-
sm
-none"
class=
"gl-ml-3 gl-my-1 gl-display-
md
-none"
size=
"small"
size=
"small"
>
{{ __('Edit') }}
</gl-button
>
{{ __('Edit') }}
</gl-button
>
>
...
@@ -211,7 +211,7 @@ export default {
...
@@ -211,7 +211,7 @@ export default {
icon=
"remove"
icon=
"remove"
variant=
"danger"
variant=
"danger"
size=
"small"
size=
"small"
class=
"gl-mx-3 gl-my-1 gl-display-
sm
-none"
class=
"gl-mx-3 gl-my-1 gl-display-
md
-none"
:title=
"s__('DastProfiles|Delete profile')"
:title=
"s__('DastProfiles|Delete profile')"
@
click=
"prepareProfileDeletion(item.id)"
@
click=
"prepareProfileDeletion(item.id)"
/>
/>
...
...
ee/app/assets/javascripts/security_configuration/dast_profiles/components/dast_scanner_profiles_list.vue
View file @
55203396
<
script
>
<
script
>
import
{
GlBadge
}
from
'
@gitlab/ui
'
;
import
{
SCAN_TYPE
,
SCAN_TYPE_LABEL
,
}
from
'
ee/security_configuration/dast_scanner_profiles/constants
'
;
import
ProfilesList
from
'
./dast_profiles_list.vue
'
;
import
ProfilesList
from
'
./dast_profiles_list.vue
'
;
import
ScanTypeBadge
from
'
./dast_scan_type_badge.vue
'
;
export
default
{
export
default
{
components
:
{
components
:
{
ProfilesList
,
ProfilesList
,
Gl
Badge
,
ScanType
Badge
,
},
},
SCAN_TYPE
,
SCAN_TYPE_LABEL
,
};
};
</
script
>
</
script
>
<
template
>
<
template
>
<profiles-list
v-bind=
"$attrs"
v-on=
"$listeners"
>
<profiles-list
v-bind=
"$attrs"
v-on=
"$listeners"
>
<template
#cell(scanType)=
"
{ value }">
<template
#cell(scanType)=
"
{ value }">
<gl-badge
size=
"sm"
:variant=
"value === $options.SCAN_TYPE.ACTIVE ? 'warning' : 'neutral'"
>
<scan-type-badge
:scan-type=
"value"
/>
{{
$options
.
SCAN_TYPE_LABEL
[
value
].
toLowerCase
()
}}
</gl-badge>
</
template
>
</
template
>
</profiles-list>
</profiles-list>
</template>
</template>
ee/changelogs/unreleased/djadmin-dast-profiles-ui-updates-follow-up.yml
0 → 100644
View file @
55203396
---
title
:
Improve DAST Profiles library for smaller devices
merge_request
:
51315
author
:
type
:
changed
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