Merge pull request #22 from ppasq/updates-nov3

Updates November 2 - Fix #109, #110, #111, #113
This commit is contained in:
Paolo Pasquali authored and GitHub committed 2017-11-02 17:18:05 +01:00
commit fbca923179
11 files changed
+253 -82

No files matched your search

+1 -1
View File
@@ -2,4 +2,4 @@
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,*:before,*:after{background:transparent !important;color:#000 !important;box-shadow:none !important;text-shadow:none !important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100% !important}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000 !important}.label{border:1px solid #000}.table{border-collapse:collapse !important}.table td,.table th{background-color:#fff !important}.table-bordered th,.table-bordered td{border:1px solid #ddd !important}}@font-face{font-family:'Glyphicons Halflings';src:url('../fonts/glyphicons-halflings-regular.eot');src:url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'),url('../fonts/glyphicons-halflings-regular.woff') format('woff'),url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\002a"}.glyphicon-plus:before{content:"\002b"}.glyphicon-euro:before,.glyphicon-eur:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeatLine truncated
*//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,*:before,*:after{background:transparent !important;color:#000 !important;box-shadow:none !important;text-shadow:none !important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100% !important}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000 !important}.label{border:1px solid #000}.table{border-collapse:collapse !important}.table td,.table th{background-color:#fff !important}.table-bordered th,.table-bordered td{border:1px solid #ddd !important}}@font-face{font-family:'Glyphicons Halflings';src:url('../fonts/glyphicons-halflings-regular.eot');src:url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'),url('../fonts/glyphicons-halflings-regular.woff') format('woff'),url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\002a"}.glyphicon-plus:before{content:"\002b"}.glyphicon-euro:before,.glyphicon-eur:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeatLine truncated
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

+13
View File
@@ -1100,6 +1100,19 @@ nav.filter {
width: 100%;
}
}
/* Tutorials
----------------------- */
span#overview, span#filters, span#clip,
span#share, span#odk, span#styling,
span#graphs, span#maps, span#users,
span#rancher {
display: block;
position: relative;
top: -76px;
visibility: hidden;
}
/* Upload Layers
----------------------- */
#drop-zone {
@@ -9,7 +9,7 @@
<div class="col-xs-12 profile-avatar">
<div class="col-xs-4 item-thumb">
<a href="{{ item.detail_url }}"><img ng-src="{{ item.thumbnail_url }}" /></a>
<span ng-model="isUser" ng-init="isUser=['ciat','cnigs','dpc','fac-sciences-haiti','idb','ihsi','mairiedepap','marndr','undp-haiti']" ></span>
<span ng-model="isUser" ng-init="isUser=['ciat','cnigs','dpc','european-union','fac-sciences-haiti','idb','ihsi','mairiedepap','marndr','prcu','undp-haiti']" ></span>
<span ng-if="isUser.indexOf(item.owner__username) > -1">
<img class="cnigs-logo" ng-src="/uploaded/avatars/{{ item.owner__username }}/resized/240/{{ item.owner__username }}.png" />
</span>
@@ -16,38 +16,35 @@
{% block body_class %}layers{% endblock %}
{% block body_outer %}
<div id="download-clip-error-message" class="label label-danger" style="margin-bottom: 50px; display: none">Error message</div>
<div id="download-clip-map"></div>
<div class="row">
<div class="col-md-12">
<article id="info">
{% if geotiffname == 'ortho_images' %}
<p>Les <strong>orthophotographies</strong> ou <strong>orthoimages</strong> sont des images aériennes ou satellitales de la surface terrestre rectifiées géométriquement et égalisées radiométriquement. Ces images se présentant sous forme de dalles couvrant une zone de la Terre peuvent être géoréférencées dans n'importe quel système de coordonnées. Elles servent de fonds cartographiques dans les Systèmes d'information géographique.</p>
{% else %}
<p>Un Modèle Numérique de Terrain (MNT) est une représentation 3D de la surface d'un terrain ou d'une planète, créée à partir des données d'altitude du terrain."</p>
{% endif %}
<p>Ces prises de vu sur Haiti ont été faites entre le 2014 et le 2016.</p>
<p>Pour sélectionner la zone d’intérêt:</p>
<ul>
<li>Cliquer sur l'icône <img height="16" width="16" src="/static/img/polygon.png"> pour utiliser un polygone irrégulier</li>
<li>Cliquer sur l'icône <img height="16" width="16" src="/static/img/square.png"> pour utiliser un rectangle comme forme de base</li>
</ul>
<p>Pour mieux comprendre comment sélectionner la zone d’intérêt, voir le <a href="/tutorials/#clip">tutoriel</a>.</p>
<p>La taille maximale accepté est de 40 mégaoctets.</p>
</article>
</div>
</div>
<div id="download-clip-error-message" class="label label-danger" style="margin-bottom: 50px; display: none">Error message</div>
<div id="download-clip-map"></div>
<button type="button" class="btn btn-primary btn-md btn-block" data-toggle="modal" data-target="#download_clip_page" id="download-clip-button">{% trans "Download Clip" %}</button>
{% if geotiffname == 'ortho_images' %}
<div class="row">
<div class="col-md-8">
<article id="info">
<h3>Ortho Photos</h3>
<p>Les <strong>orthophotographies</strong> ou <strong>orthoimages</strong> sont des images aériennes ou satellitales de la surface terrestre rectifiées géométriquement et égalisées radiométriquement. Ces images se présentant sous forme de dalles couvrant une zone de la Terre peuvent être géoréférencées dans n'importe quel système de coordonnées. Elles servent de fonds cartographiques dans les Systèmes d'information géographique.</p>
<p>Pour mieux comprendre comment sélectionner la zone d’intérêt, voir le <a href="/tutorials/">tutoriel</a>.</p>
<p>La taille maximale accepté est de 40 megabytes.</p>
</article>
</div>
</div>
{% endif %}
<button type="button" class="btn btn-primary btn-md btn-block" data-toggle="modal" data-target="#download_clip_page" id="download-clip-button">{% trans "Download Clip" %}</button>
<style>
#download-clip-map {
height: 500px;
width: 100%;
text-align: center;
}
.leaflet-control-zoom {
left: 0 !important;
}
#download-clip-button {
margin-top: 10px;
}
</style>
<style>
#download-clip-map {height: 500px; width: 100%; text-align: center;}
.leaflet-control-zoom {left: 0 !important;}
#download-clip-button {margin-top: 10px;}
</style>
{% endblock %}
{% block extra_script %}
+43
View File
@@ -0,0 +1,43 @@
{% extends "site_base.html" %}
{% load i18n %}
{% block extra_head %}
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.2.0/dist/leaflet.css" integrity="sha512-M2wvCLH6DSRazYeZRIm1JnYyh22purTM+FDB5CsyxtQJYeKq83arPe5wgbNmcFXGqiSH2XR8dT/fJISVA1r/zQ==" crossorigin=""/>
<script src="https://unpkg.com/leaflet@1.2.0/dist/leaflet.js" integrity="sha512-lInM/apFSqyy1o6s89K4iQUKg6ppXEgsVxT35HbzUupEVRh2Eu9Wdl4tHj7dZO0s1uvplcYGmt3498TtHq+log==" crossorigin=""></script>
{% endblock %}
{% block title %}{{ block.super }} {% trans "Contact" %}{% endblock %}
{% block page-title %}{% trans "Contact" %}{% endblock %}
{% block body_outer %}
<div class="row">
<div class="col-md-4">
<h3>{% blocktrans %}Address{% endblocktrans %}</h3>
<p>Impasse Baron # 13 bis, Turgeau<br />Port-au-Prince, Haïti (HT 6113)</p>
<h3>{% blocktrans %}Telephones{% endblocktrans %}</h3>
<p><a href="tel:509-2813-0412">(509) 2813-0412</a> - <a href="tel:509-2813-0413">(509) 2813-0413</a></p>
<h3>{% blocktrans %}Email{% endblocktrans %}</h3>
<p><a href="mailto:contact@cnigs.ht">contact@cnigs.ht</a></p>
</div>
<div class="col-md-8">
<div id="map" style="width: 100%; height: 400px;"></div>
</div>
</div>
{% endblock %}
{% block extra_script %}
<script>
var map = L.map('map').setView([18.530215,-72.323377], 15);
L.tileLayer('https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {
maxZoom: 19,
attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>, Tiles courtesy of <a href="http://hot.openstreetmap.org/" target="_blank">Humanitarian OpenStreetMap Team</a>',
}).addTo(map);
L.marker([18.530215,-72.323377]).addTo(map)
.bindPopup("<b>CNIGS</b><br />Centre National de<br /> l'Information Géo-Spatiale").openPopup();
</script>
{% endblock extra_script %}
+2 -2
View File
@@ -402,7 +402,7 @@
<a class="btn btn-default btn-block btn-xs" href="{% url "layer_replace" resource.service_typename %}">{% trans "Replace" %}</a>
{% endif %}
{% if resource.storeType == 'dataStore' and "change_layer_data" in layer_perms %}
<a class="btn btn-default btn-block btn-xs" href="{% url "new_map" %}?layer={{resource.service_typename}}">{% trans "Edit data" %}</a>
<!-- <a class="btn btn-default btn-block btn-xs" href="{% url "new_map" %}?layer={{resource.service_typename}}">{% trans "Edit data" %}</a> -->
{% endif %}
{% if "delete_resourcebase" in perms_list %}
<a class="btn btn-danger btn-block btn-xs" href="{% url "layer_remove" resource.service_typename %}">{% trans "Remove" %}</a>
@@ -673,7 +673,7 @@
document.f.aggr_type.value = 2;
}
}
function updateLinkAndTitle(){
check_quantity();
update_link();
+77 -1
View File
@@ -60,7 +60,7 @@
<li role="separator" class="divider"></li>
<li><a href="{% url "layer_upload" %}">{% trans "Upload Layer" %}</a></li>
<li><a href="/uploads/new">{% trans "Upload ODK exports" %}</a></li>
<li><a href="{% url "document_upload" %}">Upload Document</a></li>
<li><a href="{% url "document_upload" %}">{% trans "Upload Document" %}</a></li>
<li><a href="{% url "register_service" %}">{% trans "Add Remote Service" %}</a></li>
{% endif %}
</ul>
@@ -89,6 +89,7 @@
<li><a href="{% url "profile_browse" %}">{% trans "People" %}</a></li>
<li><a href="{% url "group_list" %}">{% trans "Groups" %}</a></li>
<li><a href="{% url "tutorials" %}">{% trans "Tutorials" %}</a></li>
<li><a href="{% url "contact" %}">{% trans "Contact Us" %}</a></li>
{% if perms.announcements.can_manage %}
<li><a href="{% url "announcements_list" %}">{% trans "Announcements" %}</a></li>
{% endif %}
@@ -169,3 +170,78 @@
{% endblock %}
</div>
{% endblock middle %}
{% block footer %}
<footer>
<div class="container">
<div class="row">
<div class="col-md-2 col-sm-6">
<ul class="list-unstyled">
<li>{% trans "Data" %}</li>
<li><a href="{% url "layer_browse" %}">{% trans "Layers" %}</a></li>
<li><a href="{% url "document_browse" %}">{% trans "Documents" %}</a></li>
<li><a href="{% url "chart_list" %}">{% trans "Graphs" %}</a></li>
{% if user.is_authenticated %}
<li><a href="/uploads">{% trans "Uploads" %}</a></li>
<li><a href="{% url "services" %}">{% trans "Remote Services" %}</a></li>
<li role="separator" class="divider"></li>
<li><a href="{% url "layer_upload" %}">{% trans "Upload Layer" %}</a></li>
<li><a href="/uploads/new">{% trans "Upload ODK exports" %}</a></li>
<li><a href="{% url "document_upload" %}">{% trans "Upload Document" %}</a></li>
<li><a href="{% url "register_service" %}">{% trans "Add Remote Service" %}</a></li>
{% endif %}
</ul>
</div>
<div class="col-md-2 col-sm-6">
<ul class="list-unstyled">
<li>{% trans "Maps" %}</li>
<li><a href="{% url "maps_browse" %}">{% trans "Explore Maps" %}</a></li>
{% if user.is_authenticated %}
<li> <a href="{% url "new_map" %}">{% trans "Create Map" %}</a></li>
{% endif %}
</ul>
<ul class="list-unstyled">
<li>{% trans "Imagery" %}</li>
<li><a href="/clip/ortho_images">{% trans "Orthophotos" %}</a></li>
<li> <a href="/clip/lidar">{% trans "DSM" %}</a></li>
</div>
<div class="col-md-2 col-sm-6">
<ul class="list-unstyled">
<li>{% trans "About" %}</li>
<li><a href="{% url "profile_browse" %}">{% trans "People" %}</a></li>
<li><a href="{% url "group_list" %}">{% trans "Groups" %}</a></li>
{% if perms.announcements.can_manage %}
<li><a href="{% url "announcements_list" %}">{% trans "Announcements" %}</a></li>
{% endif %}
{% if user.is_superuser %}
<li><a href="/admin/people/profile/add/">{% trans "Add User" %}</a></li>
<li><a href="{% url "account_invite_user" %}">{% trans "Invite User" %}</a></li>
<li><a href="{% url "group_create" %}">{% trans "Create Group" %}</a></li>
{% endif %}
</ul>
</div>
<div class="col-md-6 text-right">
<ul class="list-unstyled">
<li>{% trans "Powered by" %} <a href="http://geonode.org">{% trans "GeoNode" %}</a> <em>{% trans "version" %} {{ VERSION }}</em></li>
<li><a href="{% url "developer" %}">{% trans "Developers" %}</a> | <a href="{% url "about" %}">{% trans "About" %}</a><li>
</ul>
<label class="hidden">{% trans "Language" %}</label>
{% if csrf_token != "NOTPROVIDED" %}
{% get_current_language as LANGUAGE %}
<form class="form-inline" action="/i18n/setlang/" method="post">
{% csrf_token %}
<select class="col-md-6 pull-right" name="language" onchange="javascript:form.submit()">
{% for lang in LANGUAGES %}
<option value="{{ lang.0 }}" {% ifequal LANGUAGE_CODE lang.0 %} selected="selected"{% endifequal %}>
{{ lang.1 }}
</option>
{% endfor %}
</select>
</form>
{% endif %}
</div>
</div>
</div>
</footer>
{% endblock footer %}
+88 -47
View File
@@ -2,53 +2,94 @@
{% load i18n %}
{% block title %}{{ block.super }} {% trans "Tutorials" %}{% endblock %}
{% block page-title %}{% trans "Tutorials" %}{% endblock %}
{% block body_outer %}
<div class="row">
<div class="col-md-8">
<p>{% trans "Cette page contient une série de tutoriels pour illustrer les principales caractéristiques de HaitiData" %}.</p>
<h2>{% trans "Présentation de la plateforme" %}</h2>
<p>{% trans "Aperçu de toutes les principales fonctionnalités de HaitiData" %}.</p>
<hr>
<h2>{% trans "Filtres de recherche" %}</h2>
<p>{% trans "Illustration des principaux critères de filtrage pour une leur utilisation optimale" %}.</p>
<hr>
<h2>{% trans "Couper et Livrer" %}</h2>
<p>{% trans "Instructions étape par étape pour télécharger une partie de l’orthophoto ou du MNT" %}.</p>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/6pcCoOYe0uY" frameborder="0" allowfullscreen></iframe>
</div>
<hr>
<h2>{% trans "Partager couches et métadonnées" %}</h2>
<p>{% trans "Comment gérer les privilèges d'accès et utiliser divers objets dans HaitiData" %}.</p>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/xku8-K995_M" frameborder="0" allowfullscreen></iframe>
</div>
<hr>
<h2>{% trans "Téléchargement de fichiers depuis Android ODK" %}</h2>
<p>{% trans "Procédure de chargement et de transformation des fichiers ODK en couche ponctuelle." %}</p>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/Wx3-QeqF63A" frameborder="0" allowfullscreen></iframe>
</div>
<hr>
<h2>{% trans "Symboliser les couches" %}</h2>
<p>{% trans "Instructions pour changer le style de représentation d’une couche." %}</p>
<hr>
<h2>{% trans "Graphiques" %}</h2>
<p>{% trans "Comment créer des graphiques à partir d’une couche vectorielle." %}</p>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/BkQANF6DNhg" frameborder="0" allowfullscreen></iframe>
</div>
<hr>
<h2>{% trans "Créer des cartes" %}</h2>
<p>{% trans "Procédure de création d’une carte et de gestion des ses métadonnées et privilèges." %}</p>
<hr>
<h2>{% trans "Gestion des utilisateurs" %}</h2>
<p>{% trans "Comment gérer les utilisateurs, les groupes et les privilèges." %}</p>
<hr>
<h2>{% trans "Rancher" %}</h2>
<p>{% trans "La géstion de Rancher." %}</p>
{% block middle %}
<header>
<div class="container">
<h3>{% block page-title %}{% trans "Tutorials" %}{% endblock %}</h3>
</div>
</header>
<div class="container">
{% include "_status_message.html" %}
{% include "_announcements.html" %}
{% include "_messages.html" %}
{% block body_outer %}
<div class="row">
<div class="row">
<div class="col-md-12">
<p class="lead">{% trans "Cette page contient une série de tutoriels pour illustrer les principales caractéristiques de HaitiData" %}.</p>
</div>
<div class="col-md-6">
<span id="overview"></span>
<h2>{% trans "Présentation de la plateforme" %}</h2>
<p>{% trans "Aperçu de toutes les principales fonctionnalités de HaitiData" %}.</p>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/VvAEUH_gaes" frameborder="0" allowfullscreen></iframe>
</div>
<hr>
<span id="filters"></span>
<h2>{% trans "Filtres de recherche" %}</h2>
<p>{% trans "Illustration des principaux critères de filtrage pour une leur utilisation optimale" %}.</p>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/_0ya71tJnWY" frameborder="0" allowfullscreen></iframe>
</div>
<hr>
<span id="clip"></span>
<h2>{% trans "Couper et Livrer" %}</h2>
<p>{% trans "Instructions étape par étape pour télécharger une partie de l’orthophoto ou du MNT" %}.</p>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/6pcCoOYe0uY" frameborder="0" allowfullscreen></iframe>
</div>
<hr>
<span id="share"></span>
<h2>{% trans "Partager couches et métadonnées" %}</h2>
<p>{% trans "Comment gérer les privilèges d'accès et utiliser divers objets dans HaitiData" %}.</p>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/xku8-K995_M" frameborder="0" allowfullscreen></iframe>
</div>
<hr>
<span id="odk"></span>
<h2>{% trans "Téléchargement de fichiers depuis Android ODK" %}</h2>
<p>{% trans "Procédure de chargement et de transformation des fichiers ODK en couche ponctuelle." %}</p>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/Wx3-QeqF63A" frameborder="0" allowfullscreen></iframe>
</div>
</div>
<div class="col-md-6">
<span id="styling"></span>
<h2>{% trans "Symboliser les couches" %}</h2>
<p>{% trans "Instructions pour changer le style de représentation d’une couche." %}</p>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/H14DMxuv-VI" frameborder="0" allowfullscreen></iframe>
</div>
<hr>
<span id="graphs"></span>
<h2>{% trans "Graphiques" %}</h2>
<p>{% trans "Comment créer des graphiques à partir d’une couche vectorielle." %}</p>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/BkQANF6DNhg" frameborder="0" allowfullscreen></iframe>
</div>
<hr>
<span id="maps"></span>
<h2>{% trans "Créer des cartes" %}</h2>
<p>{% trans "Procédure de création d’une carte et de gestion des ses métadonnées et privilèges." %}</p>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/ajOUe7HUgUY" frameborder="0" allowfullscreen></iframe>
</div>
<hr>
<span id="users"></span>
<h2>{% trans "Gestion des utilisateurs" %}</h2>
<p>{% trans "Comment gérer les utilisateurs, les groupes et les privilèges." %}</p>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/oVcDq1jHeNA" frameborder="0" allowfullscreen></iframe>
</div>
<hr>
<span id="rancher"></span>
<h2>{% trans "Rancher" %}</h2>
<p>{% trans "La géstion de Rancher." %}</p>
</div>
</div>
</div>
{% endblock %}
</div>
{% endblock %}
{% endblock middle %}
+1
View File
@@ -15,6 +15,7 @@ urlpatterns = patterns('',
url(r'^chart/', include('charts_app.urls')),
url(r'^table/', include('wfs_harvest.urls')),
url(r'^clip/', include('clip-and-ship.urls')),
url(r'^contact/$', TemplateView.as_view(template_name='contact.html'), name='contact'),
url(r'^tutorials/$', TemplateView.as_view(template_name='tutorials.html'), name='tutorials'),
]