Skip to content
Snippets Groups Projects
Commit f8aca5b4 authored by mwws's avatar mwws Committed by Andrew Or
Browse files

[SAPRK-15220][UI] add hyperlink to running application and completed application

## What changes were proposed in this pull request?
Add hyperlink to "running application" and "completed application", so user can jump to application table directly, In my environment, I set up 1000+ works and it's painful to scroll down to skip worker list.

## How was this patch tested?
manual tested

(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)
![sceenshot](https://cloud.githubusercontent.com/assets/13216322/15105718/97e06768-15f6-11e6-809d-3574046751a9.png)

Author: mwws <wei.mao@intel.com>

Closes #12997 from mwws/SPARK_UI.
parent ee6a8d7e
No related branches found
No related tags found
No related merge requests found
......@@ -114,8 +114,8 @@ private[ui] class MasterPage(parent: MasterWebUI) extends WebUIPage("") {
{Utils.megabytesToString(aliveWorkers.map(_.memory).sum)} Total,
{Utils.megabytesToString(aliveWorkers.map(_.memoryUsed).sum)} Used</li>
<li><strong>Applications:</strong>
{state.activeApps.length} Running,
{state.completedApps.length} Completed </li>
{state.activeApps.length} <a href="#running-app">Running</a>,
{state.completedApps.length} <a href="#completed-app">Completed</a> </li>
<li><strong>Drivers:</strong>
{state.activeDrivers.length} Running,
{state.completedDrivers.length} Completed </li>
......@@ -133,7 +133,7 @@ private[ui] class MasterPage(parent: MasterWebUI) extends WebUIPage("") {
<div class="row-fluid">
<div class="span12">
<h4> Running Applications </h4>
<h4 id="running-app"> Running Applications </h4>
{activeAppsTable}
</div>
</div>
......@@ -152,7 +152,7 @@ private[ui] class MasterPage(parent: MasterWebUI) extends WebUIPage("") {
<div class="row-fluid">
<div class="span12">
<h4> Completed Applications </h4>
<h4 id="completed-app"> Completed Applications </h4>
{completedAppsTable}
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment