Skip to content

Instantly share code, notes, and snippets.

@ag-michael
Created April 16, 2019 17:05
Show Gist options
  • Save ag-michael/73cad935fbb293e7783744bd8ee0261e to your computer and use it in GitHub Desktop.
Save ag-michael/73cad935fbb293e7783744bd8ee0261e to your computer and use it in GitHub Desktop.
ADEnrichment report template
<style>
#reportrow {
position:relative;
overflow-wrap:anywhere;
border-bottom:solid 1px;
}
</style>
<div class="panel panel-info" ng-if="success">
<div class="panel-heading">
ActiveDirectory Enrichment Output for <strong>{{artifact.data}}</strong><img src="data:image/gif;base64,{{content.thumbnail}}"/>
</div>
<div class="panel-body">
<div id='thumbnail'>
</div>
<div ng-repeat="row in ::content.adobject">
<div id='reportrow'>
<span id='reportkey'><strong>{{::row.key}}:</strong></span><span id='reportvalue'> {{::row.value}}</span><br>
</div>
</div>
</div>
<!-- General error -->
<div class="panel panel-danger" ng-if="!success">
<div class="panel-heading">
<strong>{{(artifact.data || artifact.attachment.name) | fang}}</strong>
</div>
<div class="panel-body">
{{content.errorMessage}}
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment