Add admin/index.html template
This commit is contained in:
parent
a2c9f728ab
commit
083e56a4de
1 changed files with 66 additions and 0 deletions
66
app/templates/app/admin/index.html
Normal file
66
app/templates/app/admin/index.html
Normal file
|
@ -0,0 +1,66 @@
|
|||
{% extends "app/admin/base.html" %}
|
||||
{% load static %}
|
||||
{% block content %}
|
||||
<div class="row">
|
||||
<div class="col-sm-10 col-sm-offset-1">
|
||||
<h1>Administration</h1>
|
||||
<p class="lead">
|
||||
Search engine and members directory for the Global Mountain Biodiversity Assessment (GMBA) research network.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Access to this backend is restricted to members of the research group.
|
||||
Please <a href="mailto:info@datalets.ch">notify the developer</a> if you
|
||||
believe there to be any issues with the application.
|
||||
The widget can be embedded using the following code:
|
||||
</p>
|
||||
<center>
|
||||
<textarea cols="40" rows="2" readonly><iframe src="http://185.203.114.238:5141/" width="100%" height="1000" frameborder="0"></iframe></textarea>
|
||||
<br><br>
|
||||
<div class="btn-group">
|
||||
<a class="btn btn-success" href='{% url 'demo' %}'>
|
||||
Demo page
|
||||
</a>
|
||||
<a class="btn btn-info" target="_blank" href='/'>
|
||||
Full screen
|
||||
</a>
|
||||
<a class="btn btn-default" href='{% url 'config' %}'>
|
||||
Data refresh
|
||||
</a>
|
||||
</div>
|
||||
<br><br>
|
||||
<div class="btn-group">
|
||||
<a class="btn btn-default" href='https://www.flaskapi.org/' target="_blank">
|
||||
API
|
||||
</a><a class="btn btn-warning" href='/api/people'>
|
||||
People
|
||||
</a><a class="btn btn-warning" href='/api/resources'>
|
||||
Resources
|
||||
</a><a class="btn btn-warning" href='/api/ranges'>
|
||||
Ranges
|
||||
</a>
|
||||
</div>
|
||||
</center>
|
||||
<hr>
|
||||
<img src="{% static 'app/images/banner.jpg' %}" width="100%">
|
||||
<center>
|
||||
<br><br><br><small>
|
||||
<p>Developed by <a href="http://datalets.ch" target="_blank">Datalets</a> - e-mail: <a href="mailto:info@datalets.ch">info@datalets.ch</a></p>
|
||||
<p><a href="https://github.com/loleg/gmba-connect/blob/master/LICENSE">MIT License</a> ~ <a href="https://github.com/datalets/gmba-connect" target="_blank">Open Source</a></p>
|
||||
</small>
|
||||
</center>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block css %}
|
||||
<style>
|
||||
body {
|
||||
padding-top: 4px;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue