From 6036b617d38c8d84b5fa75ca30d5b7e3b6178a24 Mon Sep 17 00:00:00 2001 From: Tor-Einar Skog <tor-einar.skog@nibio.no> Date: Mon, 24 Apr 2017 16:37:52 -0700 Subject: [PATCH] Minor layout adjustments --- src/main/webapp/map_applications/fireblight/index.html | 5 ++++- src/main/webapp/map_applications/fireblight/js/map.js | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/map_applications/fireblight/index.html b/src/main/webapp/map_applications/fireblight/index.html index 55e115c4..7f346563 100755 --- a/src/main/webapp/map_applications/fireblight/index.html +++ b/src/main/webapp/map_applications/fireblight/index.html @@ -167,10 +167,13 @@ table { border-spacing: 5px 15px; } - select + select, button { font-size: large; } + button { + margin-right: 5px; + } </style> </head> diff --git a/src/main/webapp/map_applications/fireblight/js/map.js b/src/main/webapp/map_applications/fireblight/js/map.js index 2392942a..c1916f40 100755 --- a/src/main/webapp/map_applications/fireblight/js/map.js +++ b/src/main/webapp/map_applications/fireblight/js/map.js @@ -239,8 +239,8 @@ var displayFeature = function(feature) var timeOfObservation = new moment(feature.get("timeOfObservation")); var html = [ '<button type="button" onclick="unFocusForm()">X</button>', - '<button type="button" onclick="editFeature(\'', feature.getId() ,'\');">Edit</button>', - '<button type="button" onclick="deleteFeature(' + feature.getId() + ')">Delete</button>', + '<button type="button" onclick="editFeature(\'', feature.getId() ,'\');">Rediger</button>', + '<button type="button" onclick="deleteFeature(' + feature.getId() + ')">Slett</button>', '<h3>Registrering</h3>', '<table>', '<tr><td>Type</td><td>',getLocalizedOrganismName(feature.get("cropOrganism"),hardcodedLanguage),'</td></tr>', -- GitLab