This repository has been archived by the owner on May 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch makes the big installation button link directly to the installation documentation for the latest release branch.
- Loading branch information
Showing
2 changed files
with
16 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,32 @@ | ||
<div class="content-block"> | ||
<div class="content-block"> | ||
<a href="getting-started#try-it"> | ||
<div class="software-button" target="_blank"> | ||
<h3 class="button-headline">Demo</h3> | ||
<img class="button-image" src="assets/img/try-it.jpg"/> | ||
</div> | ||
</a> | ||
<a href="releases"> | ||
|
||
<a id="installbtn" href="releases"> | ||
<div class="software-button" > | ||
<h3 class="button-headline">Install</h3> | ||
<img class="button-image" src="assets/img/install-it.jpg"/> | ||
</div> | ||
</a> | ||
</a> | ||
|
||
<a href="getting-started#adopt-it" target="_blank"> | ||
<div class="software-button" > | ||
<h3 class="button-headline">Adopt</h3> | ||
<img class="button-image" src="assets/img/use-it.jpg"/> | ||
</div> | ||
</a> | ||
</a> | ||
</div> | ||
<div class="content-more"><a href="getting-started" style="float:right;">More…</a></div> | ||
|
||
<script type="application/javascript" src="https://docs.opencast.org/versions.js"></script> | ||
<script type="application/javascript"> | ||
document.addEventListener("DOMContentLoaded", function() { | ||
let latest = versions[1], | ||
docs = 'https://docs.opencast.org/' + latest + '/admin/#installation/'; | ||
document.getElementById('installbtn').href = docs; | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters