Dashboard improvements (#818)

* Display available updates on dashboard
* Changed text: Baikal is no longer developed by jerome
This commit is contained in:
H. Lehmann 2019-08-26 14:59:39 +02:00 committed by GitHub
parent b5b66c02b8
commit da45175200
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,10 +14,27 @@
<div class="row"> <div class="row">
<div class="span3"> <div class="span3">
<h2>Version</h2> <h2>Version</h2>
<p>This systems runs<br /> <p>This systems runs Baïkal <span class="label label-info label-intext">{{ BAIKAL_VERSION }}</span><br />
Baïkal <span class="label label-info label-intext">{{ BAIKAL_VERSION }}</span>
<small><a href="{{ url }}" target="_blank">{{ url }}</a></small> <small><a href="{{ url }}" target="_blank">{{ url }}</a></small>
</p> </p>
<p id="newVersionContainer" style="display: none;">
<a class="alert alert-info" href="https://github.com/sabre-io/Baikal/releases/latest" target="_blank">
New version available: <span id="newVersion" class="label label-info label-intext">0.0.0</span>
</a>
</p>
<script type="text/javascript">
window.onload = function () {
jQuery.ajax({
url: "https://api.github.com/repos/sabre-io/Baikal/releases/latest",
success: function(result) {
if (result.name != "{{ BAIKAL_VERSION }}") {
$("#newVersion").text(result.name);
$("#newVersionContainer").show();
}
}
});
};
</script>
</div> </div>
<div class="span3"> <div class="span3">
<h2>Services</h2> <h2>Services</h2>
@ -58,7 +75,7 @@
<h2>License and credits</h2> <h2>License and credits</h2>
<p>Baïkal is open source software licensed under the terms of the GNU GPL v3.</p> <p>Baïkal is open source software licensed under the terms of the GNU GPL v3.</p>
<p>Baïkal is based upon other open source projects.<br />Read the <a href="https://github.com/sabre-io/Baikal/blob/master/README.md" target="_blank">README.md</a> file to learn about that.</p> <p>Baïkal is based upon other open source projects.<br />Read the <a href="https://github.com/sabre-io/Baikal/blob/master/README.md" target="_blank">README.md</a> file to learn about that.</p>
<p>Baïkal is developed by <a href="https://github.com/jeromeschneider" target="_blank">Jérôme Schneider</a>. <p>Baïkal was created by <a href="https://github.com/jeromeschneider" target="_blank">Jérôme Schneider</a><br />and is now developed by volunteers on <a href="https://github.com/sabre-io/Baikal/" target="_blank">GitHub</a>.
</div> </div>
</div> </div>
</section> </section>