kopia lustrzana https://github.com/hholzgra/maposmatic/
Improve homepage
rodzic
07a9124d48
commit
6d2ca9dd33
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 73 KiB |
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 2.0 MiB |
File diff suppressed because one or more lines are too long
Po Szerokość: | Wysokość: | Rozmiar: 9.6 MiB |
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 80 KiB |
Plik binarny nie jest wyświetlany.
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 988 KiB |
Plik diff jest za duży
Load Diff
Po Szerokość: | Wysokość: | Rozmiar: 211 KiB |
|
@ -139,12 +139,17 @@ ul#nav li.activelink a,ul#nav li.activelink a:hover {
|
|||
background: #fff;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
div#content h1 {
|
||||
border-bottom: 2px solid #036DA7;
|
||||
}
|
||||
|
||||
li {
|
||||
div#content h2 {
|
||||
font-size: 140%;
|
||||
}
|
||||
|
||||
form ul {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
|
@ -161,5 +166,5 @@ input:hover {
|
|||
|
||||
input[type="submit"]
|
||||
{
|
||||
width: auto;
|
||||
width: 300px;
|
||||
}
|
|
@ -62,11 +62,76 @@ onload='pageinit()'
|
|||
{% block page %}
|
||||
<h1>MapOSMatic</h1>
|
||||
|
||||
<h2>Introduction</h2>
|
||||
|
||||
<div style="float: right; margin-left: 5em;">
|
||||
<table style="text-align: center">
|
||||
<tr>
|
||||
<td><img src="/smedia/chavagne-small.png"></td>
|
||||
<td><img src="/smedia/chavagne_index-small.png"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
City Map<br/>
|
||||
<a href="/smedia/chavagne.png">PNG</a> -
|
||||
<a href="/smedia/chavagne.pdf">PDF</a> -
|
||||
<a href="/smedia/chavagne.svg">SVG</a>
|
||||
</td>
|
||||
<td>
|
||||
Streets index<br/>
|
||||
<a href="/smedia/chavagne_index.png">PNG</a> -
|
||||
<a href="/smedia/chavagne_index.pdf">PDF</a> -
|
||||
<a href="/smedia/chavagne_index.svg">SVG</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<p>MapOSMatic is a free software web service that allows to generate
|
||||
maps of cities using OpenStreetMap data. A city map is made of two
|
||||
pages :</p>
|
||||
|
||||
<ul>
|
||||
<li>the map itself, split in squares allowing to easily look for streets ;</li>
|
||||
<li>an index of the streets with references to the squares on the map.</li>
|
||||
</ul>
|
||||
|
||||
<p>The generated maps are available in PNG, PDF and SVG and are ready
|
||||
to be printed. Submit your map generation request below, wait a few
|
||||
minutes and get your own map !</p>
|
||||
|
||||
<p style="text-align: right"><a href="/about/">More details</a></p>
|
||||
|
||||
<h2>Generate your own map</h2>
|
||||
|
||||
<p>For the moment <i>MapOSMatic</i> is only available for the
|
||||
metropolitan France. We need contributors to translate and adapt the
|
||||
few parts of <i>MapOSMatic</i> that are country specific.</p>
|
||||
|
||||
<p>To select the city to be rendered, two modes are
|
||||
available :</p>
|
||||
|
||||
<ul>
|
||||
<li>Using an administrative boundary. These boundaries allow to get
|
||||
a map with precise boundaries of the city, but the boundaries are
|
||||
for the moment only available for part of the French cities (about a
|
||||
third). The name of the provided city must exactly match the one
|
||||
available in the OpenStreetMap database (no case or accent
|
||||
difference is allowed). Working examples are: <i>Chavagne</i>,
|
||||
<i>Bénodet</i> or <i>Sanguinet</i>.</li>
|
||||
<li>Using a traditionnal bounding box.</li>
|
||||
</ul>
|
||||
|
||||
<p>Once the rendering is submitted, you will be brought to a page
|
||||
giving the status of your rendering request. As soon as the rendering
|
||||
is completed (might take some time depending on the queue length),
|
||||
this page will contain links to the generated map.</p>
|
||||
|
||||
<form method="post" action="">
|
||||
|
||||
<table>
|
||||
<table style="margin: auto; border: 1px solid #CCC; padding: 10px;">
|
||||
<tr>
|
||||
<td>Title for the generated map</td>
|
||||
<td width="50%">Title of the map</td>
|
||||
<td>{{ form.maptitle }}</td>
|
||||
<td>{{ form.maptitle.errors }}</td>
|
||||
</tr>
|
||||
|
|
Ładowanie…
Reference in New Issue