Skip to content

Instantly share code, notes, and snippets.

@jgstew
Created October 4, 2016 22:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jgstew/e2fe99de890620dcf5d9759a953016e6 to your computer and use it in GitHub Desktop.
Save jgstew/e2fe99de890620dcf5d9759a953016e6 to your computer and use it in GitHub Desktop.
BigFix Dashboard that displays screenshots from clients
<?xml version="1.0"?>
<BES>
<Wizard>
<Title>Screenshots</Title>
<UIHooks LaunchType="Document" RequiresAuthoring="false" Menu="Dashboards"></UIHooks>
<DefaultPage>Page1</DefaultPage>
<Page Name="Page1" DocType="HTML 4.01 Transitional" >
<Title>Screenshots</Title>
<HTML><![CDATA[
<head>
<style>
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
th, td {
padding: 5px;
}
</style>
</head>
<body>
<table>
<?Relevance trs of ( concatenations of tds of (html it) of (name of it; (preceding texts of lasts " " of it) of (following texts of firsts ", " of it) of (it as string) of values of results from (bes properties "Screenshot Taken") of it; ("<img alt='" & item 0 of it & " Screenshot' height='500' src='data:image/png;base64," & item 1 of it & "'>") of (name of computer of it, concatenations of values of it) of results from (bes properties "Screenshot") of it) ) of computers of results of bes properties "Screenshot" ?>
</table>
</body>
]]></HTML>
</Page>
</Wizard>
</BES>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment