Skip to content

Commit d007976

Browse files
authored
add link to Microsoft OpenJDK (#631)
* add link to Microsoft OpenJDK Signed-off-by: Yan Zhang <yanzh@microsoft.com> * update color Signed-off-by: Yan Zhang <yanzh@microsoft.com>
1 parent 279fc29 commit d007976

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

src/java-runtime/assets/jdk.installation.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export class JdkInstallationPanel extends React.Component<JdkInstallationPanelPr
7575
<a className="nav-link active" id="adoptOpenJdkTab" data-toggle="tab" href="#adoptOpenJdkPanel" role="tab" aria-controls="adoptOpenJdkPanel" aria-selected="true" title="Reliable source of OpenJDK binaries for all platforms">AdoptOpenJDK</a>
7676
</li>
7777
<li className="nav-item">
78-
<a className="nav-link" id="otherJdkTab" data-toggle="tab" href="#otherJdkPanel" role="tab" aria-controls="otherJdkPanel" aria-selected="false" title="Other choices">Others</a>
78+
<a className="nav-link" id="otherJdkTab" data-toggle="tab" href="#otherJdkPanel" role="tab" aria-controls="otherJdkPanel" aria-selected="false" title="Other choices">Others<span className="red-dot"></span></a>
7979
</li>
8080
</ul>
8181
<div className="tab-content" id="jdkTabContent">
@@ -148,6 +148,7 @@ export class JdkInstallationPanel extends React.Component<JdkInstallationPanelPr
148148
</div>
149149
<div className="tab-pane fade" id="otherJdkPanel" role="tabpanel" aria-labelledby="otherJdkTab">
150150
<ul id="jdkProviderList" className="list-unstyled">
151+
<li><a href="command:java.helper.openUrl?%22https%3A%2F%2Fwww.microsoft.com%2Fopenjdk%22" title="Microsoft Build of OpenJDK">Microsoft Build of OpenJDK</a><sup className="newtag">NEW</sup></li>
151152
<li><a href="command:java.helper.openUrl?%22https%3A%2F%2Fwww.azul.com%2Fdownloads%2Fazure-only%2Fzulu%2F%22" title="Recommended for Microsoft Azure Cloud and Azure Stack applications">Azul Zulu Enterprise build of OpenJDK for Azure</a></li>
152153
<li><a href="command:java.helper.openUrl?%22https%3A%2F%2Fdevelopers.redhat.com%2Fproducts%2Fopenjdk%2Fdownload%22" title="Red Hat build of OpenJDK">Red Hat build of OpenJDK</a></li>
153154
<li><a href="command:java.helper.openUrl?%22https%3A%2F%2Fsapmachine.io%2F%22" title="SapMachine - An OpenJDK release maintained and supported by SAP">SapMachine - An OpenJDK release maintained and supported by SAP</a></li>

src/java-runtime/assets/style.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
11
div.container {
22
min-width: 550px;
33
}
4+
5+
sup.newtag {
6+
color: var(--vscode-terminal-ansiRed);
7+
font-weight: bold;
8+
margin-left: 0.2rem;
9+
}
10+
11+
span.red-dot {
12+
height: 0.5rem;
13+
width: 0.5rem;
14+
background-color: var(--vscode-terminal-ansiRed);
15+
border-radius: 50%;
16+
display: inline-block;
17+
margin-left: 0.2rem;
18+
margin-bottom: 0.2rem;
19+
}

0 commit comments

Comments
 (0)