Changeset 9583


Ignore:
Timestamp:
Aug 27, 2011, 2:40:58 PM (13 years ago)
Author:
rick
Message:

Fix style-sheet inheritance, allowing to override and fix location of Permament and Coordinates to the top.

Location:
src/django_gheat/wlheatmap
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/django_gheat/wlheatmap/static/heatmap.js

    r9576 r9583  
    1717
    1818  map = new OpenLayers.Map('heatmap', {
     19    theme: null,
    1920    controls: [
    2021      new OpenLayers.Control.Navigation(),
    2122      new OpenLayers.Control.Permalink(),
    2223      new OpenLayers.Control.PanZoomBar(),
    23       new OpenLayers.Control.OverviewMap({ maximized : true }),
     24      new OpenLayers.Control.OverviewMap({
     25        maximized : true,
     26        mapOptions: { theme: null, },
     27      }),
    2428      new OpenLayers.Control.MousePosition({ 'displayProjection' : projection_wgs }),
    2529      /**
  • src/django_gheat/wlheatmap/static/style.css

    r9580 r9583  
    273273  z-index:2;
    274274}
     275
     276div.olControlOverviewMapElement {
     277  background-color: #BA0000;
     278}
     279
     280div.olControlMousePosition {
     281  bottom: auto;
     282  right: 50px;
     283  top: 0px;
     284
     285}
     286
     287div.olControlPermalink {
     288  bottom: auto;
     289  top: 0px;
     290}
  • src/django_gheat/wlheatmap/templates/home.html

    r9578 r9583  
    11<html>
    22<head>
     3  <link type="text/css" href="{{ STATIC_URL }}theme/default/style.css" rel="stylesheet" />
    34  <link type="text/css" href="{{ STATIC_URL }}style.css" rel="stylesheet" />
    45  <link type="text/css" href="{{ STATIC_URL }}jquery-ui-1.8.13.custom.css" rel="Stylesheet" /> 
Note: See TracChangeset for help on using the changeset viewer.