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
97b06fdc
Commit
97b06fdc
authored
Jul 31, 2013
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gadgets/description: added description gadget to item gadget
parent
54ed3ab3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
65 deletions
+0
-65
js/main.js
js/main.js
+0
-1
modules/ui/description/description.css
modules/ui/description/description.css
+0
-1
modules/ui/description/description.html
modules/ui/description/description.html
+0
-33
modules/ui/description/description.js
modules/ui/description/description.js
+0
-30
No files found.
js/main.js
View file @
97b06fdc
...
...
@@ -45,7 +45,6 @@
,
basket
:
'
../modules/ui/basket/basket
'
,
pagination
:
'
../modules/ui/pagination/pagination
'
,
confirm
:
'
../modules/ui/confirm/confirm
'
,
description
:
'
../modules/ui/description/description
'
,
details
:
'
../modules/ui/details/details
'
,
footer
:
'
../modules/ui/footer/footer
'
,
gallery
:
'
../modules/ui/gallery/gallery
'
...
...
modules/ui/description/description.css
deleted
100644 → 0
View file @
54ed3ab3
/* scope CSS? */
modules/ui/description/description.html
deleted
100644 → 0
View file @
54ed3ab3
<!DOCTYPE html>
<head>
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
<meta
name=
"viewport"
content=
"initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"
/>
<title>
Description Module
</title>
</head>
<body>
<div
data-role=
"fieldcontain"
class=
"detail-wrap"
>
<div
data-role=
"collapsible-set"
>
<div
data-role=
"collapsible"
data-collapsed=
"true"
>
<h1
class=
"translate"
data-i18n-target=
".ui-collapsible-heading-toggle"
data-i18n=
"description.description"
>
Description
</h1>
<p>
Blablablabla
</p>
</div>
<div
data-role=
"collapsible"
data-collapsed=
"true"
>
<h1
class=
"translate"
data-i18n-target=
".ui-collapsible-heading-toggle"
data-i18n=
"description.reviews"
>
Reviews
</h1>
<p>
Blablablabla
</p>
</div>
</div>
</div>
<div
data-role=
"fieldcontain"
class=
"terms-wrap"
>
<div
data-role=
"collapsible-set"
>
<div
data-role=
"collapsible"
data-collapsed=
"true"
>
<h1
class=
"translate"
data-i18n-target=
".ui-collapsible-heading-toggle"
data-i18n=
"description.shipping"
>
Shipping
</h1>
<p>
Blablablabla
</p>
</div>
<div
data-role=
"collapsible"
data-collapsed=
"true"
>
<h1
class=
"translate"
data-i18n-target=
".ui-collapsible-heading-toggle"
data-i18n=
"description.returns"
>
Returns
</h1>
<p>
Blablablabla
</p>
</div>
</div>
</div>
</body>
</html>
\ No newline at end of file
modules/ui/description/description.js
deleted
100644 → 0
View file @
54ed3ab3
define
([
'
app
'
,
'
text!description.html!strip
'
,
'
css!description
'
],
function
(
App
,
source
)
{
var
response
=
{};
response
.
data
=
source
;
response
.
after
=
function
(
self
)
{
if
(
App
===
undefined
)
{
def
=
new
$
.
Deferred
;
def
.
done
(
function
(
gadget
)
{
// prefix instance-ids, pass JSON
App
.
renderGadgets
(
gadget
);
});
window
.
fallbackLoader
.
deferreds
.
push
(
def
);
window
.
fallbackLoader
.
args
.
push
(
self
);
}
else
{
// prefix instance-ids, pass JSON
App
.
renderGadgets
(
self
);
}
};
// return response object
return
response
;
}
);
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