d4science-static-pages/src/main/webapp/smartgears_nodes/templates/index.html.j2

139 lines
4.7 KiB
Django/Jinja

{% raw %}
<!doctype html>
<html lang="en">
<head>
<link rel="shortcut icon" type="image/png" href="favicon.ico" />
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<title>D4Science DataMiner</title>
</head>
<body>
<div
class="d-flex flex-column flex-md-row align-items-center p-3 px-md-4 mb-3 bg-white border-bottom box-shadow">
<h5 class="my-0 mr-md-auto font-weight-normal">
<img style="width: 65px;" alt="D4Science" src="images/d4science-logo-sphere.png">D4Science
</h5>
<nav class="my-2 my-md-0 mr-md-3">
<a class="p-2 text-dark" href="#">Don't have a D4Science account?</a>
</nav>
<a class="btn btn-outline-primary"
href="https://accounts.d4science.org"
target="_blank">Create one</a>
</div>
{% endraw %}
{% if d4science_running_services is defined %}
{% for ctx in d4science_running_services %}
<div
class="pricing-header px-3 py-3 pt-md-5 pb-md-4 mx-auto text-center">
<h1 class="display-4">{{ ctx.desc }}</h1>
<p class="lead">Welcome to the
<a class="text-muted"
href="/{{ ctx.url }}"
target="_blank">{{ ctx.desc }}</a>
service hosted by D4Science.
</p>
</div>
{% endfor %}
{% else %}
{% if smartgears_tomcat_contexts is defined %}
{% for ctx in smartgears_tomcat_contexts %}
<div
class="pricing-header px-3 py-3 pt-md-5 pb-md-4 mx-auto text-center">
<h1 class="display-4">{{ ctx }}</h1>
<p class="lead">Welcome to the
<a class="text-muted"
href="/{{ ctx }}"
target="_blank">{{ ctx }}</a>
service hosted by D4Science.
</p>
</div>
{% endfor %}
{% endif %}
{% endif %}
{% raw %}
<div class="mx-auto text-center">
<p class="lead">
Could not find what you are looking for? Visit the <a
href="https://dev.d4science.org/support" target="_blank">Help
Forum</a> or <a href="https://www.d4science.org/contact-us"
target="_blank">Contact us</a>.
</p>
</div>
<footer class="pt-4 my-md-5 pt-md-5 border-top">
<div class="row">
<div class="col-12 col-md">
<small class="d-block mb-3 text-muted">&nbsp;&copy;
D4Science</small>
</div>
<div class="col-6 col-md">
<h5>Legal</h5>
<ul class="list-unstyled text-small">
<li><a class="text-muted"
href="https://www.iubenda.com/privacy-policy/441050"
target="_blank">Privacy</a></li>
<li><a class="text-muted"
href="https://services.d4science.org/terms-of-use" target="_blank">Terms
of Use</a></li>
</ul>
</div>
<div class="col-6 col-md">
<h5>About</h5>
<ul class="list-unstyled text-small">
<li><a class="text-muted"
href="https://www.d4science.org/about-d4science" target="_blank">What
is D4Science</a></li>
<li><a class="text-muted"
href="https://www.d4science.org/empowering" target="_blank">Supported
Projects</a></li>
<li><a class="text-muted" target="_blank"
href="https://services.d4science.org/explore">Supported VREs</a></li>
<li><a class="text-muted" target="_blank"
href="https://services.d4science.org/catalogue">Resource
Catalouge</a></li>
</ul>
</div>
<div class="col-6 col-md">
<h5>Data Scientists</h5>
<ul class="list-unstyled text-small">
<li><a class="text-muted" href="https://dev.d4science.org"
target="_blank">Available REST APIs</a></li>
<li><a class="text-muted"
href="https://dev.d4science.org/authorization/" target="_blank">Authorization
Framework</a></li>
<li><a class="text-muted" href="https://dev.d4science.org/"
target="_blank">Data Analysis through Data Miner</a></li>
<li><a class="text-muted" href="https://dev.d4science.org/"
target="_blank">Spatial Data Infrastructure</a></li>
</ul>
</div>
</div>
</footer>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"
integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"></script>
<script
src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/js/bootstrap.min.js"
integrity="sha384-o+RDsa0aLu++PJvFqy8fFScvbHFLtbvScb8AjopnFD+iEQ7wo/CG0xlczd+2O/em"
crossorigin="anonymous"></script>
-->
</body>
</html>
{% endraw %}