summaryrefslogtreecommitdiff
path: root/security/caldera/files/patch-templates_agents.html
blob: 82828a0e97560203d1d5dd6ff89087f18a87b33e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- templates/agents.html.orig	2022-09-17 15:28:09 UTC
+++ templates/agents.html
@@ -143,6 +143,11 @@
                                 <span class="icon is-large"><i class="fab fa-2x fa-apple"></i></span>
                                 <br> darwin
                             </div>
+                             <div class="has-text-centered platform" x-bind:class="{ 'selected': selectedPlatform === 'freebsd' }" x-show="platforms.includes('freebsd')" @click="changePlatform('freebsd')">
+                                <span class="icon is-large"><i class="fab fa-2x fa-freebsd"></i></span>
+                                <br> freebsd
+                            </div>
+                           
                         </div>
                     </div>
                 </form>
@@ -174,7 +179,7 @@
                             <div class="tags are-medium has-addons">
                                 <span class="tag is-black">
                                     <span class="icon">
-                                        <i class="fab" x-bind:class="{ 'fa-windows': command.platform === 'windows', 'fa-linux': command.platform === 'linux', 'fa-apple': command.platform === 'darwin' }"></i>
+                                        <i class="fab" x-bind:class="{ 'fa-windows': command.platform === 'windows', 'fa-linux': command.platform === 'linux', 'fa-apple': command.platform === 'darwin', 'fa-freebsd': command.platform === 'freebsd' }"></i>
                                     </span>
                                 </span>
                                 <span class="tag is-dark" x-text="command.executor"></span>
@@ -193,7 +198,7 @@
                                     <div class="tags are-medium has-addons">
                                         <span class="tag is-black">
                                             <span class="icon">
-                                                <i class="fab" x-bind:class="{ 'fa-windows': command.platform === 'windows', 'fa-linux': command.platform === 'linux', 'fa-apple': command.platform === 'darwin' }"></i>
+                                                <i class="fab" x-bind:class="{ 'fa-windows': command.platform === 'windows', 'fa-linux': command.platform === 'linux', 'fa-apple': command.platform === 'darwin', 'fa-freebsd': command.platform === 'freebsd' }"></i>
                                             </span>
                                         </span>
                                         <span class="tag is-dark" x-text="command.executor"></span>