kopia lustrzana https://github.com/OpenDroneMap/WebODM
43 wiersze
1.5 KiB
HTML
43 wiersze
1.5 KiB
HTML
{% extends "app/logged_in_base.html" %}
|
|
{% load i18n %}
|
|
{% load render_bundle from webpack_loader %}
|
|
|
|
{% block content %}
|
|
{% if no_processingnodes %}
|
|
<h3>{% trans 'Welcome!' %}</h3>
|
|
{% else %}
|
|
<h3>{% trans 'Dashboard' %}</h3>
|
|
{% endif %}
|
|
|
|
{% if no_processingnodes %}
|
|
{% trans 'Add a Processing Node' as add_processing_node %}
|
|
{% with nodeodm_link='<a href="https://github.com/pierotofy/node-OpenDroneMap" target="_blank">node-OpenDroneMap</a>' api_link='<a href="https://github.com/pierotofy/node-OpenDroneMap/blob/master/docs/index.adoc" target="_blank">API</a>' %}
|
|
<p>
|
|
{% blocktrans %}
|
|
To get started, "{{ add_processing_node }}". A processing node is a computer running an instance of {{ nodeodm_link }} or some other software that implements this {{ api_link }}.
|
|
{% endblocktrans %}
|
|
</p>
|
|
{% endwith %}
|
|
<button class="btn btn-primary" onclick="location.href='{% url "admin:nodeodm_processingnode_add" %}';"><i class="fa fa-plus-circle"></i> {{ add_processing_node }}</button>
|
|
|
|
{% else %}
|
|
|
|
{% trans 'Upload Images' as upload_images %}
|
|
<p>
|
|
{% blocktrans %} To create a new project, press the "{{ upload_images }}" button. {% endblocktrans %}
|
|
</p>
|
|
<button class="btn btn-primary"><i class="glyphicon glyphicon-upload"></i> {{ upload_images }}</button>
|
|
|
|
<p>
|
|
<ul>
|
|
<li>{% trans 'Need at least 5 images' %}</li>
|
|
<li>{% trans 'Images must overlap by 60% or more' %}</li>
|
|
</ul>
|
|
</p>
|
|
{% endif %}
|
|
<!-- <h4>Projects</h4> -->
|
|
|
|
<div id="dashboard-app"></div>
|
|
{% render_bundle 'main' %}
|
|
{% endblock %}
|