Commit 7e2ccb48 authored by Sven Franck's avatar Sven Franck

various/fix: corrections

parent 355d2a9a
...@@ -10,6 +10,13 @@ ...@@ -10,6 +10,13 @@
border: 0; border: 0;
background-color: transparent; background-color: transparent;
} }
.ui-input-search input {
padding-left: 0.25em;
padding-right: 4.5em;
}
.ui-input-search .ui-input-clear {
right: 2em !important;
}
/* =========================== carousel widget ========================*/ /* =========================== carousel widget ========================*/
.ui-carousel { .ui-carousel {
list-style: none outside none; list-style: none outside none;
......
...@@ -120,7 +120,6 @@ define([ ...@@ -120,7 +120,6 @@ define([
} }
// remove existing barrel // remove existing barrel
if (create === undefined) { if (create === undefined) {
console.log($("#ui-carousel-barrel-" + this.uuid ));
$("#ui-carousel-barrel-" + this.uuid ).remove(); $("#ui-carousel-barrel-" + this.uuid ).remove();
} }
// this always needs to go before the slider // this always needs to go before the slider
......
...@@ -5,35 +5,25 @@ ...@@ -5,35 +5,25 @@
<title>Item Module</title> <title>Item Module</title>
</head> </head>
<body> <body>
<div data-role="fieldcontain" class="info_wrap"> <div class="info_wrap">
<!-- header --> <!-- dimensions_template -->
<h3>Brand1 - Item1</h3>
<!-- title description -->
<p>Item description, blabla foo...</p>
<!-- price -->
<p>19.95€</p>
<!-- dimensions --> <a href="#"
<ul data-role="listview" data-inset="true" class="sizewrap"> class="translate"
<li data-icon="false"><a href="#">S</a></li> data-role="button"
<li data-icon="false"><a href="#">M</a></li> data-i18n="item.add_basket"
<li data-icon="false"><a href="#">L</a></li> data-icon="plus"
<li data-icon="false"><a href="#">XL</a></li> data-iconpos="left"
<li data-icon="false"><a href="#">XXL</a></li> data-inline="true">Add to basket</a>
</ul>
<!-- dimensions --> <a href="basket.html"
<ul data-role="listview" data-inset="true" class="color_wrap"> class="translate"
<li data-icon="flase"><a href="#"><img src="red.jpg" alt=""><span class="color_text">Red</span></img></a></li> data-role="button"
<li data-icon="flase"><a href="#"><img src="blue.jpg" alt=""><span class="color_text">Blue</span></a></li> data-i18n="item.finish_order"
<li data-icon="flase"><a href="#"><img src="black.jpg" alt=""><span class="color_text">Black</span></a></li> data-icon="arrow-r"
<li data-icon="flase"><a href="#"><img src="white.jpg" alt=""><span class="color_text">White</span></a></li> data-iconpos="left"
</ul> data-inline="true">Finish Order</a>
<!-- add to basket -->
<a data-role="button" class="translate" data-i18n="item.add_basket" data-icon="plus" data-iconpos="left" data-inline="true" href="#">Add to basket</a>
<a data-role="button" class="translate" data-i18n="item.finish_order" data-icon="arrow-r" data-iconpos="left" data-inline="true" href="basket.html">Finish Order</a>
</div> </div>
</body> </body>
</html> </html>
......
...@@ -63,10 +63,10 @@ define([ ...@@ -63,10 +63,10 @@ define([
item = response.rows[i].value; item = response.rows[i].value;
if (item.price === item.original_price) { if (item.price === item.original_price) {
price = item.price + ""; price = item.price + item.currency;
} else { } else {
price = "<span class='rebate'>" + item.price + "€</span> (" + price = "<span class='rebate'>" + item.price + item.currency +
item.original_price + ")"; "</span> (" + item.original_price + item.currency +")";
} }
str += "<li data-icon='false'>" + str += "<li data-icon='false'>" +
......
/* scope CSS? */ /* scope CSS? */
.media_wrap {
width: 50%;
display: inline-block;
}
@media (max-width: 40em) {
.media_wrap{
width: 100%;
}
}
\ No newline at end of file
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
<!-- content --> <!-- content -->
<div data-role="content" class="ui-content products_content"> <div data-role="content" class="ui-content products_content">
<!-- refine panel trigger --> <!-- refine panel trigger
<a href="#search_panel" <a href="#search_panel"
class="translate products_element" class="translate products_element"
data-i18n="search.refine" data-i18n="search.refine"
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
data-iconpos="notext" data-iconpos="notext"
data-icon="grid"> data-icon="grid">
</a> </a>
-->
<!-- global search --> <!-- global search -->
<div id="searchbar" <div id="searchbar"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment