From c4233fb69b201dae618e15978b48396987df2072 Mon Sep 17 00:00:00 2001 From: Susmitha Girumala Date: Fri, 5 Feb 2021 12:03:45 -0500 Subject: [PATCH] feat: Make all ids copyable --- .../scopes/scope/projects/sessions/index.hbs | 8 ++++++- .../scopes/scope/projects/targets/index.hbs | 24 ++++++++++++++++--- .../scope/projects/targets/target/-header.hbs | 11 ++++++++- .../scope/projects/targets/target/hosts.hbs | 10 +++++++- .../projects/targets/target/sessions.hbs | 8 ++++++- 5 files changed, 54 insertions(+), 7 deletions(-) diff --git a/ui/desktop/app/templates/scopes/scope/projects/sessions/index.hbs b/ui/desktop/app/templates/scopes/scope/projects/sessions/index.hbs index b6beccc53..35c53bb63 100644 --- a/ui/desktop/app/templates/scopes/scope/projects/sessions/index.hbs +++ b/ui/desktop/app/templates/scopes/scope/projects/sessions/index.hbs @@ -27,7 +27,13 @@ class={{concat "session-status-" sessionAggregate.session.status}} @name="app-icons/action-session" @size="medium" /> - {{sessionAggregate.session.id}} + + {{sessionAggregate.session.id}} + {{sessionAggregate.target.displayName}} diff --git a/ui/desktop/app/templates/scopes/scope/projects/targets/index.hbs b/ui/desktop/app/templates/scopes/scope/projects/targets/index.hbs index bee6e9d46..b200db570 100644 --- a/ui/desktop/app/templates/scopes/scope/projects/targets/index.hbs +++ b/ui/desktop/app/templates/scopes/scope/projects/targets/index.hbs @@ -30,16 +30,34 @@

{{model.target.description}}

- {{model.target.id}} + + {{model.target.id}} + - {{model.target.type}} + {{#if model.target.type}} + + {{t (concat "resources.target.types." model.target.type)}} + + {{/if}} +
+ + {{model.project.id}} + +
{{model.project.name}} -

{{model.project.id}}

diff --git a/ui/desktop/app/templates/scopes/scope/projects/targets/target/-header.hbs b/ui/desktop/app/templates/scopes/scope/projects/targets/target/-header.hbs index 41f83d562..fb4da6c13 100644 --- a/ui/desktop/app/templates/scopes/scope/projects/targets/target/-header.hbs +++ b/ui/desktop/app/templates/scopes/scope/projects/targets/target/-header.hbs @@ -1,4 +1,13 @@

{{@model.target.displayName}}

-

{{@model.target.description}}

\ No newline at end of file +

{{@model.target.description}}

+

+ + {{@model.target.id}} + +

\ No newline at end of file diff --git a/ui/desktop/app/templates/scopes/scope/projects/targets/target/hosts.hbs b/ui/desktop/app/templates/scopes/scope/projects/targets/target/hosts.hbs index a925671d7..1d17dcbd7 100644 --- a/ui/desktop/app/templates/scopes/scope/projects/targets/target/hosts.hbs +++ b/ui/desktop/app/templates/scopes/scope/projects/targets/target/hosts.hbs @@ -8,7 +8,15 @@ {{host.displayName}}

{{host.description}}

- {{host.id}} + + + {{host.id}} + + {{host.attributes.address}} {{t (concat 'resources.host.types.' host.type)}} diff --git a/ui/desktop/app/templates/scopes/scope/projects/targets/target/sessions.hbs b/ui/desktop/app/templates/scopes/scope/projects/targets/target/sessions.hbs index 49a8e2585..8263162c9 100644 --- a/ui/desktop/app/templates/scopes/scope/projects/targets/target/sessions.hbs +++ b/ui/desktop/app/templates/scopes/scope/projects/targets/target/sessions.hbs @@ -7,7 +7,13 @@ class={{concat "session-status-" session.status}} @name="app-icons/action-session" @size="medium" /> - {{session.id}} + + {{session.id}} +