Commit e3407ee0 authored by Tomas Pettersson's avatar Tomas Pettersson 🏸

added domain

parent abc5daf8
......@@ -176,6 +176,7 @@
locationoptions['polygon']['show'] = true;
// locationoptions['polygon']['name'] = 'Area';
locationoptions['circle'] = false;
locationoptions['domain'] = domainname;
locationoptions['type'] = type;
locationoptions['subtype'] = subtype;
// locationoptions['outlettype'] = false;
......@@ -184,6 +185,7 @@
this.cardMap[locationid] = new STWkit.LocationCard(locationid, 'Specify location', this.accordionDiv, this.lang, this.langData, map, this.forcing, locationoptions);
this.cardMap[locationid].show();
var periodoptions = {};
periodoptions['domain'] = domainname;
periodoptions['type'] = type;
periodoptions['subtype'] = subtype;
periodoptions['initials'] = initials;
......@@ -191,6 +193,7 @@
var periodid = 'periodCard';
this.cardMap[periodid] = new STWkit.PeriodCard(periodid, 'Simulation period', this.accordionDiv, this.lang, map, this.domain, this.forcingmodel, periodoptions);
var oiltypeoptions = {};
oiltypeoptions['domain'] = domainname;
oiltypeoptions['type'] = type;
oiltypeoptions['subtype'] = subtype;
oiltypeoptions['initials'] = initials;
......
......@@ -121,6 +121,7 @@ var STWkit;
var type = (options && options.hasOwnProperty('type')) ? options.type : '';
var subtype = (options && options.hasOwnProperty('subtype')) ? options.subtype : '';
var initials = (options && options.hasOwnProperty('initials')) ? options.initials : '';
var domain = (options && options.hasOwnProperty('domain')) ? options.domain : '';
var showsingle = (options && options.hasOwnProperty('single')) ? options.single : true;
var showmultiple = (options && options.hasOwnProperty('multiple')) ? options.multiple : false;
var showpolygon = (options && options.hasOwnProperty('polygon') && options.polygon.hasOwnProperty('show')) ? options.polygon.show : true;
......@@ -133,7 +134,7 @@ var STWkit;
outlettypeDiv.style.display = 'none';
var typeLabelGrid = L.DomUtil.create('div', 'uk-grid uk-margin-top', outlettypeDiv);
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 + "-" + subtype + "-type' target='_blank'>here</a>");
_super.prototype.addLabelDiv.call(_this, objectlabelDiv, "Outlet type", "See more information <a style='color:#faa732;' href='help/classic/?domain=" + domain.toLowerCase() + "#" + type + "-" + subtype + "-type' target='_blank'>here</a>");
var typeButtonDiv = L.DomUtil.create('div', '', outlettypeDiv);
typeButtonDiv.id = 'guide' + initials + 'type';
typeButtonDiv.setAttribute('data-uk-button-radio', '');
......@@ -171,7 +172,7 @@ var STWkit;
self.positions = [];
var positionLabelGrid = L.DomUtil.create('div', 'uk-grid uk-margin-top', self.locationForm);
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 + "-" + subtype + "-position' target='_blank'>here</a>");
_super.prototype.addLabelDiv.call(_this, positionlabelDiv, "Position", "See more information <a style='color:#faa732;' href='help/classic/?domain=" + domain.toLowerCase() + "#" + type + "-" + subtype + "-position' target='_blank'>here</a>");
var positionDiv = L.DomUtil.create('div', '', self.locationForm);
positionDiv.id = 'guide' + initials + 'pos';
var positionButtonGrid = L.DomUtil.create('div', 'uk-grid uk-grid-small', positionDiv);
......@@ -453,10 +454,10 @@ var STWkit;
self.maxDate = moment.utc().startOf('hour').add(240, 'hours');
var fieldset = L.DomUtil.create('fieldset', '', form);
var availableRowDiv = L.DomUtil.create('div', 'uk-form-row', fieldset);
_super.prototype.addLabelDiv.call(_this, availableRowDiv, "Selected period (UTC)", "See more information <a style='color:#faa732;' href='help/classic/#" + type + "-" + subtype + "-period' target='_blank'>here</a>");
_super.prototype.addLabelDiv.call(_this, availableRowDiv, "Selected period (UTC)", "See more information <a style='color:#faa732;' href='help/classic?domain=" + domain.toLowerCase() + "#" + type + "-" + subtype + "-period' target='_blank'>here</a>");
var availableDiv = L.DomUtil.create('div', '', availableRowDiv);
var startRowDiv = L.DomUtil.create('div', 'uk-form-row', fieldset);
_super.prototype.addLabelDiv.call(_this, startRowDiv, "Start date (UTC)", "See more information <a style='color:#faa732;' href='help/classic/#" + type + "-" + subtype + "-start' target='_blank'>here</a>");
_super.prototype.addLabelDiv.call(_this, startRowDiv, "Start date (UTC)", "See more information <a style='color:#faa732;' href='help/classic/?domain=" + domain.toLowerCase() + "#" + type + "-" + subtype + "-start' target='_blank'>here</a>");
var startDiv = L.DomUtil.create('div', 'uk-form-controls uk-form-icon uk-width-1-1', startRowDiv);
var startIcon = L.DomUtil.create('span', 'uk-icon-calendar', startDiv);
self.startDateInput = L.DomUtil.create('input', 'uk-width-1-2', startDiv);
......@@ -465,7 +466,7 @@ var STWkit;
self.startTimeInput = L.DomUtil.create('input', 'uk-width-1-2', startDiv);
self.startTimeInput.type = 'text';
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 + "-" + subtype + "-duration' target='_blank'>here</a>");
_super.prototype.addLabelDiv.call(_this, durationRowDiv, "Duration", "See more information <a style='color:#faa732;' href='help/classic/?domain=" + domain.toLowerCase() + "#" + type + "-" + subtype + "-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 + 'duration';
var durationIcon = L.DomUtil.create('span', 'uk-icon-clock-o', durationDiv);
......@@ -479,7 +480,7 @@ var STWkit;
var directionRowDiv = L.DomUtil.create('div', 'uk-form-row', fieldset);
if (!showforwardbackward)
directionRowDiv.style.display = 'none';
_super.prototype.addLabelDiv.call(_this, directionRowDiv, "Forward / Backward", "See more information <a style='color:#faa732;' href='help/classic/#" + type + "-" + subtype + "-direction' target='_blank'>here</a>");
_super.prototype.addLabelDiv.call(_this, directionRowDiv, "Forward / Backward", "See more information <a style='color:#faa732;' href='help/classic/?domain=" + domain.toLowerCase() + "#" + type + "-" + subtype + "-direction' target='_blank'>here</a>");
var directionDiv = L.DomUtil.create('div', 'uk-margin-bottom', directionRowDiv);
directionDiv.setAttribute('data-uk-button-radio', '');
var directionButtonGrid = L.DomUtil.create('div', 'uk-grid uk-grid-small', directionDiv);
......@@ -773,6 +774,7 @@ var STWkit;
};
var type = (options && options.hasOwnProperty('type')) ? options.type : '';
var subtype = (options && options.hasOwnProperty('subtype')) ? options.subtype : '';
var domain = (options && options.hasOwnProperty('domain')) ? options.domain : '';
_this.initials = (options && options.hasOwnProperty('initials')) ? options.initials : '';
_this.showstateofoil = (options && options.hasOwnProperty('stateofoil')) ? options.stateofoil : true;
var fieldset = L.DomUtil.create('fieldset', '', form);
......@@ -800,7 +802,7 @@ var STWkit;
option.textContent = txt;
}
var contentoilClass = L.DomUtil.create('li', 'uk-margin-top', contentOiltype);
_super.prototype.addLabelDiv.call(_this, contentoilClass, "Select oil class", "See more information <a style='color:#faa732;' href='help/classic/#" + type + "-" + subtype + "-oilclass' target='_blank'>here</a>");
_super.prototype.addLabelDiv.call(_this, contentoilClass, "Select oil class", "See more information <a style='color:#faa732;' href='help/classic/?domain=" + domain.toLowerCase() + "#" + type + "-" + subtype + "-oilclass' target='_blank'>here</a>");
var divOilClass = L.DomUtil.create('div', 'uk-form-select', contentoilClass);
divOilClass.setAttribute('data-uk-form-select', '');
var selectedOilClass = L.DomUtil.create('span', '', divOilClass);
......@@ -811,7 +813,7 @@ var STWkit;
addOption(self.selectOilClass, 'Medium oils (100-1000 cSt)', 'Medium oils (100-1000 cSt)');
addOption(self.selectOilClass, 'Heavy oils (>1000 cSt)', 'Heavy oils (>1000 cSt)');
var contentspecificOil = L.DomUtil.create('li', 'uk-margin-top', contentOiltype);
_super.prototype.addLabelDiv.call(_this, contentspecificOil, "Select specific oil", "See more information <a style='color:#faa732;' href='help/classic/#" + type + "-" + subtype + "-specificoil' target='_blank'>here</a>");
_super.prototype.addLabelDiv.call(_this, contentspecificOil, "Select specific oil", "See more information <a style='color:#faa732;' href='help/classic/?domain=" + domain.toLowerCase() + "#" + type + "-" + subtype + "-specificoil' target='_blank'>here</a>");
var divOilSpecific = L.DomUtil.create('div', 'uk-form-select', contentspecificOil);
divOilSpecific.setAttribute('data-uk-form-select', '');
var selectedOilSpecific = L.DomUtil.create('span', '', divOilSpecific);
......@@ -859,7 +861,7 @@ var STWkit;
var oilstateRowDiv = L.DomUtil.create('div', 'uk-form-row', fieldset);
if (!_this.showstateofoil)
oilstateRowDiv.style.display = 'none';
_super.prototype.addLabelDiv.call(_this, oilstateRowDiv, "State of oil", "See more information <a style='color:#faa732;' href='help/classic/#" + type + "-" + subtype + "-oilstate' target='_blank'>here</a>");
_super.prototype.addLabelDiv.call(_this, oilstateRowDiv, "State of oil", "See more information <a style='color:#faa732;' href='help/classic/?domain=" + domain.toLowerCase() + "#" + type + "-" + subtype + "-oilstate' target='_blank'>here</a>");
var oilstateDiv = L.DomUtil.create('div', 'uk-margin-bottom', oilstateRowDiv);
oilstateDiv.setAttribute('data-uk-button-radio', '');
var oilstateButtonGrid = L.DomUtil.create('div', 'uk-grid uk-grid-small', oilstateDiv);
......@@ -1087,7 +1089,7 @@ var STWkit;
var calculationRowDiv = L.DomUtil.create('div', 'uk-form-row', fieldset);
if (!this.showcalculationmode)
calculationRowDiv.style.display = 'none';
addLabelDiv(calculationRowDiv, "Calculation mode", "See more information <a style='color:#faa732;' href='help/classic/#" + this.type + "-" + this.subtype + "-calculationmode' target='_blank'>here</a>");
addLabelDiv(calculationRowDiv, "Calculation mode", "See more information <a style='color:#faa732;' href='help/classic/?domain=" + this.domain.toLowerCase() + "#" + this.type + "-" + this.subtype + "-calculationmode' target='_blank'>here</a>");
var calculationMode = L.DomUtil.create('div', 'uk-form-select', calculationRowDiv);
calculationMode.setAttribute('data-uk-form-select', '');
var selectedMode = L.DomUtil.create('span', '', calculationMode);
......@@ -1097,7 +1099,7 @@ var STWkit;
addOption(self.selectCalculationMode, 'Detailed', 'Detailed / slower');
self.selectCalculationMode.selectedIndex = 1;
var uncertaintyRowDiv = L.DomUtil.create('div', 'uk-form-row', fieldset);
addLabelDiv(uncertaintyRowDiv, "Uncertainty", "See more information <a style='color:#faa732;' href='help/classic/#" + this.type + "-" + this.subtype + "-uncertainty' target='_blank'>here</a>");
addLabelDiv(uncertaintyRowDiv, "Uncertainty", "See more information <a style='color:#faa732;' href='help/classic/?domain=" + this.domain.toLowerCase() + "#" + this.type + "-" + this.subtype + "-uncertainty' target='_blank'>here</a>");
var uncertaintyLabel = L.DomUtil.create('label', '', uncertaintyRowDiv);
uncertaintyLabel.style.display = 'block';
self.uncertaintyInput = L.DomUtil.create('input', '', uncertaintyLabel);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -147,6 +147,7 @@ module STWkit {
var type = (options && options.hasOwnProperty('type'))?options.type:'';
var subtype = (options && options.hasOwnProperty('subtype'))?options.subtype:'';
var initials = (options && options.hasOwnProperty('initials'))?options.initials:'';
var domain = (options && options.hasOwnProperty('domain'))?options.domain:'';
var showsingle = (options && options.hasOwnProperty('single'))?options.single:true;
var showmultiple = (options && options.hasOwnProperty('multiple'))?options.multiple:false;
var showpolygon = (options && options.hasOwnProperty('polygon') && options.polygon.hasOwnProperty('show'))?options.polygon.show:true;
......@@ -158,7 +159,7 @@ module STWkit {
if (!showoutlettype) outlettypeDiv.style.display = 'none';
var typeLabelGrid = <HTMLDivElement>L.DomUtil.create('div', 'uk-grid uk-margin-top', outlettypeDiv);
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+"-"+subtype+"-type' target='_blank'>here</a>");
super.addLabelDiv(objectlabelDiv, "Outlet type", "See more information <a style='color:#faa732;' href='help/classic/?domain="+domain.toLowerCase()+"#"+type+"-"+subtype+"-type' target='_blank'>here</a>");
var typeButtonDiv = <HTMLDivElement>L.DomUtil.create('div', '', outlettypeDiv);
typeButtonDiv.id = 'guide'+initials+'type';
typeButtonDiv.setAttribute('data-uk-button-radio', '');
......@@ -194,7 +195,7 @@ module STWkit {
var positionLabelGrid = <HTMLDivElement>L.DomUtil.create('div', 'uk-grid uk-margin-top', self.locationForm);
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+"-"+subtype+"-position' target='_blank'>here</a>");
super.addLabelDiv(positionlabelDiv, "Position", "See more information <a style='color:#faa732;' href='help/classic/?domain="+domain.toLowerCase()+"#"+type+"-"+subtype+"-position' target='_blank'>here</a>");
var positionDiv: any = <HTMLDivElement>L.DomUtil.create('div', '', self.locationForm);
positionDiv.id = 'guide'+initials+'pos';
var positionButtonGrid = <HTMLDivElement>L.DomUtil.create('div', 'uk-grid uk-grid-small', positionDiv);
......@@ -504,10 +505,10 @@ module STWkit {
self.maxDate = moment.utc().startOf('hour').add(240, 'hours');
var fieldset = <HTMLFieldSetElement>L.DomUtil.create('fieldset', '', form);
var availableRowDiv = <HTMLDivElement>L.DomUtil.create('div', 'uk-form-row', fieldset);
super.addLabelDiv(availableRowDiv, "Selected period (UTC)", "See more information <a style='color:#faa732;' href='help/classic/#"+type+"-"+subtype+"-period' target='_blank'>here</a>");
super.addLabelDiv(availableRowDiv, "Selected period (UTC)", "See more information <a style='color:#faa732;' href='help/classic?domain="+domain.toLowerCase()+"#"+type+"-"+subtype+"-period' target='_blank'>here</a>");
var availableDiv = <HTMLDivElement>L.DomUtil.create('div', '', availableRowDiv);
var startRowDiv = <HTMLDivElement>L.DomUtil.create('div', 'uk-form-row', fieldset);
super.addLabelDiv(startRowDiv, "Start date (UTC)", "See more information <a style='color:#faa732;' href='help/classic/#"+type+"-"+subtype+"-start' target='_blank'>here</a>");
super.addLabelDiv(startRowDiv, "Start date (UTC)", "See more information <a style='color:#faa732;' href='help/classic/?domain="+domain.toLowerCase()+"#"+type+"-"+subtype+"-start' target='_blank'>here</a>");
var startDiv = <HTMLDivElement>L.DomUtil.create('div', 'uk-form-controls uk-form-icon uk-width-1-1', startRowDiv);
var startIcon = <HTMLSpanElement>L.DomUtil.create('span', 'uk-icon-calendar', startDiv);
self.startDateInput = <HTMLInputElement>L.DomUtil.create('input', 'uk-width-1-2', startDiv);
......@@ -516,7 +517,7 @@ module STWkit {
self.startTimeInput = <HTMLInputElement>L.DomUtil.create('input', 'uk-width-1-2', startDiv);
self.startTimeInput.type = 'text';
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+"-"+subtype+"-duration' target='_blank'>here</a>");
super.addLabelDiv(durationRowDiv, "Duration", "See more information <a style='color:#faa732;' href='help/classic/?domain="+domain.toLowerCase()+"#"+type+"-"+subtype+"-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+'duration';
var durationIcon = <HTMLSpanElement>L.DomUtil.create('span', 'uk-icon-clock-o', durationDiv);
......@@ -529,7 +530,7 @@ module STWkit {
hoursSpan.textContent = " hours";
var directionRowDiv = <HTMLDivElement>L.DomUtil.create('div', 'uk-form-row', fieldset);
if (!showforwardbackward) directionRowDiv.style.display = 'none';
super.addLabelDiv(directionRowDiv, "Forward / Backward", "See more information <a style='color:#faa732;' href='help/classic/#"+type+"-"+subtype+"-direction' target='_blank'>here</a>");
super.addLabelDiv(directionRowDiv, "Forward / Backward", "See more information <a style='color:#faa732;' href='help/classic/?domain="+domain.toLowerCase()+"#"+type+"-"+subtype+"-direction' target='_blank'>here</a>");
var directionDiv = <HTMLDivElement>L.DomUtil.create('div', 'uk-margin-bottom', directionRowDiv);
directionDiv.setAttribute('data-uk-button-radio', '');
var directionButtonGrid = <HTMLDivElement>L.DomUtil.create('div', 'uk-grid uk-grid-small', directionDiv);
......@@ -847,6 +848,7 @@ module STWkit {
var type = (options && options.hasOwnProperty('type'))?options.type:'';
var subtype = (options && options.hasOwnProperty('subtype'))?options.subtype:'';
var domain = (options && options.hasOwnProperty('domain'))?options.domain:'';
this.initials = (options && options.hasOwnProperty('initials'))?options.initials:'';
this.showstateofoil = (options && options.hasOwnProperty('stateofoil'))?options.stateofoil:true;
......@@ -877,7 +879,7 @@ module STWkit {
}
var contentoilClass = <HTMLLIElement>L.DomUtil.create('li', 'uk-margin-top', contentOiltype);
super.addLabelDiv(contentoilClass, "Select oil class", "See more information <a style='color:#faa732;' href='help/classic/#"+type+"-"+subtype+"-oilclass' target='_blank'>here</a>");
super.addLabelDiv(contentoilClass, "Select oil class", "See more information <a style='color:#faa732;' href='help/classic/?domain="+domain.toLowerCase()+"#"+type+"-"+subtype+"-oilclass' target='_blank'>here</a>");
var divOilClass = <HTMLDivElement>L.DomUtil.create('div', 'uk-form-select', contentoilClass);
divOilClass.setAttribute('data-uk-form-select', '');
var selectedOilClass = <HTMLSpanElement>L.DomUtil.create('span', '', divOilClass);
......@@ -889,7 +891,7 @@ module STWkit {
addOption(self.selectOilClass, 'Heavy oils (>1000 cSt)', 'Heavy oils (>1000 cSt)');
var contentspecificOil = <HTMLLIElement>L.DomUtil.create('li', 'uk-margin-top', contentOiltype);
super.addLabelDiv(contentspecificOil, "Select specific oil", "See more information <a style='color:#faa732;' href='help/classic/#"+type+"-"+subtype+"-specificoil' target='_blank'>here</a>");
super.addLabelDiv(contentspecificOil, "Select specific oil", "See more information <a style='color:#faa732;' href='help/classic/?domain="+domain.toLowerCase()+"#"+type+"-"+subtype+"-specificoil' target='_blank'>here</a>");
var divOilSpecific = <HTMLDivElement>L.DomUtil.create('div', 'uk-form-select', contentspecificOil);
divOilSpecific.setAttribute('data-uk-form-select', '');
var selectedOilSpecific = <HTMLSpanElement>L.DomUtil.create('span', '', divOilSpecific);
......@@ -937,7 +939,7 @@ module STWkit {
var oilstateRowDiv = <HTMLDivElement>L.DomUtil.create('div', 'uk-form-row', fieldset);
if (!this.showstateofoil) oilstateRowDiv.style.display = 'none';
super.addLabelDiv(oilstateRowDiv, "State of oil", "See more information <a style='color:#faa732;' href='help/classic/#"+type+"-"+subtype+"-oilstate' target='_blank'>here</a>");
super.addLabelDiv(oilstateRowDiv, "State of oil", "See more information <a style='color:#faa732;' href='help/classic/?domain="+domain.toLowerCase()+"#"+type+"-"+subtype+"-oilstate' target='_blank'>here</a>");
var oilstateDiv = <HTMLDivElement>L.DomUtil.create('div', 'uk-margin-bottom', oilstateRowDiv);
oilstateDiv.setAttribute('data-uk-button-radio', '');
var oilstateButtonGrid = <HTMLDivElement>L.DomUtil.create('div', 'uk-grid uk-grid-small', oilstateDiv);
......@@ -1206,7 +1208,7 @@ module STWkit {
var fieldset = <HTMLFieldSetElement>L.DomUtil.create('fieldset', '', startform);
var calculationRowDiv = <HTMLDivElement>L.DomUtil.create('div', 'uk-form-row', fieldset);
if (!this.showcalculationmode) calculationRowDiv.style.display = 'none';
addLabelDiv(calculationRowDiv, "Calculation mode", "See more information <a style='color:#faa732;' href='help/classic/#"+this.type+"-"+this.subtype+"-calculationmode' target='_blank'>here</a>");
addLabelDiv(calculationRowDiv, "Calculation mode", "See more information <a style='color:#faa732;' href='help/classic/?domain="+this.domain.toLowerCase()+"#"+this.type+"-"+this.subtype+"-calculationmode' target='_blank'>here</a>");
var calculationMode = <HTMLDivElement>L.DomUtil.create('div', 'uk-form-select', calculationRowDiv);
calculationMode.setAttribute('data-uk-form-select','');
var selectedMode = <HTMLSpanElement>L.DomUtil.create('span', '', calculationMode);
......@@ -1216,7 +1218,7 @@ module STWkit {
addOption(self.selectCalculationMode,'Detailed', 'Detailed / slower');
self.selectCalculationMode.selectedIndex = 1;
var uncertaintyRowDiv = <HTMLDivElement>L.DomUtil.create('div', 'uk-form-row', fieldset);
addLabelDiv(uncertaintyRowDiv, "Uncertainty", "See more information <a style='color:#faa732;' href='help/classic/#"+this.type+"-"+this.subtype+"-uncertainty' target='_blank'>here</a>");
addLabelDiv(uncertaintyRowDiv, "Uncertainty", "See more information <a style='color:#faa732;' href='help/classic/?domain="+this.domain.toLowerCase()+"#"+this.type+"-"+this.subtype+"-uncertainty' target='_blank'>here</a>");
var uncertaintyLabel = <HTMLLabelElement>L.DomUtil.create('label', '', uncertaintyRowDiv);
uncertaintyLabel.style.display = 'block';
self.uncertaintyInput = <HTMLInputElement>L.DomUtil.create('input', '', uncertaintyLabel);
......
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