templates/index.html.twig line 1

Open in your IDE?
  1. {% extends 'layout.html.twig' %}
  2. {% block title %}{{ 'service.homepage'|trans|raw }}{% endblock %}
  3. {% block page_contents %}
  4. <div class="presentationContent">
  5.     <!-- user service list template -->
  6.     {% if user %}
  7.         {{ include('userServiceList.html.twig') }}
  8.     {% endif %}
  9.     {% if app.session.get('server') and app.session.get('server').homePageId > 0 %}
  10.         {% if not user %}
  11.             <div class="headerPanel33">
  12.                 <div class="servicesPanelWrapperBg">
  13.                 </div>
  14.                 <div class="servicesPanelWrapper2">
  15.                     <div class="servicesPanel2">
  16.                         <!-- top server services -->
  17.                         {% set diffY = 0 %}
  18.                         {% set serviceCount = app.session.get('server').services|length %}
  19.                         {% set serviceCountCurrent = 0 %}
  20.                         {% set diffConstant = 8 %}
  21.                         {#                    <br></br>serviceCount: {{ serviceCount }}#}
  22.                         {% for service in app.session.get('server').services %}
  23.                             {% set serviceId = service.serviceId %}
  24.                             {% set image = asset('images/' ~ service.image) %}
  25. {#                            simage:{{ service.image }}#}
  26.                             {% set imageBg = '/images/bg_' ~ service.image %}
  27. {#                            {% set imageBg = asset('images/bg_' ~ service.image) %}#}
  28. {#                            imageBg:{{ imageBg }}#}
  29.                             {% set link = path('root') ~ service.landingUrl %}
  30.                             {% set localisedServiceName = ('service.' ~ service.action)|trans %}
  31.                             {#                        <HR>serviceCount2: {{ serviceCount/2 }}#}
  32.                             {#                        <BR>serviceCountCurrent: {{ serviceCountCurrent }}#}
  33.                             {% if serviceCount/2 > serviceCountCurrent %}
  34.                                 {% set diffY = diffY + diffConstant %}
  35.                             {% else %}
  36.                                 {% set diffY = diffY - diffConstant %}
  37.                             {% endif %}
  38.                             <div class="servicePanelItem" style="margin-left: {{ diffY }}px; vertical-align: top;">
  39. {#                            <div class="servicePanelItem">#}
  40.                                 <a href="{{ link }}" class="serviceLink">
  41.                                     <div class="servicePanel"
  42.                                          onmouseover="servicePanelOver('{{ serviceId }}');
  43.                                                  imageGalleryClick('{{ imageBg }}', '/eshop',
  44.                                                  '{{ service.serviceName }}',
  45.                                                  '/newaccount?addService=2',
  46.                                                  '/user/7/gallery3D/7',
  47.                                                  'New Base',
  48.                                                  '1.1');
  49.                                          changeViewpoint('x3d_viewpoint_service_' + {{ serviceId }})">
  50.                                         <div class="serviceImage2">
  51.                                             <img src="{{ image }}" alt="{{ service.serviceName }}" width="80">
  52.                                         </div>
  53.                                         <div class="serviceLabel2">{{ localisedServiceName }}</div>
  54.                                     </div>
  55.                                 </a>
  56.                             </div>
  57.                             {% set serviceCountCurrent = serviceCountCurrent + 1 %}
  58.                         {% endfor %}
  59.                     </div>
  60.                 </div>
  61.             </div>
  62.         {% endif %}
  63. <!-- X3D  -->
  64.         <div style="width: 100vw;
  65.                 height: 323px;
  66.                 display:block;
  67.                 right:0;
  68.                 left:0;
  69.               box-sizing: border-box;
  70.               position: absolute;
  71.               left: 0;
  72.               right: 0;
  73.         z-index: 5;
  74.               background-color: Black;
  75.                 " id="x3d"
  76.                  class="x3d_container">
  77.         <x3d width='100%' height="323px" id="x3d_section" style="height: 323px; border-bottom: 0px solid silver;background-color: #222;">
  78.         <scene id="x3d_scene">
  79.         <NavigationInfo headlight="false" visibilityLimit="50.0" type='"EXAMINE", "ANY"' avatarSize="0.77, 1.95, 0.77"></NavigationInfo>
  80.           <Group DEF='AvatarGroup'>
  81.             <TimeSensor DEF='AvatarGroupTimer'
  82.                 cycleInterval='24'
  83.                 loop='true'
  84.                 isActive='true'></TimeSensor>
  85.             <OrientationInterpolator DEF='AvatarGroupInterpolator'
  86.                 key='0, 0.33, 0.66, 1'
  87.                 keyValue='0 0 1 0, 0 1 0 0.3, 0 -1 0 0.3, 0 0 1 0'></OrientationInterpolator>
  88.           </Group>
  89.           <ExternProtoDeclare name='NurbsPatchSurface'  url='"urn:web3d:vrml97:node:NurbsSurface"  "urn:inet:blaxxun.com:node:NurbsSurface"  "urn:ParaGraph:NurbsSurface"  "NurbsSurfacePROTO.wrl"  "http://wdune.ourproject.org/docs/vrml97Amendment1/NurbsSurfacePROTO.wrl"'>
  90.           <ProtoInterface>
  91.               <field name='uDimension' type='SFInt32' accessType='initializeOnly' ></field>
  92.               <field name='vDimension' type='SFInt32' accessType='initializeOnly' ></field>
  93.               <field name='uKnot' type='MFFloat' accessType='initializeOnly' ></field>
  94.               <field name='vKnot' type='MFFloat' accessType='initializeOnly' ></field>
  95.               <field name='uOrder' type='SFInt32' accessType='initializeOnly' ></field>
  96.               <field name='vOrder' type='SFInt32' accessType='initializeOnly' ></field>
  97.               <field name='uClosed' type='SFBool' accessType='initializeOnly' ></field>
  98.               <field name='vClosed' type='SFBool' accessType='initializeOnly' ></field>
  99.               <field name='solid' type='SFBool' accessType='initializeOnly' ></field>
  100.             <field name='controlPoint' type='SFNode' accessType='inputOutput' ></field>
  101.             <field name='weight' type='MFFloat' accessType='inputOutput' ></field>
  102.             <field name='uTessellation' type='SFInt32' accessType='inputOutput' ></field>
  103.             <field name='vTessellation' type='SFInt32' accessType='inputOutput' ></field>
  104.             <field name='texCoord' type='SFNode' accessType='inputOutput' ></field>
  105.           </ProtoInterface>
  106.         </ExternProtoDeclare>
  107.         <ExternProtoDeclare name='SuperExtrusion'  url='"SuperExtrusionPROTO.wrl"  "SuperExtrusionPROTO.wrl"  "http://129.69.35.12/dune/docs/scriptedNodes/SuperExtrusionPROTO.wrl"'>
  108.           <ProtoInterface>
  109.               <field name='knot' type='MFFloat' accessType='initializeOnly' ></field>
  110.               <field name='order' type='SFInt32' accessType='initializeOnly' ></field>
  111.               <field name='creaseAngle' type='SFFloat' accessType='initializeOnly' ></field>
  112.               <field name='beginCap' type='SFBool' accessType='initializeOnly' ></field>
  113.               <field name='endCap' type='SFBool' accessType='initializeOnly' ></field>
  114.               <field name='solid' type='SFBool' accessType='initializeOnly' ></field>
  115.               <field name='scale' type='MFVec2f' accessType='initializeOnly' ></field>
  116.             <field name='a' type='SFFloat' accessType='inputOutput' ></field>
  117.             <field name='b' type='SFFloat' accessType='inputOutput' ></field>
  118.             <field name='m' type='SFFloat' accessType='inputOutput' ></field>
  119.             <field name='n1' type='SFFloat' accessType='inputOutput' ></field>
  120.             <field name='n2' type='SFFloat' accessType='inputOutput' ></field>
  121.             <field name='n3' type='SFFloat' accessType='inputOutput' ></field>
  122.             <field name='border' type='SFFloat' accessType='inputOutput' ></field>
  123.             <field name='bottomBorder' type='SFFloat' accessType='inputOutput' ></field>
  124.             <field name='superTessellation' type='SFInt32' accessType='inputOutput' ></field>
  125.             <field name='spineTessellation' type='SFInt32' accessType='inputOutput' ></field>
  126.             <field name='controlPoint' type='MFVec3f' accessType='inputOutput' ></field>
  127.             <field name='weight' type='MFFloat' accessType='inputOutput' ></field>
  128.           </ProtoInterface>
  129.         </ExternProtoDeclare>
  130.             <Transform DEF='AvatarWrapper' id='AvatarWrapper'>
  131.           <viewpoint orientation='0 1 0 -0' position='10 1 18'  id='x3d_viewpoint_1'></viewpoint>
  132.         </Transform>
  133.             <viewpoint orientation='0 1 0 -0.2' position='30 1 30'  id='x3d_viewpoint_2'></viewpoint>
  134.             <viewpoint orientation='0 1 0 0.2' position='20 1 38'  id='x3d_viewpoint_3'></viewpoint>
  135.             <viewpoint orientation='0 1 0 -0' position='10 1 22'  id='x3d_viewpoint_home'></viewpoint>
  136.             <viewpoint orientation='0 1 0 0.65' position='-1 1 8.5'  id='x3d_viewpoint_menu'></viewpoint>
  137.             <viewpoint orientation='0 1 0 0.2' position='15 1 20'  id='x3d_viewpoint_service_1'></viewpoint>
  138.             <viewpoint orientation='0 1 0 0.15' position='17 1 20'  id='x3d_viewpoint_service_2'></viewpoint>
  139.             <viewpoint orientation='0 1 0 0.10' position='19 1 20'  id='x3d_viewpoint_service_3'></viewpoint>
  140.             <viewpoint orientation='0 1 0 0.05' position='21 1 20'  id='x3d_viewpoint_service_4'></viewpoint>
  141.             <viewpoint orientation='0 1 0 0.0' position='23 1 20'  id='x3d_viewpoint_service_5'></viewpoint>
  142.             <viewpoint orientation='0 1 0 -0.05' position='25 1 20'  id='x3d_viewpoint_service_6'></viewpoint>
  143.             <viewpoint orientation='0 1 0 -0.1' position='27 1 20'  id='x3d_viewpoint_service_7'></viewpoint>
  144.         <Transform DEF='TourAvatarWrapper' id='TourAvatarWrapper'>
  145.           <viewpoint orientation='0 1 0 -0.2' position='20 1 30' DEF='x3d_viewpoint_tour' id='x3d_viewpoint_tour'></viewpoint>
  146.         </Transform>
  147.             <Background groundColor='0.2 0.2 0 0.3 0.3 0 0.5 0.5 0.3 0.1 0.3 0.4 0 0.2 0.4' skyAngle='0.04 0.05 0.1 1.309 1.570' skyColor='0.8 0.8 0.2 0.8 0.8 0.2 0.1 0.1 0.6 0.1 0.1 0.6 0.1 0.25 0.8 0.6 0.6 0.9'></Background>
  148.         <PositionInterpolator DEF='UserTranslation1' key='0 0.3 0.5 0.8 1.0' keyValue='-22 1 -9 10 1 9 20 1 9 30 1 -13 -22 1 -9'/></PositionInterpolator>
  149.         <TimeSensor DEF='CLOCK' cycleInterval='20' loop='true' enabled='true'></TimeSensor>
  150.       <!-- menu -->
  151.       <Transform DEF='MenuBox' translation='7 -5.5 -4.2' rotation='0 1 0 -0.0'>
  152.           <Transform DEF='MenuBoxLeft' translation='-4.2 0 0'>
  153.               <Shape>
  154.               <Appearance>
  155.                 <Material ambientIntensity='0.399038'
  156.                     diffuseColor='0.2 0.2 0.2' transparency='0.2'/>
  157.               </Appearance>
  158.               <Box size="1 3 3"/>
  159.             </Shape>
  160.           </Transform>
  161.         <Anchor
  162.         description='Create New E-shop Now'
  163.         id = 'new_account_url'
  164.         url='/newaccount?addService=1'
  165.         parameter = 'target=_self'>
  166.             <Transform DEF='MenuBoxNew' translation='0 0 0'>
  167.               <Shape>
  168.               <Appearance>
  169.                 <Material id='material_2' DEF='material_2'
  170.                      ambientIntensity='0.399038' diffuseColor='0.03 0.18 0.33'/>
  171.               </Appearance>
  172.               <Box size="7 3 3"/>
  173.             </Shape>
  174.           </Transform>
  175.           <Transform DEF='MenuBoxNewInner' translation='0 0 0'>
  176.               <Shape>
  177.               <Appearance>
  178.                 <Material
  179.                     ambientIntensity='0.399038'
  180.                     diffuseColor='0 1 0'/>
  181.               </Appearance>
  182.               <Box size="7 2.0 3.1"/>
  183.             </Shape>
  184.           </Transform>
  185.           <Transform DEF='MenuBoxNew_text' translation='-0.4 -0.4 1.6'>
  186.             <shape>
  187.             <appearance>
  188.               <material ambientIntensity='0.0933'
  189.                         diffuseColor='1 1 1'
  190.                         shininess='0.51'
  191.                         specularColor='1 1 1'
  192.                         emissiveColor='1 1 1'>
  193.               </material>
  194.             </appearance>
  195.             <text string='New E-shop' solid='true' id='new_account_label'>
  196.                 <fontstyle family="TYPEWRITER" style="BOLDITALIC" size="1.2" id='new_account_font'></fontstyle>
  197.             </text>
  198.           </shape>
  199.           </Transform>
  200.         </Anchor>
  201.         <Anchor
  202.         description='Login'
  203.         id = 'login_url'
  204.         url='/login'
  205.         parameter = 'target=_self'>
  206.           <Transform DEF='MenuBoxLogin' translation='7.2 0 0'>
  207.               <Shape>
  208.               <Appearance>
  209.                 <Material id='material_3' DEF='material_3' ambientIntensity='0.399038' diffuseColor='0.03 0.18 0.33'/>
  210.               </Appearance>
  211.               <Box size="7 3 3"/>
  212.             </Shape>
  213.           </Transform>
  214.           <Transform DEF='MenuBoxLoginInner' translation='7.2 0 0'>
  215.               <Shape>
  216.               <Appearance>
  217.                 <Material id='material_2' DEF='material_2'
  218.                     ambientIntensity='0.399038'
  219.                     diffuseColor='0 1 0'/>
  220.               </Appearance>
  221.               <Box size="7 2.0 3.1"/>
  222.             </Shape>
  223.           </Transform>
  224.           <Transform DEF='MenuBoxLogin_text' translation='5.4 -0.4 1.6'>
  225.             <shape>
  226.             <appearance>
  227.               <material ambientIntensity='0.0933'
  228.                         diffuseColor='1 1 1'
  229.                         shininess='0.51'
  230.                         specularColor='1 1 1'
  231.                         emissiveColor='1 1 1'>
  232.               </material>
  233.             </appearance>
  234.             <text string='Login' solid='true'>
  235.                 <fontstyle family="TYPEWRITER" style="BOLDITALIC" size="1.2"></fontstyle>
  236.             </text>
  237.           </shape>
  238.           </Transform>
  239.         </Anchor>
  240.         <Anchor description='Gallery' id = 'gallery_url' url='http://easycommerc.com/user/7/gallery3D/7' parameter = 'target=_self'>
  241.           <Transform DEF='MenuBoxExample' translation='14.4 0 0'>
  242.               <Shape>
  243.               <Appearance>
  244.                 <Material ambientIntensity='0.399038' diffuseColor='0.03 0.18 0.33'/>
  245.               </Appearance>
  246.               <Box size="7 3 3"/>
  247.             </Shape>
  248.           </Transform>
  249.           <Transform DEF='MenuBoxExampleInner' translation='14.4 0 0'>
  250.               <Shape>
  251.               <Appearance>
  252.                 <Material ambientIntensity='0.399038' diffuseColor='0 1 0'/>
  253.               </Appearance>
  254.               <Box size="7 2.0 3.1"/>
  255.             </Shape>
  256.           </Transform>
  257.           <Transform DEF='MenuBoxExamples_text' translation='13.1 -0.4 1.6'>
  258.             <shape>
  259.             <appearance>
  260.               <material ambientIntensity='0.0933'
  261.                         diffuseColor='1 1 1'
  262.                         shininess='0.51'
  263.                         specularColor='1 1 1'
  264.                         emissiveColor='1 1 1'>
  265.               </material>
  266.             </appearance>
  267.             <text string='Gallery' solid='true'>
  268.                 <fontstyle family="TYPEWRITER" style="BOLDITALIC" size="1.2"></fontstyle>
  269.             </text>
  270.           </shape>
  271.           </Transform>
  272.           </Anchor>
  273.         <Anchor description='More' id = 'more_url' url='http://easycommerc.com/eshop' parameter = 'target=_self'>
  274.           <Transform DEF='MenuBoxMore' translation='21.6 0 0'>
  275.               <Shape>
  276.               <Appearance>
  277.                 <Material ambientIntensity='0.399038' diffuseColor='0.03 0.18 0.33'/>
  278.               </Appearance>
  279.               <Box size="7 3 3"/>
  280.             </Shape>
  281.           </Transform>
  282.           <Transform DEF='MenuBoxMoreInner' translation='21.6 0 0'>
  283.               <Shape>
  284.               <Appearance>
  285.                 <Material ambientIntensity='0.399038' diffuseColor='0 1 0'/>
  286.               </Appearance>
  287.               <Box size="7 2.0 3.1"/>
  288.             </Shape>
  289.           </Transform>
  290.           <Transform DEF='MenuBoxMore_text' translation='19.6 -0.4 1.6'>
  291.             <shape>
  292.             <appearance>
  293.               <material ambientIntensity='0.0933'
  294.                         diffuseColor='1 1 1'
  295.                         shininess='0.51'
  296.                         specularColor='1 1 1'
  297.                         emissiveColor='1 1 1'>
  298.               </material>
  299.             </appearance>
  300.             <text string='More' solid='true'>
  301.                 <fontstyle family="TYPEWRITER" style="BOLDITALIC" size="1.2"></fontstyle>
  302.             </text>
  303.           </shape>
  304.           </Transform>
  305.       </Anchor>
  306.           <Transform DEF='MenuBoxRight' translation='26.0 0 0'>
  307.               <Shape>
  308.               <Appearance>
  309.                 <Material ambientIntensity='0.399038'
  310.                     diffuseColor='0.2 0.2 0.2' transparency='0.5'/>
  311.               </Appearance>
  312.               <Box size="1 3 3"/>
  313.             </Shape>
  314.           </Transform>
  315.       </Transform>
  316.     <!-- cube gallery -->
  317.     <Transform DEF = 'CubeGallery'
  318.         translation = '-12 0.5 0'
  319.         scale = '1 1 1'
  320.         rotation='0 1 0 0.81'>
  321.         <Inline nameSpaceName="CubeGal" mapDEFToID="true" url="{{ path('root') }}EasyCommercCubeGallery.x3d"></Inline>
  322.     </Transform>
  323.   <!-- marketplace -->
  324.   <!--
  325.   <Transform DEF = 'Marketplace'
  326.     translation = '22 0.5 0'
  327.     scale = '1 1 1'
  328.     rotation='0 1 0 0.81'>
  329.     <Inline nameSpaceName="Marketplace" mapDEFToID="true" url="<?= $templatesDir ?>/marketplace3D/marketplace3D.x3d"/>
  330.   </Transform>
  331.   -->
  332.     <!-- cube holder -->
  333.     <Transform translation='-12 -6.0 0' rotation='0 1 0 -0.13117953405799'>
  334.         <Shape>
  335.             <Appearance>
  336.                 <Material
  337.                               ambientIntensity='0.399038'
  338.                     diffuseColor='0.3 0.3 0.3'
  339.                     emissiveColor='0.3 0.3 0.3'
  340.                     transparency='0.5'/>
  341.             </Appearance>
  342.             <Cylinder height='5.0' radius='4'/>
  343.         </Shape>
  344.     </Transform>
  345.     <Transform translation='-12 -4.05 0' rotation='0 1 0 -0.13117953405799'>
  346.         <Shape>
  347.             <Appearance>
  348.                 <Material ambientIntensity='0.399038' diffuseColor='0.03 0.18 0.33'/>
  349.             </Appearance>
  350.             <Cylinder height='0.9' radius='8'/>
  351.         </Shape>
  352.     </Transform>
  353.     <!-- dynamic object holder -->
  354.   <Transform translation='47 -8.3 0' rotation='0 1 0 -0.13117953405799'>
  355.       <Group DEF='Dynamic_Object_Animation_header'>
  356.         <TimeSensor DEF='Dynamic_Object_AnimationTimer_header'
  357.             cycleInterval='60'
  358.             loop='true'
  359.             isActive='true'></TimeSensor>
  360.         <OrientationInterpolator DEF='Dynamic_Object_BoxRotationInterpolator_header'
  361.             key='0, 0.25, 0.5, 0.75, 1'
  362.             keyValue='0 0 1 0, 0 -1 0 1.5707963267949, 0 -1 0 3.14159253438051, 0 1 0 1.57079644600419, 0 0 1 0'></OrientationInterpolator>
  363.       </Group>
  364.     <Transform DEF='Dynamic_Object_header' translation='0 0 0'>
  365.         <Transform DEF = 'CubeLogo'
  366.                    translation = '0 3.8 1'
  367.                    scale = '0.7 0.7 0.7'>
  368.             <Inline nameSpaceName="LogoCubex" mapDEFToID="true" url="/Logo_Cubes_Norotate.x3d" />
  369.         </Transform>
  370.       <Transform DEF = 'Ext1'
  371.         translation = '0 9.2 0'
  372.         scale = '0.073 0.073 0.073'
  373.         rotation='0 1 0 1.6'>
  374.         <Inline nameSpaceName="ExtX3D"
  375.           mapDEFToID="true"
  376.           url=""
  377.           id="x3d_inline_external"
  378.           bboxCenter="0 0 0"
  379.           bboxSize="0.1 0.1 0.1"
  380.           bboxDisplay = true;
  381.            ></Inline>
  382.       </Transform>
  383.       <Transform DEF = 'Ext_3d_services'
  384.         translation = '0 9 0'
  385.         scale = '0.173 0.193 0.173'
  386.         rotation='0 1 0 1.6'>
  387.         <Inline nameSpaceName="ExtX3D_3d_services"
  388.           mapDEFToID="true"
  389.           url=""
  390.           id="x3d_inline_external_3d_services"
  391.           bboxCenter="0 0 0"
  392.           bboxSize="3 3 3"
  393.           bboxDisplay = true;
  394.            ></Inline>
  395.       </Transform>
  396.       <Transform DEF = 'Ext_3d_web'
  397.         translation = '0 9.2 5'
  398.         scale = '0.073 0.073 0.073'
  399.         rotation='0 1 0 1.6'>
  400.         <Inline nameSpaceName="ExtX3D_web"
  401.           mapDEFToID="true"
  402.           url=""
  403.           id="x3d_inline_external_web"
  404.           bboxCenter="0 0 0"
  405.           bboxSize="10.1 10.1 10.1"
  406.           bboxDisplay = true;
  407.            ></Inline>
  408.       </Transform>
  409.         <Transform translation='0 0 0' rotation='0 1 0 0'>
  410.             <Shape>
  411.                 <Appearance>
  412.                     <Material ambientIntensity='0.399038'
  413.                         diffuseColor='0.3 0.3 0.3'
  414.                         emissiveColor='0.3 0.3 0.3'
  415.                         transparency='0.5'></Material>
  416.                 </Appearance>
  417.                 <Cylinder height='5.0' radius='4'></Cylinder>
  418.             </Shape>
  419.         </Transform>
  420.         <Transform translation='0 2 0' rotation='0 1 0 0'>
  421.             <Shape>
  422.                 <Appearance>
  423.                     <Material ambientIntensity='0.399038' diffuseColor='0.5 0.5 0.5'></Material>
  424.                 </Appearance>
  425.                 <Cylinder height='0.9' radius='8'></Cylinder>
  426.             </Shape>
  427.         </Transform>
  428.     </Transform>
  429.   </Transform>
  430.     <!-- slideshow screen projection -->
  431.       <Transform translation='20 11 0' rotation='0 1 0 -0.0'>
  432.          <Transform DEF = 'WideScreen'
  433.                       translation = '0 1 0'
  434.                       scale = '1.4 1.2 1'
  435.                       rotation='0 1 0 0'>
  436.                       <Inline nameSpaceName="WideScreenModel" mapDEFToID="true" url="{{ path('root') }}WideScreen.x3d"></Inline>
  437.          </Transform>
  438.           <Transform DEF = 'WideScreenBg'
  439.                      translation = '0 1 -0.2'
  440.                      scale = '1.4 2.2 1'
  441.                      rotation='0 1 0 0'>
  442.               <Inline nameSpaceName="WideScreenBgModel" mapDEFToID="true" url="{{ path('root') }}WideScreen-Background.x3d"></Inline>
  443.           </Transform>
  444.           <Transform DEF = 'WideScreenLeft'
  445.                      translation = '-25 1 0'
  446.                      scale = '1.4 1.2 1'
  447.                      rotation='0 1 0 1'>
  448.               <Inline nameSpaceName="WideScreenLeftModel" mapDEFToID="true" url="{{ path('root') }}WideScreenWebpages.x3d"></Inline>
  449.           </Transform>
  450.           <Transform DEF = 'WideScreenRight'
  451.                      translation = '25 1 0'
  452.                      scale = '1.4 1.2 1'
  453.                      rotation='0 1 0 -1'>
  454.               <Inline nameSpaceName="WideScreenRightModel" mapDEFToID="true" url="{{ path('root') }}WideScreenMarketplace.x3d"></Inline>
  455.           </Transform>
  456.       </Transform>
  457.       <Transform translation='19 30.5 -9' rotation='0 1 0 -0.0'>
  458.         <Transform DEF='Slideshow_poster'
  459.             translation='-2.99785 4.69073 -2.72545'>
  460.           <Shape>
  461.             <Appearance>
  462.               <ImageTexture id="slideshow_texture" url="./images/eshopBg002.jpg"></ImageTexture>
  463.               <Material
  464.                   ambientIntensity='0.999038'
  465.                   diffuseColor='0.841 0.841 0.841'/>
  466.             </Appearance>
  467.             <Box size="10 5 0.2"/>
  468.           </Shape>
  469.         </Transform>
  470.      </Transform>
  471.     <Transform translation='0 20 0' rotation='0 1 0 -0.13117953405799' scale='33.229730 3.401004 33.954391'>
  472.         <Shape>
  473.             <Appearance>
  474.                 <Material diffuseColor='0 0.7 1'/>
  475.             </Appearance>
  476.             <Extrusion beginCap='false' creaseAngle='0.785' crossSection='1.00 0.00 0.92 -0.38 0.71 -0.71 0.38 -0.92 0.00 -1.00 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1.00 -0.00' endCap='false' solid='false' spine='0 -1 0 0 1 0'/>
  477.         </Shape>
  478.     </Transform>
  479.     <!-- ceil -->
  480. <!--     <Transform DEF = 'CeilCircle'
  481.       translation = '-2 10.5 0'
  482.       scale = '1 1 1'
  483.       rotation='0 1 0 0.81'>
  484.       <Inline nameSpaceName="CeilCircle" mapDEFToID="true" url="extrCircleSphere2.x3d"/>
  485.     </Transform> -->
  486.     <!-- floor -->
  487.     <Transform translation='10 -8.7 0' rotation='0 1 0 -0.13117953405799'>
  488.         <Shape>
  489.             <Appearance>
  490.                 <Material
  491.                     ambientIntensity='0.399038'
  492.                     diffuseColor='0.6 0.6 0.6'></Material>
  493.             </Appearance>
  494.             <Cylinder height='0.5' radius='50'></Cylinder>
  495.         </Shape>
  496.     </Transform>
  497.     <Transform DEF = 'SurroundingTemplate'
  498.                       translation = '10 -10 0'
  499.                       scale = '1 1 1'
  500.                       rotation='0 1 0 1.6'>
  501.                       <Inline nameSpaceName="SurroundingTemplateModel" mapDEFToID="true" url="{{ path('root') }}PantheonGlass3.x3d"></Inline>
  502.     </Transform>
  503.     <ROUTE fromNode='AvatarGroupTimer' fromField='fraction_changed' toNode='AvatarGroupInterpolator' toField='set_fraction'></ROUTE>
  504.     <ROUTE fromNode='AvatarGroupInterpolator' fromField='value_changed' toNode='AvatarWrapper' toField='rotation'></ROUTE>
  505.     <ROUTE fromNode='Dynamic_Object_AnimationTimer_header' fromField='fraction_changed' toNode='Dynamic_Object_BoxRotationInterpolator_header' toField='set_fraction'></ROUTE>
  506.     <ROUTE fromNode='Dynamic_Object_BoxRotationInterpolator_header' fromField='value_changed' toNode='Dynamic_Object_header' toField='rotation'></ROUTE>
  507.     <Route fromNode="CLOCK" fromField ="fraction_changed" toNode="UserTranslation1" toField="set_fraction"> </Route>
  508.     <Route fromNode="UserTranslation1" fromField ="value_changed" toNode="TourAvatarWrapper" toField="translation"> </Route>
  509.     </scene>
  510.   </x3d>
  511.           <div style="position: absolute; left: 0px; width: 100%; height: 40px; display:block; border-right: 1px solid #EA5B0C; background-color: #222; opacity: 0.7; text-align:center; font-family: helvetica, sans-serif; font-weight: bold; font-size: 10px; color: #EA5B0C; padding-top:1px" id="x3d_menu">
  512.               <div style="margin-right:7px; display:inline-block" id="x3d_menu_viewpoint_home">
  513.                   <button id="button_viewpoint_home" onclick="changeViewpoint('x3d_viewpoint_home')" style="font-family: helvetica, sans-serif; font-weight: normal; font-size: 10px; background-color: black; border: 1px solid #333; color: white;padding:2px;  background-image: url( '/images/x3dmenu_home.png' ); background-size: 31px 31px; height: 33px; width: 33px;" title="Home Viewpoint"></button>
  514.               </div>
  515.               <div style="margin-right:7px; display:inline-block" id="x3d_menu_viewpoint_menu">
  516.                   <button id="button_viewpoint_menu" onclick="changeViewpoint('x3d_viewpoint_menu')" style="font-family: helvetica, sans-serif; font-weight: normal; font-size: 10px; background-color: black; border: 1px solid #333; color: white;padding:2px;  background-image: url( '/images/x3dmenu_menu.png' ); background-size: 31px 31px; height: 33px; width: 33px;" title="Menu Viewpoint"></button>
  517.               </div>
  518.               <div style="margin-right:7px; display:inline-block" id="x3d_menu_tour">
  519.                   <button id="gallery_button_viewpoint" onclick="changeViewpoint('x3d_viewpoint_tour')" style="font-family: helvetica, sans-serif; font-weight: normal; font-size: 10px; background-color: black; border: 1px solid #333; color: white;padding:2px;  background-image: url( '/images/x3dmenu_walk.png' ); background-size: 31px 31px; height: 33px; width: 33px;" title="Tour"></button>
  520.               </div>
  521.               <div style="margin-right:7px; display:inline-block" id="x3d_menu_viewpoint_1">
  522.                   <button id="button_viewpoint_1" onclick="changeViewpoint('x3d_viewpoint_1')" style="font-family: helvetica, sans-serif; font-weight: normal; font-size: 10px; background-color: black; border: 1px solid #333; color: white;padding:2px;  background-image: url( '/images/x3dmenu_eye.png' ); background-size: 31px 31px; height: 33px; width: 33px;" title="Viewpoint 1"></button>
  523.               </div>
  524.               <div style="margin-right:7px; display:inline-block" id="x3d_menu_viewpoint_2">
  525.                   <button id="button_viewpoint_2" onclick="changeViewpoint('x3d_viewpoint_2')" style="font-family: helvetica, sans-serif; font-weight: normal; font-size: 10px; background-color: black; border: 1px solid #333; color: white;padding:2px;  background-image: url( '/images/x3dmenu_eye.png' ); background-size: 31px 31px; height: 33px; width: 33px;" title="Viewpoint 2"></button>
  526.               </div>
  527.               <div style="margin-right:7px; display:inline-block" id="x3d_menu_viewpoint_3">
  528.                   <button id="button_viewpoint_3" onclick="changeViewpoint('x3d_viewpoint_3')" style="font-family: helvetica, sans-serif; font-weight: normal; font-size: 10px; background-color: black; border: 1px solid #333; color: white;padding:2px;  background-image: url( '/images/x3dmenu_eye.png' ); background-size: 31px 31px; height: 33px; width: 33px;" title="Viewpoint 3"></button>
  529.               </div>
  530.               <div style="margin-right:7px; display:inline-block" id="x3d_menu_defaultscreen">
  531.                   <button id="button_defaultscreen" onclick="sceneResize('normal')" style="font-family: helvetica, sans-serif; font-weight: normal; font-size: 10px; background-color: black; border: 1px solid #333; color: white;padding:2px;  background-image: url( '/images/x3dmenu_defaultscreen.png' ); background-size: 31px 31px; height: 33px; width: 33px;" title="default screen"></button>
  532.               </div>
  533.               <div style="margin-right:7px; display:inline-block" id="x3d_menu_fullscreen">
  534.                   <button id="button_fullscreen" style="font-family: helvetica, sans-serif; font-weight: normal; font-size: 10px; background-color: black; border: 1px solid #333; color: white;padding:2px; background-image: url( '/images/x3dmenu_fullscreen.png' ); background-size: 31px 31px; height: 33px; width: 33px;" title="full screen"></button>
  535.               </div>
  536.           </div>
  537. </div>
  538.     {% endif %}
  539.     <div class="vrGap"></div>
  540.     <div class="homePanel">
  541.         <div class="newsPanel">
  542.             <h2>{{ 'news.ecommerce_news'|trans }}</h2>
  543.             {{ eCommerceNews|raw }}
  544.         </div>
  545.     </div>
  546.     <div class="homePanel">
  547.         {{ include('searchForm.html.twig') }}
  548.         {{ include('marketplaceDepartmentsHome.html.twig') }}
  549.     </div>
  550.     <div class="homeMenuPanel">
  551.         {{ include('shoppingWindow.html.twig') }}
  552.     </div>
  553. </div>
  554. {% endblock %}