Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ecommerce-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
ecommerce-ui
Commits
7e2ccb48
Commit
7e2ccb48
authored
Jul 31, 2013
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
various/fix: corrections
parent
355d2a9a
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
40 deletions
+28
-40
modules/core/extensions/extensions.css
modules/core/extensions/extensions.css
+7
-0
modules/core/extensions/extensions.js
modules/core/extensions/extensions.js
+0
-1
modules/ui/item/item.html
modules/ui/item/item.html
+16
-26
modules/ui/items/items.js
modules/ui/items/items.js
+3
-3
modules/ui/media/media.css
modules/ui/media/media.css
+0
-9
modules/ui/products/products.html
modules/ui/products/products.html
+2
-1
No files found.
modules/core/extensions/extensions.css
View file @
7e2ccb48
...
@@ -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
;
...
...
modules/core/extensions/extensions.js
View file @
7e2ccb48
...
@@ -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
...
...
modules/ui/item/item.html
View file @
7e2ccb48
...
@@ -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>
...
...
modules/ui/items/items.js
View file @
7e2ccb48
...
@@ -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'>
"
+
...
...
modules/ui/media/media.css
View file @
7e2ccb48
/* 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
modules/ui/products/products.html
View file @
7e2ccb48
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment