Source

atex / atexpc / atex_web / templates / home.html

Full commit
{% extends "base_2col.html" %}
{% load atex_tags %}

{% block content_right %}
            	<div class="atex_bn_wrapper" >
                    <div class="titlu_top">
                        <span class="up_left"></span>
                            <ul class="tab_up">                                    
                                <li>promotii</li>
                                <li><span class="spacer">|</span></li>  
                                <li>oferte</li>                                      
                            </ul>
                         <span class="up_right"></span>
                    </div>                                   
                    <div class="atex_bn" id="ui-tabs">             
                        <div id="fragment-1" class="picture_atex_bn ui-tabs-panel">
                            <a href="http://www.atexsolutions.ro/produs/22910-router-dlink-dir-615"><img src="{{ STATIC_PREFIX }}images/banner-01.jpg" /></a>
                        </div>
                        <div id="fragment-2" class="picture_atex_bn ui-tabs-panel ui-tabs-hide">
                            <a href="http://atex.nul.ro/cauta/?categorie=425&filtre=Hp+Eur"><img src="{{ STATIC_PREFIX }}images/banner-atex-lopez.jpg" /></a>
                        </div>
                        <div id="fragment-3" class="picture_atex_bn ui-tabs-panel ui-tabs-hide">
                            <a href="http://www.atexsolutions.ro/produs/22910-router-dlink-dir-615"><img src="{{ STATIC_PREFIX }}images/img-banner-01.jpg" /></a>
                        </div>
                        <div id="fragment-4" class="picture_atex_bn ui-tabs-panel ui-tabs-hide">
                            <a href="http://www.atexsolutions.ro/produs/22910-router-dlink-dir-615"><img src="{{ STATIC_PREFIX }}images/banner-01.jpg" /></a>
                        </div>
                        <ul class="atex_bn_right_wrapper ui-tabs-nav">
                            <li class="first ui-tabs-nav-item ui-tabs-selected" id="ui-tabs-fragment-1">
                            	<a href="#fragment-1">
                                	<p>Router wireless Dlink DIR-615</p>
                                   <span class="pret-atex_bn">Pret 119.80 RON</span>
                                    
                                </a>
                            </li>
                            <li class="ui-tabs-nav-item" id="ui-tabs-fragment-2">
                            	<a href="#fragment-2">
                                	<p>Castiga 2 bilete VIP la concertul </p>
                                   <span class="pret-atex_bn">Jennifer Lopez</span>
                                </a>
                            </li>
                            <li class="ui-tabs-nav-item" id="ui-tabs-fragment-3">
                            	<a href="#fragment-3">
                                	<p>Denumire produs promotie pe doua randuri</p>
                                    <span class="pret-atex_bn">Pret 119.80 RON</span>
                                </a>                            
                            </li>
                            <li class="last ui-tabs-nav-item" id="ui-tabs-fragment-4">
                            	<a href="#fragment-4">Denumire produs promotie<span class="pret-atex_bn">Pret 119.80 RON</span>
                                    <span class="small-text">Transport inclus</span>
                                </a>                            
                            </li>
                        </ul>    
                    </div>
            	</div><!-- end atex_bn -->
                <div class="right_content">
                	<div class="topuri">
                    	<div class="titlu_top">
                        	<span class="up_left"></span>
                                <ul class="tab_up">                                    
                                    <li>top vanzari</li>                                    
                                </ul>
                            <span class="up_right"></span>
                         </div> 
                         <ul class="produse_top">
                            {% for product in hits %}
                            <li {% if forloop.last %}class="last"{% endif %}> 
                            	<a href="#" class="img-wrapper">
                                    <div class="middle size100x100">
                                        <div class="img-holder">
                                            <img class="center" src="{{ product.images.0|thumbnail:"80x80" }}" width="80" height="80" alt="{{ product.name }}" title="{{ product.name }}" />
                                        </div>
                                    </div>
                                </a>
                                <div class="product-title-mic">
                                	<a href="{{ product.url }}">{{ product.name }}</a>
                                </div>   
                                <div class="pret-mic">
                                	Pret: <span class="pret">{{ product.price }}</span> RON
                                </div> 
                            </li>
                            {% endfor %}
                         </ul> 
                    </div>     
                         <!-- end top1 -->
					<div class="topuri">
                    	<div class="titlu_top">
                        	<span class="up_left"></span>
                                <ul class="tab_up">                                    
                                    <li>recomandari</li>                                    
                                </ul>
                            <span class="up_right"></span>
                         </div>     
                         <ul class="produse_top">
                            {% for product in recommended %}
                         	<li {% if forloop.last %}class="last"{% endif %}> 
                            	<a href="{{ product.url }}" class="img-wrapper">
                                    <div class="middle size100x100">
                                        <div class="img-holder">
                                            <img class="center" src="{{ product.images.0|thumbnail:"80x80" }}" width="80" height="80" alt="{{ product.name }}" title="{{ product.name }}" />
                                        </div>
                                    </div>
                                </a>
                                <div class="product-title-mic">
                                	<a href="{{ product.url }}">{{ product.name }}</a>
                                </div>   
                                <div class="pret-mic">
                                	Pret: <span class="pret">{{ product.price }}</span> RON
                                </div> 
                            </li>
                            {% endfor %}
                         </ul>
                    </div>       
                         
                         <!-- end top 2  -->
                    <div class="topuri last">
                    	<div class="titlu_top">
                        	<span class="up_left"></span>
                                <ul class="tab_up">                                    
                                    <li>top oferte</li>                                    
                                </ul>
                            <span class="up_right"></span>
                         </div>      
                         <ul class="produse_top">
                            {% for product in sales %}
                         	<li {% if forloop.last %}class="last"{% endif %}>
                            	<a href="{{ product.url }}" class="img-wrapper">
                                    <div class="middle size100x100">
                                        <div class="img-holder">
                                            <img class="center" src="{{ product.images.0|thumbnail:"80x80" }}" width="80" height="80" alt="{{ product.name }}" title="{{ product.name }}" />
                                        </div>
                                    </div>
                                </a>
                                <div class="product-title-mic">
                                	<a href="{{ product.url }}">{{ product.name }}</a>
                                </div>   
                                <div class="pret-mic">
                                	Pret: <span class="pret">{{ product.price }}</span> RON
                                </div> 
                            </li>
                            {% endfor %}
                         </ul>    
                    </div>
                     <!-- end top 3 --> 
                </div>
{% endblock content_right %}