aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-11-16 16:52:33 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2016-11-17 11:24:49 +0100
commitd36234aa1b3cdb9dbd408ad0773892b8a7b5c3bc (patch)
tree210ccbf75912f54766d3e547398d6c883e4eab98 /server/sonar-web/src/main/js
parentee2a8a407ede8eb0896090e2d1263f08e11b017d (diff)
downloadsonarqube-d36234aa1b3cdb9dbd408ad0773892b8a7b5c3bc.tar.gz
sonarqube-d36234aa1b3cdb9dbd408ad0773892b8a7b5c3bc.zip
SONAR-8383 improve display of log links in sysinfo page
Diffstat (limited to 'server/sonar-web/src/main/js')
-rw-r--r--server/sonar-web/src/main/js/apps/system/main.js49
1 files changed, 25 insertions, 24 deletions
diff --git a/server/sonar-web/src/main/js/apps/system/main.js b/server/sonar-web/src/main/js/apps/system/main.js
index 35609502787..aed0cc0fdb3 100644
--- a/server/sonar-web/src/main/js/apps/system/main.js
+++ b/server/sonar-web/src/main/js/apps/system/main.js
@@ -72,31 +72,32 @@ export default React.createClass({
<header className="page-header">
<h1 className="page-title">{translate('system_info.page')}</h1>
<div className="page-actions">
- <a
- className="spacer-right"
- href={window.baseUrl + '/api/system/logs?process=app'}
- id="logs-link">
- App Logs
- </a>
- <a
- className="spacer-right"
- href={window.baseUrl + '/api/system/logs?process=ce'}
- id="ce-logs-link">
- Compute Engine Logs
- </a>
- <a
- className="spacer-right"
- href={window.baseUrl + '/api/system/logs?process=es'}
- id="es-logs-link">
- Elasticsearch Logs
- </a>
- <a
- className="spacer-right"
- href={window.baseUrl + '/api/system/logs?process=web'}
- id="web-logs-link">
- Web Logs
- </a>
<a href={window.baseUrl + '/api/system/info'} id="download-link">Download</a>
+ <div className="display-inline-block dropdown big-spacer-left">
+ <button data-toggle="dropdown">Logs <i className="icon-dropdown"/></button>
+ <ul className="dropdown-menu">
+ <li>
+ <a href={window.baseUrl + '/api/system/logs?process=app'} id="logs-link">
+ Main
+ </a>
+ </li>
+ <li>
+ <a href={window.baseUrl + '/api/system/logs?process=ce'} id="ce-logs-link">
+ Compute Engine
+ </a>
+ </li>
+ <li>
+ <a href={window.baseUrl + '/api/system/logs?process=es'} id="es-logs-link">
+ Elasticsearch
+ </a>
+ </li>
+ <li>
+ <a href={window.baseUrl + '/api/system/logs?process=web'} id="web-logs-link">
+ Web
+ </a>
+ </li>
+ </ul>
+ </div>
<button
id="restart-server-button"
className="big-spacer-left"