mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-05 14:38:05 +02:00
cleaning up presets.
This commit is contained in:
@@ -99,7 +99,7 @@ iD.ui.Geocoder = function(context) {
|
||||
|
||||
var gcForm = selection.append('form');
|
||||
|
||||
var inputNode = gcForm.attr('class', 'content fillD map-overlay hide')
|
||||
var inputNode = gcForm.attr('class', 'content fillL map-overlay hide')
|
||||
.append('input')
|
||||
.attr({ type: 'text', placeholder: t('geocoder.placeholder') })
|
||||
.attr('tabindex', 1)
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ iD.ui.preset = function(context) {
|
||||
|
||||
wrap.append('div')
|
||||
.attr('class', 'col3 preset-label')
|
||||
.append('label')
|
||||
.append('h4')
|
||||
.attr('for', 'input-' + d.key)
|
||||
.text(d.title || d.key);
|
||||
|
||||
|
||||
@@ -40,13 +40,13 @@ iD.ui.TagEditor = function(context) {
|
||||
var editorwrap = selection.append('div')
|
||||
.attr('class', 'tag-wrap inspector-body inspector-body-' + entity.geometry(context.graph()));
|
||||
|
||||
var headerwrap = editorwrap.append('div').attr('class','col12 inspector-inner head');
|
||||
var headerwrap = editorwrap.append('div').attr('class','col12 head');
|
||||
|
||||
var typewrap = headerwrap.append('div')
|
||||
.attr('class','col3 type');
|
||||
|
||||
var typebutton = typewrap.append('button')
|
||||
.attr('class','col12')
|
||||
.attr('class','col12 grid-entry')
|
||||
.on('click', function() {
|
||||
event.choose();
|
||||
});
|
||||
@@ -57,10 +57,10 @@ iD.ui.TagEditor = function(context) {
|
||||
typebutton.node().focus();
|
||||
|
||||
var namewrap = headerwrap.append('div')
|
||||
.attr('class', 'name col9');
|
||||
.attr('class', 'name preset-section inspector-inner col9');
|
||||
|
||||
typebutton.append('span')
|
||||
.attr('class','label')
|
||||
.attr('class','h4')
|
||||
.text(preset.name);
|
||||
|
||||
namewrap.append('h4').text(t('inspector.name'));
|
||||
|
||||
Reference in New Issue
Block a user