Skip to content

Commit d69e59f

Browse files
authored
Show adversary ID in profile (#2672)
1 parent b9e553d commit d69e59f

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

templates/adversaries.html

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,16 @@ <h2>Adversary Profiles</h2>
4343
<template x-if="selectedProfileId && !isCreatingProfile">
4444
<div class="section" x-init="$watch('selectedProfileAbilities', val => findAbilityDependencies())">
4545
<div x-show="!isEditingProfile">
46-
<h3 x-text="selectedProfileName" class="pointer tooltip has-tooltip-arrow" data-tooltip="Click to edit" @click="isEditingProfile = true"></h3>
47-
<p x-text="selectedProfileDescription" class="pointer" @click="isEditingProfile = true"></p> <br>
46+
<div class="is-flex is-justify-content-space-between">
47+
<div>
48+
<h3 x-text="selectedProfileName" class="pointer tooltip has-tooltip-arrow" data-tooltip="Click to edit" @click="isEditingProfile = true"></h3>
49+
<p x-text="selectedProfileDescription" class="pointer" @click="isEditingProfile = true"></p> <br>
50+
</div>
51+
<p>
52+
Adversary ID:
53+
<span x-text="selectedProfileId"></span>
54+
</p>
55+
</div>
4856
</div>
4957
<form x-show="isEditingProfile">
5058
<div class="field">
@@ -61,7 +69,7 @@ <h3 x-text="selectedProfileName" class="pointer tooltip has-tooltip-arrow" data-
6169
</div>
6270
<div class="field">
6371
<div class="control">
64-
<a class="button is-small is-primary" @click="isEditingProfile = false">Done</a>
72+
<a class="button is-small is-primary mb-5" @click="isEditingProfile = false">Done</a>
6573
</div>
6674
</div>
6775
</form>

0 commit comments

Comments
 (0)