aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-02-14 19:32:48 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-02-14 19:32:48 +1300
commit80473fa44324799dff72577b7c352111a424bdf7 (patch)
tree900fc19b8d213ae41d61aa9bb995dddc2bc8df8a
parent85734e4b1e18f3b96b8341e79b47b8503b97cde7 (diff)
downloadtrackermap-web-80473fa44324799dff72577b7c352111a424bdf7.tar.gz
trackermap-web-80473fa44324799dff72577b7c352111a424bdf7.tar.bz2
trackermap-web-80473fa44324799dff72577b7c352111a424bdf7.zip
Fix attribution position (fix #15)
-rw-r--r--src/org/traccar/web/client/Traccar.java6
-rw-r--r--war/traccar.html8
2 files changed, 8 insertions, 6 deletions
diff --git a/src/org/traccar/web/client/Traccar.java b/src/org/traccar/web/client/Traccar.java
index 3b4bfda7..8fa67ecd 100644
--- a/src/org/traccar/web/client/Traccar.java
+++ b/src/org/traccar/web/client/Traccar.java
@@ -16,14 +16,8 @@
package org.traccar.web.client;
import org.traccar.web.client.controller.LoginController;
-import org.traccar.web.shared.model.XmlParser;
import com.google.gwt.core.client.EntryPoint;
-import com.google.gwt.xml.client.DOMException;
-import com.google.gwt.xml.client.Document;
-import com.google.gwt.xml.client.Node;
-import com.google.gwt.xml.client.XMLParser;
-import com.sencha.gxt.widget.core.client.box.AlertMessageBox;
public class Traccar implements EntryPoint, LoginController.LoginHandler {
diff --git a/war/traccar.html b/war/traccar.html
index 1957a3e6..255b09e6 100644
--- a/war/traccar.html
+++ b/war/traccar.html
@@ -3,11 +3,19 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Traccar</title>
+
<link rel="stylesheet" type="text/css" href="traccar/reset.css" />
+
<script src="http://www.openlayers.org/api/OpenLayers.js"></script>
<script src="http://www.openstreetmap.org/openlayers/OpenStreetMap.js"></script>
<script src="http://maps.google.com/maps/api/js?v=3&amp;sensor=false"></script>
<script type="text/javascript" src="traccar/traccar.nocache.js"></script>
+
+ <!-- Attribution position workaround -->
+ <style type="text/css">
+ .olControlAttribution { bottom: 5px !important; }
+ </style>
+
</head>
<body>
<noscript>