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

templates.enUS.BaseResultGenPage.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 "htmTitleBaseResultPage"}}		
		{{#if searchListBaseResult_}}{{#eq baseResultCount int1}}{{#if id}}{{else}}{{/if}}{{else}}{{/eq}}{{else}}{{/if}}
{{/inline}}
{{#*inline "htmMetaBaseResultPage"}}{{> "htmMetaPageLayout"}}{{/inline}}
{{#*inline "htmStyleBaseResultPage"}}{{> "htmStylePageLayout"}}{{/inline}}
{{#*inline "htmScriptsBaseResultPage"}}{{> "htmScriptsPageLayout"}}		
		
{{/inline}}
{{#*inline "htmScriptBaseResultPage"}}		
		
{{/inline}}
{{#*inline "websocketBaseResultPage"}}
				
				websocketBaseResult(websocketBaseResultInner);
{{/inline}}
{{#*inline "jsWebsocketBaseResultPage"}}{{/inline}}
{{#*inline "jsTooltipBaseResultPage"}}{{/inline}}
{{#*inline "htmTooltipBaseResultPage"}}

${feature.properties.objectTitle}

{{/inline}} {{#*inline "jsLegendBaseResultPage"}} var div = L.DomUtil.create('div', 'info legend'); var htm = ''; $.each( window.listBaseResult, function(index, baseResult) { if(baseResult.) { var shapes = []; if(Array.isArray(baseResult.)) shapes = shapes.concat(baseResult.); else shapes.push(baseResult.); shapes.forEach(function(shape, index) { htm += htmLegendBaseResult(map, shape, baseResult, index, shapes.length); }); } }); div.innerHTML = htm; return div; {{/inline}} {{#*inline "htmLegendBaseResultPage"}}
${title}
{{/inline}} {{#*inline "jsStyleBaseResultPage"}} 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 "htmUrlBaseResult"}}{{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 "htmHeadBaseResultPage"}}{{#block "htmTitle"}}{{/block}}{{#block "htmMeta"}}{{/block}}{{#block "htmStyle"}}{{/block}}{{#block "htmScripts"}}{{/block}}{{#block "htmScript"}}{{/block}}{{/inline}} {{#*inline "htmBodySearchBaseResultPage"}}
{{#each varsQ}}
{{/each}}
start={{ start }}
rows={{ rows }}
{{/inline}} {{#*inline "htmBodyFiltersBaseResultPage"}}
{{#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 "htmBodyRangeBaseResultPage"}}
{{#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 "htmBodyPivotBaseResultPage"}}
{{#if defaultPivotVars }}
facet.pivot={!range=r1}{{#each defaultPivotVars }}{{#if @index }},{{/if}}{{ this }}{{/each}}
{{/if}}
{{#each varsFq }} {{/each}}
{{/inline}} {{#*inline "htmBodyFieldListBaseResultPage"}}
{{#if defaultFieldListVars }}
fl={{#each defaultFieldListVars }}{{#if @index }},{{/if}}{{ this }}{{/each}}
{{/if}}
{{#each varsFq }} {{/each}}
{{/inline}} {{#*inline "htmBodyStatsBaseResultPage"}}
{{#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 "htmBodyMenuBaseResultPage"}} {{> "htmBodyMenuPageLayout"}}{{/inline}} {{#*inline "htmBodyGraphBaseResultPage"}}
{{/inline}} {{#*inline "htmBodyGraphLocationBaseResultPage"}}
{{/inline}} {{#*inline "htmBodyCount0BaseResultPage"}}

{{#if classIconCssClasses}} {{/if}}

{{#if classIconCssClasses}} {{/if}}

{{/inline}} {{#*inline "htmBodyCount1BaseResultPage"}}

{{#if classIconCssClasses}} {{/if}}

{{baseResult_.objectTitle}}

{{/inline}} {{#*inline "htmBodyAllBaseResultPage"}}

{{#if classIconCssClasses}} {{/if}}

{{#if pagination.pagePrevious}} {{else}} {{/if}} {{#gte pagination.rowsPrevious pagination.1L}} {{else}} {{/gte}} {{#if pagination.pageNext}} {{else}} {{/if}} {{ pagination.startNum }} - {{ pagination.endNum }} of {{ pagination.foundNum }}
{{> "table1BaseResultPage"}}
{{/inline}} {{#*inline "htmFormBaseResultPage"}}
{{#if id}} {{/if}}
{{#if id}} {{#block "htmButton_searchpageBaseResult"}}{{/block}} {{#block "htmForm_searchpageBaseResult"}}{{/block}} {{/if}} {{/inline}} {{#*inline "htmBodySidebarBaseResultPage"}}
Search Filters Range Pivot FieldList Stats API
{{/inline}} {{#*inline "htmBodyStartBaseResultPage"}} {{> "htmBodyStartPageLayout"}} {{/inline}} {{#*inline "htmBodyMiddleBaseResultPage"}} {{> "htmBodyMiddlePageLayout"}} {{/inline}} {{#*inline "htmBodyEndBaseResultPage"}} {{> "htmBodyEndPageLayout"}} {{/inline}} {{#*inline "htmBodyBaseResultPage"}} {{#block "htmBodyStart"}}{{/block}} {{#block "htmBodyMiddle"}}{{/block}} {{#block "htmBodyEnd"}}{{/block}} {{/inline}} {{#*inline "htmBodyMiddleBaseResultPage"}}
{{#block "htmBodySidebar"}}{{/block}}
{{#block "htmBodyGraphLocation"}}{{/block}} {{#block "htmBodyGraph"}}{{/block}}
{{#eq baseResultCount int0}} {{#block "htmBodyCount0"}}{{/block}} {{else}} {{#eq baseResultCount 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 "table1BaseResultPage"}}
{{> table2BaseResultPage}}
{{/inline}} {{#*inline "table2BaseResultPage"}} {{> "thead1BaseResultPage"}} {{> "tbody1BaseResultPage"}} {{> "tfoot1BaseResultPage"}} {{/inline}} {{#*inline "thead1BaseResultPage"}} {{> thead2BaseResultPage}} {{/inline}} {{#*inline "thead2BaseResultPage"}} ID created {{/inline}} {{#*inline "tbody1BaseResultPage"}} {{> tbody2BaseResultPage}} {{/inline}} {{#*inline "tbody2BaseResultPage"}} {{#each listBaseResult}} {{objectId}} {{siteZonedDateTimeFormat created "MMM d, yyyy h:mm:ss a" siteLocale}} {{objectTitle}} {{/each}} {{/inline}} {{#*inline "tfoot1BaseResultPage"}} {{> tfoot2BaseResultPage}} {{/inline}} {{#*inline "tfoot2BaseResultPage"}} {{#if getColumnObjectId}} {{/if}} {{#if getColumnCreated}} {{/if}} {{#if getColumnObjectTitle}} {{/if}} {{/inline}} {{#*inline "htmFormsBaseResultPage"}} {{#ifContainsAnyRoles roles authRoleSuperAdmin}} {{#eq baseResultCount int1}} {{/eq}} {{/ifContainsAnyRoles}} {{#block "htmSuggested"}}{{/block}} {{/inline}} {{#*inline "htmSuggestedBaseResultPage"}} {{#ifContainsAnyRoles roles roleForWrite}}
{{/ifContainsAnyRoles}}
search :
{{/inline}} {{> PageLayout}} {{#*inline "htmCreated"}}
{{> "inputCreated" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputCreated"}} {{#eq 'Page' classApiMethodMethod}} {{formatZonedDateTime baseResult_.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 baseResult_.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}} {{baseResult_.objectId}} {{/eq}} {{/inline}} {{#*inline "htmArchived"}}
{{> "inputArchived" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputArchived"}} {{#eq roleForWriteBool "true"}} {{#eq 'Page' classApiMethodMethod}} {{else}} > {{/eq}} {{else}} {{baseResult_.archived}} {{/eq}} {{/inline}} {{#*inline "htmDeleted"}}
{{> "inputDeleted" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputDeleted"}} {{#eq roleForWriteBool "true"}} {{#eq 'Page' classApiMethodMethod}} {{else}} > {{/eq}} {{else}} {{baseResult_.deleted}} {{/eq}} {{/inline}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy