mirror of
https://github.com/fleetdm/fleet
synced 2026-05-20 23:48:52 +00:00
Website: add platform icons to osquery table schema pages (#27262)
Closes: https://github.com/fleetdm/confidential/issues/9976 Changes: - Brought back the platform icons to the osquery table schema pages.
This commit is contained in:
parent
11307525d1
commit
a71ea00159
2 changed files with 15 additions and 1 deletions
|
|
@ -691,7 +691,7 @@
|
|||
height: 24px;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 95px;
|
||||
top: 75px;
|
||||
}
|
||||
table {
|
||||
td:nth-child(3) {
|
||||
|
|
|
|||
14
website/views/pages/osquery-table-details.ejs
vendored
14
website/views/pages/osquery-table-details.ejs
vendored
|
|
@ -55,6 +55,20 @@
|
|||
|
||||
<div purpose="table-container" class="d-flex flex-column">
|
||||
<div purpose="schema-table">
|
||||
<div purpose="platform-logos" class="d-flex flex-row align-items-center justify-content-end">
|
||||
<% if(_.contains(tableToDisplay.platforms, 'darwin')){%>
|
||||
<img class="ml-3" style="height: 25px" src="/images/os-macos-dark-24x24@2x.png" alt="macOS logo">
|
||||
<%}%>
|
||||
<% if(_.contains(tableToDisplay.platforms, 'windows')){%>
|
||||
<img class="ml-3" style="height: 24px" src="/images/os-windows-dark-24x24@2x.png" alt="Windows logo">
|
||||
<%}%>
|
||||
<% if(_.contains(tableToDisplay.platforms, 'linux')){%>
|
||||
<img class="ml-3" style="height: 24px" src="/images/os-linux-dark-24x24@2x.png" alt="Linux logo">
|
||||
<% }%>
|
||||
<% if(_.contains(tableToDisplay.platforms, 'chromeos')){%>
|
||||
<img class="ml-3" style="height: 25px" src="/images/os-chromeos-dark-24x24@2x.png" alt="ChromeOS logo">
|
||||
<%}%>
|
||||
</div>
|
||||
<%- partial(path.relative(path.dirname(__filename), path.resolve( sails.config.appPath, path.join(sails.config.builtStaticContent.compiledPagePartialsAppPath, tableToDisplay.htmlId)))) %>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue