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

templates.enUS.SiteUserGenPage.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 "htmTitleSiteUserPage"}}		
		{{#if searchListSiteUser_}}{{#eq siteUserCount int1}}{{#if id}}site user{{else}}site user{{/if}}{{else}}no site user found{{/eq}}{{else}}site users{{/if}}
{{/inline}}
{{#*inline "htmMetaSiteUserPage"}}{{> "htmMetaBaseModelPage"}}{{/inline}}
{{#*inline "htmStyleSiteUserPage"}}{{> "htmStyleBaseModelPage"}}{{/inline}}
{{#*inline "htmScriptsSiteUserPage"}}{{> "htmScriptsBaseModelPage"}}		
		
{{/inline}}
{{#*inline "htmScriptSiteUserPage"}}		
		
{{/inline}}
{{#*inline "websocketSiteUserPage"}}
				
				websocketSiteUser(websocketSiteUserInner);
{{/inline}}
{{#*inline "jsWebsocketSiteUserPage"}}{{/inline}}
{{#*inline "jsTooltipSiteUserPage"}}{{/inline}}
{{#*inline "htmTooltipSiteUserPage"}}

${feature.properties.objectTitle}

{{/inline}} {{#*inline "jsLegendSiteUserPage"}} var div = L.DomUtil.create('div', 'info legend'); var htm = ''; $.each( window.listSiteUser, function(index, siteUser) { if(siteUser.) { var shapes = []; if(Array.isArray(siteUser.)) shapes = shapes.concat(siteUser.); else shapes.push(siteUser.); shapes.forEach(function(shape, index) { htm += htmLegendSiteUser(map, shape, siteUser, index, shapes.length); }); } }); div.innerHTML = htm; return div; {{/inline}} {{#*inline "htmLegendSiteUserPage"}}
${title}
{{/inline}} {{#*inline "jsStyleSiteUserPage"}} 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 "htmUrlSiteUser"}}{{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 "htmHeadSiteUserPage"}}{{#block "htmTitle"}}{{/block}}{{#block "htmMeta"}}{{/block}}{{#block "htmStyle"}}{{/block}}{{#block "htmScripts"}}{{/block}}{{#block "htmScript"}}{{/block}}{{/inline}} {{#*inline "htmBodySearchSiteUserPage"}}
{{#each varsQ}}
{{/each}}
start={{ start }}
rows={{ rows }}
{{/inline}} {{#*inline "htmBodyFiltersSiteUserPage"}}
{{#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 "htmBodyRangeSiteUserPage"}}
{{#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 "htmBodyPivotSiteUserPage"}}
{{#if defaultPivotVars }}
facet.pivot={!range=r1}{{#each defaultPivotVars }}{{#if @index }},{{/if}}{{ this }}{{/each}}
{{/if}}
{{#each varsFq }} {{/each}}
{{/inline}} {{#*inline "htmBodyFieldListSiteUserPage"}}
{{#if defaultFieldListVars }}
fl={{#each defaultFieldListVars }}{{#if @index }},{{/if}}{{ this }}{{/each}}
{{/if}}
{{#each varsFq }} {{/each}}
{{/inline}} {{#*inline "htmBodyStatsSiteUserPage"}}
{{#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 "htmBodyMenuSiteUserPage"}} {{> "htmBodyMenuBaseModelPage"}}{{/inline}} {{#*inline "htmBodyGraphSiteUserPage"}}
{{/inline}} {{#*inline "htmBodyGraphLocationSiteUserPage"}}
{{/inline}} {{#*inline "htmBodyCount0SiteUserPage"}}

{{#if classIconCssClasses}} {{/if}} site users

{{#if classIconCssClasses}} {{/if}} no site user found

{{/inline}} {{#*inline "htmBodyCount1SiteUserPage"}}

{{#if classIconCssClasses}} {{/if}} site user

{{siteUser_.objectTitle}}

{{/inline}} {{#*inline "htmBodyAllSiteUserPage"}}

{{#if classIconCssClasses}} {{/if}} site users

{{#if pagination.pagePrevious}} {{else}} {{/if}} {{#gte pagination.rowsPrevious pagination.1L}} {{else}} {{/gte}} {{#if pagination.pageNext}} {{else}} {{/if}} {{ pagination.startNum }} - {{ pagination.endNum }} of {{ pagination.foundNum }}
{{> "table1SiteUserPage"}}
{{/inline}} {{#*inline "htmFormSiteUserPage"}}
{{#if pk}} {{/if}}
{{#if id}} {{#block "htmButton_searchpageSiteUser"}}{{/block}} {{#block "htmForm_searchpageSiteUser"}}{{/block}} {{/if}} {{/inline}} {{#*inline "htmButtonSiteUserPage_patchSiteUser"}} {{/inline}} {{#*inline "htmFormButtonSiteUserPage_patchSiteUser"}} {{/inline}} {{#*inline "htmFormSiteUserPage_patchSiteUser"}}
{{#eq "Page" classApiMethodMethod}} × {{/eq}}

Modify site user

{{#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}} {{> "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}} {{> "htmSeeArchived" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmSeeArchived" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmSeeArchived" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmSeeDeleted" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmSeeDeleted" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmSeeDeleted" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}}
{{#block "htmFormButton_patchSiteUser"}}{{/block}}
{{/inline}} {{#*inline "htmButtonSiteUserPage_postSiteUser"}} {{/inline}} {{#*inline "htmFormButtonSiteUserPage_postSiteUser"}} {{/inline}} {{#*inline "htmFormSiteUserPage_postSiteUser"}}
{{#eq "Page" classApiMethodMethod}} × {{/eq}}

Create a site user

You can override any default values below:
{{#block "htmFormButton_postSiteUser"}}{{/block}}
{{#ifContainsAnyRoles roles roleForWrite}} {{> "htmSeeArchived" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmSeeArchived" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmSeeArchived" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmSeeDeleted" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmSeeDeleted" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmSeeDeleted" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}}
{{#block "htmFormButton_postSiteUser"}}{{/block}}
{{/inline}} {{#*inline "htmButtonSiteUserPage_putimportSiteUser"}} {{/inline}} {{#*inline "htmFormButtonSiteUserPage_putimportSiteUser"}} {{/inline}} {{#*inline "htmFormSiteUserPage_putimportSiteUser"}}
{{#eq "Page" classApiMethodMethod}} × {{/eq}}

Import site users

{{#block "htmFormButton_putimportSiteUser"}}{{/block}}
{{/inline}} {{#*inline "htmButtonSiteUserPage_searchpageSiteUser"}} {{/inline}} {{#*inline "htmFormButtonSiteUserPage_searchpageSiteUser"}} {{/inline}} {{#*inline "htmFormSiteUserPage_searchpageSiteUser"}}
{{#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}} {{> "htmSeeArchived" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmSeeArchived" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmSeeArchived" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles roleForWrite}} {{> "htmSeeDeleted" roleForWriteBool="true" roleForReadBool="true"}} {{else}} {{#ifContainsAnyRoles roles roleForRead}} {{> "htmSeeDeleted" roleForWriteBool="false" roleForReadBool="true"}} {{else}} {{> "htmSeeDeleted" roleForWriteBool="false" roleForReadBool="false"}} {{/ifContainsAnyRoles}} {{/ifContainsAnyRoles}}
{{/inline}} {{#*inline "htmBodySidebarSiteUserPage"}}
Search Filters Range Pivot FieldList Stats API
{{/inline}} {{#*inline "htmBodyStartSiteUserPage"}} {{> "htmBodyStartBaseModelPage"}} {{/inline}} {{#*inline "htmBodyMiddleSiteUserPage"}} {{> "htmBodyMiddleBaseModelPage"}} {{/inline}} {{#*inline "htmBodyEndSiteUserPage"}} {{> "htmBodyEndBaseModelPage"}} {{/inline}} {{#*inline "htmBodySiteUserPage"}} {{#block "htmBodyStart"}}{{/block}} {{#block "htmBodyMiddle"}}{{/block}} {{#block "htmBodyEnd"}}{{/block}} {{/inline}} {{#*inline "htmBodyMiddleSiteUserPage"}}
{{#block "htmBodySidebar"}}{{/block}}
{{#block "htmBodyGraphLocation"}}{{/block}} {{#block "htmBodyGraph"}}{{/block}}
{{#eq siteUserCount int0}} {{#block "htmBodyCount0"}}{{/block}} {{else}} {{#eq siteUserCount 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 "table1SiteUserPage"}}
{{> table2SiteUserPage}}
{{/inline}} {{#*inline "table2SiteUserPage"}} {{> "thead1SiteUserPage"}} {{> "tbody1SiteUserPage"}} {{> "tfoot1SiteUserPage"}} {{/inline}} {{#*inline "thead1SiteUserPage"}} {{> thead2SiteUserPage}} {{/inline}} {{#*inline "thead2SiteUserPage"}} created {{/inline}} {{#*inline "tbody1SiteUserPage"}} {{> tbody2SiteUserPage}} {{/inline}} {{#*inline "tbody2SiteUserPage"}} {{#each listSiteUser}} {{siteZonedDateTimeFormat created "MMM d, yyyy h:mm:ss a" siteLocale}} {{objectTitle}} {{/each}} {{/inline}} {{#*inline "tfoot1SiteUserPage"}} {{> tfoot2SiteUserPage}} {{/inline}} {{#*inline "tfoot2SiteUserPage"}} {{#if getColumnCreated}} {{/if}} {{#if getColumnObjectTitle}} {{/if}} {{/inline}} {{#*inline "htmFormsSiteUserPage"}} {{#ifContainsAnyRoles roles authRoleSuperAdmin}} {{#eq siteUserCount int1}} {{/eq}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles authRoleSuperAdmin}} {{#block "htmButton_patchSiteUser"}}{{/block}} {{#block "htmForm_patchSiteUser"}}{{/block}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles authRoleAdmin}} {{#eq siteUserCount int1}} {{#if id}} {{else}} {{#block "htmButton_postSiteUser"}}{{/block}} {{#block "htmForm_postSiteUser"}}{{/block}} {{/if}} {{else}} {{#block "htmButton_postSiteUser"}}{{/block}} {{#block "htmForm_postSiteUser"}}{{/block}} {{/eq}} {{/ifContainsAnyRoles}} {{#ifContainsAnyRoles roles authRoleSuperAdmin}} {{#block "htmButton_putimportSiteUser"}}{{/block}} {{#block "htmForm_putimportSiteUser"}}{{/block}} {{/ifContainsAnyRoles}} {{#block "htmSuggested"}}{{/block}} {{/inline}} {{#*inline "htmSuggestedSiteUserPage"}} {{#ifContainsAnyRoles roles roleForWrite}}
{{/ifContainsAnyRoles}}
search site users:
{{/inline}} {{> BaseModelPage baseModel_=siteUser_}} {{#*inline "htmCreated"}}
{{> "inputCreated" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputCreated"}} {{#eq 'Page' classApiMethodMethod}} {{formatZonedDateTime siteUser_.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 siteUser_.modified 'EEE MMM d yyyy h:mm a zz' defaultLocaleId defaultZoneId}} {{/eq}} {{/inline}} {{#*inline "htmObjectId"}}
{{> "inputObjectId" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputObjectId"}} {{#eq 'Page' classApiMethodMethod}} {{siteUser_.objectId}} {{/eq}} {{/inline}} {{#*inline "htmArchived"}}
{{> "inputArchived" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputArchived"}} {{#eq roleForWriteBool "true"}} {{#eq 'Page' classApiMethodMethod}} {{else}} > {{/eq}} {{else}} {{siteUser_.archived}} {{else}} {{siteUser_.archived}} {{/eq}} {{/inline}} {{#*inline "htmDeleted"}}
{{> "inputDeleted" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputDeleted"}} {{#eq roleForWriteBool "true"}} {{#eq 'Page' classApiMethodMethod}} {{else}} > {{/eq}} {{else}} {{siteUser_.deleted}} {{else}} {{siteUser_.deleted}} {{/eq}} {{/inline}} {{#*inline "htmSeeArchived"}}
{{> "inputSeeArchived" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputSeeArchived"}} {{#eq roleForWriteBool "true"}} {{#eq 'Page' classApiMethodMethod}} {{else}} > {{/eq}} {{else}} {{siteUser_.seeArchived}} {{else}} {{siteUser_.seeArchived}} {{/eq}} {{/inline}} {{#*inline "htmSeeDeleted"}}
{{> "inputSeeDeleted" roleForWrite=roleForWrite roleForRead=roleForRead}}
{{/inline}} {{#*inline "inputSeeDeleted"}} {{#eq roleForWriteBool "true"}} {{#eq 'Page' classApiMethodMethod}} {{else}} > {{/eq}} {{else}} {{siteUser_.seeDeleted}} {{else}} {{siteUser_.seeDeleted}} {{/eq}} {{/inline}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy