Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2015
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 6.25 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="sv" xmlns="http://www.w3.org/1999/xhtml"
  3.       xmlns:th="http://www.thymeleaf.org">
  4.     <head>
  5.         <title th:text="#{site.name}">Company Name</title>
  6.         <link href="css/style.css" th:href="@{/css/style.css}" rel="stylesheet" type="text/css" />
  7.        
  8.         <script th:inline="javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js" th:src="@{https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js}"></script>
  9.         <script th:inline="javascript" src="../js/store.js" th:src="@{/js/store.js}"></script>
  10.         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  11.     </head>
  12.  
  13.     <body>
  14.         <div class="wrapper">
  15.             <div class="topWrapper">
  16.                 <div class="topContainer">
  17.                     <div class="menuContainer">
  18.                         <div class="navMenu">
  19.                             <ul>
  20.                                 <li>
  21.                                     <a href="index.html" th:href="@{/}" th:text="#{site.home}" class="currentPage">Home</a>
  22.                                 </li>
  23.                                 <li>
  24.                                     <a href="contact_us.html" th:href="@{/contact}" th:text="#{site.contact}" class="contact">Contact</a>
  25.                                 </li>
  26.                                 <li>
  27.                                     <a href="#" th:href="@{/cart}" class="cart" th:text="#{site.cart} + ' ('+ ${cartsize} +')'">Cart</a>
  28.                                 </li>
  29.                             </ul>
  30.                         </div>
  31.                     </div>
  32.  
  33.                     <div class="header">
  34.                         <div class="logo"><img src="img/logo.png" th:src="@{/img/logo.png}" id="logotype" alt="Lilla Kammaren" /></div>
  35.                         <div class="social">
  36.                             <a href="http://www.facebook.com" target="_blank"><img class="socialBtn" src="img/facebook_btn.png" th:src="@{/img/facebook_btn.png}" alt="Vår Facebook sida" /></a>
  37.                             <a href="http://www.twitter.com" target="_blank"><img class="socialBtn" src="img/twitter_btn.png" th:src="@{/img/twitter_btn.png}" alt="Vår Twitter sida" /></a>
  38.                             <a href="http://www.pinterest.com" target="_blank"><img class="socialBtn" src="img/pinterest_btn.png" th:src="@{/img/pinterest_btn.png}" alt="Lilla Kammaren på pinterest" /></a>
  39.                         </div>
  40.                     </div>
  41.                 </div>
  42.             </div>
  43.  
  44.             <div class="bowContainer">
  45.                 <div class="lineholder">
  46.                     <div class="line"></div>
  47.                     <div class="line"></div>
  48.  
  49.                     <div class="bowPositioner">
  50.                         <div class="bowholder">
  51.                             <img src="img/bow.png" th:src="@{/img/bow.png}" id="bow" alt="Rosett" />
  52.                         </div>
  53.                     </div>
  54.                 </div>
  55.             </div>
  56.  
  57.             <div class="contentWrapper">
  58.                 <div class="bodyWrapper">
  59.                     <div class="bodyContainer">
  60.                         <div class="productMenu">
  61.                             <p class="productMenuContent" th:text="#{site.products}">Products</p>
  62.                             <ul>
  63.                                 <li th:each="category : ${categories}" th:id="${category}"><a href="store.html" th:href="@{${category}}" th:text="${category}"></a></li>
  64.                             </ul>
  65.                         </div>
  66.  
  67.  
  68.                         <div class="content">
  69.                             <div>
  70.                                 <h2 th:text="${category}">Store items!</h2>
  71.                             </div>
  72.                            
  73.                             <div class="productItems" th:each="product : ${products}">
  74.                                 <a href="#" th:id="${product.id}"><img src="" th:src="@{${product.img}}" class="box"/></a><br/>
  75.                 <strong th:text="${product.name}">Produktnamn</strong><br/>
  76.                                 <div class="description" th:text="${product.description}">Beskrivning</div>
  77.                                 <em th:text="${product.price}+' kr'">Pris</em><br/>
  78.                                 <a href="#" id="buybutton" th:id="'buybutton'" th:text="#{cart.buy}">Buy</a>
  79.                                 <input type="button" value="köp"/>
  80.                             </div>
  81.                         </div>
  82.  
  83.  
  84.                         <div class="specials">
  85.                             <div class="specialsChild">
  86.                                 <div class="wrap">
  87.                                     <a href="#" id="new" class="button" th:text="#{site.new}">New</a>
  88.                                 </div>
  89.                             </div>
  90.                             <div class="specialsChild">
  91.                                 <div class="wrap">
  92.                                     <a href="#" id="sale" class="button" th:text="#{site.sale}">SALE</a>
  93.                                 </div>
  94.                             </div>
  95.                             <div class="specialsChild">
  96.                                 <div class="wrap">
  97.                                     <a href="#" id="spotlight" class="button" th:text="#{site.spotlight}">Spotlight</a>
  98.                                 </div>
  99.                             </div>
  100.                         </div>
  101.                     </div>
  102.  
  103.  
  104.                     <div class="copyrightWrapper">
  105.                         <table>
  106.                             <tr>
  107.                                 <td colspan="3" class="horizontal"></td>
  108.                             </tr>
  109.                             <tr>
  110.                                 <td class="vertical"></td>
  111.                                 <td class="copyText" th:text="#{site.copyright}">&copy; Company Name 201X</td>
  112.                                 <td class="vertical"></td>
  113.                             </tr>
  114.                             <tr>
  115.                                 <td colspan="3" class="horizontal"></td>
  116.                             </tr>
  117.                         </table>
  118.                     </div>
  119.                 </div>
  120.             </div>
  121.         </div>
  122.     </body>
  123. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement