andre пре 4 година
родитељ
комит
798d214500
1 измењених фајлова са 54 додато и 95 уклоњено
  1. 54 95
      configureproductdomain.tpl

+ 54 - 95
configureproductdomain.tpl

@@ -20,60 +20,60 @@
 
         </div>
         <div class="col-md-10 col-md-offset-1 offset-md-1">
-        <div class="panel panel-default">
-        <div class="panel-body">
-            <table width="100%" height="100%">
-            <tr>
-                <td valign="top" style="padding-right: 50px;">
-                {$features = "<br />"|explode:$productinfo.description}
-                <p class="product-title" style="margin-bottom: -2px;  font-size:120%;"><strong><i>{$productinfo.group_name}</i> - {$productinfo.name}</strong></p>
-                {foreach $features as $feature}
-                    {$featureParts = ":"|explode:$feature}
-                    {$featureTrim = $feature|trim}
-                    {if !$featureTrim|strstr:':' && $featureTrim ne '' && $featureTrim ne ' ' && $featureTrim ne '  '}
-                        {$feature}<br />
-                    {/if}
-                {/foreach}
-                <br />
-                <!-- {$productinfo.description} -->
-                <table class="plan-features{if $block.flisticon == "check-list"} check-list{elseif $block.flisticon == "check-circle"} check-circle{elseif $block.flisticon == "check-square"} check-square{elseif $block.flisticon == "arrows"} arrows{else}{/if}" style="padding-top:0px; padding-bottom: 15px;" id="PlanLists{$kk + 1}">
-                    {foreach $features as $feature}
-                    {$featureParts = ":"|explode:$feature}
-                    {if $featureParts|@count > 1}
-                        <tr>
-                                                    <td style="padding-right: 33px;"><b>{$featureParts[0]}:</b></td>
-                                                    <td>
-                                                        {if $featureParts[1]|trim == "Ja"} <i class="far fa-check-square" style="font-size:14px"></i>
-                                                        {elseif $featureParts[1]|trim == "Nein"} <i class="far fa-square" style="font-size:14px"></i>
-                                                        {elseif $featureParts[1]|trim == "Optional"} <i class="fas fa-plus" style="font-size:14px"></i>
-                                                        {else}
-                                                        {$featureParts[1]}
-                                                        {/if}
-                                                    </td>
-                    {/if}
-                    {/foreach}
-                </table>
-                </td>
-                <td valign="top" style="text-align:left;">
-                                        {*
-                                            Product Icon set by its group id
-                                            -----------------------------------------
-                                            Mailhosting                     => gid=1
-                                            Thurfiles Private Hosting       => gid=2
-                                            Nextcloud Private Hosting       => gid=3
-                                            ThurVServer                     => gid=4
-                                            ThurVCloud                      => gid=5
-                                            Groupware Hosting               => gid=7
-                                            Mailhosting mit Nextcloud       => gid=8
-                                            Nextcloud Business Hosting	    => gid=9
-                                            Thurfiles Business Hosting	    => gid=10
-                                        *}
-                <img src="/templates/croster/thurdata/productgroups/{$productinfo.gid}.svg" class="img-fluid" style="height:150px;">
-                </td>
-            </tr>
-                </table>
-        </div>
-        </div>
+            <div class="panel panel-default">
+                <div class="panel-body">
+                    <table width="100%" height="100%">
+                    <tr>
+                        <td valign="top" style="padding-right: 50px;">
+                        {$features = "<br />"|explode:$productinfo.description}
+                        <p class="product-title" style="margin-bottom: -2px;  font-size:120%;"><strong><i>{$productinfo.group_name}</i> - {$productinfo.name}</strong></p>
+                        {foreach $features as $feature}
+                            {$featureParts = ":"|explode:$feature}
+                            {$featureTrim = $feature|trim}
+                            {if !$featureTrim|strstr:':' && $featureTrim ne '' && $featureTrim ne ' ' && $featureTrim ne '  '}
+                                {$feature}<br />
+                            {/if}
+                        {/foreach}
+                        <br />
+                        <!-- {$productinfo.description} -->
+                        <table class="plan-features{if $block.flisticon == "check-list"} check-list{elseif $block.flisticon == "check-circle"} check-circle{elseif $block.flisticon == "check-square"} check-square{elseif $block.flisticon == "arrows"} arrows{else}{/if}" style="padding-top:0px; padding-bottom: 15px;" id="PlanLists{$kk + 1}">
+                            {foreach $features as $feature}
+                            {$featureParts = ":"|explode:$feature}
+                            {if $featureParts|@count > 1}
+                                <tr>
+                                                            <td style="padding-right: 33px;"><b>{$featureParts[0]}:</b></td>
+                                                            <td>
+                                                                {if $featureParts[1]|trim == "Ja"} <i class="far fa-check-square" style="font-size:14px"></i>
+                                                                {elseif $featureParts[1]|trim == "Nein"} <i class="far fa-square" style="font-size:14px"></i>
+                                                                {elseif $featureParts[1]|trim == "Optional"} <i class="fas fa-plus" style="font-size:14px"></i>
+                                                                {else}
+                                                                {$featureParts[1]}
+                                                                {/if}
+                                                            </td>
+                            {/if}
+                            {/foreach}
+                        </table>
+                        </td>
+                        <td valign="top" style="text-align:left;">
+                                                {*
+                                                    Product Icon set by its group id
+                                                    -----------------------------------------
+                                                    Mailhosting                     => gid=1
+                                                    Thurfiles Private Hosting       => gid=2
+                                                    Nextcloud Private Hosting       => gid=3
+                                                    ThurVServer                     => gid=4
+                                                    ThurVCloud                      => gid=5
+                                                    Groupware Hosting               => gid=7
+                                                    Mailhosting mit Nextcloud       => gid=8
+                                                    Nextcloud Business Hosting	    => gid=9
+                                                    Thurfiles Business Hosting	    => gid=10
+                                                *}
+                        <img src="/templates/croster/thurdata/productgroups/{$productinfo.gid}.svg" class="img-fluid" style="height:150px;">
+                        </td>
+                    </tr>
+                        </table>
+                </div>
+            </div>
         <div class="alert alert-warning">
             Test
         </div>
@@ -392,47 +392,6 @@
                         &nbsp;<i class="fas fa-arrow-circle-right"></i>
                     </button>
                 </div>
-                <div class="col-md-4 col-lg-3">
-                <div  id="sidebar">
-                    <div class="sidebar__inner blocks cartsummary">
-                        <div>
-                            <div class="order-summary">
-                                <div class="loader" id="orderSummaryLoader">
-                                    <i class="fas fa-fw fa-sync fa-spin"></i>
-                                </div>
-                                <h2>{$LANG.ordersummary}</h2>
-                                <div class="summary-container" id="producttotal"></div>
-                            </div>
-
-                                                                <div class="text-center">
-                                                                    {capture name=currentDate}  {$smarty.now|date_format:"%Y-%m-%d"}  {/capture}
-                                                                    {capture name=dayOfMonth}  {$smarty.now|date_format:"%e"|trim}  {/capture}
-                                                                    {capture name=endOfMonth} {date("t")} {/capture}
-                                                                    {assign var=daysInBetween value="`$smarty.capture.endOfMonth-$smarty.capture.dayOfMonth`"}
-
-                                                                    {if $smarty.capture.dayOfMonth < 20}
-                                                                        Der Preis bezieht sich auf die verbleibende<br />
-                                                                        Anzahl der Tage ({$daysInBetween}) zwischen der<br />
-                                                                        Bestellung und dem Ende des Monats<br />
-                                                                    {else}
-                                                                        Da die Bestellung nach dem 20. des Monats <br />
-                                                                        getätigt wurde, wird der Folgemonat automatisch<br />
-                                                                        mit aufgerechnet<br />
-                                                                    {/if}
-                                                                    <br />
-                                                                </div>
-
-                            <div class="text-center">
-                                 <button type="submit" id="btnCompleteProductConfig" class="btn btn-primary btn-lg">
-                                    {$LANG.continue}
-                                    <i class="fas fa-arrow-circle-right"></i>
-                                </button>
-                            </div>
-                        </div>
-                    </div>
-                </div>
-            </div>
-
             </form>
 
         </div>