From 67d31714a458aeada1fdccec49e93ce5e55c861d Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sat, 1 Dec 2012 16:25:15 +0100 Subject: Documentation: remove generated HTML from Git --- docs/_build/html/customisation.html | 154 ------------------------------------ 1 file changed, 154 deletions(-) delete mode 100644 docs/_build/html/customisation.html (limited to 'docs/_build/html/customisation.html') diff --git a/docs/_build/html/customisation.html b/docs/_build/html/customisation.html deleted file mode 100644 index 6ab136e..0000000 --- a/docs/_build/html/customisation.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - - - - - Customisation — Chimère 2.0 documentation - - - - - - - - - - - - - - -
-
-
-
- -
-

Customisation

- --- - - - - - - - -
Author:Étienne Loks
date:2012-11-28
Copyright:CC-BY 3.0
-

This document presents the customisation of Chimère. -It has been updated for version 2.0.0.

-
-

Managing layers

-

There are some different layers available by default in Chimère (OSM Mapnik, OSM -Mapquest, OSM Transport map, OSM Cyclemap). You can add some extra layer using -the web administration pages of Chimère. The new layer is defined with the -appropriate Openlayers JS code. This JS code must -be a compatible Openlayers Layer instance with no ending semi-colon. For -instance defining a Bing layer can be done with this kind of code:

-
new OpenLayers.Layer.Bing({
-            name: "Aerial",
-            key: "my-bing-API-key",
-            type: "Aerial"})
-
-

Refer to the Openlayers documentation API -for more details.

-
-
-

Customizing the layout and the design

-

If you only want to customize the CSS, the easiest way to do it is to add a -link to an extra CSS to your Areas cf. Managing areas.

-

If you want to do larger changes in the layout and the style the (well named) -example_project can be customized to fit your needs. Each template file present -in the chimere/templates directory can be copied in your myproject/templates -directory and then modified. -You only need to copy files that you want to modify. These files are in -Django template language mainly made of pure HTML with some logic. Refer to -the Django template documentation -for more details.

-
-
- - -
-
-
-
-
-

Table Of Contents

- - -

Previous topic

-

Import/export

-

This Page

- - - -
-
-
-
- - - - \ No newline at end of file -- cgit v1.2.3