All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.enUS.TrafficLightGenPage.hbs Maven / Gradle / Ivy

Go to download

Red Hat Global Social Innovation Program is partnering with Boston University and Smarta Byar in order to collaborate on creating a global and open research platform allowing researchers to study what social sustainability means by using a digital twin of Veberöd, Sweden as the test village, supported by Smarta Byar. The goal of this collaboration is to build the open source technological infrastructure so that researchers can collaborate on this platform effectively to study mobility, public health, sustainability among other study areas to ultimately help define better the link between well being and eco-smart cities.

The newest version!
{{#*inline "htmTitleTrafficLightPage"}}		
		{{#if searchListTrafficLight_}}{{#eq trafficLightCount int1}}{{#if id}}traffic light{{else}}traffic light{{/if}}{{else}}no traffic light found{{/eq}}{{else}}traffic lights{{/if}}
{{/inline}}
{{#*inline "htmMetaTrafficLightPage"}}{{> "htmMetaMapResultPage"}}{{/inline}}
{{#*inline "htmStyleTrafficLightPage"}}{{> "htmStyleMapResultPage"}}{{/inline}}
{{#*inline "htmScriptsTrafficLightPage"}}{{> "htmScriptsMapResultPage"}}		
		
{{/inline}}
{{#*inline "htmScriptTrafficLightPage"}}		
		
{{/inline}}
{{#*inline "websocketTrafficLightPage"}}
				
				websocketTrafficLight(websocketTrafficLightInner);
{{/inline}}
{{#*inline "jsWebsocketTrafficLightPage"}}{{/inline}}
{{#*inline "jsTooltipTrafficLightPage"}}{{/inline}}
{{#*inline "htmTooltipTrafficLightPage"}}

${feature.properties.objectTitle}

{{/inline}} {{#*inline "jsLegendTrafficLightPage"}} var div = L.DomUtil.create('div', 'info legend'); var htm = ''; $.each( window.listTrafficLight, function(index, trafficLight) { if(trafficLight.location) { var shapes = []; if(Array.isArray(trafficLight.location)) shapes = shapes.concat(trafficLight.location); else shapes.push(trafficLight.location); shapes.forEach(function(shape, index) { htm += htmLegendTrafficLight(map, shape, trafficLight, index, shapes.length); }); } }); div.innerHTML = htm; return div; {{/inline}} {{#*inline "htmLegendTrafficLightPage"}}
${title}
{{/inline}} {{#*inline "jsStyleTrafficLightPage"}} if(feature.geometry.type == 'Point') { return { radius: 8 , fillColor: (feature.properties.areaServedColors && feature.properties.areaServedColors[feature.index] ? feature.properties.areaServedColors[feature.index] : (feature.properties.color ? feature.properties.color : '#000')) , color: (feature.properties.areaServedColors && feature.properties.areaServedColors[feature.index] ? feature.properties.areaServedColors[feature.index] : (feature.properties.color ? feature.properties.color : '#000')) , weight: 1 , opacity: 0.7 , fillOpacity: 0.7 }; } else if(feature.geometry.type == 'LineString') { return { color: (feature.properties.areaServedColors && feature.properties.areaServedColors[feature.index] ? feature.properties.areaServedColors[feature.index] : (feature.properties.color ? feature.properties.color : '#000')) , weight: 5 , opacity: 0.7 }; } else { return { fillColor: (feature.properties.areaServedColors && feature.properties.areaServedColors[feature.index] ? feature.properties.areaServedColors[feature.index] : (feature.properties.color ? feature.properties.color : '#000')) , color: (feature.properties.areaServedColors && feature.properties.areaServedColors[feature.index] ? feature.properties.areaServedColors[feature.index] : (feature.properties.color ? feature.properties.color : '#000')) , weight: 3 , opacity: 0.7 , fillOpacity: 0.7 }; } {{/inline}} {{#*inline "htmUrlTrafficLight"}}{{pageUri}}?q={{query.q}}&rows={{#if rows}}{{rows}}{{else}}{{pagination.rows}}{{/if}}&rows={{#if start}}{{start}}{{else}}{{pagination.start}}{{/if}}{{#each query.fq}}{{#eq fq this}}{{else}}&fq={{fq}}:{{val}}{{/eq}}{{/each}}{{#each query.sort}}{{#eq sort this}}{{else}}&sort={{var}} {{order}}{{/eq}}{{/each}}{{/inline}} {{#*inline "htmHeadTrafficLightPage"}}{{#block "htmTitle"}}{{/block}}{{#block "htmMeta"}}{{/block}}{{#block "htmStyle"}}{{/block}}{{#block "htmScripts"}}{{/block}}{{#block "htmScript"}}{{/block}}{{/inline}} {{#*inline "htmBodySearchTrafficLightPage"}}
{{#each varsQ}}
{{/each}}
start={{ start }}
rows={{ rows }}
{{/inline}} {{#*inline "htmBodyFiltersTrafficLightPage"}}
{{#each varsFq }}
{{#if val }}fq={{ var }}:{{encodeURIComponent val }}{{/if}}
{{#if facetField.var }}facet.field={{ facetField.var }}{{/if}}
    {{#each facetField.counts }}
  1. {{ @key }}: {{ this }}
  2. {{/each}}
{{/each}}
{{/inline}} {{#*inline "htmBodyRangeTrafficLightPage"}}
{{#if rangeGap }}facet.range.gap={{encodeURIComponent rangeGap }}{{/if}}
{{#if rangeStart }}facet.range.start={{encodeURIComponent rangeStart }}{{/if}}
{{#if rangeEnd }}facet.range.end={{encodeURIComponent rangeEnd }}{{/if}}
{{#if defaultRangeVar }}facet.range={!tag=r1}{{encodeURIComponent defaultRangeVar }}{{/if}}
Range Gap
Range Start
Range End
{{#each varsRange }} {{/each}}
{{/inline}} {{#*inline "htmBodyPivotTrafficLightPage"}}
{{#if defaultPivotVars }}
facet.pivot={!range=r1}{{#each defaultPivotVars }}{{#if @index }},{{/if}}{{ this }}{{/each}}
{{/if}}
{{#each varsFq }} {{/each}}
{{/inline}} {{#*inline "htmBodyFieldListTrafficLightPage"}}
{{#if defaultFieldListVars }}
fl={{#each defaultFieldListVars }}{{#if @index }},{{/if}}{{ this }}{{/each}}
{{/if}}
{{#each varsFq }} {{/each}}
{{/inline}} {{#*inline "htmBodyStatsTrafficLightPage"}}
{{#if defaultStatsVars }} {{#each defaultStatsVars }}
stats.field={{ this }}
{{/each}}{{/if}}
{{#each varsFq }} {{#if enableStats }} {{/if}} {{/each}}
{{#if ./stats }} {{#each ./stats }} {{#eq @key 'name' }}{{else}}
{{ @key }}: {{ this }}
{{/eq}} {{/each}} {{#if ./stats/max }}
step min max speed in seconds
{{/if}} {{/if}}
{{/inline}} {{#*inline "htmBodyMenuTrafficLightPage"}} {{> "htmBodyMenuMapResultPage"}}{{/inline}} {{#*inline "htmBodyGraphTrafficLightPage"}}
{{/inline}} {{#*inline "htmBodyGraphLocationTrafficLightPage"}}
{{/inline}} {{#*inline "htmBodyCount0TrafficLightPage"}}

{{#if classIconCssClasses}} {{/if}} traffic lights

{{#if classIconCssClasses}} {{/if}} no traffic light found

{{/inline}} {{#*inline "htmBodyCount1TrafficLightPage"}}

{{#if classIconCssClasses}} {{/if}} traffic light

{{trafficLight_.objectTitle}}

{{/inline}} {{#*inline "htmBodyAllTrafficLightPage"}}

{{#if classIconCssClasses}} {{/if}} traffic lights

{{#if pagination.pagePrevious}} {{else}} {{/if}} {{#gte pagination.rowsPrevious pagination.1L}} {{else}} {{/gte}} {{#if pagination.pageNext}} {{else}} {{/if}} {{ pagination.startNum }} - {{ pagination.endNum }} of {{ pagination.foundNum }}
{{> "table1TrafficLightPage"}}
{{/inline}} {{#*inline "htmFormTrafficLightPage"}}
{{#if id}} {{/if}}
{{#if id}} {{#block "htmButton_searchpageTrafficLight"}}{{/block}} {{#block "htmForm_searchpageTrafficLight"}}{{/block}} {{/if}} {{/inline}} {{#*inline "htmButtonTrafficLightPage_patchTrafficLight"}} {{/inline}} {{#*inline "htmFormButtonTrafficLightPage_patchTrafficLight"}} {{/inline}} {{#*inline "htmFormTrafficLightPage_patchTrafficLight"}}
{{#eq "Page" classApiMethodMethod}} × {{/eq}}

Modify traffic light

{{#ifContainsAnyRoles roles roleForWrite}} {{> "htmCreated" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmCreated" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmCreated" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmObjectId" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmObjectId" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmObjectId" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}} {{> "htmArchived" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmArchived" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmArchived" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmDeleted" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmDeleted" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmDeleted" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}} {{> "htmSimulationName" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmSimulationName" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmSimulationName" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmSumocfgPath" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmSumocfgPath" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmSumocfgPath" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}} {{> "htmTime" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmTime" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmTime" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmDateTime" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmDateTime" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmDateTime" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmStep" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmStep" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmStep" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmLocation" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmLocation" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmLocation" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmColor" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmColor" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmColor" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmTrafficLightId" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmTrafficLightId" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmTrafficLightId" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmTrafficLightType" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmTrafficLightType" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmTrafficLightType" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}} {{> "htmAngle" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmAngle" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmAngle" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}} {{> "htmColor" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmColor" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmColor" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}}
{{#block "htmFormButton_patchTrafficLight"}}{{/block}}
{{/inline}} {{#*inline "htmButtonTrafficLightPage_postTrafficLight"}} {{/inline}} {{#*inline "htmFormButtonTrafficLightPage_postTrafficLight"}} {{/inline}} {{#*inline "htmFormTrafficLightPage_postTrafficLight"}}
{{#eq "Page" classApiMethodMethod}} × {{/eq}}

Create a traffic light

You can override any default values below:
{{#block "htmFormButton_postTrafficLight"}}{{/block}}
{{#ifContainsAnyRoles roles roleForWrite}} {{> "htmObjectId" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmObjectId" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmObjectId" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}} {{> "htmSimulationName" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmSimulationName" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmSimulationName" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmSumocfgPath" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmSumocfgPath" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmSumocfgPath" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}} {{> "htmTime" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmTime" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmTime" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmDateTime" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmDateTime" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmDateTime" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmStep" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmStep" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmStep" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmLocation" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmLocation" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmLocation" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmColor" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmColor" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmColor" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmTrafficLightId" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmTrafficLightId" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmTrafficLightId" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmTrafficLightType" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmTrafficLightType" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmTrafficLightType" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}} {{> "htmAngle" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmAngle" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmAngle" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}} {{> "htmColor" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmColor" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmColor" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}}
{{#block "htmFormButton_postTrafficLight"}}{{/block}}
{{/inline}} {{#*inline "htmButtonTrafficLightPage_putimportTrafficLight"}} {{/inline}} {{#*inline "htmFormButtonTrafficLightPage_putimportTrafficLight"}} {{/inline}} {{#*inline "htmFormTrafficLightPage_putimportTrafficLight"}}
{{#eq "Page" classApiMethodMethod}} × {{/eq}}

Import traffic lights

{{#block "htmFormButton_putimportTrafficLight"}}{{/block}}
{{/inline}} {{#*inline "htmButtonTrafficLightPage_searchpageTrafficLight"}} {{/inline}} {{#*inline "htmFormButtonTrafficLightPage_searchpageTrafficLight"}} {{/inline}} {{#*inline "htmFormTrafficLightPage_searchpageTrafficLight"}}
{{#ifContainsAnyRoles roles roleForWrite}} {{> "htmCreated" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmCreated" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmCreated" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmModified" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmModified" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmModified" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmObjectId" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmObjectId" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmObjectId" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}} {{> "htmArchived" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmArchived" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmArchived" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmDeleted" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmDeleted" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmDeleted" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}} {{> "htmSimulationName" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmSimulationName" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmSimulationName" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmSumocfgPath" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmSumocfgPath" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmSumocfgPath" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}} {{> "htmTime" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmTime" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmTime" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmDateTime" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmDateTime" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmDateTime" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmStep" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmStep" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmStep" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmLocation" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmLocation" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmLocation" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmColor" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmColor" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmColor" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmTrafficLightId" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmTrafficLightId" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmTrafficLightId" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmTrafficLightType" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmTrafficLightType" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmTrafficLightType" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}} {{> "htmAngle" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmAngle" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmAngle" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}} {{> "htmColor" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmColor" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmColor" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}}
{{/inline}} {{#*inline "htmBodySidebarTrafficLightPage"}}
Search Filters Range Pivot FieldList Stats API
{{/inline}} {{#*inline "htmBodyStartTrafficLightPage"}} {{> "htmBodyStartMapResultPage"}} {{/inline}} {{#*inline "htmBodyMiddleTrafficLightPage"}} {{> "htmBodyMiddleMapResultPage"}} {{/inline}} {{#*inline "htmBodyEndTrafficLightPage"}} {{> "htmBodyEndMapResultPage"}} {{/inline}} {{#*inline "htmBodyTrafficLightPage"}} {{#block "htmBodyStart"}}{{/block}} {{#block "htmBodyMiddle"}}{{/block}} {{#block "htmBodyEnd"}}{{/block}} {{/inline}} {{#*inline "htmBodyMiddleTrafficLightPage"}}
{{#block "htmBodySidebar"}}{{/block}}
{{#block "htmBodyGraphLocation"}}{{/block}} {{#block "htmBodyGraph"}}{{/block}}
{{#eq trafficLightCount int0}} {{#block "htmBodyCount0"}}{{/block}} {{else}} {{#eq trafficLightCount int1}} {{#if id}} {{#block "htmBodyCount1"}}{{/block}} {{else}} {{#block "htmBodyAll"}}{{/block}} {{/if}} {{else}} {{#block "htmBodyAll"}}{{/block}} {{/eq}} {{/eq}} {{#block "htmForm"}}{{/block}} {{#block "htmForms"}}{{/block}}
{{/inline}} {{#*inline "table1TrafficLightPage"}}
{{> table2TrafficLightPage}}
{{/inline}} {{#*inline "table2TrafficLightPage"}} {{> "thead1TrafficLightPage"}} {{> "tbody1TrafficLightPage"}} {{> "tfoot1TrafficLightPage"}} {{/inline}} {{#*inline "thead1TrafficLightPage"}} {{> thead2TrafficLightPage}} {{/inline}} {{#*inline "thead2TrafficLightPage"}} ID created {{/inline}} {{#*inline "tbody1TrafficLightPage"}} {{> tbody2TrafficLightPage}} {{/inline}} {{#*inline "tbody2TrafficLightPage"}} {{#each listTrafficLight}} {{objectId}} {{siteZonedDateTimeFormat created "MMM d, yyyy h:mm:ss a" siteLocale}} {{objectTitle}} {{/each}} {{/inline}} {{#*inline "tfoot1TrafficLightPage"}} {{> tfoot2TrafficLightPage}} {{/inline}} {{#*inline "tfoot2TrafficLightPage"}} {{#if getColumnObjectId}} {{/if}} {{#if getColumnCreated}} {{/if}} {{#if getColumnObjectTitle}} {{/if}} {{/inline}} {{#*inline "htmFormsTrafficLightPage"}} {{#ifContainsAnyRoles roles authRoleSuperAdmin}} {{#eq trafficLightCount int1}} {{/eq}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles authRoleSuperAdmin}} {{#block "htmButton_patchTrafficLight"}}{{/block}} {{#block "htmForm_patchTrafficLight"}}{{/block}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles authRoleAdmin}} {{#eq trafficLightCount int1}} {{#if id}} {{else}} {{#block "htmButton_postTrafficLight"}}{{/block}} {{#block "htmForm_postTrafficLight"}}{{/block}} {{/if}} {{else}} {{#block "htmButton_postTrafficLight"}}{{/block}} {{#block "htmForm_postTrafficLight"}}{{/block}} {{/eq}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles authRoleSuperAdmin}} {{#block "htmButton_putimportTrafficLight"}}{{/block}} {{#block "htmForm_putimportTrafficLight"}}{{/block}} {{/ifContainsAnyRoles}} {{#block "htmSuggested"}}{{/block}} {{/inline}} {{#*inline "htmSuggestedTrafficLightPage"}} {{#ifContainsAnyRoles roles roleForWrite}}
{{/ifContainsAnyRoles}}
search traffic lights:
{{/inline}} {{> MapResultPage mapResult_=trafficLight_}} {{#*inline "htmCreated"}}
{{> "inputCreated" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputCreated"}} {{#eq 'Page' classApiMethodMethod}} {{formatZonedDateTime trafficLight_.created 'EEE MMM d yyyy h:mm a zz' defaultLocaleId defaultZoneId}} {{/eq}} {{/inline}} {{#*inline "htmModified"}}
{{> "inputModified" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputModified"}} {{#eq 'Page' classApiMethodMethod}} {{formatZonedDateTime trafficLight_.modified 'EEE MMM d yyyy h:mm a zz' defaultLocaleId defaultZoneId}} {{/eq}} {{/inline}} {{#*inline "htmObjectId"}}
{{> "inputObjectId" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputObjectId"}} {{#eq roleForWriteBool "true"}} {{else}} {{#ifContainsKeys userKeys}} {{trafficLight_.objectId}} {{/ifContainsKeys}} {{else}} {{trafficLight_.objectId}} {{/eq}} {{/inline}} {{#*inline "htmArchived"}}
{{> "inputArchived" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputArchived"}} {{#eq roleForWriteBool "true"}} {{#eq 'Page' classApiMethodMethod}} {{else}} > {{/eq}} {{else}} {{#ifContainsKeys userKeys}} {{trafficLight_.archived}} {{/ifContainsKeys}} {{else}} {{trafficLight_.archived}} {{/eq}} {{/inline}} {{#*inline "htmDeleted"}}
{{> "inputDeleted" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputDeleted"}} {{#eq roleForWriteBool "true"}} {{#eq 'Page' classApiMethodMethod}} {{else}} > {{/eq}} {{else}} {{#ifContainsKeys userKeys}} {{trafficLight_.deleted}} {{/ifContainsKeys}} {{else}} {{trafficLight_.deleted}} {{/eq}} {{/inline}} {{#*inline "htmSimulationName"}}
{{> "inputSimulationName" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputSimulationName"}} {{#eq roleForWriteBool "true"}} {{else}} {{#ifContainsKeys userKeys}} {{trafficLight_.simulationName}} {{/ifContainsKeys}} {{else}} {{trafficLight_.simulationName}} {{/eq}} {{/inline}} {{#*inline "htmSumocfgPath"}}
{{> "inputSumocfgPath" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputSumocfgPath"}} {{#eq roleForWriteBool "true"}} {{else}} {{#ifContainsKeys userKeys}} {{trafficLight_.sumocfgPath}} {{/ifContainsKeys}} {{else}} {{trafficLight_.sumocfgPath}} {{/eq}} {{/inline}} {{#*inline "htmTime"}}
{{> "inputTime" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputTime"}} {{#eq roleForWriteBool "true"}} {{else}} {{#ifContainsKeys userKeys}} {{trafficLight_.time}} {{/ifContainsKeys}} {{else}} {{trafficLight_.time}} {{/eq}} {{/inline}} {{#*inline "htmDateTime"}}
{{> "inputDateTime" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputDateTime"}} {{#eq roleForWriteBool "true"}} {{else}} {{#ifContainsKeys userKeys}} {{trafficLight_.dateTime}} {{/ifContainsKeys}} {{else}} {{trafficLight_.dateTime}} {{/eq}} {{/inline}} {{#*inline "htmStep"}}
{{> "inputStep" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputStep"}} {{#eq roleForWriteBool "true"}} {{#eq 'Page' classApiMethodMethod}} {{else}} > {{/eq}} {{else}} {{#ifContainsKeys userKeys}} {{trafficLight_.step}} {{/ifContainsKeys}} {{else}} {{trafficLight_.step}} {{/eq}} {{/inline}} {{#*inline "htmLocation"}}
{{> "inputLocation" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputLocation"}} {{#eq roleForWriteBool "true"}} {{else}} {{#ifContainsKeys userKeys}} {{trafficLight_.location}} {{/ifContainsKeys}} {{else}} {{trafficLight_.location}} {{/eq}} {{/inline}} {{#*inline "htmColor"}}
{{> "inputColor" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputColor"}} {{#eq roleForWriteBool "true"}} {{else}} {{#ifContainsKeys userKeys}} {{trafficLight_.color}} {{/ifContainsKeys}} {{else}} {{trafficLight_.color}} {{/eq}} {{/inline}} {{#*inline "htmTrafficLightId"}}
{{> "inputTrafficLightId" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputTrafficLightId"}} {{#eq roleForWriteBool "true"}} {{else}} {{#ifContainsKeys userKeys}} {{trafficLight_.trafficLightId}} {{/ifContainsKeys}} {{else}} {{trafficLight_.trafficLightId}} {{/eq}} {{/inline}} {{#*inline "htmTrafficLightType"}}
{{> "inputTrafficLightType" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputTrafficLightType"}} {{#eq roleForWriteBool "true"}} {{else}} {{#ifContainsKeys userKeys}} {{trafficLight_.trafficLightType}} {{/ifContainsKeys}} {{else}} {{trafficLight_.trafficLightType}} {{/eq}} {{/inline}} {{#*inline "htmAngle"}}
{{> "inputAngle" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputAngle"}} {{#eq roleForWriteBool "true"}} {{else}} {{#ifContainsKeys userKeys}} {{trafficLight_.angle}} {{/ifContainsKeys}} {{else}} {{trafficLight_.angle}} {{/eq}} {{/inline}} {{#*inline "htmColor"}}
{{> "inputColor" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputColor"}} {{#eq roleForWriteBool "true"}} {{else}} {{#ifContainsKeys userKeys}} {{trafficLight_.color}} {{/ifContainsKeys}} {{else}} {{trafficLight_.color}} {{/eq}} {{/inline}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy