templates.enUS.ParkingAccessGenPage.hbs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smartabyar-smartvillage Show documentation
Show all versions of smartabyar-smartvillage Show documentation
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 "htmTitleParkingAccessPage"}}
{{#if searchListParkingAccess_}}{{#eq parkingAccessCount int1}}{{#if id}}ParkingAccess{{else}}ParkingAccess{{/if}}{{else}}no ParkingAccess found{{/eq}}{{else}}ParkingAccesss{{/if}}
{{/inline}}
{{#*inline "htmMetaParkingAccessPage"}}{{> "htmMetaBaseModelPage"}}{{/inline}}
{{#*inline "htmStyleParkingAccessPage"}}{{> "htmStyleBaseModelPage"}}{{/inline}}
{{#*inline "htmScriptsParkingAccessPage"}}{{> "htmScriptsBaseModelPage"}}
{{/inline}}
{{#*inline "htmScriptParkingAccessPage"}}
{{/inline}}
{{#*inline "websocketParkingAccessPage"}}
websocketParkingAccess(websocketParkingAccessInner);
{{/inline}}
{{#*inline "jsWebsocketParkingAccessPage"}}{{/inline}}
{{#*inline "jsTooltipParkingAccessPage"}}{{/inline}}
{{#*inline "htmTooltipParkingAccessPage"}}
${feature.properties.objectTitle}
{{/inline}}
{{#*inline "jsLegendParkingAccessPage"}}
var div = L.DomUtil.create('div', 'info legend');
var htm = '';
$.each( window.listParkingAccess, function(index, parkingAccess) {
if(parkingAccess.areaServed) {
var shapes = [];
if(Array.isArray(parkingAccess.areaServed))
shapes = shapes.concat(parkingAccess.areaServed);
else
shapes.push(parkingAccess.areaServed);
shapes.forEach(function(shape, index) {
htm += htmLegendParkingAccess(map, shape, parkingAccess, index, shapes.length);
});
}
});
div.innerHTML = htm;
return div;
{{/inline}}
{{#*inline "htmLegendParkingAccessPage"}}
${title}
{{/inline}}
{{#*inline "jsStyleParkingAccessPage"}}
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 "htmUrlParkingAccess"}}{{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 "htmHeadParkingAccessPage"}}{{#block "htmTitle"}}{{/block}}{{#block "htmMeta"}}{{/block}}{{#block "htmStyle"}}{{/block}}{{#block "htmScripts"}}{{/block}}{{#block "htmScript"}}{{/block}}{{/inline}}
{{#*inline "htmBodySearchParkingAccessPage"}}
{{#each varsQ}}
{{/each}}
start={{ start }}
rows={{ rows }}
{{/inline}}
{{#*inline "htmBodyFiltersParkingAccessPage"}}
{{#each varsFq }}
{{#if val }}fq={{ var }}:{{encodeURIComponent val }}{{/if}}
{{#if facetField.var }}facet.field={{ facetField.var }}{{/if}}
{{#each facetField.counts }}
- {{ @key }}: {{ this }}
{{/each}}
{{/each}}
{{/inline}}
{{#*inline "htmBodyRangeParkingAccessPage"}}
{{#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 "htmBodyPivotParkingAccessPage"}}
{{#if defaultPivotVars }}
facet.pivot={!range=r1}{{#each defaultPivotVars }}{{#if @index }},{{/if}}{{ this }}{{/each}}
{{/if}}
{{#each varsFq }}
{{/each}}
{{/inline}}
{{#*inline "htmBodyFieldListParkingAccessPage"}}
{{#if defaultFieldListVars }}
fl={{#each defaultFieldListVars }}{{#if @index }},{{/if}}{{ this }}{{/each}}
{{/if}}
{{#each varsFq }}
{{/each}}
{{/inline}}
{{#*inline "htmBodyStatsParkingAccessPage"}}
{{#if defaultStatsVars }}
{{#each defaultStatsVars }} stats.field={{ this }}
{{/each}}{{/if}}
{{#each varsFq }}
{{#if enableStats }}
{{#if ./stats }}
{{#each ./stats }}
{{#eq @key 'name' }}{{else}}
{{ @key }}: {{ this }}
{{/eq}}
{{/each}}
{{#if ./stats/max }}
step min max speed in seconds {{/if}}
{{/if}}
{{/if}}
{{/each}}
{{/inline}}
{{#*inline "htmBodyMenuParkingAccessPage"}}
{{> "htmBodyMenuBaseModelPage"}}{{/inline}}
{{#*inline "htmBodyGraphParkingAccessPage"}}
{{/inline}}
{{#*inline "htmBodyGraphLocationParkingAccessPage"}}
{{/inline}}
{{#*inline "htmBodyCount0ParkingAccessPage"}}
{{#if classIconCssClasses}}
{{/if}}
ParkingAccesss
{{/inline}}
{{#*inline "htmBodyCount1ParkingAccessPage"}}
{{#if classIconCssClasses}}
{{/if}}
ParkingAccess
{{/inline}}
{{#*inline "htmBodyAllParkingAccessPage"}}
{{#if classIconCssClasses}}
{{/if}}
ParkingAccesss
{{> "table1ParkingAccessPage"}}
{{/inline}}
{{#*inline "htmFormParkingAccessPage"}}
{{#if id}}
{{#block "htmButton_searchpageParkingAccess"}}{{/block}}
{{#block "htmForm_searchpageParkingAccess"}}{{/block}}
{{/if}}
{{/inline}}
{{#*inline "htmButtonParkingAccessPage_patchParkingAccess"}}
{{/inline}}
{{#*inline "htmFormButtonParkingAccessPage_patchParkingAccess"}}
{{/inline}}
{{#*inline "htmFormParkingAccessPage_patchParkingAccess"}}
{{/inline}}
{{#*inline "htmButtonParkingAccessPage_postParkingAccess"}}
{{/inline}}
{{#*inline "htmFormButtonParkingAccessPage_postParkingAccess"}}
{{/inline}}
{{#*inline "htmFormParkingAccessPage_postParkingAccess"}}
{{/inline}}
{{#*inline "htmButtonParkingAccessPage_putimportParkingAccess"}}
{{/inline}}
{{#*inline "htmFormButtonParkingAccessPage_putimportParkingAccess"}}
{{/inline}}
{{#*inline "htmFormParkingAccessPage_putimportParkingAccess"}}
{{/inline}}
{{#*inline "htmButtonParkingAccessPage_searchpageParkingAccess"}}
{{/inline}}
{{#*inline "htmFormButtonParkingAccessPage_searchpageParkingAccess"}}
{{/inline}}
{{#*inline "htmFormParkingAccessPage_searchpageParkingAccess"}}
{{#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}}
{{> "htmAddress" roleForWriteBool="true" roleForReadBool="true"}}
{{else}}
{{#ifContainsAnyRoles roles roleForRead}}
{{> "htmAddress" roleForWriteBool="false" roleForReadBool="true"}}
{{else}}
{{> "htmAddress" roleForWriteBool="false" roleForReadBool="false"}}
{{/ifContainsAnyRoles}}
{{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}}
{{> "htmAlternateName" roleForWriteBool="true" roleForReadBool="true"}}
{{else}}
{{#ifContainsAnyRoles roles roleForRead}}
{{> "htmAlternateName" roleForWriteBool="false" roleForReadBool="true"}}
{{else}}
{{> "htmAlternateName" roleForWriteBool="false" roleForReadBool="false"}}
{{/ifContainsAnyRoles}}
{{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}}
{{> "htmAreaServed" roleForWriteBool="true" roleForReadBool="true"}}
{{else}}
{{#ifContainsAnyRoles roles roleForRead}}
{{> "htmAreaServed" roleForWriteBool="false" roleForReadBool="true"}}
{{else}}
{{> "htmAreaServed" roleForWriteBool="false" roleForReadBool="false"}}
{{/ifContainsAnyRoles}}
{{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}}
{{> "htmCategory" roleForWriteBool="true" roleForReadBool="true"}}
{{else}}
{{#ifContainsAnyRoles roles roleForRead}}
{{> "htmCategory" roleForWriteBool="false" roleForReadBool="true"}}
{{else}}
{{> "htmCategory" roleForWriteBool="false" roleForReadBool="false"}}
{{/ifContainsAnyRoles}}
{{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}}
{{> "htmDataProvider" roleForWriteBool="true" roleForReadBool="true"}}
{{else}}
{{#ifContainsAnyRoles roles roleForRead}}
{{> "htmDataProvider" roleForWriteBool="false" roleForReadBool="true"}}
{{else}}
{{> "htmDataProvider" roleForWriteBool="false" roleForReadBool="false"}}
{{/ifContainsAnyRoles}}
{{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}}
{{> "htmDateCreated" roleForWriteBool="true" roleForReadBool="true"}}
{{else}}
{{#ifContainsAnyRoles roles roleForRead}}
{{> "htmDateCreated" roleForWriteBool="false" roleForReadBool="true"}}
{{else}}
{{> "htmDateCreated" roleForWriteBool="false" roleForReadBool="false"}}
{{/ifContainsAnyRoles}}
{{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}}
{{> "htmDateModified" roleForWriteBool="true" roleForReadBool="true"}}
{{else}}
{{#ifContainsAnyRoles roles roleForRead}}
{{> "htmDateModified" roleForWriteBool="false" roleForReadBool="true"}}
{{else}}
{{> "htmDateModified" roleForWriteBool="false" roleForReadBool="false"}}
{{/ifContainsAnyRoles}}
{{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}}
{{> "htmDescription" roleForWriteBool="true" roleForReadBool="true"}}
{{else}}
{{#ifContainsAnyRoles roles roleForRead}}
{{> "htmDescription" roleForWriteBool="false" roleForReadBool="true"}}
{{else}}
{{> "htmDescription" roleForWriteBool="false" roleForReadBool="false"}}
{{/ifContainsAnyRoles}}
{{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}}
{{> "htmFeatures" roleForWriteBool="true" roleForReadBool="true"}}
{{else}}
{{#ifContainsAnyRoles roles roleForRead}}
{{> "htmFeatures" roleForWriteBool="false" roleForReadBool="true"}}
{{else}}
{{> "htmFeatures" roleForWriteBool="false" roleForReadBool="false"}}
{{/ifContainsAnyRoles}}
{{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}}
{{> "htmHeight" roleForWriteBool="true" roleForReadBool="true"}}
{{else}}
{{#ifContainsAnyRoles roles roleForRead}}
{{> "htmHeight" roleForWriteBool="false" roleForReadBool="true"}}
{{else}}
{{> "htmHeight" 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}}
{{> "htmName" roleForWriteBool="true" roleForReadBool="true"}}
{{else}}
{{#ifContainsAnyRoles roles roleForRead}}
{{> "htmName" roleForWriteBool="false" roleForReadBool="true"}}
{{else}}
{{> "htmName" roleForWriteBool="false" roleForReadBool="false"}}
{{/ifContainsAnyRoles}}
{{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}}
{{> "htmOwner" roleForWriteBool="true" roleForReadBool="true"}}
{{else}}
{{#ifContainsAnyRoles roles roleForRead}}
{{> "htmOwner" roleForWriteBool="false" roleForReadBool="true"}}
{{else}}
{{> "htmOwner" roleForWriteBool="false" roleForReadBool="false"}}
{{/ifContainsAnyRoles}}
{{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}}
{{> "htmRefOffStreetParking" roleForWriteBool="true" roleForReadBool="true"}}
{{else}}
{{#ifContainsAnyRoles roles roleForRead}}
{{> "htmRefOffStreetParking" roleForWriteBool="false" roleForReadBool="true"}}
{{else}}
{{> "htmRefOffStreetParking" roleForWriteBool="false" roleForReadBool="false"}}
{{/ifContainsAnyRoles}}
{{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}}
{{> "htmSeeAlso" roleForWriteBool="true" roleForReadBool="true"}}
{{else}}
{{#ifContainsAnyRoles roles roleForRead}}
{{> "htmSeeAlso" roleForWriteBool="false" roleForReadBool="true"}}
{{else}}
{{> "htmSeeAlso" roleForWriteBool="false" roleForReadBool="false"}}
{{/ifContainsAnyRoles}}
{{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}}
{{> "htmSlope" roleForWriteBool="true" roleForReadBool="true"}}
{{else}}
{{#ifContainsAnyRoles roles roleForRead}}
{{> "htmSlope" roleForWriteBool="false" roleForReadBool="true"}}
{{else}}
{{> "htmSlope" roleForWriteBool="false" roleForReadBool="false"}}
{{/ifContainsAnyRoles}}
{{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}}
{{> "htmSource" roleForWriteBool="true" roleForReadBool="true"}}
{{else}}
{{#ifContainsAnyRoles roles roleForRead}}
{{> "htmSource" roleForWriteBool="false" roleForReadBool="true"}}
{{else}}
{{> "htmSource" roleForWriteBool="false" roleForReadBool="false"}}
{{/ifContainsAnyRoles}}
{{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles roleForWrite}}
{{> "htmWidth" roleForWriteBool="true" roleForReadBool="true"}}
{{else}}
{{#ifContainsAnyRoles roles roleForRead}}
{{> "htmWidth" roleForWriteBool="false" roleForReadBool="true"}}
{{else}}
{{> "htmWidth" roleForWriteBool="false" roleForReadBool="false"}}
{{/ifContainsAnyRoles}}
{{/ifContainsAnyRoles}}
{{/inline}}
{{#*inline "htmBodySidebarParkingAccessPage"}}
{{/inline}}
{{#*inline "htmBodyStartParkingAccessPage"}}
{{> "htmBodyStartBaseModelPage"}}
{{/inline}}
{{#*inline "htmBodyMiddleParkingAccessPage"}}
{{> "htmBodyMiddleBaseModelPage"}}
{{/inline}}
{{#*inline "htmBodyEndParkingAccessPage"}}
{{> "htmBodyEndBaseModelPage"}}
{{/inline}}
{{#*inline "htmBodyParkingAccessPage"}}
{{#block "htmBodyStart"}}{{/block}}
{{#block "htmBodyMiddle"}}{{/block}}
{{#block "htmBodyEnd"}}{{/block}}
{{/inline}}
{{#*inline "htmBodyMiddleParkingAccessPage"}}
{{#block "htmBodyGraphLocation"}}{{/block}}
{{#block "htmBodyGraph"}}{{/block}}
{{#eq parkingAccessCount int0}}
{{#block "htmBodyCount0"}}{{/block}}
{{else}}
{{#eq parkingAccessCount 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 "table1ParkingAccessPage"}}
{{> table2ParkingAccessPage}}
{{/inline}}
{{#*inline "table2ParkingAccessPage"}}
{{> "thead1ParkingAccessPage"}}
{{> "tbody1ParkingAccessPage"}}
{{> "tfoot1ParkingAccessPage"}}
{{/inline}}
{{#*inline "thead1ParkingAccessPage"}}
{{> thead2ParkingAccessPage}}
{{/inline}}
{{#*inline "thead2ParkingAccessPage"}}
created
{{/inline}}
{{#*inline "tbody1ParkingAccessPage"}}
{{> tbody2ParkingAccessPage}}
{{/inline}}
{{#*inline "tbody2ParkingAccessPage"}}
{{#each listParkingAccess}}
{{siteZonedDateTimeFormat created "MMM d, yyyy h:mm:ss a" siteLocale}}
{{objectTitle}}
{{/each}}
{{/inline}}
{{#*inline "tfoot1ParkingAccessPage"}}
{{> tfoot2ParkingAccessPage}}
{{/inline}}
{{#*inline "tfoot2ParkingAccessPage"}}
{{#if getColumnCreated}}
{{/if}}
{{#if getColumnObjectTitle}}
{{/if}}
{{/inline}}
{{#*inline "htmFormsParkingAccessPage"}}
{{#ifContainsAnyRoles roles authRoleSuperAdmin}}
{{#eq parkingAccessCount int1}}
{{/eq}}
{{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles authRoleSuperAdmin}}
{{#block "htmButton_patchParkingAccess"}}{{/block}}
{{#block "htmForm_patchParkingAccess"}}{{/block}}
{{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles authRoleAdmin}}
{{#eq parkingAccessCount int1}}
{{#if id}}
{{else}}
{{#block "htmButton_postParkingAccess"}}{{/block}}
{{#block "htmForm_postParkingAccess"}}{{/block}}
{{/if}}
{{else}}
{{#block "htmButton_postParkingAccess"}}{{/block}}
{{#block "htmForm_postParkingAccess"}}{{/block}}
{{/eq}}
{{/ifContainsAnyRoles}}
{{#ifContainsAnyRoles roles authRoleSuperAdmin}}
{{#block "htmButton_putimportParkingAccess"}}{{/block}}
{{#block "htmForm_putimportParkingAccess"}}{{/block}}
{{/ifContainsAnyRoles}}
{{#block "htmSuggested"}}{{/block}}
{{/inline}}
{{#*inline "htmSuggestedParkingAccessPage"}}
{{#ifContainsAnyRoles roles roleForWrite}}
{{/ifContainsAnyRoles}}
search ParkingAccesss: