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
Commits
faf08380
Commit
faf08380
authored
5 years ago
by
Janis Streib
Browse files
Options
Downloads
Patches
Plain Diff
ADD: basic token list
parent
ced99605
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#271306
passed with warnings
5 years ago
Stage: build
Stage: lint
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/src/router.js
+10
-0
10 additions, 0 deletions
frontend/src/router.js
frontend/src/views/netdb/tokens.vue
+30
-0
30 additions, 0 deletions
frontend/src/views/netdb/tokens.vue
with
40 additions
and
0 deletions
frontend/src/router.js
+
10
−
0
View file @
faf08380
...
...
@@ -20,6 +20,16 @@ export default new Router({
}
}
},
{
path
:
'
/user/tokens
'
,
name
:
'
tokens
'
,
component
:
()
=>
import
(
'
./views/netdb/tokens.vue
'
),
meta
:
{
resolveName
:
function
()
{
return
"
API-Tokens
"
}
}
},
{
path
:
'
/dnsvs
'
,
name
:
'
dnsvs
'
,
...
...
This diff is collapsed.
Click to expand it.
frontend/src/views/netdb/tokens.vue
0 → 100644
+
30
−
0
View file @
faf08380
<
template
>
<div
class=
"main"
>
<h1>
API-Tokens
</h1>
<b-table
striped
:items=
"tokens"
>
</b-table>
</div>
</
template
>
<
script
>
import
TokenService
from
'
@/api-services.gen/cntl.wapi_auth
'
;
export
default
{
name
:
"
tokens
"
,
data
()
{
return
{
tokens
:
null
}
},
created
()
{
TokenService
.
list
(
this
.
$store
.
state
.
netdb_axios_config
,
{
is_own
:
true
}).
then
((
response
)
=>
{
this
.
tokens
=
response
.
data
[
0
]
})
}
}
</
script
>
<
style
scoped
>
</
style
>
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