templates/webpages.html.twig line 1

Open in your IDE?
  1. {% extends 'layout.html.twig' %}
  2. {% block title %}{{ 'service.webpages'|trans|raw }}{% endblock %}
  3. {% block page_contents %}
  4.   <div class="headerPanel2"></div>
  5.   <div class="serviceMenu">
  6.     <span class="serviceMenuTitle">{{ 'service.webpages'|trans }}</span>
  7.     <span class="serviceMenuItem"><a href="{{ path('root') }}newaccount?addService=3" class="serviceMenuLink">{{ 'webpages.new_web_create'|trans }}</a></span>
  8.     <span class="serviceMenuItem"><a href="#webpage_ready" class="serviceMenuLink">{{ 'webpages.webpages_ready'|trans }}</a></span>
  9.     <span class="serviceMenuItem"><a href="#webpage_custom" class="serviceMenuLink">{{ 'webpages.webpages_custom'|trans }}</a></span>
  10.     <span class="serviceMenuItem"><a href="#webpage_3D" class="serviceMenuLink">{{ 'webpages.webpages_3D'|trans }}</a></span>
  11.     <span class="serviceMenuItem"><a href="#webpage_examples" class="serviceMenuLink">{{ 'service.examples'|trans }}</a></span>
  12.     <span class="serviceMenuItem"><a href="/user/7/gallery3D/8" class="serviceMenuLink">{{ 'module.gallery'|trans }}</a></span>
  13.   </div>
  14. <!-- X3D  -->
  15.       <div style="width: 100vw; 
  16.           height: 323px;
  17.           display:block;  
  18.           right:0; 
  19.           left:0; 
  20.         box-sizing: border-box;
  21.         position: absolute;
  22.         left: 0;
  23.         right: 0;  
  24.         background-color: Black;  
  25.         z-index: 5;    
  26.           " id="x3d"
  27.            class="x3d_container">
  28.         <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" id="x3d_menu">
  29.           <div>X3D</div>
  30.           <div>menu</div>
  31.           <div style="margin-top:7px" id="x3d_menu_viewpoint_home">
  32.             <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>
  33.           </div>   
  34.           <div style="margin-top:7px" id="x3d_menu_viewpoint_menu">
  35.             <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>
  36.           </div>                 
  37.           <div style="margin-top:7px" id="x3d_menu_fullscreen">
  38.             <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>
  39.           </div>
  40.           <div style="margin-top:7px" id="x3d_menu_defaultscreen">
  41.             <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>
  42.           </div>
  43.           <div style="margin-top:7px" id="x3d_menu_viewpoint_1">
  44.             <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>
  45.           </div>
  46.           <div style="margin-top:7px" id="x3d_menu_viewpoint_2">
  47.             <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>
  48.           </div>
  49.           <div style="margin-top:7px" id="x3d_menu_viewpoint_3">
  50.             <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>
  51.           </div>
  52.         </div>
  53.       <x3d width='100%' height="323px" id="x3d_section" style="height: 323px; border-bottom: 2px solid #EA5B0C;background-color: #222;">
  54.       <Scene id="x3d_scene">
  55.       <WorldInfo info='"Copyright (c) 2015, Webexciter.com, George Matyas"' title='Computer Revolver 3D' >
  56.       </WorldInfo>
  57.           <viewpoint orientation='0 1 0 1.7' position='160 45 -10'  id='x3d_viewpoint_home'></viewpoint>
  58.           <viewpoint orientation='0.5 0.5 0 -0.65' position='5 40 20'  id='x3d_viewpoint_menu'></viewpoint>
  59.           <viewpoint orientation='0 1 0 3.1' position='150 70 -200'  id='x3d_viewpoint_1'></viewpoint>
  60.           <viewpoint orientation='0 1 0 0.2' position='100 65 200'  id='x3d_viewpoint_2'></viewpoint>
  61.           <viewpoint orientation='0 1 0 1.7' position='270 2 -57'  id='x3d_viewpoint_3'></viewpoint>
  62.               
  63.               <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>
  64.               <Group DEF='Animation2'>
  65.                 <TimeSensor DEF='AnimationTimer' cycleInterval='33' loop='true'></TimeSensor>
  66.                 <OrientationInterpolator DEF='BoxRotationInterpolator' key='0  0.50000000  1' keyValue='0 1 0 0  0 1 0 -3.14000010  0 1 0 -6.28000021'></OrientationInterpolator>
  67.               </Group> 
  68.       <Transform DEF='revolver' translation='0 0 0' rotation='0 1 0 0'>
  69.           <Transform translation='-30 0 0' scale='150 150 150'>
  70.             <Inline url='"NYC.x3d"' >
  71.             </Inline> 
  72.           </Transform>
  73.       </Transform>
  74.       </Scene>
  75.   </x3d>
  76. </div>
  77. <div class="verticalGap"></div>
  78. <div class="presentationContent">
  79.   <div class="homePanel">
  80.       <a name="webpage_ready"></a>
  81.       <h1>{{ 'webpages.webpages_ready'|trans }}</h1>
  82.       <div class="infoPanel">
  83.         <div class='leftInfoPanel'><p class="presentationContentMain">{{ 'webpages.webpages_ready_text'|trans }}</p></div>
  84.         <div class='logoInfoPanel'>
  85.           {% if app.session.get('label') == 'webexciter.com' %}
  86.             {% set icon3d = 'WebPages.x3d' %}
  87.           {% else %}
  88.             {% set icon3d = 'WebPages_white.x3d' %}
  89.           {% endif %}
  90.           <X3D  width='400px' height='240px' profile='Immersive'>
  91.           <head>
  92.           </head>
  93.           <Scene>
  94.           <Transform rotation='0 1 0 0' translation='0 0 0' >
  95.               <Inline url='"{{ icon3d }}"' bboxCenter="0 0 0"
  96.                 bboxSize="0.1 0.1 0.1"
  97.                 bboxDisplay = true;>
  98.               </Inline>
  99.           </Transform>
  100.           </Scene>
  101.           </X3D>
  102.         </div>
  103.         <div class='rightInfoPanel'>
  104.           <table cellspacing='0' class='priceTable' align='center'>
  105.             <tr>
  106.               <td class='serviceName'>web <big>Mini</big></td>
  107.               <td class='servicePrice1'><big>111</big> CZK (month)</td>
  108.               <td class='servicePrice2'>1100 CZK (year)</td>
  109.             </tr>
  110.             <tr>
  111.               <td class='serviceName'>web <big>Flexi</big></td>
  112.               <td class='servicePrice1'><big>222</big> CZK (month)</td>
  113.               <td class='servicePrice2'>2200 CZK (year)</td>
  114.             </tr>
  115.             <tr>
  116.               <td class='serviceName'>web <big>Max</big></td>
  117.               <td class='servicePrice1'><big>1777</big> CZK (month)</td>
  118.               <td class='servicePrice2'>22000 CZK (year)</td>
  119.             </tr>
  120.           </table>
  121.           <br>
  122.           <br>
  123.           <div>
  124.             <a href="{{ path('root') }}newaccount?addService=3" class="butt_big">{{ 'webpages.new_web_create'|trans }}</a>
  125.           </div>
  126.           <br>
  127.           <br>
  128.           <div class="addFormFunctionsLine"></div>
  129.           <span>OR</span>
  130.           <div class="addFormFunctionsLine"></div>
  131.           <div class="addFormFunctions">
  132.             <a href="{{ path('root') }}login?addService=3" class="bigPlainLink">{{ 'webpages.login'|trans }}</a>
  133.           </div>
  134.           
  135.           <br>
  136.         </div>
  137.       </div>
  138.   </div>
  139. <div class="homePanel">
  140. <!-- module list template -->
  141.   {{ include('moduleList.html.twig') }}
  142. </div>
  143. <div class="homePanel">
  144.   <a name="webpage_custom"></a>
  145.   <h1>{{ 'webpages.webpages_custom'|trans }}</h1>
  146.   <div class="infoPanel">
  147.     <div class='leftInfoPanel'><p class="presentationContentMain">{{ 'webpages.webpages_custom_text'|trans }}</p></div>
  148.     <div class='rightInfoPanel'>
  149.       <table cellspacing='0' class='priceTable' align='center'>
  150.         <tr>
  151.           <td class='serviceName'><big>{{ 'webpages.webpages_custom'|trans }}</big></td>
  152.           <td class='servicePrice1'>{{ 'eshop.eshop_custom_price'|trans }}</td>
  153.           <td class='servicePrice2'></td>
  154.         </tr>  
  155.       </table>
  156.     </div>
  157.   </div>
  158.   <br>
  159.   <div>
  160.     <a href="{{ path('root') }}request?addService=3" class="butt_big">{{ 'webpages.request'|trans }}</a>
  161.   </div> 
  162.   <br>
  163. </div>
  164. <div class="homePanel">
  165.   <a name="webpage_3D"></a>
  166.   <h1>{{ 'webpages.webpages_3D'|trans }}</h1>
  167.   <div class="infoPanel">
  168.     <div class='leftInfoPanel'><p class="presentationContentMain">{{ 'webpages.webpages_3D_text'|trans }}</p></div>
  169.     <div class='rightInfoPanel'>
  170.       <table cellspacing='0' class='priceTable' align='center'>
  171.         <tr>
  172.           <td class='serviceName'><big>{{ 'webpages.webpages_3D'|trans }}</big></td>
  173.           <td class='servicePrice1'>{{ 'eshop.eshop_custom_price'|trans }}</td>
  174.           <td class='servicePrice2'></td>
  175.         </tr>  
  176.       </table>
  177.     </div>
  178.   </div>
  179.   <br>
  180.   <br>
  181.   <div>
  182.     <a href="{{ path('root') }}newaccount?addService=5&addModule=43" class="butt_big">{{ 'service.services3d_new'|trans }}</a>
  183.   </div>  
  184.   <br>
  185. </div>
  186. <div class="homePanel">
  187. <a name="webpage_examples"></a>
  188. <h1>{{ 'service.examples'|trans }}</h1>
  189. <div class="examples">
  190.   {% set count = 0 %}
  191.   {% for example in exampleCollection %}
  192.     {% set count = count + 1 %}
  193.     <div class="example">
  194.       <div class="exampleImage">
  195.         <a href="{{ example.landingUrl }}" target="_blank" class="exampleLink">
  196.           <img src="{{ example.imageUrl }}" alt="{{ example.serviceExampleName }}" width="281" border="0">
  197.         </a>
  198.       </div>
  199.       <div class="exampleName">
  200.         {% if count == 1 %}
  201.              <span>{{ 'service.examples'|trans }}:</span>
  202.         {% endif %}
  203.         <div class="exampleTitle">
  204.           <a href="{{ example.landingUrl }}" target="_blank" class="exampleLink">{{ example.serviceExampleName }}</a>
  205.         </div>
  206.       </div>
  207.     </div>
  208.   {% endfor %}
  209. </div>
  210. </div>
  211. <div class="homeMenuPanel">
  212. <div class="megaBox">
  213. <a href="{{ path('root') }}newaccount?addService=3" class="butt_big">{{ 'webpages.new_web_create'|trans }}</a>
  214. </div>
  215. </div>
  216. </div>
  217. {% endblock %}