templates/knowledgebase.html.twig line 1

Open in your IDE?
  1. {% extends 'layout.html.twig' %}
  2. {% block title %}{{ 'service.knowledgebase'|trans|raw }}{% endblock %}
  3. {% block page_contents %}
  4. <div class="presentationContent">
  5.   <div class="headerPanel2"></div>
  6.   <div class="serviceMenu">
  7.     <span class="serviceMenuTitle">{{ 'service.knowledgebase'|trans }}</span>
  8.     <span class="serviceMenuItem"><a href="{{ path('root') }}newaccount?addService=2" class="serviceMenuLink">{{'knowledgebase.new_base_create'|trans }}</a></span>
  9.   </div>
  10. <!-- X3D  -->
  11.       <div style="width: 100vw; 
  12.           height: 323px;
  13.           display:block;
  14.         box-sizing: border-box;
  15.         position: absolute;
  16.         left: 0;
  17.         right: 0;  
  18.         background-color: Black;  
  19.         z-index: 5;    
  20.           " id="x3d"
  21.            class="x3d_container">
  22. {#        <div style="position: absolute; left: 3px; 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">#}
  23.         <div style="position: absolute; left: 0px; width: 50px; height: 319px; display:block; border-right: 1px solid #EA5B0C; background-color: #222; opacity: 0.5; text-align:center; font-family: helvetica, sans-serif; font-weight: bold; font-size: 10px; color: #EA5B0C; padding-top:5px; z-index: 5;" id="x3d_menu">
  24.           <div style="margin-right:7px; display:inline-block" id="x3d_menu_viewpoint_home">
  25.             <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>
  26.           </div>
  27.           <div style="margin-right:7px; display:inline-block" id="x3d_menu_viewpoint_menu">
  28.             <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>
  29.           </div>
  30.           <div style="margin-right:7px; display:inline-block" id="x3d_menu_tour">
  31.             <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>
  32.           </div>
  33.           <div style="margin-right:7px; display:inline-block" id="x3d_menu_viewpoint_1">
  34.             <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>
  35.           </div>
  36.           <div style="margin-right:7px; display:inline-block" id="x3d_menu_viewpoint_2">
  37.             <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>
  38.           </div>
  39.           <div style="margin-right:7px; display:inline-block" id="x3d_menu_viewpoint_3">
  40.             <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>
  41.           </div>
  42.           <div style="margin-right:7px; display:inline-block" id="x3d_menu_defaultscreen">
  43.             <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>
  44.           </div>
  45.           <div style="margin-right:7px; display:inline-block" id="x3d_menu_fullscreen">
  46.             <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>
  47.           </div>
  48.         </div>
  49.       <x3d width='100%' height="323px" id="x3d_section" style="height: 323px; border-bottom: 2px solid #EA5B0C;background-color: #222;">
  50. <Scene id="x3d_scene">
  51. <WorldInfo info='"Copyright (c) 2015, Webexciter.com, George Matyas"' title='Computer Revolver 3D' >
  52. </WorldInfo>
  53.     <viewpoint orientation='0.5 1 0 -0' position='10 2 14'  id='x3d_viewpoint_1'></viewpoint>
  54.     <viewpoint orientation='0 1 0 -0.2' position='10 2 25'  id='x3d_viewpoint_2'></viewpoint>
  55.     <viewpoint orientation='0 1 0 0.2' position='25 2 5'  id='x3d_viewpoint_3'></viewpoint>
  56.         <viewpoint orientation='0 1 0 -0' position='10 2 12'  id='x3d_viewpoint_home'></viewpoint>
  57.         <viewpoint orientation='1 0 0 -0.65' position='5 20 20'  id='x3d_viewpoint_menu'></viewpoint>
  58. <PointLight location='0 0 3' >
  59. </PointLight>
  60.         <Background groundColor='0.8 0.8 1 0.7 0.7 1 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 0 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>
  61.         <Group DEF='Animation2'>
  62.           <TimeSensor DEF='AnimationTimer' cycleInterval='33' loop='true'></TimeSensor>
  63.           <OrientationInterpolator DEF='BoxRotationInterpolator' key='0  0.50000000  1' keyValue='0 1 0 0  0 1 0 -3.14000010  0 1 0 -6.28000021'></OrientationInterpolator>
  64.         </Group>
  65.   <!-- slideshow screen projection -->
  66.   <Transform translation='20 13.5 0' rotation='0 1 0 -0.0'>
  67.     <Transform DEF = 'WideScreen'
  68.                translation = '0 1 0'
  69.                scale = '1.4 1.2 1'
  70.                rotation='0 1 0 0'>
  71.       <Inline nameSpaceName="WideScreenModel" mapDEFToID="true" url="{{ path('root') }}WideScreenPresentation.x3d"></Inline>
  72.     </Transform>
  73.     <Transform DEF='Slideshow_floor2'
  74.                translation='-1.99785 -18.2 -8.72545'>
  75.       <Shape>
  76.         <Appearance>
  77.           <Material
  78.                   ambientIntensity='0.399038'
  79.                   diffuseColor='0.5 0.5 0.5'/>
  80.         </Appearance>
  81.         <Cylinder height='0.5' radius='30'></Cylinder>
  82.       </Shape>
  83.     </Transform>
  84.     <Transform DEF='Slideshow_holder_bottom2'
  85.                translation='-1.99785 -19 -8.72545'>
  86.       <Shape>
  87.         <Appearance>
  88.           <Material
  89.                   ambientIntensity='0.399038'
  90.                   diffuseColor='1 0.3 0'
  91.                   emissiveColor='1 0.3 0'/>
  92.         </Appearance>
  93.         <Cylinder height='0.5' radius='33'></Cylinder>
  94.       </Shape>
  95.     </Transform>
  96.   </Transform>
  97. <Transform DEF='revolver' translation='0 0 -3' rotation='0 1 0 1.77999997'>
  98.     <Transform translation='0 0 6.69999981'>
  99.   <Inline url='"{{ path('root') }}computer001.x3d"' >
  100.   </Inline>
  101.   <TouchSensor DEF='ComputerSensor001'>
  102.   </TouchSensor>
  103.     </Transform>
  104.     <Transform rotation='0 1 0 0.77999997' translation='5 0 5'>
  105.   <Inline url='"{{ path('root') }}computer002.x3d"'>
  106.   </Inline>
  107.   <TouchSensor DEF='ComputerSensor002'>
  108.   </TouchSensor>
  109.     </Transform>
  110.     <Transform rotation='0 1 0 1.57000005' translation='7.44999981 0 0' >
  111.   <Inline url='"computer003.x3d"'>
  112.   </Inline>
  113.   <TouchSensor DEF='ComputerSensor003'>
  114.   </TouchSensor>
  115.     </Transform>
  116.     <Transform rotation='0 1 0 2.45000005' translation='5 0 -5' >
  117.   <Inline url='"computer004.x3d"' >
  118.   </Inline>
  119.   <TouchSensor DEF='ComputerSensor004'  >
  120.   </TouchSensor>
  121.     </Transform>
  122.     <Transform rotation='0 1 0 3.14000010' translation='0 0 -6.69999981' >
  123.   <Inline url='"computer005.x3d"' >
  124.   </Inline>
  125.   <TouchSensor DEF='ComputerSensor005'  >
  126.   </TouchSensor>
  127.     </Transform>
  128.     <Transform rotation='0 1 0 -2.45000005' translation='-5 0 -5' >
  129.   <Inline url='"computer006.x3d"' >
  130.   </Inline>
  131.   <TouchSensor DEF='ComputerSensor006'  >
  132.   </TouchSensor>
  133.     </Transform>
  134.     <Transform rotation='0 1 0 -1.57000005' translation='-7.44999981 0 0' >
  135.   <Inline url='"computer007.x3d"' >
  136.   </Inline>
  137.   <TouchSensor DEF='ComputerSensor007'  >
  138.   </TouchSensor>
  139.     </Transform>
  140.     <Transform rotation='0 1 0 -0.77999997' translation='-5 0 5' >
  141.   <Inline url='"computer008.x3d"' >
  142.   </Inline>
  143.   <TouchSensor DEF='ComputerSensor008'  >
  144.   </TouchSensor>
  145.     </Transform>
  146.     <Transform translation='0 -2.20000005 0' >
  147.   <Inline url='"{{ path('root') }}desk.x3d"' >
  148.   </Inline>
  149.     </Transform>
  150.     <Transform translation='0 -5 0' >
  151.   <Inline url='"{{ path('root') }}pedestal.x3d"' bboxSize='0.50000000 2.50000000 0.50000000' >
  152.   </Inline>
  153.     </Transform>
  154. </Transform>
  155.   <!-- floor -->
  156.   <Transform translation='10 -5.7 0' rotation='0 1 0 -0.13117953405799'>
  157.     <Shape>
  158.       <Appearance>
  159.         <Material 
  160.           ambientIntensity='0.399038'
  161.                     diffuseColor='0.2 0.2 0.2'></Material>
  162.       </Appearance>
  163.       <Cylinder height='0.5' radius='50'></Cylinder>
  164.     </Shape> 
  165.   </Transform>
  166. <ROUTE fromNode='AnimationTimer' fromField='fraction_changed' toNode='BoxRotationInterpolator' toField='set_fraction'></ROUTE>
  167. <ROUTE fromNode='BoxRotationInterpolator' fromField='value_changed' toNode='revolver' toField='set_rotation'></ROUTE>  
  168. </Scene>
  169.   </x3d>
  170. </div>
  171. <div class="verticalGap"></div>
  172. <br><br>
  173. <div class="homePanel">
  174. <!-- module list template -->
  175.   {{ include('moduleList.html.twig') }}
  176. <br><br><br>
  177. <div class="megaBox">
  178. <a href="{{ path('root') }}newaccount?addService=2" class="megaButtonLink">{{'knowledgebase.new_base_create'|trans }}</a>
  179. </div>
  180. <br><br>
  181.   
  182. </div>
  183. </div>
  184. {% endblock %}