Improve homepage

stable
Thomas Petazzoni 2009-08-31 23:12:15 +02:00
rodzic 07a9124d48
commit 6d2ca9dd33
10 zmienionych plików z 22592 dodań i 7 usunięć

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

20032
www/media/chavagne.svg 100644

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

Wyświetl plik

@ -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;
}

Wyświetl plik

@ -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>&nbsp;-&nbsp;
<a href="/smedia/chavagne.pdf">PDF</a>&nbsp;-&nbsp;
<a href="/smedia/chavagne.svg">SVG</a>
</td>
<td>
Streets index<br/>
<a href="/smedia/chavagne_index.png">PNG</a>&nbsp;-&nbsp;
<a href="/smedia/chavagne_index.pdf">PDF</a>&nbsp;-&nbsp;
<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&nbsp;;</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&nbsp;!</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&nbsp;:</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>