Commit 2e9d8897 authored by Tomas Pettersson's avatar Tomas Pettersson 🏸

changed to names

parent f2011d7f
......@@ -130,7 +130,7 @@ var STWkit;
var objectlabelDiv = L.DomUtil.create('div', 'uk-width-1-2', typeLabelGrid);
_super.prototype.addLabelDiv.call(_this, objectlabelDiv, "Outlet type", "See more information <a style='color:#faa732;' href='help/classic/#" + type + "-" + initials + "-type' target='_blank'>here</a>");
var typeDiv = L.DomUtil.create('div', '', self.locationForm);
typeDiv.id = 'guide' + initials + '1';
typeDiv.id = 'guide' + initials + 'type';
typeDiv.setAttribute('data-uk-button-radio', '');
var typeButtonGrid = L.DomUtil.create('div', 'uk-grid uk-grid-small', typeDiv);
var objectbuttonsDiv = L.DomUtil.create('div', 'uk-width-1-2', typeButtonGrid);
......@@ -168,7 +168,7 @@ var STWkit;
var positionlabelDiv = L.DomUtil.create('div', 'uk-width-1-1', positionLabelGrid);
_super.prototype.addLabelDiv.call(_this, positionlabelDiv, "Position", "See more information <a style='color:#faa732;' href='help/classic/#" + type + "-" + initials + "-position' target='_blank'>here</a>");
var positionDiv = L.DomUtil.create('div', '', self.locationForm);
positionDiv.id = 'guide' + initials + '2';
positionDiv.id = 'guide' + initials + 'pos';
var positionButtonGrid = L.DomUtil.create('div', 'uk-grid uk-grid-small', positionDiv);
var latlonDiv = L.DomUtil.create('div', 'uk-width-1-2', positionButtonGrid);
var drawDiv = L.DomUtil.create('div', 'uk-width-1-2', positionButtonGrid);
......@@ -314,7 +314,7 @@ var STWkit;
};
self.nextButton = L.DomUtil.create('button', 'uk-button uk-margin-top uk-align-right', clearDiv);
self.nextButton.textContent = 'Next';
self.nextButton.id = 'guide' + initials + '3';
self.nextButton.id = 'guide' + initials + 'location';
self.nextButton.guideFn = function () {
self.nextButton.click();
};
......@@ -455,7 +455,7 @@ var STWkit;
var durationRowDiv = L.DomUtil.create('div', 'uk-form-row', fieldset);
_super.prototype.addLabelDiv.call(_this, durationRowDiv, "Duration", "See more information <a style='color:#faa732;' href='help/classic/#" + type + "-" + initials + "-duration' target='_blank'>here</a>");
var durationDiv = L.DomUtil.create('div', 'uk-form-controls uk-form-icon uk-width-1-1', durationRowDiv);
durationDiv.id = 'guide' + initials + '4';
durationDiv.id = 'guide' + initials + 'duration';
var durationIcon = L.DomUtil.create('span', 'uk-icon-clock-o', durationDiv);
self.durationHours = L.DomUtil.create('input', 'uk-width-2-6', durationDiv);
self.durationHours.type = 'number';
......@@ -472,7 +472,7 @@ var STWkit;
directionDiv.setAttribute('data-uk-button-radio', '');
var directionButtonGrid = L.DomUtil.create('div', 'uk-grid uk-grid-small', directionDiv);
var directionbuttonsDiv = L.DomUtil.create('div', 'uk-width-1-2', directionButtonGrid);
directionButtonGrid.id = 'guide' + initials + '5';
directionButtonGrid.id = 'guide' + initials + 'direction';
var directionButtonGroup = L.DomUtil.create('div', 'uk-button-group', directionbuttonsDiv);
self.forwardButton = L.DomUtil.create('button', 'uk-button uk-button-small', directionButtonGroup);
self.forwardButton.textContent = 'Forward';
......@@ -512,7 +512,7 @@ var STWkit;
};
self.nextButton = L.DomUtil.create('button', 'uk-button uk-margin-top uk-align-right', clearDiv);
self.nextButton.textContent = 'Next';
self.nextButton.id = 'guide' + initials + '6';
self.nextButton.id = 'guide' + initials + 'period';
self.nextButton.guideFn = function () {
self.nextButton.click();
};
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -156,7 +156,7 @@ module STWkit {
var objectlabelDiv = <HTMLDivElement>L.DomUtil.create('div', 'uk-width-1-2', typeLabelGrid);
super.addLabelDiv(objectlabelDiv, "Outlet type", "See more information <a style='color:#faa732;' href='help/classic/#"+type+"-"+initials+"-type' target='_blank'>here</a>");
var typeDiv = <HTMLDivElement>L.DomUtil.create('div', '', self.locationForm);
typeDiv.id = 'guide'+initials+'1';
typeDiv.id = 'guide'+initials+'type';
typeDiv.setAttribute('data-uk-button-radio', '');
var typeButtonGrid = <HTMLDivElement>L.DomUtil.create('div', 'uk-grid uk-grid-small', typeDiv);
var objectbuttonsDiv = <HTMLDivElement>L.DomUtil.create('div', 'uk-width-1-2', typeButtonGrid);
......@@ -192,7 +192,7 @@ module STWkit {
var positionlabelDiv = <HTMLDivElement>L.DomUtil.create('div', 'uk-width-1-1', positionLabelGrid);
super.addLabelDiv(positionlabelDiv, "Position", "See more information <a style='color:#faa732;' href='help/classic/#"+type+"-"+initials+"-position' target='_blank'>here</a>");
var positionDiv: any = <HTMLDivElement>L.DomUtil.create('div', '', self.locationForm);
positionDiv.id = 'guide'+initials+'2';
positionDiv.id = 'guide'+initials+'pos';
var positionButtonGrid = <HTMLDivElement>L.DomUtil.create('div', 'uk-grid uk-grid-small', positionDiv);
var latlonDiv = <HTMLDivElement>L.DomUtil.create('div', 'uk-width-1-2', positionButtonGrid);
var drawDiv = <HTMLDivElement>L.DomUtil.create('div', 'uk-width-1-2', positionButtonGrid);
......@@ -340,7 +340,7 @@ module STWkit {
};
self.nextButton = <HTMLButtonElement>L.DomUtil.create('button', 'uk-button uk-margin-top uk-align-right', clearDiv);
self.nextButton.textContent = 'Next';
self.nextButton.id = 'guide'+initials+'3';
self.nextButton.id = 'guide'+initials+'location';
self.nextButton.guideFn = function () {
self.nextButton.click();
......@@ -508,7 +508,7 @@ module STWkit {
var durationRowDiv = <HTMLDivElement>L.DomUtil.create('div', 'uk-form-row', fieldset);
super.addLabelDiv(durationRowDiv, "Duration", "See more information <a style='color:#faa732;' href='help/classic/#"+type+"-"+initials+"-duration' target='_blank'>here</a>");
var durationDiv = <HTMLDivElement>L.DomUtil.create('div', 'uk-form-controls uk-form-icon uk-width-1-1', durationRowDiv);
durationDiv.id = 'guide'+initials+'4';
durationDiv.id = 'guide'+initials+'duration';
var durationIcon = <HTMLSpanElement>L.DomUtil.create('span', 'uk-icon-clock-o', durationDiv);
self.durationHours = <HTMLInputElement>L.DomUtil.create('input', 'uk-width-2-6', durationDiv);
self.durationHours.type = 'number';
......@@ -524,7 +524,7 @@ module STWkit {
directionDiv.setAttribute('data-uk-button-radio', '');
var directionButtonGrid = <HTMLDivElement>L.DomUtil.create('div', 'uk-grid uk-grid-small', directionDiv);
var directionbuttonsDiv = <HTMLDivElement>L.DomUtil.create('div', 'uk-width-1-2', directionButtonGrid);
directionButtonGrid.id = 'guide'+initials+'5';
directionButtonGrid.id = 'guide'+initials+'direction';
var directionButtonGroup = <HTMLDivElement>L.DomUtil.create('div', 'uk-button-group', directionbuttonsDiv);
self.forwardButton = <HTMLButtonElement>L.DomUtil.create('button', 'uk-button uk-button-small', directionButtonGroup);
self.forwardButton.textContent = 'Forward';
......@@ -568,7 +568,7 @@ module STWkit {
};
self.nextButton = <HTMLButtonElement>L.DomUtil.create('button', 'uk-button uk-margin-top uk-align-right', clearDiv);
self.nextButton.textContent = 'Next';
self.nextButton.id = 'guide'+initials+'6';
self.nextButton.id = 'guide'+initials+'period';
self.nextButton.guideFn = function () {
self.nextButton.click();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment