Skip to content

Commit

Permalink
#198 Display Cortex and Misp logos when enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed May 10, 2017
1 parent 02b66de commit e1d7c06
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 2 deletions.
46 changes: 46 additions & 0 deletions ui/app/images/cortex-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions ui/app/images/misp-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions ui/app/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -493,3 +493,13 @@ tags-input.input-sm .tags.focused {
border-color: #3c8dbc;
box-shadow: none;
}

footer.main-footer {
padding-top: 2px;
padding-bottom: 2px;
line-height: 40px;
}

footer .footer-logo {
height: 40px;
}
14 changes: 12 additions & 2 deletions ui/app/views/components/app-container.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,19 @@
<footer class="main-footer">
<div class="container-fluid">
<div class="pull-right hidden-xs">
<strong>Version</strong>: {{appConfig.versions.TheHive}}
<span>
<strong>Version</strong>: {{appConfig.versions.TheHive}}
</span>
<span ng-if="appConfig.connectors.cortex.enabled" uib-tooltip="Cortex integration enabled">
<img class="footer-logo" src="images/cortex-logo.svg"/>
</span>
<span ng-if="appConfig.connectors.misp.enabled" uib-tooltip="MISP integration enabled">
<img class="footer-logo" src="images/misp-logo.svg"/>
</span>
</div>
<div>
<strong>Copyright &copy; 2016-2017 <a href="http://www.thehive-project.org" target="_blank">TheHive Project</a></strong> All rights reserved.
</div>
<strong>Copyright &copy; 2016-2017 <a href="http://www.thehive-project.org" target="_blank">TheHive Project</a></strong> All rights reserved.
</div>
</footer>
<!--
Expand Down

0 comments on commit e1d7c06

Please sign in to comment.